/* ============================================
   FINÉO - Landing Page Styles
   ============================================ */

/* --- Navbar --- */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.landing-nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
    padding: 0.65rem 0;
    backdrop-filter: blur(12px);
}

.landing-nav .landing-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.landing-logo span {
    color: var(--green);
}

.landing-nav.scrolled .landing-logo {
    color: var(--navy);
}

.landing-nav-links {
    display: flex;
    gap: 2rem;
}

.landing-nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.landing-nav-links a:hover {
    color: var(--white);
}

.landing-nav.scrolled .landing-nav-links a {
    color: var(--gray-600);
}

.landing-nav.scrolled .landing-nav-links a:hover {
    color: var(--navy);
}

.landing-nav-actions {
    display: flex;
    gap: 0.75rem;
}

.btn-nav {
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.btn-nav-ghost {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-nav-ghost:hover {
    background: rgba(255, 255, 255, 0.2);
}

.landing-nav.scrolled .btn-nav-ghost {
    color: var(--gray-700);
    background: transparent;
    border-color: var(--gray-200);
}

.landing-nav.scrolled .btn-nav-ghost:hover {
    background: var(--gray-100);
}

.btn-nav-primary {
    color: var(--white);
    background: var(--green);
    border: 1px solid var(--green);
}

.btn-nav-primary:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
}

.landing-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.25rem;
}

.landing-nav.scrolled .landing-menu-toggle {
    color: var(--navy);
}

/* Mobile menu */
.landing-mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    flex-direction: column;
}

.landing-mobile-menu.show {
    display: flex;
}

.mobile-menu-link {
    padding: 0.75rem 0;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
}

.mobile-menu-link:hover {
    color: var(--green);
}

/* --- Container --- */
.landing-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Hero --- */
.hero {
    position: relative;
    background: linear-gradient(145deg, var(--navy) 0%, #0f172a 50%, #1e293b 100%);
    padding: 10rem 0 6rem;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
}

.hero-circle-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.hero-circle-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
}

.hero-circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    top: 40%;
    left: 60%;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 100px;
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--green) 0%, #34d399 50%, var(--blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn-landing {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-landing-primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-landing-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-landing-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-landing-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-landing-white {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.btn-landing-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    font-weight: 500;
}

/* --- Sections --- */
.section {
    padding: 6rem 0;
}

.section-white {
    background: var(--white);
}

.section-gray {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--green-light);
    color: var(--green-dark);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 500px;
    margin: 0 auto;
}

/* --- Features grid --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* --- Steps --- */
.steps-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.step-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    flex: 1;
    max-width: 300px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-icon {
    color: var(--navy);
    margin-bottom: 1.25rem;
}

.step-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.step-connector {
    color: var(--gray-300);
    flex-shrink: 0;
}

/* --- Advantages --- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.advantage-card {
    display: flex;
    gap: 1.25rem;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    background: var(--white);
}

.advantage-card:hover {
    border-color: var(--green-light);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green);
}

.advantage-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.advantage-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- CTA Section --- */
.section-cta {
    position: relative;
    background: linear-gradient(145deg, var(--navy) 0%, #0f172a 100%);
    padding: 6rem 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
}

.cta-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -50px;
}

.cta-circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    bottom: -80px;
    left: -30px;
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* --- Footer --- */
.landing-footer {
    background: #0c1220;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.features-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.features-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.features-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }
.features-grid .fade-in:nth-child(5) { transition-delay: 0.4s; }
.features-grid .fade-in:nth-child(6) { transition-delay: 0.5s; }

.advantages-grid .fade-in:nth-child(2) { transition-delay: 0.1s; }
.advantages-grid .fade-in:nth-child(3) { transition-delay: 0.2s; }
.advantages-grid .fade-in:nth-child(4) { transition-delay: 0.3s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 2.75rem;
    }

    .advantages-grid {
        gap: 1.5rem;
    }

    .landing-container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 768px) {
    /* --- Nav --- */
    .landing-nav-links,
    .landing-nav-actions {
        display: none;
    }

    .landing-menu-toggle {
        display: block;
    }

    /* --- Hero --- */
    .hero {
        padding: 7rem 0 3.5rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn-landing {
        width: 100%;
        justify-content: center;
        max-width: 300px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* --- Sections --- */
    .section {
        padding: 3.5rem 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* --- Features --- */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    /* --- Steps --- */
    .steps-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .step-card {
        max-width: 100%;
        width: 100%;
        padding: 2rem 1.5rem;
    }

    /* --- Advantages --- */
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .advantage-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 1.5rem;
    }

    /* --- CTA --- */
    .section-cta {
        padding: 4rem 0;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }

    /* --- Footer --- */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    /* --- Mobile Menu --- */
    .landing-mobile-menu {
        top: 56px;
        padding: 1rem;
    }

    .mobile-menu-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--gray-100);
    }

    .mobile-menu-link:last-child {
        border-bottom: none;
    }

    /* --- Decorative circles --- */
    .hero-circle-1 {
        width: 300px;
        height: 300px;
    }

    .hero-circle-2 {
        width: 250px;
        height: 250px;
    }

    .hero-circle-3 {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 6rem 0 3rem;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn-landing {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section-header h2 {
        font-size: 1.35rem;
    }

    .section-header p {
        font-size: 0.9rem;
    }

    .section-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.75rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    .advantage-icon {
        width: 48px;
        height: 48px;
    }

    .cta-content h2 {
        font-size: 1.4rem;
    }

    .cta-content p {
        font-size: 0.9rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .landing-container {
        padding: 0 1rem;
    }

    .landing-logo {
        font-size: 1.25rem;
    }
}
