:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --accent: #7c3aed;
    --gradient: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #4c1d95 100%);
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --shadow: 0 4px 20px rgba(30, 64, 175, 0.1);
    --shadow-hover: 0 12px 32px rgba(30, 64, 175, 0.2);
    --radius: 12px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    margin: 0;
}

/* ── Navbar ─────────────────────────────────────────── */
.navbar-main {
    background: var(--gradient);
    padding: 0.75rem 0;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.navbar-main.scrolled {
    padding: 0.4rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar-brand-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: white !important;
    letter-spacing: -0.3px;
}

.navbar-main .nav-link {
    color: rgba(255, 255, 255, 0.82) !important;
    font-weight: 500;
    padding: 0.45rem 1rem !important;
    transition: color 0.2s;
    border-radius: 6px;
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

.btn-nav-login {
    color: white;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    padding: 0.38rem 1.2rem;
    border-radius: 7px;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}

.btn-nav-login:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
}

.btn-nav-register {
    background: white;
    color: var(--primary) !important;
    padding: 0.38rem 1.3rem;
    border-radius: 7px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-nav-register:hover {
    background: #f0f7ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 255, 255, 0.25);
}

/* ── Hero ────────────────────────────────────────────── */
.hero-section {
    background: var(--gradient-hero);
    min-height: 88vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
    top: -150px;
    right: -80px;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    bottom: -100px;
    left: -60px;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.25rem;
}

.hero-title span {
    color: #a5b4fc;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-trust {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
    margin-top: 1.25rem;
}

.hero-dashboard {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
}

.hero-stat-pill {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.hero-stat-pill .icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

/* ── Stats Strip ─────────────────────────────────────── */
.stats-section {
    background: white;
    box-shadow: 0 -4px 0 transparent, 0 4px 24px rgba(30, 64, 175, 0.08);
}

.stat-item {
    padding: 2rem 1rem;
    text-align: center;
    border-right: 1px solid #e2e8f0;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
}

/* ── Section Commons ─────────────────────────────────── */
.section-py { padding: 5rem 0; }
.section-bg-alt { background: var(--bg-light); }

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #eff6ff, #ede9fe);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* ── Feature Cards ───────────────────────────────────── */
.feature-card {
    border: none;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    background: white;
    padding: 1.5rem 1rem;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff, #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.feature-card .card-title {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: var(--text-dark);
}

.feature-card .card-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ── Steps ───────────────────────────────────────────── */
.step-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 0 auto 1.25rem;
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.35);
    position: relative;
    z-index: 1;
}

.step-connector {
    position: relative;
}

.step-connector::after {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(50% + 32px);
    width: calc(100% - 64px);
    height: 2px;
    background: linear-gradient(90deg, #c7d2fe, #ddd6fe);
}

.step-connector:last-child::after { display: none; }

/* ── Pricing ─────────────────────────────────────────── */
.pricing-card {
    border-radius: var(--radius) !important;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1.5px solid #e2e8f0 !important;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(30, 64, 175, 0.15);
    border-color: var(--primary-light) !important;
}

.pricing-card.popular {
    border-color: var(--primary) !important;
    transform: scale(1.04);
    box-shadow: 0 8px 30px rgba(30, 64, 175, 0.2);
}

.pricing-card.popular:hover {
    transform: scale(1.04) translateY(-6px);
}

.popular-badge {
    background: var(--gradient);
    color: white;
    text-align: center;
    padding: 0.45rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.price-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-feature-list li {
    padding: 0.35rem 0;
    font-size: 0.88rem;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.pricing-feature-list li:last-child { border-bottom: none; }

.check-icon { color: #10b981; }

/* ── CTA Band ────────────────────────────────────────── */
.cta-band {
    background: var(--gradient);
    padding: 4.5rem 0;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    top: -200px;
    right: -100px;
}

/* ── Buttons ─────────────────────────────────────────── */
.btn-primary-gradient {
    background: var(--gradient);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 64, 175, 0.4);
    color: white;
    filter: brightness(1.08);
}

/* ── Footer ──────────────────────────────────────────── */
.footer-main {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.65);
    padding: 4rem 0 2rem;
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 0.75rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.88rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-heading {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.82rem;
    margin-bottom: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 0.55rem; }

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: white; }

.footer-divider { border-color: rgba(255, 255, 255, 0.08); }

.footer-bottom { color: rgba(255, 255, 255, 0.35); font-size: 0.82rem; }

.footer-social a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.1rem;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.footer-social a:hover {
    color: white;
    transform: translateY(-2px);
}
