@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --accent-gold: #d4af37;
    --accent-gold-light: #f1d592;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(20px);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Dynamic Colors */
    --color-1: #6366f1;
    --color-2: #a855f7;
    --color-3: #ec4899;
}

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

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

/* Dynamic Background Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(80px);
    opacity: 0.4;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--color-1);
    animation: move 20s infinite alternate;
}

.blob-2 {
    background: var(--color-2);
    width: 600px;
    height: 600px;
    right: -100px;
    top: -100px;
    animation-duration: 25s;
}

.blob-3 {
    background: var(--color-3);
    width: 400px;
    height: 400px;
    left: 20%;
    bottom: -100px;
    animation-duration: 30s;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(100px, 100px) scale(1.2);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Header */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 15px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50px;
}

header.scrolled {
    top: 10px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
}

.logo span {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 900px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 25px;
    border-radius: 50px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 10vw, 7rem);
    line-height: 1;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(to bottom, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    background: var(--text-primary);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.btn:hover {
    background: transparent;
    color: #fff;
    border-color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* Brands Section */
.brands {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

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

.brand-card {
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.08);
}

.brand-card i {
    font-size: 32px;
    color: var(--accent-gold);
    margin-bottom: 25px;
}

.brand-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-card p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 25px;
}

/* Products Section */
.products {
    padding: 100px 0;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    padding: 40px;
}

.product-item:nth-child(even) {
    flex-direction: row-reverse;
}

.product-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.1) rotate(2deg);
}

.product-info {
    flex: 1;
}

.product-info span {
    color: var(--accent-gold);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: block;
}

.product-info h3 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.product-info p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 30px;
}

/* Footer */
footer {
    padding: 80px 0 40px;
    margin-top: 100px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--text-secondary);
    font-size: 14px;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.2);
    font-size: 11px;
}

/* Cinematic Presentation Layer */
.cine-overlay {
    position: fixed;
    inset: 0;
    background-color: #000;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: auto;
    opacity: 1;
    transition: opacity 1s ease-out;
}

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

.cine-content {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.cine-scene {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.cine-scene.active {
    opacity: 1;
    pointer-events: auto;
}

.flow-text-huge {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(4rem, 15vw, 12rem);
    color: white;
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -2px;
    text-shadow: 0 0 60px rgba(255, 255, 255, 0.3);
    animation: flowScale 6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.flow-img-hero {
    max-height: 70vh;
    max-width: 90vw;
    filter: drop-shadow(0 20px 80px rgba(0, 0, 0, 0.8));
    animation: flowPan 6s ease-out forwards;
}

.cine-flash {
    position: absolute;
    inset: 0;
    background: white;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
}

.flash-now {
    animation: flashAnim 0.3s ease-out;
}

@keyframes flashAnim {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.cine-skip {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 20000;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.cine-skip:hover {
    background: white;
    color: black;
}

/* Product Detail Layout */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 40px;
    align-items: start;
}

.pd-sticky-left {
    position: sticky;
    top: 120px;
}

.pd-image {
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.pd-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    z-index: 1;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.7));
}

.pd-info h1 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.pd-price {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 30px;
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.pd-price small {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: var(--text-secondary);
}

.pd-desc {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.pd-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.spec-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.spec-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 5px;
}

.spec-value {
    font-size: 15px;
    font-weight: 700;
    color: white;
}

.spec-value.status-crit {
    color: #ff4d4d;
}

/* Reviews */
.full-width-reviews {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--glass-border);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.review-card {
    padding: 25px;
}

.stars {
    color: var(--accent-gold);
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
}

.review-text {
    font-style: italic;
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-auth {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
}

/* Tags */
.tag {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    letter-spacing: 1px;
}

.tag.hot {
    background: #ff4d4d;
    color: white;
}

.tag.new {
    background: var(--accent-gold);
    color: black;
}

/* HUD Tech Specs */
.hud-grid {
    position: absolute;
    bottom: 10%;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 0 5%;
}

.hud-item {
    text-align: left;
    border-left: 2px solid var(--accent-gold);
    padding-left: 15px;
}

.hud-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hud-value {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    font-family: var(--font-heading);
    line-height: 1;
}

/* Animations */
@keyframes flowScale {
    0% {
        opacity: 0;
        transform: scale(1.5) translateY(50px);
        filter: blur(20px);
    }

    15% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }

    100% {
        opacity: 1;
        transform: scale(0.9) translateY(-20px);
        filter: blur(0);
    }
}

@keyframes flowPan {
    0% {
        opacity: 0;
        transform: translateX(100px) scale(0.9);
        filter: blur(10px) brightness(2);
    }

    15% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0) brightness(1);
    }

    100% {
        opacity: 1;
        transform: translateX(-30px) scale(1.05);
    }
}

body.locked {
    overflow: hidden;
    height: 100vh;
}

[data-aos] {
    transition-duration: 1000ms !important;
}

@media (max-width: 1024px) {
    .brand-grid {
        grid-template-columns: 1fr;
    }

    .product-item {
        flex-direction: column !important;
        gap: 40px;
    }

    .hero h1 {
        font-size: 4rem;
    }
}

@media (max-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .pd-image {
        height: 350px;
    }

    .pd-info h1 {
        font-size: 2.5rem;
    }
}