/* ============================================
   QUANTUM SPORTS DATA - Website Styles
   ============================================ */

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

:root {
    --bg-primary: #0D1B18;
    --bg-secondary: #12241F;
    --bg-card: #162E27;
    --green-bright: #19B981;
    --green-light: #23E19D;
    --green-pale: #A8E4CF;
    --orange: #FF6915;
    --orange-warm: #FBAE40;
    --blue: #2462EC;
    --white: #FFFFFF;
    --gray-100: #E8E8E8;
    --gray-200: #A4A3A4;
    --gray-300: #6B7B76;
    --font-heading: 'Anton', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

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

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

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 clamp(24px, 4vw, 64px);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
    background-color: rgba(13, 27, 24, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-logo-img {
    height: 32px;
    width: auto;
}

.dot {
    color: var(--green-bright);
}

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

.nav-links a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-200);
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

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

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(13, 27, 24, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 99;
    padding: 24px clamp(24px, 4vw, 64px);
    flex-direction: column;
    gap: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

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

.mobile-menu a {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--gray-200);
    transition: color 0.2s;
}

.mobile-menu a:hover {
    color: var(--white);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px clamp(24px, 4vw, 64px) 80px;
    position: relative;
}

.hero-content {
    max-width: 1000px;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 0.92;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
}

.hero-title-line {
    display: block;
    font-size: clamp(60px, 12vw, 160px);
    opacity: 0;
    transform: translateY(40px);
    animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.15s;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 300;
    color: var(--gray-200);
    max-width: 560px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--green-bright), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* --- Section Shared Styles --- */
.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--green-bright);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

/* --- Three Pillars --- */
.pillars {
    padding: clamp(80px, 10vw, 160px) clamp(24px, 4vw, 64px);
    max-width: 1400px;
    margin: 0 auto;
}

.pillars-header {
    margin-bottom: clamp(48px, 6vw, 80px);
}

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

.pillar {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar.visible {
    opacity: 1;
    transform: translateY(0);
}

.pillar-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--green-bright);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.pillar-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.pillar-desc {
    font-size: 15px;
    font-weight: 300;
    color: var(--gray-200);
    line-height: 1.7;
}

.pillar-note {
    display: inline-block;
    margin-top: 16px;
    font-size: 12px;
    font-weight: 400;
    color: var(--green-bright);
    opacity: 0.8;
    letter-spacing: 0.01em;
    padding-top: 12px;
    border-top: 1px solid rgba(25, 185, 129, 0.2);
}

/* --- Divider --- */
.divider {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 64px);
}

.divider-line {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.08), transparent);
}

/* --- Product Grid --- */
.products {
    padding: clamp(80px, 10vw, 160px) clamp(24px, 4vw, 64px);
    max-width: 1400px;
    margin: 0 auto;
}

.products-header {
    margin-bottom: clamp(48px, 6vw, 80px);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-secondary);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.product-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.product-card-visual {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.performance-visual {
    background: linear-gradient(135deg, #0D312C 0%, #1a4a3f 50%, #12413A 100%);
    color: var(--green-bright);
}

.gaming-visual {
    background: linear-gradient(135deg, #1a1a2e 0%, #2a1a0a 50%, #1a1a1a 100%);
    color: var(--orange);
}

.media-visual {
    background: linear-gradient(135deg, #0E2841 0%, #162850 50%, #0a1a30 100%);
    color: var(--blue);
}

.card-pattern {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card-pattern svg {
    width: 70%;
    height: 70%;
}

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.product-card-info {
    padding: 24px;
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    line-height: 1.1;
}

.product-card-desc {
    font-size: 14px;
    font-weight: 300;
    color: var(--gray-200);
    line-height: 1.6;
}

/* --- Footer --- */
.footer {
    margin-top: clamp(40px, 6vw, 80px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 64px);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 36px;
    letter-spacing: -0.02em;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-tagline {
    font-size: 14px;
    font-weight: 300;
    color: var(--gray-300);
    margin-top: 8px;
}

.footer-email {
    font-size: 14px;
    font-weight: 400;
    color: var(--gray-200);
    transition: color 0.2s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2px;
}

.footer-email:hover {
    color: var(--green-bright);
    border-color: var(--green-bright);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-socials {
    display: flex;
    gap: 20px;
}

.social-link {
    color: var(--gray-300);
    transition: color 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.footer-copy {
    font-size: 12px;
    color: var(--gray-300);
    letter-spacing: 0.02em;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pillar {
        max-width: 600px;
    }
}

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

    .nav-toggle {
        display: flex;
    }

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

    .hero-title-line {
        font-size: clamp(48px, 14vw, 80px);
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .nav-inner {
        height: 64px;
    }

    .hero {
        padding-top: 100px;
    }
}
