/* ============================================
   UstaProject - Design System & Variables
   ============================================ */
:root {
    /* Primary Colors */
    --red-50: #fef2f2;
    --red-100: #fee2e2;
    --red-200: #fecaca;
    --red-300: #fca5a5;
    --red-400: #f87171;
    --red-500: #ef4444;
    --red-600: #dc2626;
    --red-700: #b91c1c;
    --red-800: #991b1b;
    --red-900: #7f1d1d;

    /* Neutrals */
    --black: #000000;
    --gray-950: #0a0a0a;
    --gray-900: #111111;
    --gray-850: #161616;
    --gray-800: #1a1a1a;
    --gray-700: #262626;
    --gray-600: #333333;
    --gray-500: #555555;
    --gray-400: #777777;
    --gray-300: #999999;
    --gray-200: #bbbbbb;
    --gray-100: #dddddd;
    --white: #ffffff;

    /* Semantic */
    --primary: #dc2626;
    --primary-light: #ef4444;
    --primary-dark: #b91c1c;
    --primary-glow: rgba(220, 38, 38, 0.15);
    --bg-primary: #09090b;
    --bg-secondary: #121215;
    --bg-card: rgba(20, 20, 25, 0.65);
    --bg-card-hover: rgba(39, 39, 42, 0.8);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.12);
    --text-primary: #f5f5f5;
    --text-secondary: #999999;
    --text-muted: #666666;
    --heading-color: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    --gradient-dark: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    --gradient-card: linear-gradient(145deg, rgba(26, 26, 26, 0.9) 0%, rgba(17, 17, 17, 0.95) 100%);

    /* Typography */
    --font-primary: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1280px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(220, 38, 38, 0.05);
    --shadow-glow-strong: 0 0 60px rgba(220, 38, 38, 0.1);
}

/* Light Theme Variables */
[data-theme="light"] {
    --bg-primary: #f8f9fa;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-card-hover: rgba(240, 242, 245, 0.95);
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --heading-color: #0f172a;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(220, 38, 38, 0.03);
    
    --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 245, 245, 0.95) 100%);
}

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

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

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

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    background: 
        radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.02) 0%, rgba(0, 0, 0, 0) 50%),
        radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.01) 0%, rgba(0, 0, 0, 0) 50%),
        radial-gradient(circle at 50% 20%, rgba(185, 28, 28, 0.01) 0%, rgba(0, 0, 0, 0) 60%),
        radial-gradient(circle at 80% 20%, rgba(220, 38, 38, 0.01) 0%, rgba(0, 0, 0, 0) 50%);
    background-size: 200% 200%;
    animation: bgGlowMove 25s ease infinite;
    pointer-events: none;
}

@keyframes bgGlowMove {
    0% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 100%;
    }
    50% {
        background-position: 100% 100%, 0% 0%, 20% 80%, 100% 0%;
    }
    100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 100%;
    }
}

::selection {
    background: var(--primary);
    color: var(--white);
}

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

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

ul {
    list-style: none;
}

input, textarea, select, button {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

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

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* ============================================
   Preloader
   ============================================ */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #050505;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.6s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.6s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}

#preloader.loaded .preloader-content {
    transform: scale(0.9) translateY(-10px);
    opacity: 0;
}

.preloader-visual {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-lg);
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: preloaderLogoPulse 2s ease-in-out infinite;
}

.preloader-ring {
    position: absolute;
    border-radius: 50%;
    box-sizing: border-box;
}

.preloader-ring.ring-1 {
    width: 146px;
    height: 146px;
    border: 2px.5 solid transparent;
    border-top: 2.5px solid var(--primary);
    border-bottom: 2.5px solid var(--primary);
    border-radius: 43% 57% 50% 50% / 40% 40% 60% 60%;
    animation: ringMorphRotate1 3s linear infinite;
    filter: drop-shadow(0 0 10px var(--primary-glow));
    z-index: 3;
}

.preloader-ring.ring-2 {
    width: 160px;
    height: 160px;
    border: 1.5px solid transparent;
    border-left: 1.5px solid rgba(255, 255, 255, 0.25);
    border-right: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
    animation: ringMorphRotate2 4s linear infinite;
    z-index: 2;
}

@keyframes ringMorphRotate1 {
    0% {
        transform: rotate(0deg);
        border-radius: 43% 57% 50% 50% / 40% 40% 60% 60%;
    }
    50% {
        border-radius: 57% 43% 60% 40% / 60% 60% 40% 40%;
    }
    100% {
        transform: rotate(360deg);
        border-radius: 43% 57% 50% 50% / 40% 40% 60% 60%;
    }
}

@keyframes ringMorphRotate2 {
    0% {
        transform: rotate(360deg);
        border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
    }
    50% {
        border-radius: 45% 55% 55% 45% / 45% 55% 45% 55%;
    }
    100% {
        transform: rotate(0deg);
        border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%;
    }
}

@keyframes preloaderLogoPulse {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.03);
        filter: brightness(1.1) drop-shadow(0 0 15px rgba(220, 38, 38, 0.15));
    }
}

.preloader-text-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.preloader-text {
    font-family: var(--font-primary);
    font-size: 17px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: 0.38em;
    text-indent: 0.38em;
    animation: textGlitchPulse 3s infinite;
}

.preloader-sub {
    font-family: var(--font-body);
    font-size: 10.5px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.22em;
    text-indent: 0.22em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preloader-sub::after {
    content: '';
    width: 5px;
    height: 5px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px var(--primary);
    animation: subDotPulse 1s ease-in-out infinite;
}

@keyframes subDotPulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes textGlitchPulse {
    0%, 100% { opacity: 0.8; letter-spacing: 0.35em; }
    50% { opacity: 1; letter-spacing: 0.38em; filter: drop-shadow(0 0 1px rgba(255,255,255,0.1)); }
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0;
    background: linear-gradient(180deg, #1a0d0d 0%, #140808 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(14, 7, 7, 0.93);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    max-width: 1400px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
    flex-shrink: 0;
}

.logo-img {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    transition: transform var(--transition-base);
}

.nav-logo:hover .logo-img {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--heading-color);
}

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

.logo-subtitle {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--gray-400);
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    position: relative;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-300);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-link.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    font-weight: 600;
}

/* Auth Buttons */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-auth-mobile {
    display: none;
}

.nav-login {
    padding: 8px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    box-shadow: 0 2px 12px rgba(220, 38, 38, 0.3);
}

.nav-login:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.25);
}

.nav-register {
    padding: 8px 22px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    box-shadow: 0 2px 12px rgba(220, 38, 38, 0.3);
}

.nav-register:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.25);
}

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

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

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

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

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    opacity: 0.15;
    animation: glowFloat 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--red-800);
    bottom: -100px;
    left: -100px;
    opacity: 0.1;
    animation: glowFloat 10s ease-in-out infinite reverse;
}

@keyframes glowFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.floating-shape {
    position: absolute;
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: var(--radius-lg);
    animation: shapeFloat 12s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
    transform: rotate(45deg);
}

.shape-2 {
    width: 50px;
    height: 50px;
    bottom: 30%;
    left: 5%;
    animation-delay: -4s;
    transform: rotate(20deg);
}

.shape-3 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 25%;
    animation-delay: -8s;
    border-radius: 50%;
}

@keyframes shapeFloat {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.3; }
    50% { transform: rotate(45deg) translate(20px, -30px); opacity: 0.6; }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--red-300);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--heading-color);
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 520px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num-box {
    display: flex;
    align-items: baseline;
    line-height: 1;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--heading-color);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-left: 2px;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-top: 6px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual - Card Stack */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Hero Visual Layout Wrapper */
.hero-visual-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Orbits / Circles */
.hero-orbit {
    position: absolute;
    border: 1px dashed rgba(220, 38, 38, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-1 {
    width: 460px;
    height: 460px;
    animation: rotateOrbit1 30s linear infinite;
}

.orbit-2 {
    width: 360px;
    height: 360px;
    border-style: solid;
    border-color: rgba(220, 38, 38, 0.08);
    animation: rotateOrbit2 20s linear infinite reverse;
}

@keyframes rotateOrbit1 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateOrbit2 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Main Red Logo Card */
.hero-main-card {
    position: relative;
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.3), 0 0 80px rgba(220, 38, 38, 0.2);
    z-index: 5;
    animation: mainCardFloat 6s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-logo-box {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.hero-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

@keyframes mainCardFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Floating Badges */
.hero-floating-badge {
    position: absolute;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
    transition: all 0.3s ease;
    cursor: default;
    width: 220px;
}

.hero-floating-badge:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.2);
}

.badge-top-right {
    top: 0px;
    right: -30px;
    animation: floatingBadge1 6s ease-in-out infinite;
}

.badge-bottom-left {
    bottom: 20px;
    left: -40px;
    animation: floatingBadge2 6s ease-in-out infinite 1.5s;
}

.badge-icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    flex-shrink: 0;
}

.badge-info h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--heading-color);
    margin: 0;
}

.badge-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 4px 0 0 0;
}

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

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

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    animation: fadeInUp 1s ease 1.5s both;
}

.hero-scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--gray-600);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: var(--radius-full);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(10px); opacity: 0; }
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: rgba(17, 7, 7, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h3 {
    font-family: var(--font-primary);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.about-feature-item:hover {
    border-color: rgba(220, 38, 38, 0.2);
    background: var(--bg-card-hover);
    transform: translateX(4px);
}

.about-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary-light);
}

.about-feature-item h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.about-feature-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* About Visual */
.about-visual {
    position: relative;
}

.about-image-container {
    position: relative;
    display: flex;
    justify-content: center;
}

.about-image-card {
    width: 380px;
    height: 440px;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
}

.about-image-inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: 
        radial-gradient(circle at 30% 40%, rgba(220, 38, 38, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(220, 38, 38, 0.02) 0%, transparent 50%);
}

.about-icon-large {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(220, 38, 38, 0.10);
    border-radius: 50%;
    color: var(--primary-light);
    animation: iconPulse 4s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.1); }
    50% { box-shadow: 0 0 0 20px rgba(220, 38, 38, 0); }
}

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

.years-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

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

/* Floating Badges */
.about-floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.about-floating-badge svg {
    color: var(--primary-light);
    fill: var(--primary-light);
}

.badge-1 {
    top: 20px;
    right: -20px;
    animation: badgeFloat 5s ease-in-out infinite;
}

.badge-2 {
    bottom: 40px;
    left: -10px;
    animation: badgeFloat 6s ease-in-out infinite reverse;
}

@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   Services Section
   ============================================ */
.services {
    background: rgba(10, 4, 4, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

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

.service-card {
    position: relative;
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    transition: all var(--transition-smooth);
    overflow: hidden;
}

.service-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-smooth);
}

.service-card:hover .service-card-bg {
    transform: scaleX(1);
}

.service-card:hover {
    border-color: rgba(220, 38, 38, 0.2);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: var(--radius-lg);
    color: var(--primary-light);
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: rgba(220, 38, 38, 0.15);
    border-color: rgba(220, 38, 38, 0.3);
    transform: scale(1.05);
}

.service-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.service-features span {
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.service-card:hover .service-features span {
    border-color: rgba(220, 38, 38, 0.15);
    color: var(--text-secondary);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-light);
    transition: all var(--transition-base);
}

.service-link:hover {
    gap: 12px;
    color: var(--red-300);
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    background: rgba(17, 7, 7, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.cta-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.cta-glow-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.08;
}

.cta-glow-2 {
    width: 300px;
    height: 300px;
    background: var(--red-700);
    bottom: -100px;
    right: 10%;
    opacity: 0.06;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--heading-color);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: rgba(10, 4, 4, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

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

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-brand > p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    color: var(--primary-light);
    transform: translateY(-2px);
}

.footer-links h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

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

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

/* Footer Community Cards */
.footer-community-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.community-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
}

.community-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: all var(--transition-base);
}

.discord-card .community-icon {
    background: rgba(88, 101, 242, 0.1);
    color: #5865F2;
}

.youtube-card .community-icon {
    background: rgba(255, 0, 0, 0.1);
    color: #FF0000;
}

.community-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.comm-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--heading-color);
    transition: color var(--transition-fast);
}

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

/* Hover effects */
.community-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.discord-card:hover {
    border-color: rgba(88, 101, 242, 0.4);
    background: rgba(88, 101, 242, 0.05);
}

.discord-card:hover .community-icon {
    background: #5865F2;
    color: var(--white);
}

.youtube-card:hover {
    border-color: rgba(255, 0, 0, 0.4);
    background: rgba(255, 0, 0, 0.05);
}

.youtube-card:hover .community-icon {
    background: #FF0000;
    color: var(--white);
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-md);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 100;
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.2);
}

/* ============================================
   Animations
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-left"] {
    transform: translateX(60px);
}

[data-animate="fade-right"] {
    transform: translateX(-60px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0);
}

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

/* ============================================
   Form Success State
   ============================================ */
.form-success {
    text-align: center;
    padding: 40px;
}

.form-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22c55e;
    animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes successPop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

.form-success h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.form-success p {
    color: var(--text-secondary);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-visual-wrapper {
        width: 320px;
        height: 320px;
        transform: scale(0.85);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-visual {
        order: -1;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    

    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 40px;
        transform: translateX(100%);
        transition: transform var(--transition-smooth);
        border-left: 1px solid var(--border-color);
        left: auto;
    }
    
    .nav-menu.open {
        transform: translateX(0);
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    .nav-auth {
        display: none;
    }

    .nav-auth-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
        margin-top: 24px;
        padding-top: 24px;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-auth-mobile .nav-login,
    .nav-auth-mobile .nav-register {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    .nav-auth-mobile .nav-user-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 100%;
    }

    .nav-auth-mobile .nav-logout-btn {
        width: 100%;
        text-align: center;
        padding: 10px;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero-card-stack {
        height: 320px;
        max-width: 300px;
    }
    
    .card-1 {
        width: 220px;
    }
    
    .card-2 {
        width: 200px;
    }
    
    .card-3 {
        width: 240px;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-card {
        width: 300px;
        height: 360px;
    }
    
    .about-floating-badge.badge-1 {
        right: 0;
    }
    
    .about-floating-badge.badge-2 {
        left: 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-card-stack {
        height: 280px;
        max-width: 260px;
    }
    
    .hero-feature-card {
        padding: 20px;
    }
    
    .card-1 {
        width: 200px;
    }
    
    .card-2 {
        width: 180px;
        top: 80px;
    }
    
    .card-3 {
        width: 210px;
        left: 20px;
    }
    

    
    .service-card {
        padding: 28px 24px;
    }
    
    .about-image-card {
        width: 260px;
        height: 320px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

/* ============================================
   Header Actions & Theme Toggles
   ============================================ */
.nav-right-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-action-btn {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
}

.nav-action-btn:hover {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.25);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 0 15px rgba(220, 38, 38, 0.15);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--primary);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid #141414;
    transition: border-color var(--transition-base);
}

/* Theme Toggle Button click micro-animation */
.theme-click-anim {
    transform: scale(0.85) rotate(15deg);
}

/* Light Theme Overrides & Adaptations */
[data-theme="light"] {
    /* Navbar override */
    --navbar-bg: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    --navbar-border: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .navbar {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-link {
    color: #475569;
}

[data-theme="light"] .nav-link:hover {
    color: var(--primary);
    background: rgba(220, 38, 38, 0.05);
    border-color: rgba(220, 38, 38, 0.15);
}

[data-theme="light"] .nav-link.active {
    color: var(--primary);
    background: rgba(220, 38, 38, 0.08);
}



[data-theme="light"] .nav-action-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: #475569;
}

[data-theme="light"] .nav-action-btn:hover {
    background: rgba(220, 38, 38, 0.05);
    border-color: rgba(220, 38, 38, 0.2);
    color: var(--primary);
}

[data-theme="light"] .cart-badge {
    border-color: #ffffff;
}

[data-theme="light"] .hero-grid {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

[data-theme="light"] .nav-menu {
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hamburger-line {
    background: #0f172a;
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group select,
[data-theme="light"] .form-group textarea {
    background: #ffffff;
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group select:focus,
[data-theme="light"] .form-group textarea:focus {
    background: #ffffff;
    border-color: var(--primary);
}

/* Floating Card adaptations */
[data-theme="light"] .hero-floating-badge {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hero-floating-badge:hover {
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.15);
}

/* About Section badges */
[data-theme="light"] .about-floating-badge {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Support for active user profile dropdown styles in light mode */
[data-theme="light"] .nav-user-menu {
    color: #475569;
}
[data-theme="light"] .nav-user-menu:hover,
[data-theme="light"] .nav-user-menu.active {
    background: rgba(0, 0, 0, 0.03);
}

@media (max-width: 768px) {
    .nav-actions {
        margin-right: 8px;
    }
}

/* Light theme auth modal & dropdown overrides */
[data-theme="light"] .auth-panel-left {
    background: #ffffff;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .auth-panel-right {
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(220, 38, 38, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(185, 28, 28, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(239, 68, 68, 0.04) 0%, transparent 50%),
        #f8f9fa;
}

[data-theme="light"] .auth-close-hint {
    color: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .auth-close-hint svg {
    opacity: 0.5;
}

[data-theme="light"] .auth-title {
    color: #0f172a;
}

[data-theme="light"] .auth-subtitle {
    color: #475569;
}

[data-theme="light"] .auth-field label {
    color: #475569;
}

[data-theme="light"] .auth-input-wrap input {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.15);
    color: #0f172a;
}

[data-theme="light"] .auth-input-wrap input::placeholder {
    color: #94a3b8;
}

[data-theme="light"] .auth-input-wrap input:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

[data-theme="light"] .auth-back-btn {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
    color: #475569;
}

[data-theme="light"] .auth-back-btn:hover {
    background: rgba(220, 38, 38, 0.05);
    border-color: rgba(220, 38, 38, 0.2);
    color: var(--primary);
}

[data-theme="light"] .auth-pw-toggle:hover {
    color: var(--primary);
}

[data-theme="light"] .pw-strength-bar {
    background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .auth-security-notice {
    background: #f1f5f9;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .auth-security-text {
    color: #475569;
}

[data-theme="light"] .auth-divider span {
    background: #ffffff;
    color: #94a3b8;
}

[data-theme="light"] .auth-divider::before {
    background: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .auth-social-btn {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    color: #0f172a;
}

[data-theme="light"] .auth-social-btn:hover {
    background: #f8f9fa;
    border-color: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .auth-footer-text {
    color: #64748b;
}

[data-theme="light"] .auth-footer-btn {
    color: var(--primary);
}

[data-theme="light"] .auth-promo-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    color: #0f172a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .auth-promo-card:hover {
    background: #ffffff;
}

/* User Profile dropdown menu in light mode */
[data-theme="light"] .nav-user-name {
    color: #0f172a;
}

[data-theme="light"] .nav-user-dropdown {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .dropdown-item {
    color: #475569;
}

[data-theme="light"] .dropdown-item:hover {
    background: rgba(220, 38, 38, 0.05);
    color: var(--primary);
}

[data-theme="light"] .dropdown-divider {
    background: rgba(0, 0, 0, 0.06);
}

/* ============================================
   References Slider Ticker
   ============================================ */
.references-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.references-section::before {
    content: '';
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.02) 0%, transparent 75%);
    pointer-events: none;
    z-index: 0;
}

.references-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    z-index: 1;
}

.references-track {
    display: flex;
    gap: 40px;
    width: max-content;
    align-items: center;
    animation: scrollTrack 30s linear infinite;
}

.references-track:hover {
    animation-play-state: paused;
}

.reference-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 0 32px;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: all var(--transition-base);
    text-decoration: none;
}

.reference-item:hover {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: translateY(-4px) scale(1.05);
}

.reference-logo {
    max-height: 56px;
    max-width: 170px;
    object-fit: contain;
    opacity: 0.75;
    transition: all var(--transition-base);
}

.reference-item:hover .reference-logo {
    opacity: 1;
    filter: drop-shadow(0 4px 12px rgba(220, 38, 38, 0.35));
}

/* Light Theme tweaks */
[data-theme="light"] .reference-item {
    background: transparent;
}

[data-theme="light"] .reference-item:hover {
    background: transparent;
    box-shadow: none;
}

[data-theme="light"] .reference-logo {
    opacity: 0.75;
}

[data-theme="light"] .reference-item:hover .reference-logo {
    opacity: 1;
    filter: drop-shadow(0 4px 12px rgba(220, 38, 38, 0.15));
}

@keyframes scrollTrack {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
