/**
 * DinheiroCard - Landing Page Styles
 */

/* ================================
   Navbar
   ================================ */

#mainNav {
    background: transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

#mainNav.scrolled {
    background: var(--brand-secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

#mainNav .navbar-brand {
    font-weight: 700;
}

#mainNav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.2s ease;
}

#mainNav .nav-link:hover {
    color: var(--brand-primary) !important;
}

/* ================================
   Hero Section
   ================================ */

.hero-section {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, #2a2a4a 100%);
    min-height: 100vh;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.7;
}

.hero-cta .btn {
    font-weight: 600;
    padding: 0.875rem 1.5rem;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* ================================
   Sections Base
   ================================ */

.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   Step Cards
   ================================ */

.step-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--brand-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon i {
    font-size: 2rem;
    color: #fff;
}

.step-card h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ================================
   Simulator
   ================================ */

.simulator-card {
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.1);
}

.simulator-header {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: #fff;
    padding: 1.5rem;
}

.simulator-body {
    padding: 2rem;
}

.installments-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.installment-btn {
    padding: 0.6rem 1.25rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: transparent;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.installment-btn:hover,
.installment-btn.active {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
}

.simulation-result {
    background: var(--background);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.result-row.highlight {
    padding: 1rem 0;
}

.result-row.highlight strong {
    font-size: 1.5rem;
}

/* ================================
   Advantage Cards
   ================================ */

.advantage-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.advantage-icon i {
    font-size: 1.75rem;
    color: #fff;
}

.advantage-card h5 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.advantage-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* ================================
   LGPD Section
   ================================ */

.lgpd-section {
    background: #fff;
}

.lgpd-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.lgpd-icon-wrapper i {
    font-size: 2.5rem;
    color: #fff;
}

.lgpd-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.lgpd-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--background);
    border-radius: 12px;
}

.lgpd-item i {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.lgpd-item span {
    color: var(--text-secondary);
    line-height: 1.5;
}

.lgpd-item strong {
    color: var(--text-primary);
}

/* ================================
   Brands
   ================================ */

.brands-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    opacity: 0.7;
}

.brand-item img {
    height: 40px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.brand-item:hover img {
    filter: grayscale(0%);
}

/* ================================
   CTA Section
   ================================ */

.cta-section {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 5rem 0;
}

.cta-section h2 {
    font-weight: 700;
    font-size: 2.25rem;
}

/* ================================
   Auth Section
   ================================ */

.auth-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--brand-secondary) 0%, #2a2a4a 100%);
    padding-top: 80px;
}

.auth-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-form .form-control {
    padding: 0.75rem 1rem;
}

/* ================================
   Footer
   ================================ */

.footer {
    background: var(--brand-secondary);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.footer-links span {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
}

/* ================================
   Responsive
   ================================ */

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding-top: 2rem;
    }

    .hero-section .row {
        min-height: auto !important;
    }

    .hero-title {
        font-size: 1.75rem;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
    }

    .hero-cta {
        text-align: center;
    }

    .hero-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }

    .hero-cta .btn:last-child {
        margin-bottom: 0;
    }

    .hero-image {
        max-width: 280px;
        border-radius: 16px;
    }

    .section-padding {
        padding: 3.5rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }
}
