/* ===== Variables ===== */
:root {
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.25);
    --surface: #111827;
    --surface-light: #1f2937;
    --surface-lighter: #374151;
    --gradient-start: #3b82f6;
    --gradient-end: #8b5cf6;
}

/* ===== Base ===== */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--surface);
    color: #f9fafb;
    overflow-x: hidden;
}

.bg-surface-light {
    background: var(--surface-light);
}

/* ===== Navbar ===== */
.navbar-blur {
    background: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.3s;
}

.brand-icon { font-size: 1.3rem; }

.nav-link {
    color: #9ca3af !important;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
    color: #f9fafb !important;
    background: rgba(255, 255, 255, 0.06);
}

/* Mobile navbar dropdown */
.navbar-collapse {
    background: rgba(17, 24, 39, 0.98);
    border-radius: 0.75rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

@@media (min-width: 576px) {
    .navbar-collapse {
        background: transparent;
        border: none;
        padding: 0;
        margin-top: 0;
        border-radius: 0;
    }
}

/* ===== Hero ===== */
.hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@@media (min-width: 768px) {
    .hero { padding-top: 10rem; padding-bottom: 5rem; }
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: min(100vw, 800px);
    aspect-ratio: 1;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.hero h1 {
    letter-spacing: -0.03em;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

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

.hero .lead {
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* ===== Buttons ===== */
.btn-accent {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
    color: #fff;
}

.btn-outline-light-custom {
    color: #9ca3af;
    border: 1px solid var(--surface-lighter);
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    text-decoration: none;
}

.btn-outline-light-custom:hover {
    color: #f9fafb;
    border-color: #9ca3af;
    background: rgba(255, 255, 255, 0.04);
}

/* Button full-width on xs, auto on sm+ */
@@media (min-width: 576px) {
    .w-sm-auto { width: auto !important; }
}

/* ===== Phone Mockup ===== */
.phone-mockup {
    background: var(--surface-light);
    border-radius: 1.75rem;
    border: 2px solid var(--surface-lighter);
    padding: 0.5rem;
    box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

/* ===== Section Labels ===== */
.section-label {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

/* ===== Feature Cards ===== */
.feature-card {
    background: var(--surface-light);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0.75rem 2.5rem rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-icon.blue   { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.feature-icon.purple { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.feature-icon.green  { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.feature-icon.orange { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.feature-icon.pink   { background: rgba(236, 72, 153, 0.15); color: #ec4899; }
.feature-icon.cyan   { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.feature-icon.teal   { background: rgba(20, 184, 166, 0.15); color: #14b8a6; }

/* ===== Steps ===== */
.step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    font-weight: 800;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* ===== Camera Chips ===== */
.camera-chip {
    background: var(--surface-light);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #9ca3af;
    transition: all 0.2s;
}

.camera-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ===== Auto Banner ===== */
.auto-banner {
    background: linear-gradient(135deg, var(--surface-light), rgba(59, 130, 246, 0.08));
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 1.25rem;
    position: relative;
    overflow: hidden;
}

.auto-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 25rem;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ===== CTA (legacy, kept for reference) ===== */
.cta-section {
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100vw, 600px);
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* ===== Beta CTA Section ===== */
.beta-cta-section {
    position: relative;
}

.beta-cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 100%, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.beta-cta-card {
    background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(139,92,246,0.12));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
}

.beta-cta-card::after {
    content: '';
    position: absolute;
    top: -60%;
    left: 50%;
    transform: translateX(-50%);
    width: 40rem;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(139,92,246,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.beta-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a78bfa;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.btn-beta-cta {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
}

.btn-beta-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.5);
    color: #fff;
}

/* ===== Footer ===== */
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* ===== Privacy Page ===== */
.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 6rem;
}

@@media (min-width: 768px) {
    .privacy-content { padding-top: 8rem; }
}

.privacy-content h1 { font-weight: 800; margin-bottom: 0.5rem; }
.privacy-content .last-updated { color: #9ca3af; font-size: 0.9rem; margin-bottom: 2.5rem; }
.privacy-content h2 { font-size: 1.3rem; font-weight: 700; margin-top: 2rem; margin-bottom: 0.75rem; }
.privacy-content p,
.privacy-content li { color: #9ca3af; line-height: 1.8; }
.privacy-content ul { padding-left: 1.25rem; }
.privacy-content a { color: var(--accent); text-decoration: none; }
.privacy-content a:hover { text-decoration: underline; }

/* ===== Bootstrap py-md-6 helper (6rem) ===== */
@@media (min-width: 768px) {
    .py-md-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
}

/* ===== Beta Nav Link ===== */
.nav-link-beta {
    color: #fff !important;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border-radius: 0.5rem;
    padding: 0.35rem 0.9rem !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.nav-link-beta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px var(--accent-glow);
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
    color: #fff !important;
}

/* ===== Form Pages (WaitingList / BetaFeedback) ===== */
.form-page-section {
    min-height: 100vh;
    padding-top: 7rem;
    padding-bottom: 4rem;
}

@@media (min-width: 768px) {
    .form-page-section { padding-top: 9rem; }
}

.form-card {
    background: var(--surface-light);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.25rem;
    padding: 2rem;
}

.form-label-custom {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #d1d5db;
    margin-bottom: 0.4rem;
}

.form-control-custom {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--surface-lighter);
    border-radius: 0.65rem;
    color: #f9fafb;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}

.form-control-custom:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-control-custom::placeholder { color: #6b7280; }

.form-control-custom option {
    background: var(--surface-light);
    color: #f9fafb;
}

.field-error {
    display: block;
    color: #f87171;
    font-size: 0.8rem;
    margin-top: 0.3rem;
}

.alert-success-custom {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 0.75rem;
    color: #6ee7b7;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
}

/* ===== Perk Banner ===== */
.perk-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.85rem;
    padding: 1rem 1.1rem;
}

.perk-icon {
    color: var(--accent);
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

/* ===== Star Rating ===== */
.star-rating {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.star-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--surface-lighter);
    transition: color 0.15s, transform 0.15s;
    line-height: 1;
}

.star-btn .material-icons-round { font-size: 2rem; }

.star-btn.active,
.star-btn.hover { color: #f59e0b; }

.star-btn:hover { transform: scale(1.15); }

/* ===== Shared link accent ===== */
.link-accent {
    color: var(--accent);
    text-decoration: none;
}

.link-accent:hover { text-decoration: underline; }

/* ===== Error alert (form pages) ===== */
.alert-error-custom {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-radius: 0.75rem;
    color: #fca5a5;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
}

.alert-error-custom ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
