/* ============================================================
   InvoiceCraft — Landing Page Styles
   ============================================================ */
.landing-body { overflow-x: hidden; overflow-y: auto; }

/* ---- NAV ---- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 64px;
    background: rgba(12,14,20,.75); backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-bottom: 1px solid rgba(42,45,66,.5); transition: all .3s;
}
.nav.scrolled { background: rgba(12,14,20,.95); }
.nav-inner { max-width: 1200px; margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a:not(.btn) { padding: 8px 14px; font-size: .88rem; font-weight: 500; color: var(--text-muted); text-decoration: none; border-radius: 8px; transition: all .2s; }
.nav-links a:not(.btn):hover { color: var(--text); background: var(--bg-hover); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text); cursor: pointer; padding: 4px; }

/* ---- HERO ---- */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 120px 24px 80px; overflow: hidden;
}
.hero-bg-glow {
    position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 800px; border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,.15) 0%, rgba(168,85,247,.08) 40%, transparent 70%);
    pointer-events: none; filter: blur(40px);
}
.hero-content { position: relative; max-width: 800px; z-index: 1; }
.hero-badge {
    display: inline-block; padding: 6px 16px; border-radius: 20px; margin-bottom: 24px;
    background: rgba(99,102,241,.12); border: 1px solid rgba(99,102,241,.25);
    color: var(--accent-light); font-size: .82rem; font-weight: 600; letter-spacing: .01em;
    animation: fadeSlideIn .6s ease;
}
.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.1;
    letter-spacing: -.03em; margin-bottom: 20px;
    animation: fadeSlideIn .6s ease .1s both;
}
.gradient-text {
    background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 32px;
    line-height: 1.7; animation: fadeSlideIn .6s ease .2s both;
}
.hero-cta {
    display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
    animation: fadeSlideIn .6s ease .3s both;
}
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 12px; }
.hero-stats {
    display: flex; justify-content: center; gap: 40px; margin-top: 56px;
    animation: fadeSlideIn .6s ease .4s both;
}
.hero-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero-stat-num { font-size: 1.5rem; font-weight: 800; color: var(--accent-light); }
.hero-stat span:last-child { font-size: .78rem; color: var(--text-dim); font-weight: 500; }

/* ---- SECTIONS ---- */
.section { padding: 100px 24px; }
.section-dark { background: var(--bg-panel); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-badge {
    display: inline-block; padding: 4px 12px; border-radius: 6px; margin-bottom: 16px;
    background: rgba(99,102,241,.1); color: var(--accent-light); font-size: .72rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.section-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -.02em;
    margin-bottom: 16px; line-height: 1.2;
}
.section-sub { font-size: 1rem; color: var(--text-muted); max-width: 550px; margin-bottom: 40px; }

/* ---- FEATURES GRID ---- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 40px; }
.feature-card {
    padding: 28px; border-radius: 16px;
    background: var(--bg-card); border: 1px solid var(--border);
    transition: all .25s; position: relative; overflow: hidden;
}
.feature-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--purple)); opacity: 0; transition: opacity .3s;
}
.feature-card:hover { border-color: rgba(99,102,241,.3); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,.3); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { font-size: 2rem; margin-bottom: 12px; }
.feature-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ---- COUNTRIES GRID ---- */
.countries-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px; margin-top: 32px;
}
.country-card {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 16px 12px; border-radius: 12px;
    background: var(--bg-card); border: 1px solid var(--border);
    cursor: pointer; transition: all .25s; text-decoration: none;
}
.country-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.country-flag { font-size: 1.8rem; }
.country-name { font-size: .82rem; font-weight: 600; color: var(--text); }
.country-cur { font-size: .72rem; color: var(--text-muted); font-family: var(--font-mono); }

/* ---- STEPS ---- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.step-card {
    padding: 32px; border-radius: 16px; text-align: center;
    background: var(--bg-card); border: 1px solid var(--border);
    position: relative;
}
.step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%; margin-bottom: 16px;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    color: #fff; font-size: 1.2rem; font-weight: 800;
}
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }

/* ---- CTA SECTION ---- */
.cta-section { text-align: center; }
.cta-inner {
    padding: 64px 40px; border-radius: 24px;
    background: linear-gradient(135deg, rgba(99,102,241,.1), rgba(168,85,247,.08));
    border: 1px solid rgba(99,102,241,.2);
}

/* ---- FOOTER ---- */
.footer { padding: 64px 24px 0; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand .logo-text { font-size: 1.1rem; }
.footer-brand p { font-size: .85rem; color: var(--text-muted); margin-top: 8px; max-width: 280px; }
.footer-links h4 { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 12px; }
.footer-links a { display: block; font-size: .88rem; color: var(--text-dim); text-decoration: none; padding: 4px 0; transition: color .2s; }
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: .78rem; color: var(--text-dim); }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { padding: 100px 20px 60px; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .features-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .countries-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .cta-inner { padding: 40px 20px; }
}
