/* ========== RESET & BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #7c3aed;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --text: #1e1e2e;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8f7ff;
    --border: #e2e8f0;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 40px rgba(124,58,237,0.15);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
}

ul {
    list-style: none;
}

/* ========== LAYOUT ========== */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-sm {
    max-width: 720px;
}

/* ========== HEADER ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 16px;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.nav {
    display: none;
    gap: 28px;
}

.nav a {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--primary);
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: var(--radius);
}

.btn-full {
    width: 100%;
}

/* ========== HERO ========== */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 700px;
    margin: 0 auto 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto 32px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 4px;
}

/* ========== SECTIONS ========== */
.section {
    padding: 72px 0;
}

.section-alt {
    background: var(--bg-alt);
}

.section-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

/* ========== GRID ========== */
.grid {
    display: grid;
    gap: 24px;
}

.grid-4 {
    grid-template-columns: 1fr;
}

/* ========== CARDS ========== */
.card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: box-shadow 0.25s, transform 0.2s;
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========== STEPS ========== */
.step {
    text-align: center;
    padding: 24px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ========== PRICING CARD ========== */
.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: #fff;
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(124,58,237,0.3);
}

.pricing-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.pricing-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 28px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}

.pricing-features {
    text-align: left;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 0.95rem;
    opacity: 0.95;
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 700;
}

.pricing-card .btn {
    background: #fff;
    color: var(--primary);
}

.pricing-card .btn:hover {
    background: #f0ecff;
    transform: translateY(-1px);
}

.pricing-note {
    margin-top: 16px;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ========== FAQ ========== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.faq-item:hover {
    box-shadow: var(--shadow);
}

.faq-item summary {
    padding: 18px 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item p {
    padding: 0 20px 18px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--text);
    color: #cbd5e1;
    padding: 48px 0 24px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.footer-brand .logo {
    color: #fff;
    display: block;
    margin-bottom: 8px;
}

.footer-brand p {
    font-size: 0.9rem;
}

.footer-contact a {
    color: var(--primary-light);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: #94a3b8;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: #fff;
}

.footer-copy {
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
    border-top: 1px solid #334155;
    padding-top: 20px;
}

/* ========== RESPONSIVE: DESKTOP ========== */
@media (min-width: 768px) {
    .nav {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section {
        padding: 96px 0;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

@media (min-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .hero h1 {
        font-size: 3.25rem;
    }
}
