:root {
    --bg-color: #0b0f19;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --accent-color: #8b5cf6;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Animated Blobs */
.blob-bg {
    position: fixed;
    top: -20vh;
    left: -10vw;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, rgba(11,15,25,0) 70%);
    border-radius: 50%;
    z-index: -1;
    animation: blob-float 8s infinite alternate ease-in-out;
}

.blob-bg::after {
    content: '';
    position: absolute;
    top: 50vh;
    left: 40vw;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, rgba(11,15,25,0) 70%);
    border-radius: 50%;
    animation: blob-float 12s infinite alternate-reverse ease-in-out;
}

@keyframes blob-float {
    0% { 
        transform: translate(0, 0) scale(1); 
        opacity: 0.5;
    }
    50% { 
        transform: translate(4vw, 4vh) scale(1.3); 
        opacity: 1;
        filter: blur(8px);
    }
    100% { 
        transform: translate(8vw, 8vh) scale(0.9); 
        opacity: 0.6;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-secondary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-dot {
    color: var(--primary-color);
}

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

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.scroll-hint {
    margin-top: 32px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.scroll-hint.absolute-bottom {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
}

.scroll-hint a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.scroll-hint a:hover {
    color: var(--primary-color);
}

.bounce-icon {
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Hero Mockup (Glassmorphism) */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--glass-shadow);
}

.hero-mockup {
    width: 100%;
    aspect-ratio: 4/3;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.hero-mockup:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.mockup-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    height: 100%;
}
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 16px;
    pointer-events: none;
}
.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.carousel-slide h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
}
/* Carousel Rich Content */
.mockup-stats {
    display: flex;
    gap: 12px;
}
.stat-box {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
}
.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}
.stat-value.text-green { color: #34d399; }
.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 4px;
}
.mockup-chart-rich {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 100px;
    padding-top: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.bar {
    flex: 1;
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(59, 130, 246, 0.2) 100%);
    border-radius: 4px 4px 0 0;
    transition: height 1s ease;
}
.h-40 { height: 40%; }
.h-60 { height: 60%; }
.h-70 { height: 70%; }
.h-80 { height: 80%; }
.h-100 { height: 100%; }

/* Dynamic Bar Animations */
@keyframes bar-pulse-1 { 0%, 100% { height: 60%; } 50% { height: 85%; } }
@keyframes bar-pulse-2 { 0%, 100% { height: 80%; } 50% { height: 50%; } }
@keyframes bar-pulse-3 { 0%, 100% { height: 40%; } 50% { height: 75%; } }
@keyframes bar-pulse-4 { 0%, 100% { height: 100%; } 50% { height: 65%; } }
@keyframes bar-pulse-5 { 0%, 100% { height: 70%; } 50% { height: 45%; } }

.bar:nth-child(1) { animation: bar-pulse-1 2.5s ease-in-out infinite; }
.bar:nth-child(2) { animation: bar-pulse-2 3s ease-in-out infinite; }
.bar:nth-child(3) { animation: bar-pulse-3 2s ease-in-out infinite; }
.bar:nth-child(4) { animation: bar-pulse-4 2.8s ease-in-out infinite; }
.bar:nth-child(5) { animation: bar-pulse-5 3.5s ease-in-out infinite; }

/* Schedule */
.mockup-schedule {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.schedule-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 12px;
    font-size: 0.85rem;
}
.time { color: var(--accent-color); font-weight: 600; width: 45px;}
.match-teams { flex: 1; text-align: center; display: flex; justify-content: center; gap: 8px; }
.vs { color: var(--text-secondary); font-size: 0.75rem; }
.badge { padding: 4px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 600; }
.badge.active { background: rgba(52, 211, 153, 0.2); color: #34d399; }
.badge.pending { background: rgba(255, 255, 255, 0.1); color: var(--text-secondary); }

/* Scoreboard */
.scoreboard {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(11, 15, 25, 0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
}
.team {
    text-align: center;
}
.team-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.score {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}
.timer-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.quarter {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
}
.time-left {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ef4444;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 10px rgba(239,68,68,0.5);
}

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

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.product-card {
    padding: 40px 32px;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.card-desc {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.card-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
}

.card-link:hover {
    color: var(--accent-color);
}

.card-link.disabled {
    color: var(--text-secondary);
    cursor: not-allowed;
}

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

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 8px;
}

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

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .nav-links {
        display: none; /* simple mobile behavior */
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
}
