/* PeakLevs — Website Styles */
/* Design system derived from app: deep purple, cyan, magenta */

:root {
    --deep-purple: #1A0B2E;
    --mid-purple: #2D1B69;
    --purple: #7B2FBE;
    --cyan: #00D4FF;
    --magenta: #E040FB;
    --pink: #FF6BEB;
    --bg: #0D0618;
    --surface: #1A0B2E;
    --surface-light: #241547;
    --card: #1E1038;
    --text-primary: #FFFFFF;
    --text-secondary: #B8A9D4;
    --text-muted: #7B6B9E;
    --border: #2D1B69;
    --success: #00E676;
    --warning: #FFD600;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: var(--radius-lg);
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    color: #fff;
    padding: 14px 32px;
    font-size: 16px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 14px 32px;
    font-size: 16px;
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.btn-outline {
    background: transparent;
    color: var(--cyan);
    padding: 14px 32px;
    font-size: 16px;
    border: 2px solid var(--cyan);
}

.btn-outline:hover {
    background: var(--cyan);
    color: var(--bg);
}

.btn-sm { padding: 10px 24px; font-size: 14px; }
.btn-lg { padding: 18px 40px; font-size: 18px; }
.btn-block { width: 100%; }

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(13, 6, 24, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-logo-text {
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 212, 255, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(224, 64, 251, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 100%, rgba(123, 47, 190, 0.15) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 32px;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(40px, 5vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-stat-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.hero-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Phone Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
}

.phone-frame {
    width: 300px;
    background: var(--surface);
    border-radius: 40px;
    padding: 12px;
    border: 2px solid var(--border);
    box-shadow:
        0 0 60px rgba(0, 212, 255, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.5);
}

.phone-screen {
    background: var(--bg);
    border-radius: 30px;
    padding: 20px;
    min-height: 520px;
    position: relative;
    overflow: hidden;
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: var(--surface);
    border-radius: 0 0 16px 16px;
    margin: -20px auto 20px;
}

.mock-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.mock-greeting {
    font-size: 16px;
    font-weight: 700;
}

.mock-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
}

.mock-score-ring {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.mock-ring-outer {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ringGlow 3s ease-in-out infinite;
}

@keyframes ringGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.2); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.4); }
}

.mock-ring-inner {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mock-score {
    font-size: 36px;
    font-weight: 900;
}

.mock-label {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 3px;
    font-weight: 600;
}

.mock-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 24px;
}

.mock-stat {
    text-align: center;
    background: var(--card);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    flex: 1;
    margin: 0 4px;
}

.mock-stat span {
    display: block;
    font-size: 18px;
    font-weight: 800;
}

.mock-stat small {
    font-size: 11px;
    color: var(--text-muted);
}

.mock-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mock-cat {
    background: var(--surface-light);
    padding: 8px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Features */
.features {
    padding: 120px 0;
}

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

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 120px 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(123, 47, 190, 0.08) 0%, transparent 60%);
}

.steps {
    max-width: 700px;
    margin: 0 auto;
}

.step {
    display: flex;
    gap: 32px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.step:last-child {
    border-bottom: none;
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    line-height: 1;
}

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

.step-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Tiers */
.tiers {
    padding: 120px 0;
}

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.tier-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.tier-card:hover {
    border-color: var(--tier-color);
    transform: translateY(-4px);
}

.tier-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 16px;
}

.tier-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--tier-color);
    margin-bottom: 4px;
}

.tier-range {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 600;
}

.tier-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.tier-card-legendary {
    border-color: rgba(255, 214, 0, 0.3);
    background: linear-gradient(180deg, rgba(255, 214, 0, 0.05), var(--card));
}

/* Pricing */
.pricing {
    padding: 120px 0;
    background:
        radial-gradient(ellipse at 70% 50%, rgba(224, 64, 251, 0.06) 0%, transparent 60%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.price-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    position: relative;
}

.price-card-featured {
    border-color: var(--cyan);
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.05), var(--card));
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.15);
}

.price-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-badge-gold {
    background: linear-gradient(135deg, var(--warning), #FF9100);
}

.price-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.price-amount {
    margin-bottom: 4px;
}

.price-currency {
    font-size: 24px;
    font-weight: 700;
    vertical-align: super;
}

.price-value {
    font-size: 56px;
    font-weight: 900;
    line-height: 1;
}

.price-period {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.price-features {
    list-style: none;
    margin-bottom: 32px;
}

.price-features li {
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(45, 27, 105, 0.5);
}

.price-features li::before {
    content: "✓ ";
    color: var(--cyan);
    font-weight: 700;
}

/* CTA */
.cta {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 60%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 900;
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.store-badge img {
    height: 48px;
    width: auto;
    opacity: 0.5;
    transition: opacity 0.3s;
}

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

.cta-note {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.waitlist-form {
    display: flex;
    max-width: 460px;
    margin: 0 auto;
    gap: 12px;
}

.waitlist-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.waitlist-input:focus {
    border-color: var(--cyan);
}

.waitlist-input::placeholder {
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 15px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero-subtitle { margin: 0 auto 40px; }
    .hero-cta { justify-content: center; }
    .hero-stats { justify-content: center; }

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

    .tiers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .price-card-featured {
        transform: none;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions .btn {
        display: none;
    }

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

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

    .step {
        flex-direction: column;
        gap: 16px;
    }

    .waitlist-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat-divider {
        display: none;
    }
}
