/* ===== CSS Variables - Dark Mode (Default) ===== */
:root {
    /* Dark Mode Colors */
    --bg-primary: #030712;
    --bg-secondary: #0a1628;
    --bg-card: rgba(14, 165, 233, 0.05);
    --bg-card-hover: rgba(14, 165, 233, 0.12);

    --text-primary: #f0f9ff;
    --text-secondary: rgba(224, 242, 254, 0.8);
    --text-muted: rgba(186, 230, 253, 0.5);

    --accent-primary: #0ea5e9;
    --accent-secondary: #38bdf8;
    --accent-tertiary: #7dd3fc;
    --accent-glow: rgba(14, 165, 233, 0.5);
    --accent-white: #e0f2fe;

    --metallic-1: linear-gradient(135deg, #e0f2fe 0%, #7dd3fc 25%, #38bdf8 50%, #0ea5e9 75%, #0284c7 100%);
    --metallic-2: linear-gradient(135deg, #f0f9ff 0%, #bae6fd 50%, #7dd3fc 100%);
    --metallic-chrome: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 20%, #f8fafc 40%, #cbd5e1 60%, #f8fafc 80%, #e2e8f0 100%);
    --metallic-steel: linear-gradient(180deg, #64748b 0%, #94a3b8 30%, #cbd5e1 50%, #94a3b8 70%, #64748b 100%);

    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 50%, #7dd3fc 100%);
    --gradient-blue-white: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 30%, #e0f2fe 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(56, 189, 248, 0.1) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);

    --border-color: rgba(14, 165, 233, 0.2);
    --border-glow: rgba(14, 165, 233, 0.6);
    --border-metallic: rgba(255, 255, 255, 0.3);

    --font-primary: 'Space Grotesk', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    --shadow-glow: 0 0 50px rgba(14, 165, 233, 0.4), 0 0 100px rgba(14, 165, 233, 0.2);
    --shadow-metallic: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(14, 165, 233, 0.1);
    --shadow-neon: 0 0 5px #0ea5e9, 0 0 10px #0ea5e9, 0 0 20px #0ea5e9, 0 0 40px #0ea5e9;

    /* Particles */
    --particles-color: #0ea5e9;
    --particles-line-color: #0ea5e9;
    --particles-opacity: 0.4;

    /* Grid */
    --grid-color: rgba(14, 165, 233, 0.03);
}

/* ===== Light Mode ===== */
[data-theme="light"] {
    --bg-primary: #f0f9ff;
    --bg-secondary: #e0f2fe;
    --bg-card: rgba(14, 165, 233, 0.08);
    --bg-card-hover: rgba(14, 165, 233, 0.15);

    --text-primary: #0c4a6e;
    --text-secondary: rgba(12, 74, 110, 0.8);
    --text-muted: rgba(12, 74, 110, 0.5);

    --accent-primary: #0284c7;
    --accent-secondary: #0369a1;
    --accent-tertiary: #0ea5e9;
    --accent-glow: rgba(2, 132, 199, 0.4);
    --accent-white: #075985;

    --metallic-1: linear-gradient(135deg, #0284c7 0%, #0369a1 25%, #075985 50%, #0c4a6e 75%, #164e63 100%);
    --metallic-2: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);

    --gradient-primary: linear-gradient(135deg, #0284c7 0%, #0369a1 50%, #075985 100%);
    --gradient-blue-white: linear-gradient(135deg, #0284c7 0%, #0369a1 30%, #0c4a6e 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(2, 132, 199, 0.1) 0%, rgba(3, 105, 161, 0.08) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);

    --border-color: rgba(2, 132, 199, 0.2);
    --border-glow: rgba(2, 132, 199, 0.4);
    --border-metallic: rgba(2, 132, 199, 0.3);

    --shadow-glow: 0 0 50px rgba(2, 132, 199, 0.2), 0 0 100px rgba(2, 132, 199, 0.1);
    --shadow-metallic: 0 10px 40px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.1), 0 0 20px rgba(2, 132, 199, 0.05);
    --shadow-neon: 0 0 5px #0284c7, 0 0 10px rgba(2, 132, 199, 0.5), 0 0 20px rgba(2, 132, 199, 0.3);

    --particles-color: #0284c7;
    --particles-line-color: #0369a1;
    --particles-opacity: 0.3;

    --grid-color: rgba(2, 132, 199, 0.05);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-secondary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Theme transition for all elements */
*, *::before, *::after {
    transition: background-color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

@media (max-width: 768px) {
    body {
        cursor: auto;
    }
}

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

/* ===== Custom Cursor ===== */
.cursor {
    width: 12px;
    height: 12px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: screen;
    transition: transform 0.1s ease;
    box-shadow: 0 0 10px var(--accent-primary), 0 0 20px var(--accent-primary);
}

[data-theme="light"] .cursor {
    mix-blend-mode: normal;
    background: var(--accent-primary);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-secondary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
}

.cursor.active {
    transform: scale(0.5);
    box-shadow: var(--shadow-neon);
}

.cursor-follower.active {
    width: 60px;
    height: 60px;
    border-color: var(--accent-tertiary);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.5);
}

@media (max-width: 768px) {
    .cursor, .cursor-follower {
        display: none;
    }
}

/* ===== Animated Background ===== */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(14, 165, 233, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 90%, rgba(125, 211, 252, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 90% 20%, rgba(224, 242, 254, 0.05) 0%, transparent 40%);
    z-index: -3;
    animation: gradientShift 20s ease-in-out infinite;
    transition: background 0.5s ease;
}

[data-theme="light"] .bg-gradient {
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(2, 132, 199, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(3, 105, 161, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 90%, rgba(7, 89, 133, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 90% 20%, rgba(14, 165, 233, 0.05) 0%, transparent 40%);
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    33% {
        opacity: 0.85;
        transform: scale(1.05) rotate(1deg);
    }
    66% {
        opacity: 0.9;
        transform: scale(1.1) rotate(-1deg);
    }
}

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: -2;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* ===== Metallic Shine Animation ===== */
@keyframes metallicShine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes holographic {
    0% { filter: hue-rotate(0deg) brightness(1); }
    50% { filter: hue-rotate(15deg) brightness(1.1); }
    100% { filter: hue-rotate(0deg) brightness(1); }
}

@keyframes pulse3D {
    0%, 100% {
        transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
        box-shadow: var(--shadow-glow);
    }
    25% {
        transform: perspective(1000px) rotateX(2deg) rotateY(2deg);
    }
    75% {
        transform: perspective(1000px) rotateX(-2deg) rotateY(-2deg);
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(3, 7, 18, 0.95) 0%, rgba(3, 7, 18, 0.8) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-medium);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.navbar.scrolled {
    padding: 1rem 4rem;
    background: rgba(3, 7, 18, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .navbar {
    background: linear-gradient(180deg, rgba(240, 249, 255, 0.95) 0%, rgba(240, 249, 255, 0.8) 100%);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(240, 249, 255, 0.98);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.nav-logo {
    width: 48px;
    height: 48px;
    background: var(--metallic-1);
    background-size: 200% 200%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: metallicShine 3s ease-in-out infinite;
    box-shadow: var(--shadow-metallic), 0 0 20px rgba(14, 165, 233, 0.3);
}

.nav-logo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    transform: rotate(45deg);
    animation: logoShine 2s ease-in-out infinite;
}

@keyframes logoShine {
    0%, 100% { transform: translateX(-100%) rotate(45deg); }
    50% { transform: translateX(100%) rotate(45deg); }
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    color: #f0f9ff;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

[data-theme="light"] .logo-text {
    color: #f0f9ff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
    box-shadow: 0 0 10px var(--accent-primary);
}

.nav-link:hover {
    color: var(--accent-white);
    text-shadow: 0 0 20px var(--accent-primary);
}

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

.nav-link.cta-btn {
    background: var(--metallic-1);
    background-size: 200% 200%;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    color: #f0f9ff;
    font-weight: 600;
    animation: metallicShine 4s ease-in-out infinite;
    box-shadow: var(--shadow-metallic);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.nav-link.cta-btn::after {
    display: none;
}

.nav-link.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow), var(--shadow-metallic);
    text-shadow: none;
}

/* ===== Theme Toggle Button ===== */
.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--gradient-glass);
    backdrop-filter: blur(10px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
}

.theme-toggle:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 22px;
    height: 22px;
    color: var(--accent-secondary);
    transition: var(--transition-medium);
    position: absolute;
}

.theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: rotate(45deg) translateX(-100%);
    transition: var(--transition-medium);
}

.theme-toggle:hover::before {
    transform: rotate(45deg) translateX(100%);
}

/* Mobile theme toggle */
.mobile-theme-toggle {
    margin-top: 2rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    background: var(--gradient-glass);
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition-fast);
}

.mobile-theme-toggle:hover {
    border-color: var(--accent-primary);
    color: var(--accent-secondary);
}

.mobile-theme-toggle svg {
    width: 20px;
    height: 20px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--accent-secondary);
    transition: var(--transition-fast);
    box-shadow: 0 0 5px var(--accent-primary);
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(30px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition-medium);
    z-index: 999;
}

[data-theme="light"] .mobile-menu {
    background: rgba(240, 249, 255, 0.98);
}

.mobile-menu.active {
    right: 0;
}

.mobile-link {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.mobile-link:hover {
    color: var(--accent-primary);
    text-shadow: var(--shadow-neon);
}

@media (max-width: 900px) {
    .navbar {
        padding: 1rem 2rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 4rem 4rem;
    position: relative;
    overflow: hidden;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: var(--gradient-glass);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--accent-tertiary);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.1);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-secondary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent-primary), 0 0 20px var(--accent-primary);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 10px var(--accent-primary); }
    50% { opacity: 0.6; transform: scale(1.3); box-shadow: 0 0 20px var(--accent-primary), 0 0 40px var(--accent-primary); }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.gradient-text {
    background: var(--metallic-2);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: metallicShine 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(14, 165, 233, 0.3));
}

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

.highlight {
    color: var(--accent-secondary);
    font-weight: 600;
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
}

.hero-clients {
    margin-bottom: 2.5rem;
}

.clients-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.clients-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.client-name {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    background: var(--gradient-glass);
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.client-divider {
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--accent-primary);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--metallic-1);
    background-size: 200% 200%;
    color: #f0f9ff;
    animation: metallicShine 4s ease-in-out infinite;
    box-shadow: var(--shadow-metallic), 0 0 30px rgba(14, 165, 233, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .btn-primary {
    color: #f0f9ff;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: var(--transition-medium);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow), var(--shadow-metallic);
}

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

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.2);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    width: 500px;
    height: 520px;
    flex-shrink: 0;
    margin-top: 3rem;
}

.floating-card {
    position: absolute;
    background: var(--gradient-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-metallic);
    border-radius: 16px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 0.85rem;
    white-space: nowrap;
    animation: float 6s ease-in-out infinite;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-metallic), 0 0 20px rgba(14, 165, 233, 0.1);
}

.floating-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: var(--metallic-1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.floating-card:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow), var(--shadow-metallic);
    transform: scale(1.05);
}

.card-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.5));
}

.card-1 {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 0;
    right: 0;
    animation-delay: 2s;
}

.card-3 {
    top: 24%;
    left: -3%;
    animation-delay: 4s;
}

.card-4 {
    top: 24%;
    right: -3%;
    animation-delay: 1s;
}

.card-5 {
    top: 48%;
    left: 0;
    animation-delay: 3s;
}

.card-6 {
    top: 48%;
    right: 0;
    animation-delay: 5s;
}

.card-7 {
    top: 72%;
    left: -3%;
    animation-delay: 1.5s;
}

.card-8 {
    top: 72%;
    right: -3%;
    animation-delay: 3.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    animation: spin 30s linear infinite;
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.1), inset 0 0 30px rgba(14, 165, 233, 0.05);
}

.orbit-ring::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--accent-secondary);
    border-radius: 50%;
    box-shadow: var(--shadow-neon);
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    animation: bounce 2s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    position: relative;
    box-shadow: 0 0 15px rgba(14, 165, 233, 0.3);
}

.wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent-secondary);
    border-radius: 2px;
    animation: scroll 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent-primary);
}

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

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

@media (max-width: 1100px) {
    .hero-visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 1.5rem 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ===== Section Styles ===== */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 4rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: var(--gradient-subtle);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.1);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    background: var(--metallic-2);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: metallicShine 5s ease-in-out infinite;
}

@media (max-width: 768px) {
    .section-container {
        padding: 4rem 1.5rem;
    }
}

/* ===== About Section ===== */
.about {
    position: relative;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    padding-right: 2rem;
}

.about-lead {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--gradient-glass);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(14, 165, 233, 0.1), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 3rem;
    font-weight: 700;
    background: var(--metallic-1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: metallicShine 3s ease-in-out infinite;
}

.stat-suffix {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    background: var(--metallic-1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: metallicShine 3s ease-in-out infinite;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.about-skills {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-card {
    background: var(--gradient-glass);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--metallic-1);
    opacity: 0;
    transition: var(--transition-fast);
}

.skill-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 40%, rgba(14, 165, 233, 0.1) 100%);
    opacity: 0;
    transition: var(--transition-fast);
}

.skill-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-primary);
    transform: translateX(10px);
    box-shadow: var(--shadow-glow);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card:hover::after {
    opacity: 1;
}

.skill-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-subtle);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--accent-secondary);
    position: relative;
    z-index: 1;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

.skill-card h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.skill-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text {
        padding-right: 0;
    }
}

/* ===== Work Section ===== */
.work {
    background: var(--bg-secondary);
    position: relative;
}

.work::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    box-shadow: 0 0 20px var(--accent-primary);
}

.work-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--gradient-glass);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    border-color: var(--accent-primary);
    color: var(--accent-white);
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.2);
}

.filter-btn.active {
    background: var(--metallic-1);
    background-size: 200% 200%;
    border-color: transparent;
    color: #f0f9ff;
    animation: metallicShine 3s ease-in-out infinite;
    box-shadow: var(--shadow-metallic), 0 0 20px rgba(14, 165, 233, 0.3);
}

[data-theme="light"] .filter-btn.active {
    color: #f0f9ff;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    justify-items: center;
}

@media (max-width: 992px) {
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.work-card {
    width: 100%;
    max-width: 400px;
    background: var(--gradient-glass);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: var(--transition-medium);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--metallic-1);
    background-size: 200% 200%;
    transform: scaleX(0);
    transition: var(--transition-fast);
    animation: metallicShine 2s ease-in-out infinite;
}

.work-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1px;
    background: var(--metallic-1);
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition-fast);
    animation: metallicShine 3s ease-in-out infinite;
}

.work-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.work-card:hover::before {
    transform: scaleX(1);
}

.work-card:hover::after {
    opacity: 1;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(14, 165, 233, 0.15), transparent 60%);
    opacity: 0;
    transition: var(--transition-medium);
}

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

.card-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.card-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gradient-subtle);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
}

.card-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.card-hover-content {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.view-project {
    color: var(--accent-secondary);
    font-weight: 600;
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
    text-decoration: none;
    display: inline-block;
}

.view-project:hover {
    text-decoration: underline;
}

.work-card.hidden {
    display: none;
}

/* ===== FAQ Section ===== */
.faq {
    position: relative;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    box-shadow: 0 0 20px var(--accent-primary);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--gradient-glass);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-medium);
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.1);
}

.faq-item.active {
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-glow);
}

.faq-question {
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-subtle);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-secondary);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    background: var(--metallic-1);
    background-size: 200% 200%;
    color: var(--bg-primary);
    transform: rotate(45deg);
    animation: metallicShine 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    box-shadow: 0 0 20px var(--accent-primary);
}

.contact .section-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-content {
    z-index: 1;
}

.contact-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin: 1rem 0 1.5rem;
    background: var(--metallic-2);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: metallicShine 4s ease-in-out infinite;
}

.contact-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-family: var(--font-primary);
    font-weight: 600;
    transition: var(--transition-medium);
}

.contact-btn.primary {
    background: var(--metallic-1);
    background-size: 200% 200%;
    color: #f0f9ff;
    animation: metallicShine 3s ease-in-out infinite;
    box-shadow: var(--shadow-metallic), 0 0 30px rgba(14, 165, 233, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .contact-btn.primary {
    color: #f0f9ff;
}

.contact-btn.primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-glow), var(--shadow-metallic);
}

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

.contact-btn.secondary:hover {
    border-color: var(--accent-primary);
    background: var(--bg-card-hover);
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.2);
}

.contact-visual {
    position: relative;
    height: 400px;
}

.contact-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    animation: expandPulse 4s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.1), inset 0 0 30px rgba(14, 165, 233, 0.05);
}

.circle-1 {
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    border-color: var(--accent-primary);
}

.circle-2 {
    width: 250px;
    height: 250px;
    animation-delay: 1s;
}

.circle-3 {
    width: 350px;
    height: 350px;
    animation-delay: 2s;
}

.deco-circle {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes expandPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
        box-shadow: 0 0 30px rgba(14, 165, 233, 0.1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.2;
        box-shadow: 0 0 60px rgba(14, 165, 233, 0.2);
    }
}

@media (max-width: 900px) {
    .contact .section-container {
        grid-template-columns: 1fr;
    }

    .contact-visual {
        display: none;
    }
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 2rem 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-primary);
    opacity: 0.3;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.footer-links a:hover {
    color: var(--accent-secondary);
    text-shadow: 0 0 20px rgba(14, 165, 233, 0.5);
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ===== Animations ===== */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--metallic-1);
    background-size: 200% 200%;
    border-radius: 4px;
    animation: metallicShine 3s ease-in-out infinite;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

/* ===== Selection ===== */
::selection {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

/* ===== Scanline Effect (Optional Retro-Futuristic) ===== */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.05) 0px,
        rgba(0, 0, 0, 0.05) 1px,
        transparent 1px,
        transparent 2px
    );
    opacity: 0.3;
}

/* ===== Glitch Effect for Text ===== */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitchTop 2s ease-in-out infinite;
    clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 33%, 0 33%);
}

.glitch::after {
    animation: glitchBottom 2s ease-in-out infinite;
    clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 67%, 100% 67%, 100% 100%, 0 100%);
}

@keyframes glitchTop {
    0%, 100% { transform: translate(0); }
    2% { transform: translate(2px, -1px); }
    4% { transform: translate(-2px, 1px); }
    6% { transform: translate(0); }
}

@keyframes glitchBottom {
    0%, 100% { transform: translate(0); }
    2% { transform: translate(-2px, 1px); }
    4% { transform: translate(2px, -1px); }
    6% { transform: translate(0); }
}

/* ===== Neon Border Animation ===== */
@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 5px var(--accent-primary),
                    0 0 10px var(--accent-primary),
                    0 0 20px var(--accent-primary);
    }
    50% {
        box-shadow: 0 0 10px var(--accent-primary),
                    0 0 20px var(--accent-primary),
                    0 0 40px var(--accent-primary),
                    0 0 80px var(--accent-primary);
    }
}

/* ===== Hexagon Pattern Background (Alternative) ===== */
.hex-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%230ea5e9' fill-opacity='0.03' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -2;
    opacity: 0.5;
}
