/* ============================================
   FOCUSDRIVE - STYLES
   Premium dark theme with scroll animations
   ============================================ */

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

:root {
    --bg-primary: #000000;
    --bg-secondary: #080808;
    --bg-tertiary: #111111;
    --bg-card: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --text-muted: #666666;
    --accent: #ffffff;
    --border: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.2);

    --font-display: 'Syne', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --section-padding: 140px;
    --container-max: 1400px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

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

.nav-links a {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s var(--ease-smooth);
}

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

.nav-cta {
    display: flex;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-smooth);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 900px) {
    .nav-container {
        padding: 0 24px;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 40px;
}

.mobile-menu-content a {
    font-size: 28px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    border: none;
}

.btn-large {
    padding: 20px 40px;
    font-size: 16px;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

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

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 160px 60px 120px;
    position: relative;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 1000px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(72px, 14vw, 140px);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.95;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.hero-tagline {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Product Showcase */
.product-showcase {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 80px;
}

.product-image-container {
    position: relative;
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.product-image {
    width: 100%;
    max-width: 550px;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s var(--ease-out);
}

.product-showcase:hover .product-image {
    transform: scale(1.02);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero {
        padding: 140px 24px 80px;
    }

    .hero-tagline {
        margin-bottom: 60px;
    }

    .product-showcase {
        max-width: 100%;
    }

    .product-image-container {
        padding: 30px;
    }
}

/* ============================================
   PRODUCT SECTION
   ============================================ */

.product-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.product-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 100px;
    align-items: center;
}

.product-visual {
    position: relative;
}

.product-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s var(--ease-out);
}

.product-card:hover {
    transform: scale(1.02);
}

.product-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tag {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.product-title {
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 64px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    line-height: 1.1;
}

.product-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 520px;
}

@media (max-width: 1024px) {
    .product-grid {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .product-section {
        padding: 100px 0;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.features-section {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

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

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.5s var(--ease-out);
}

.feature-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    background: var(--bg-tertiary);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.feature-card h3 {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

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

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 100px 0;
    }

    .section-header {
        margin-bottom: 60px;
    }

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

    .feature-card {
        padding: 32px;
    }
}

/* ============================================
   PRESS SECTION
   ============================================ */

.press-section {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.press-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 100px;
}

.press-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s var(--ease-out);
}

.press-card:hover {
    transform: scale(1.02);
}

.press-card-large {
    grid-row: span 2;
}

.press-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.press-card:hover .press-image {
    transform: scale(1.05);
}

.press-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
}

.press-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.press-source,
.press-date {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: var(--text-secondary);
}

.press-headline {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-primary);
}

.press-card-large .press-headline {
    font-size: 24px;
}

@media (max-width: 900px) {
    .press-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .press-card-large {
        grid-row: span 1;
        aspect-ratio: 16/9;
    }

    .press-card:not(.press-card-large) {
        aspect-ratio: 16/9;
    }
}

/* Quotes Section */
.quotes-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.quote-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.5s var(--ease-out);
}

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

.quote-icon {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.quote-text {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-style: italic;
}

.quote-source {
    font-size: 14px;
    color: var(--text-muted);
    font-style: normal;
}

@media (max-width: 900px) {
    .quotes-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .quote-card {
        padding: 32px;
    }
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: 80px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 10px;
}

.footer-tagline {
    font-size: 15px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    font-size: 15px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s var(--ease-smooth);
}

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

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    transition: all 0.4s var(--ease-out);
}

.social-link:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

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

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

@media (max-width: 768px) {
    .footer {
        padding: 60px 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.reveal {
    opacity: 0;
    transition: all 1s var(--ease-out);
}

.reveal.active {
    opacity: 1;
}

/* Fade Up */
.fade-up {
    transform: translateY(60px);
}

.fade-up.active {
    transform: translateY(0);
}

/* Fade Left */
.fade-left {
    transform: translateX(-60px);
}

.fade-left.active {
    transform: translateX(0);
}

/* Fade Right */
.fade-right {
    transform: translateX(60px);
}

.fade-right.active {
    transform: translateX(0);
}

/* Fade Scale */
.fade-scale {
    transform: scale(0.9);
}

.fade-scale.active {
    transform: scale(1);
}

/* Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* Staggered delays for grid items */
.features-grid .feature-card:nth-child(1) { transition-delay: 0s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.2s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.15s; }
.features-grid .feature-card:nth-child(5) { transition-delay: 0.25s; }
.features-grid .feature-card:nth-child(6) { transition-delay: 0.35s; }

.quotes-section .quote-card:nth-child(1) { transition-delay: 0s; }
.quotes-section .quote-card:nth-child(2) { transition-delay: 0.15s; }
.quotes-section .quote-card:nth-child(3) { transition-delay: 0.3s; }
