/* ══════════════════════════════════════════════════════════
   Landing page styles
   ══════════════════════════════════════════════════════════ */

.landing-body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    background: #0f172a;
    color: #f8fafc;
    line-height: 1.7;
}

/* Navbar */
.landing-nav {
    position: fixed; top: 0; left: 0; right: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 40px;
    background: rgba(15,23,42,.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(51,65,85,.5);
    z-index: 100;
}
.landing-nav .logo { font-size: 1.2em; font-weight: 700; color: #3b82f6; }
.landing-nav .nav-links { display: flex; gap: 16px; }
.landing-nav .nav-links a {
    padding: 8px 18px; border-radius: 8px;
    font-size: .9em; font-weight: 600;
    color: #94a3b8; transition: all .2s;
}
.landing-nav .nav-links a:hover { color: #f8fafc; }
.landing-nav .nav-links a.btn-cta {
    background: #3b82f6; color: #fff;
}
.landing-nav .nav-links a.btn-cta:hover { background: #2563eb; }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: radial-gradient(ellipse at 50% 0%, rgba(59,130,246,.15) 0%, transparent 70%);
}
.hero h1 {
    font-size: clamp(2em, 5vw, 3.5em);
    font-weight: 800;
    line-height: 1.2;
    max-width: 700px;
    margin: 0 auto 20px;
}
.hero h1 span { color: #3b82f6; }
.hero p {
    font-size: 1.15em;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 36px;
}
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-buttons .btn-hero {
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 1em; font-weight: 700;
    cursor: pointer; transition: all .2s;
    border: none;
}
.hero-buttons .btn-hero.primary { background: #3b82f6; color: #fff; }
.hero-buttons .btn-hero.primary:hover { background: #2563eb; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59,130,246,.3); }
.hero-buttons .btn-hero.secondary { background: transparent; border: 1px solid #334155; color: #94a3b8; }
.hero-buttons .btn-hero.secondary:hover { border-color: #3b82f6; color: #3b82f6; }

/* Sections */
.section { padding: 80px 24px; max-width: 1100px; margin: 0 auto; }
.section-title {
    font-size: 2em; font-weight: 700;
    text-align: center; margin-bottom: 12px;
}
.section-subtitle {
    text-align: center; color: #94a3b8;
    margin-bottom: 48px; font-size: 1.05em;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.feature-card {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 28px;
    transition: border-color .3s, transform .3s;
}
.feature-card:hover { border-color: #3b82f6; transform: translateY(-4px); }
.feature-icon { font-size: 2em; margin-bottom: 12px; }
.feature-card h3 { font-size: 1.1em; margin-bottom: 8px; }
.feature-card p { color: #94a3b8; font-size: .92em; }

/* Steps */
.steps { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.step {
    flex: 1; min-width: 250px; max-width: 320px;
    text-align: center;
    padding: 24px;
}
.step-number {
    width: 48px; height: 48px;
    background: rgba(59,130,246,.15);
    color: #3b82f6;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2em; font-weight: 700;
    margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: #94a3b8; font-size: .9em; }

/* IC Diagram */
.ic-explainer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.ic-diagram {
    background: #1e293b;
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 32px;
    text-align: center;
}
.ic-diagram svg { width: 100%; max-width: 400px; }
.ic-text h3 { font-size: 1.4em; margin-bottom: 12px; }
.ic-text p { color: #94a3b8; }

/* Stats bar */
.stats-bar {
    display: flex; gap: 40px; justify-content: center;
    padding: 40px 24px;
    flex-wrap: wrap;
}
.stats-bar .sitem { text-align: center; }
.stats-bar .sitem .sval { font-size: 1.8em; font-weight: 700; color: #3b82f6; }
.stats-bar .sitem .slbl { color: #94a3b8; font-size: .85em; }

/* CTA */
.cta-section {
    text-align: center;
    padding: 80px 24px;
    background: radial-gradient(ellipse at 50% 100%, rgba(59,130,246,.1) 0%, transparent 70%);
}
.cta-section h2 { font-size: 2em; margin-bottom: 12px; }
.cta-section p { color: #94a3b8; margin-bottom: 32px; font-size: 1.05em; }

/* Footer */
.landing-footer {
    text-align: center;
    padding: 24px;
    border-top: 1px solid #334155;
    color: #64748b;
    font-size: .85em;
}

@media (max-width: 768px) {
    .landing-nav { padding: 12px 16px; }
    .ic-explainer { grid-template-columns: 1fr; }
    .stats-bar { gap: 24px; }
}
