/* ==========================================
   ASUS x MyGear Landing Page
   ========================================== */

/* CSS Variables */
:root {
    /* Colors */
    --rog-red: #ff0033;
    --rog-red-dark: #cc0029;
    --tuf-gold: #ffbe00;
    --proart-cyan: #00d4ff;
    --mygear-blue: #0066ff;
    --mygear-blue-light: #3388ff;
    
    /* Backgrounds */
    --bg-dark: #050508;
    --bg-primary: #0a0d14;
    --bg-secondary: #0f1318;
    --bg-card: rgba(255, 255, 255, 0.02);
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    --bg-glass: rgba(10, 13, 20, 0.8);
    
    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #8a8f98;
    --text-muted: #555a63;
    
    /* Effects */
    --border-glass: 1px solid rgba(255, 255, 255, 0.06);
    --border-hover: 1px solid rgba(255, 255, 255, 0.12);
    --glow-blue: 0 0 40px rgba(0, 102, 255, 0.15);
    --glow-red: 0 0 40px rgba(255, 0, 51, 0.15);
    
    /* Layout */
    --container-max: 1400px;
    --header-height: 72px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 100px;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 80px);
}

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

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

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: transparent;
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--border-glass);
}

.header-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 32px;
    filter: brightness(0) invert(1);
    transition: var(--transition-fast);
}

.logo:hover img {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255,255,255,0.5));
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mygear-blue);
    transition: var(--transition-fast);
}

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

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

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at center, transparent 0%, var(--bg-dark) 75%),
        linear-gradient(to bottom, transparent 50%, var(--bg-dark) 100%);
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.3) 1px, transparent 0),
        radial-gradient(1px 1px at 40% 70%, rgba(255,255,255,0.2) 1px, transparent 0),
        radial-gradient(1px 1px at 60% 40%, rgba(255,255,255,0.25) 1px, transparent 0),
        radial-gradient(1px 1px at 80% 60%, rgba(255,255,255,0.15) 1px, transparent 0);
    background-size: 200px 200px;
    animation: particles 20s linear infinite;
}

@keyframes particles {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 900px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease-out backwards;
}

.badge i {
    font-size: 0.85rem;
}

.badge-rog {
    border-color: rgba(255, 0, 51, 0.4);
    color: var(--rog-red);
    animation-delay: 0.1s;
}

.badge-tuf {
    border-color: rgba(255, 190, 0, 0.4);
    color: var(--tuf-gold);
    animation-delay: 0.2s;
}

.badge-proart {
    border-color: rgba(0, 212, 255, 0.4);
    color: var(--proart-cyan);
    animation-delay: 0.3s;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.title-line {
    background: linear-gradient(180deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-accent {
    color: var(--mygear-blue);
    opacity: 0.7;
    font-weight: 300;
}

.hero-tagline {
    font-size: 1.2rem;
    letter-spacing: 8px;
    color: var(--mygear-blue);
    font-weight: 500;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

/* Buttons */
.btn {
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--mygear-blue) 0%, var(--mygear-blue-light) 100%);
    color: white;
    box-shadow: 0 8px 32px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.4);
}

.btn-primary i {
    transition: var(--transition-fast);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-glass {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.25);
}

.btn-glass-blue {
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    color: var(--mygear-blue);
}

.btn-glass-blue:hover {
    background: rgba(0, 102, 255, 0.2);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, var(--mygear-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--mygear-blue);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

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

/* ==========================================
   CATEGORY NAVIGATION
   ========================================== */
.category-nav {
    position: sticky;
    top: var(--header-height);
    z-index: 100;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: var(--border-glass);
    padding: 16px 0;
}

.category-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.category-container::-webkit-scrollbar {
    display: none;
}

.category-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    transition: var(--transition-fast);
}

.category-btn i {
    font-size: 1rem;
    opacity: 0.7;
}

.category-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.1);
}

.category-btn.active {
    background: white;
    color: var(--bg-dark);
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}

.category-btn.active i {
    opacity: 1;
}

/* ==========================================
   PRODUCTS SECTION
   ========================================== */
.products-section {
    padding: 60px 24px 100px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.product-category {
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.product-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.product-category.hidden {
    display: none;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.section-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--mygear-blue) 0%, rgba(0,102,255,0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
}

.section-text h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.section-text p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* Product Card */
.product-card {
    position: relative;
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: var(--glow-blue);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse at top, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.product-card:hover .card-glow {
    opacity: 1;
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--rog-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 2;
}

.product-badge.new {
    background: var(--mygear-blue);
}

.product-badge.sale {
    background: linear-gradient(135deg, #00c853, #00e676);
}

.product-image {
    height: 220px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition-bounce);
}

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

.product-content {
    padding: 24px;
    border-top: var(--border-glass);
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-specs span {
    padding: 6px 12px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-specs i {
    color: var(--mygear-blue);
    font-size: 0.75rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--mygear-blue);
}

.btn-detail {
    padding: 10px 20px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-fast);
}

.btn-detail:hover {
    background: var(--mygear-blue);
    border-color: var(--mygear-blue);
}

.btn-detail i {
    font-size: 0.75rem;
    transition: var(--transition-fast);
}

.btn-detail:hover i {
    transform: translateX(3px);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    padding: 100px 24px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-primary) 50%, var(--bg-dark) 100%);
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,102,255,0.3), transparent);
}

.about-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-label {
    display: inline-block;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.2);
    color: var(--mygear-blue);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.about-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.about-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.about-card {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--radius-lg);
    padding: 40px 24px;
    text-align: center;
    transition: var(--transition-smooth);
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.1);
    background: var(--bg-card-hover);
}

.about-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 190, 0, 0.2) 0%, rgba(255, 190, 0, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 1.8rem;
    color: var(--tuf-gold);
}

.about-icon.blue {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.2) 0%, rgba(0, 102, 255, 0.05) 100%);
    color: var(--mygear-blue);
}

.about-icon.red {
    background: linear-gradient(135deg, rgba(255, 0, 51, 0.2) 0%, rgba(255, 0, 51, 0.05) 100%);
    color: var(--rog-red);
}

.about-icon.white {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    color: white;
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.about-cta {
    text-align: center;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 60px 24px 40px;
    background: var(--bg-primary);
    border-top: var(--border-glass);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer-brand {
    text-align: center;
}

.footer-brand img {
    height: 28px;
    filter: brightness(0) invert(1);
    margin: 0 auto 12px;
    opacity: 0.8;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

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

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--mygear-blue);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        flex-direction: column;
        gap: 8px;
    }
    
    .title-accent {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero-badges {
        gap: 8px;
    }
    
    .badge {
        padding: 6px 14px;
        font-size: 0.7rem;
    }
    
    .hero-tagline {
        letter-spacing: 4px;
        font-size: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-divider {
        height: 32px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-text h2 {
        font-size: 1.75rem;
    }
    
    .about-header h2 {
        font-size: 2.25rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .product-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-detail {
        width: 100%;
        justify-content: center;
    }
}
