/* ================================================
   BrandOS — Waitlist Landing Page
   Concise, striking dark theme
   ================================================ */

:root {
    /* Core Palette - Dark with Warm Accents */
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-tertiary: #18181b;
    --bg-elevated: #1f1f23;
    
    /* Text */
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Accent - Warm Coral/Orange */
    --accent-primary: #ff6b35;
    --accent-secondary: #ff8f5c;
    --accent-tertiary: #ffb088;
    --accent-glow: rgba(255, 107, 53, 0.3);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ff8f5c 50%, #ffd93d 100%);
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    
    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(255, 107, 53, 0.3);
    
    /* Sizing */
    --container-max: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================
   Reset & Base
   ================================================ */

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

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

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

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

/* Cursor glow disabled */
.cursor-glow {
    display: none;
}

/* ================================================
   Typography
   ================================================ */

h1, h2, h3, h4 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }

.text-gradient {
    color: var(--accent-primary);
}

.text-accent {
    color: var(--accent-primary);
}

/* ================================================
   Layout
   ================================================ */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ================================================
   Navigation
   ================================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.nav-cta {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: var(--accent-secondary);
    transform: translateY(-1px);
}

/* ================================================
   Buttons
   ================================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-family: 'Syne', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--accent-secondary);
}

/* ================================================
   Hero Section - Split Layout
   ================================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 7rem 1.5rem 4rem;
    overflow: hidden;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: var(--container-max);
    margin: 0 auto;
    align-items: center;
}

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

.grid-overlay {
    display: none;
}

.gradient-orb {
    display: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-medium);
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    margin-bottom: 0.25rem;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-title-sub {
    font-size: clamp(1.75rem, 5vw, 3rem);
    margin-bottom: 1.25rem;
    animation: fadeInUp 0.6s ease-out 0.15s both;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-subtitle em {
    color: var(--accent-primary);
    font-style: normal;
}

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

/* Feature Pills */
.feature-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.feature-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.875rem;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.feature-pill:hover {
    border-color: var(--border-medium);
    color: var(--text-secondary);
}

/* Waitlist Form */
.waitlist-form {
    display: flex;
    gap: 0.625rem;
    max-width: 420px;
    padding: 0.375rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.email-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 0.9375rem;
    color: var(--text-primary);
    outline: none;
    min-width: 0;
}

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

.waitlist-form .btn {
    flex-shrink: 0;
    padding: 0.75rem 1.25rem;
}

/* Social Proof */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    animation: fadeInUp 0.6s ease-out 0.5s both;
}

.fire-emoji {
    font-size: 1rem;
}

.hero-social-proof p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

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

/* ================================================
   Hero Visual - Phone Mockup
   ================================================ */

.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.phone-mockup {
    width: 280px;
    background: var(--bg-secondary);
    border-radius: 36px;
    padding: 12px;
    border: 1px solid var(--border-medium);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.phone-notch {
    width: 80px;
    height: 24px;
    background: var(--bg-primary);
    border-radius: 20px;
    margin: 0 auto 12px;
}

.phone-screen {
    background: var(--bg-primary);
    border-radius: 24px;
    padding: 16px;
    min-height: 380px;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.app-title {
    font-family: 'Syne', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
}

.app-score {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.score-value {
    color: var(--accent-primary);
    font-weight: 700;
}

.audit-card {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    border: 1px solid var(--border-subtle);
}

.audit-card.warning {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.03);
}

.audit-grade {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.grade-a {
    background: #22c55e;
    color: white;
}

.grade-b {
    background: #3b82f6;
    color: white;
}

.grade-c {
    background: #f59e0b;
    color: white;
}

.audit-details h4 {
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.audit-details p {
    font-size: 0.625rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.audit-cta {
    margin-top: 12px;
    padding: 10px;
    background: var(--accent-primary);
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bg-primary);
}

/* Floating Tags */
.floating-tag {
    position: absolute;
    padding: 6px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-medium);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.tag-1 {
    top: 5%;
    right: 0;
    color: var(--text-muted);
}

.tag-2 {
    bottom: 35%;
    left: -40px;
    color: var(--text-muted);
}

.tag-3 {
    bottom: 10%;
    right: 0;
    color: var(--text-muted);
}

/* ================================================
   How It Works - Compact
   ================================================ */

.how-compact {
    padding: 3rem 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
}

.how-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.how-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.how-item:hover {
    border-color: var(--border-medium);
    background: var(--bg-elevated);
}

.how-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent-primary);
    border-radius: 50%;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    color: var(--bg-primary);
    flex-shrink: 0;
}

.how-item h4 {
    font-size: 0.875rem;
    margin-bottom: 0.125rem;
}

.how-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.how-arrow {
    color: var(--text-muted);
    font-size: 1.125rem;
    font-weight: 600;
}

/* ================================================
   Minimal Footer
   ================================================ */

.footer-minimal {
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.footer-minimal p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* ================================================
   Responsive
   ================================================ */

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .feature-pills {
        justify-content: center;
    }
    
    .waitlist-form {
        margin: 0 auto;
    }
    
    .hero-social-proof {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 6rem 1rem 3rem;
    }
    
    .waitlist-form {
        flex-direction: column;
        padding: 0.625rem;
    }
    
    .waitlist-form .btn {
        width: 100%;
    }
    
    .feature-pills {
        gap: 0.5rem;
    }
    
    .feature-pill {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .phone-mockup {
        width: 260px;
    }
    
    .floating-tag {
        display: none;
    }
    
    .how-grid {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .how-arrow {
        transform: rotate(90deg);
    }
    
    .how-item {
        width: 100%;
        max-width: 280px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
