/**
 * ElevenLabs Desktop App - Landing Page Styles
 * Warp.dev inspired: Modern dark theme with vibrant gradients, glassmorphism, developer-focused
 */

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

:root {
    /* Colors - Minimalist: white, black, #6f839f only */
    --bg-primary: #0D0D0D;
    --bg-secondary: #121212;
    --bg-tertiary: #1A1A1A;
    --bg-card: #161616;
    --bg-gradient: linear-gradient(180deg, #0D0D0D 0%, #121212 100%);

    /* Gradient Accents - monochrome */
    --gradient-primary: linear-gradient(135deg, #FFFFFF 0%, #CCCCCC 100%);
    --gradient-accent: linear-gradient(135deg, #000000 0%, #333333 100%);
    --gradient-hero: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%);

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-default: rgba(255, 255, 255, 0.15);
    --border-accent: rgba(111, 131, 159, 0.5);
    --border-glow: rgba(111, 131, 159, 0.3);

    /* Typography */
    --text-primary: #FEFEFE;
    --text-secondary: #A8A8A8;
    --text-muted: #6B6B6B;
    --text-accent: #6f839f;

    /* Brand accent - Gray/Blue */
    --accent: #6f839f;
    --accent-light: #8a9fb3;
    --accent-dark: #5a6a7a;
    --accent-gradient: linear-gradient(135deg, #6f839f 0%, #8a9fb3 100%);

    /* Typography - Space Grotesk for headings, DM Sans for body */
    --font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;

    /* Layout */
    --max-width: 1280px;
    --nav-height: 72px;

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(111, 131, 159, 0.2);

    /* Transitions */
    --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}

/* ===================================
   Navigation - Floating glass navbar
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: rgba(13, 13, 13, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-6);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity var(--transition);
}

.logo:hover {
    opacity: 0.9;
}

.logo-icon {
    width: 24px;
    height: 24px;
    color: #6f839f;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-10);
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #6f839f;
    transition: width var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* ===================================
   Buttons - Modern minimalist buttons
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #FFFFFF;
    color: #000000;
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #FEFEFE;
    border: 1px solid var(--border-default);
}

.btn-secondary:hover {
    border-color: #FEFEFE;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 12px 24px;
    font-size: 15px;
}

/* ===================================
   Hero Section - Clean layout without background overlay
   =================================== */

.hero {
    padding: calc(var(--nav-height) + var(--space-24)) 0 var(--space-20);
    min-height: 90vh;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-6);
}
.hero-content {
    max-width: 580px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 12px;
    background: rgba(111, 131, 159, 0.15);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: #FEFEFE;
    margin-bottom: var(--space-6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.hero-cta {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: 14px;
    color: var(--text-muted);
}

.hero-social-proof .avatars {
    display: flex;
}

.hero-social-proof .avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
    margin-left: -10px;
    background: #6f839f;
}

.hero-social-proof .avatar:first-child {
    margin-left: 0;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    background: var(--bg-card);
}

/* ===================================
   Features Section - Card grid with hover effects
   =================================== */

.features {
    padding: var(--space-24) 0;
    border-top: 1px solid var(--border-subtle);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-16);
}

.section-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #FEFEFE;
    margin-bottom: var(--space-4);
    padding: 6px 14px;
    background: rgba(111, 131, 159, 0.15);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-accent);
}

.section-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.feature-card {
    padding: var(--space-8);
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
}

.feature-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(111, 131, 159, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-5);
    color: #6f839f;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(111, 131, 159, 0.15);
    border-radius: var(--radius-md);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-3);
}

.feature-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===================================
   App Showcase Section - Alternating layout
   =================================== */

.showcase {
    padding: var(--space-24) 0;
    border-top: 1px solid var(--border-subtle);
}

.showcase-grid {
    display: grid;
    gap: var(--space-20);
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.showcase-item.reverse {
    direction: rtl;
}

.showcase-item.reverse > * {
    direction: ltr;
}

.showcase-content h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-5);
}

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

.showcase-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-xl);
    background: var(--bg-card);
}

/* ===================================
   Technical Section - Tech stack badges
   =================================== */

.technical {
    padding: var(--space-24) 0;
    
    border-top: 1px solid var(--border-subtle);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
}

.tech-item {
    padding: var(--space-6) var(--space-4);
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.tech-item:hover {
    border-color: var(--border-accent);
    background: rgba(111, 131, 159, 0.05);
    transform: translateY(-2px);
}

.tech-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===================================
   CTA Section - Gradient background
   =================================== */

.cta {
    padding: var(--space-24) 0;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.cta-description {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto var(--space-8);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
}

/* ===================================
   Footer - Clean multi-column
   =================================== */

.footer {
    padding: var(--space-16) 0 var(--space-10);
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-brand .logo {
    margin-bottom: var(--space-4);
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--space-3);
}

.footer-column a {
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--text-accent);
}

.footer-bottom {
    padding-top: var(--space-10);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}

/* ===================================
   Section Titles (shared)
   =================================== */

.section-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.section-subtitle {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ===================================
   Mobile Menu Button
   =================================== */

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

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

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-10);
    }
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-10);
        padding-top: calc(var(--nav-height) + var(--space-16));
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-social-proof {
        justify-content: center;
    }

    .hero-title {
        font-size: 40px;
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
    }

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

    .showcase-item {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

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

    .container {
        padding: 0 var(--space-4);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .section-title {
        font-size: 24px;
    }

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