/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #000000;
    --bg-subtle: #0a0a14;
    --surface: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --purple: #a855f7;
    --blue: #3b82f6;
    --cyan: #06b6d4;
    --gradient: linear-gradient(135deg, var(--purple), var(--blue), var(--cyan));
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 80px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 520px;
}

.hero-icon {
    font-size: 48px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-image {
    flex: 0 0 auto;
}

.hero-image img {
    max-width: 300px;
    border-radius: 24px;
    box-shadow: 0 0 60px rgba(168, 85, 247, 0.2), 0 0 120px rgba(6, 182, 212, 0.1);
}

.app-store-badge img {
    transition: opacity 0.2s;
}

.app-store-badge:hover img {
    opacity: 0.8;
}

.hps-badge img {
    transition: opacity 0.2s;
}

.hps-badge:hover img {
    opacity: 0.8;
}

/* Sections */
section {
    padding: 100px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

section h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

/* How It Works */
.how-it-works {
    background: var(--bg-subtle);
    max-width: 100%;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.how-it-works .steps {
    max-width: 1000px;
    margin: 0 auto;
}

.steps {
    display: flex;
    gap: 40px;
    justify-content: center;
}

.step {
    flex: 1;
    text-align: center;
    max-width: 280px;
}

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

.step h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

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

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: border-color 0.3s;
}

.feature:hover {
    border-color: rgba(168, 85, 247, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.feature p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Promise */
.promise {
    text-align: center;
}

.promise blockquote {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.8;
    border-left: 3px solid var(--purple);
    padding-left: 24px;
    text-align: left;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
}

.price-card.featured {
    border-color: var(--purple);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.15);
}

.price-card h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.price-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.pricing-note {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 24px;
}

/* CTA */
.cta {
    text-align: center;
    padding: 80px 40px 100px;
}

.cta h2 {
    margin-bottom: 32px;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 40px;
    text-align: center;
}

.footer-links, .footer-social {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 16px;
}

.footer-links a, .footer-social a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover, .footer-social a:hover {
    color: var(--text);
}

.footer-credit {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-top: 16px;
    opacity: 0.6;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Legal Pages */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 80px 40px;
    flex: 1;
}

.page-content h1 {
    font-size: 2rem;
    margin-bottom: 32px;
}

.page-content h2 {
    font-size: 1.3rem;
    margin-top: 32px;
    margin-bottom: 12px;
    text-align: left;
}

.page-content p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.page-content ul {
    color: var(--text-secondary);
    padding-left: 24px;
    margin-bottom: 16px;
}

.page-content li {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 24px;
        gap: 40px;
    }

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

    .hero-image img {
        max-width: 240px;
    }

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

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

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

    section {
        padding: 60px 24px;
    }
}

@media (max-width: 480px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}
