* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #7C3AED;
    --primary-dark: #5b21b6;
    --primary-light: #a78bfa;
    --accent: #ec4899;
    --text-dark: #1a1a2e;
    --text-light: #5a5a7a;
    --bg-light: #f5f3ff;
    --bg-white: #ffffff;
    --gradient-hero: linear-gradient(135deg, #0f0a1e 0%, #1e1040 50%, #3b1fa8 100%);
    --gradient-btn: linear-gradient(135deg, #7C3AED 0%, #a78bfa 100%);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.15);
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-white);
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Hero ─────────────────────────────── */
.hero {
    background: var(--gradient-hero);
    color: white;
    padding: 80px 0 70px;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    justify-content: space-between;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="1.5" fill="rgba(255,255,255,0.12)"/><circle cx="80" cy="15" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.08)"/><circle cx="10" cy="75" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="80" r="1" fill="rgba(255,255,255,0.12)"/><circle cx="40" cy="90" r="1" fill="rgba(255,255,255,0.09)"/><circle cx="70" cy="60" r="1.5" fill="rgba(255,255,255,0.07)"/></svg>');
    pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out both;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.7s ease-out 0.1s both;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 580px;
    margin: 0 0 36px;
    animation: fadeInUp 0.7s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.7s ease-out 0.3s both;
}

.hero-free {
    margin-top: 24px;
    font-size: 0.9rem;
    opacity: 0.65;
    animation: fadeInUp 0.7s ease-out 0.4s both;
    letter-spacing: 0.03em;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Buttons ─────────────────────────── */
.btn {
    display: inline-block;
    padding: 15px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: white;
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 18px 44px;
    font-size: 1.1rem;
}

/* ── Features ────────────────────────── */
.features {
    padding: 90px 0;
    background: var(--bg-light);
}

.features h2,
.how h2,
.download h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 12px;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
    margin-top: 8px;
}

.feature-card {
    background: white;
    padding: 36px 28px;
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-light);
}

.feature-card:nth-child(even) { border-top-color: var(--accent); }

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

.feature-icon {
    font-size: 2.4rem;
    display: block;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

/* ── How it works ────────────────────── */
.how {
    padding: 90px 0;
    background: white;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-top: 48px;
}

.step { text-align: center; }

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-btn);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 18px;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

/* ── Download ─────────────────────────── */
.download {
    padding: 90px 0;
    background: var(--gradient-hero);
    color: white;
    text-align: center;
}

.download h2 { color: white; }
.download .section-subtitle { color: rgba(255,255,255,0.75); margin-bottom: 40px; }

.download-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Footer ─────────────────────────── */
footer {
    background: #0f0a1e;
    color: white;
    padding: 32px 0;
    text-align: center;
}

footer p {
    opacity: 0.6;
    font-size: 0.9rem;
}

footer a {
    color: var(--primary-light);
    text-decoration: none;
    transition: opacity 0.2s;
}

footer a:hover { opacity: 0.8; text-decoration: underline; }

/* ── Legal pages (privacy, terms) ───── */
.page-header {
    background: var(--gradient-hero);
    color: white;
    padding: 48px 0 40px;
}

.page-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.page-brand {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    opacity: 0.9;
}

.page-brand:hover { opacity: 1; }

.page-back {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.page-back:hover { opacity: 1; }

.page-header h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-meta {
    font-size: 0.9rem;
    opacity: 0.6;
}

.legal-main {
    background: var(--bg-light);
    padding: 60px 0 80px;
    min-height: 60vh;
}

.legal-card {
    background: white;
    border-radius: 18px;
    padding: 48px 52px;
    box-shadow: var(--shadow-md);
    max-width: 820px;
    margin: 0 auto;
}

.legal-card h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 36px 0 12px;
}

.legal-card h2:first-child { margin-top: 0; }

.legal-card p {
    color: var(--text-light);
    font-size: 0.97rem;
    line-height: 1.75;
    margin-bottom: 12px;
}

.legal-card ul {
    color: var(--text-light);
    font-size: 0.97rem;
    line-height: 1.75;
    padding-left: 24px;
    margin-bottom: 12px;
}

.legal-card ul li { margin-bottom: 6px; }

.legal-card strong { color: var(--text-dark); }

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

.legal-card a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .page-header { padding: 36px 0 32px; }
    .page-header h1 { font-size: 1.8rem; }
    .legal-main { padding: 40px 0 60px; }
    .legal-card { padding: 32px 24px; }
}

/* ── Responsive ─────────────────────── */
@media (max-width: 768px) {
    .hero { padding: 60px 0 50px; }
    .hero-inner { flex-direction: column; gap: 28px; text-align: center; }
    .hero-text { text-align: center; }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.05rem; }
    .hero-buttons { justify-content: center; }

    .features, .how, .download { padding: 60px 0; }
    .features h2, .how h2, .download h2 { font-size: 1.8rem; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero h1 { font-size: 1.9rem; }
    .hero-buttons, .download-buttons { flex-direction: column; align-items: center; }
    .btn { width: 100%; max-width: 300px; text-align: center; }
}
