:root {
    --hero-gradient-start: #0f172a;
    --hero-gradient-mid: #1e293b;
    --hero-gradient-end: #0f172a;
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-glow: rgba(99, 102, 241, 0.3);
    --card-bg: rgba(30, 41, 59, 0.8);
    --card-border: rgba(99, 102, 241, 0.2);
    --text-muted-custom: #94a3b8;
    --step-bg: rgba(99, 102, 241, 0.15);
}

* {
    box-sizing: border-box;
}

body {
    background-color: #0f172a;
    color: #e2e8f0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ── Navbar ── */
.landing-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
    padding: 1rem 0;
}

.landing-nav .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.landing-nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.landing-nav .logo .logo-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-nav-login {
    color: #e2e8f0;
    text-decoration: none;
    padding: 0.4rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(226, 232, 240, 0.2);
    transition: all 0.2s;
    font-size: 0.9rem;
}

.btn-nav-login:hover {
    background: rgba(226, 232, 240, 0.08);
    color: #fff;
    text-decoration: none;
}

.btn-nav-cta {
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    padding: 0.4rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
}

.btn-nav-cta:hover {
    background: var(--accent-light);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--accent-glow);
}

/* ── Hero ── */
.hero-section {
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99,102,241,0.18) 0%, transparent 70%),
                linear-gradient(180deg, var(--hero-gradient-start) 0%, var(--hero-gradient-mid) 50%, var(--hero-gradient-end) 100%);
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99,102,241,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(99,102,241,0.15);
    border: 1px solid rgba(99,102,241,0.35);
    border-radius: 100px;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--accent-light), #a78bfa, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted-custom);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

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

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: #fff;
    text-decoration: none;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.25s;
    box-shadow: 0 0 24px var(--accent-glow);
    border: none;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
    color: #fff;
    text-decoration: none;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #e2e8f0;
    text-decoration: none;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    border: 1px solid rgba(226,232,240,0.2);
    transition: all 0.25s;
}

.btn-hero-secondary:hover {
    background: rgba(226,232,240,0.06);
    border-color: rgba(226,232,240,0.4);
    color: #fff;
    text-decoration: none;
}

.hero-visual {
    margin-top: 1rem;
}

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

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

.hero-stat .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-light);
    line-height: 1;
}

.hero-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted-custom);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.25rem;
}

/* ── Section styles ── */
section {
    padding: 5rem 1.5rem;
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-light);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted-custom);
    max-width: 560px;
    line-height: 1.65;
    margin: 0 auto;
}

/* ── Feature cards ── */
.features-section {
    background: linear-gradient(180deg, #0f172a 0%, #131e35 50%, #0f172a 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.75rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(99,102,241,0.45);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(99,102,241,0.2);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 2.75rem;
    height: 2.75rem;
    background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(139,92,246,0.2));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-icon svg {
    width: 1.3rem;
    height: 1.3rem;
    color: var(--accent-light);
    stroke: var(--accent-light);
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #f1f5f9;
}

.feature-desc {
    font-size: 0.9rem;
    color: var(--text-muted-custom);
    line-height: 1.6;
    margin: 0;
}

/* ── How it works ── */
.how-section {
    background: #0f172a;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.step-number {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--step-bg);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-light);
    margin: 0 auto 1.25rem;
    position: relative;
}

.step-emoji {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: #f1f5f9;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted-custom);
    line-height: 1.65;
    margin: 0;
}

.step-connector {
    display: none;
}

@media (min-width: 768px) {
    .steps-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── CTA Banner ── */
.cta-section {
    background: linear-gradient(135deg, rgba(99,102,241,0.15) 0%, rgba(139,92,246,0.1) 50%, rgba(56,189,248,0.08) 100%);
    border-top: 1px solid rgba(99,102,241,0.2);
    border-bottom: 1px solid rgba(99,102,241,0.2);
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 5rem 1.5rem;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1rem;
    color: var(--text-muted-custom);
    margin-bottom: 2rem;
    line-height: 1.65;
}

.btn-cta-large {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent), #8b5cf6);
    color: #fff;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.25s;
    box-shadow: 0 0 32px var(--accent-glow);
}

.btn-cta-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--accent-glow);
    color: #fff;
    text-decoration: none;
}

/* ── Footer ── */
.landing-footer {
    background: #080e1a;
    border-top: 1px solid rgba(99,102,241,0.1);
    padding: 2rem 1.5rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.footer-logo:hover {
    color: var(--accent-light);
    text-decoration: none;
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--text-muted-custom);
}

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

.footer-links a {
    font-size: 0.82rem;
    color: var(--text-muted-custom);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent-light);
    text-decoration: none;
}

/* ── Divider ── */
.section-divider {
    max-width: 1200px;
    margin: 0 auto;
    border: none;
    border-top: 1px solid rgba(99,102,241,0.1);
}
