:root {
    --primary: #4361ee;
    --primary-dark: #3f37c9;
    --secondary: #7209b7;
    --accent: #10b981;          /* money green */
    --dark: #0f172a;
    --gray: #64748b;
    --light: #f8fafc;
    --light-gray: #e2e8f0;
    --radius: 16px;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.25);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(67, 97, 238, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
}

.section-title h2 {
    font-size: 2.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.section-title p {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 620px;
    margin: 0 auto;
}

/* ──────────────────────────────────────
   Header
────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(226,232,240,0.6);
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: 0 6px 25px rgba(0,0,0,0.08);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 36px;
}

.nav-menu a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}

/* ──────────────────────────────────────
   Hero
────────────────────────────────────── */
.hero {
    padding: 220px 0 140px;
    background: linear-gradient(135deg, #f0f5ff 0%, #e6efff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(67,97,238,0.12) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 80px;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img,
.hero-image .placeholder {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    transform: perspective(1000px) rotateY(8deg);
    transition: var(--transition);
}

.hero-image .placeholder {
    height: 420px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
    opacity: 0.9;
}

.hero-image:hover img,
.hero-image:hover .placeholder {
    transform: perspective(1000px) rotateY(0deg) translateY(-12px);
}

/* ──────────────────────────────────────
   Features
────────────────────────────────────── */
.features {
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(67,97,238,0.3);
}

.feature-card h3 {
    font-size: 1.45rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--gray);
}

/* ──────────────────────────────────────
   How it works
────────────────────────────────────── */
.how-it-works {
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
}

.step {
    background: white;
    padding: 40px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 24px;
    box-shadow: 0 8px 24px rgba(67,97,238,0.3);
}

/* ──────────────────────────────────────
   CTA
────────────────────────────────────── */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-align: center;
    padding: 140px 0;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.cta p {
    font-size: 1.3rem;
    max-width: 680px;
    margin: 0 auto 40px;
    opacity: 0.92;
}

.cta .btn {
    background: white;
    color: var(--primary);
    font-size: 1.15rem;
    padding: 18px 44px;
}

/* ──────────────────────────────────────
   Footer
────────────────────────────────────── */
.footer {
    background: var(--dark);
    color: white;
    padding: 100px 0 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-size: 1.4rem;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    display: block;
    margin-bottom: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.95rem;
}

/* ──────────────────────────────────────
   Responsive
────────────────────────────────────── */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero h1 {
        font-size: 3.2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
    .hero {
        padding: 180px 0 100px;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .section-title h2 {
        font-size: 2.2rem;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: left 0.4s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li a {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .btn {
        width: 100%;
        max-width: 320px;
    }
}