/* =============================================
   KaenLabs — Futuristic Dark Theme v4
   Complete overhaul — cyberpunk / neon / glass
   ============================================= */

:root {
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #22c55e;
    --accent-light: #4ade80;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --cyan: #06b6d4;
    --cyan-light: #22d3ee;
    --magenta: #d946ef;
    --magenta-light: #e879f9;

    --bg-body: #030712;
    --bg-card: rgba(13,17,23,0.65);
    --bg-card-solid: #0d1117;
    --card-bg: rgba(13,17,23,0.65);
    --bg-card-hover: #131a24;
    --bg-input: #0d1117;
    --bg-navbar: rgba(3, 7, 18, 0.7);

    --border: rgba(99,102,241,0.1);
    --border-hover: rgba(99,102,241,0.3);

    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;

    --shadow: 0 4px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 80px rgba(99, 102, 241, 0.12);
    --glow-primary: 0 0 30px rgba(99,102,241,0.2);
    --glow-accent: 0 0 30px rgba(34,197,94,0.15);
    --glow-cyan: 0 0 30px rgba(6,182,212,0.15);

    --glass: rgba(13,17,23,0.55);
    --glass-border: rgba(255,255,255,0.06);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { color: var(--primary-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* =============================================
   INTRO SPLASH — Futuristic Terminal
   ============================================= */
.kl-intro {
    position: fixed; inset: 0; z-index: 99999;
    background: #020810;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), visibility 0.8s;
    overflow: hidden;
}
.kl-intro.hide { opacity: 0; visibility: hidden; pointer-events: none; }

/* Particle canvas behind everything */
.kl-intro-canvas {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
}

.kl-intro-content {
    display: flex; flex-direction: column; align-items: center;
    position: relative; z-index: 2;
}

/* Terminal Box */
.kl-intro-terminal {
    width: 420px; max-width: 90vw;
    background: rgba(3,8,20,0.9);
    border: 1px solid rgba(6,182,212,0.15);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(6,182,212,0.08), 0 0 120px rgba(99,102,241,0.06);
    opacity: 0;
    transform: translateY(20px);
    animation: klTermIn 0.6s 0.2s ease-out forwards;
    margin-bottom: 28px;
}
@keyframes klTermIn { to { opacity: 1; transform: translateY(0); } }

.kl-intro-term-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 10px 14px;
    background: rgba(6,182,212,0.04);
    border-bottom: 1px solid rgba(6,182,212,0.08);
}
.kl-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.kl-dot-r { background: #ef4444; }
.kl-dot-y { background: #f59e0b; }
.kl-dot-g { background: #22c55e; }
.kl-intro-term-title {
    margin-left: 6px; font-size: 11px; color: rgba(6,182,212,0.5);
    font-family: 'JetBrains Mono', 'Courier New', monospace; font-weight: 500;
}
.kl-intro-term-body {
    padding: 16px 18px; min-height: 110px;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 12.5px; line-height: 1.85;
    color: #4ade80;
}
.kl-intro-term-body .tc-kw { color: #c084fc; }
.kl-intro-term-body .tc-str { color: #4ade80; }
.kl-intro-term-body .tc-fn { color: #60a5fa; }
.kl-intro-term-body .tc-cm { color: #475569; }
.kl-intro-term-body .tc-op { color: #94a3b8; }
.kl-intro-cursor {
    display: inline-block; color: #06b6d4;
    animation: klBlink 0.8s step-end infinite;
    font-size: 13px; line-height: 1;
}
@keyframes klBlink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Brand + bar + tag */
.kl-intro-brand {
    display: flex; align-items: center; gap: 14px;
    font-size: 38px; font-weight: 900; letter-spacing: -0.5px;
    opacity: 0; transform: scale(0.8);
    animation: klBrandIn 0.7s 0.9s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes klBrandIn { to { opacity: 1; transform: scale(1); } }

.kl-intro-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; color: #fff;
    box-shadow: 0 0 40px rgba(99,102,241,0.4), 0 0 80px rgba(6,182,212,0.2);
    animation: klIntroPulse 2s ease-in-out 1.5s infinite;
}
.kl-intro-brand span { color: var(--text-primary); }
.kl-intro-brand strong {
    background: linear-gradient(135deg, var(--primary-light), var(--cyan-light));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.kl-intro-bar {
    width: 0; height: 2px; margin-top: 18px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--cyan), transparent);
    border-radius: 2px;
    animation: klIntroBar 1s 1.4s ease-out forwards;
}
.kl-intro-tag {
    margin-top: 12px; font-size: 11px; font-weight: 600;
    color: var(--text-muted); letter-spacing: 5px; text-transform: uppercase;
    opacity: 0;
    animation: klIntroFadeUp 0.5s 1.6s ease-out forwards;
}

@keyframes klIntroPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(99,102,241,0.4), 0 0 80px rgba(6,182,212,0.2); }
    50% { box-shadow: 0 0 60px rgba(99,102,241,0.6), 0 0 120px rgba(6,182,212,0.3); }
}
@keyframes klIntroBar { to { width: 240px; } }
@keyframes klIntroFadeUp { to { opacity: 1; } }

/* =============================================
   BACKGROUND EFFECTS
   ============================================= */
#particleCanvas {
    position: fixed; inset: 0; z-index: 0;
    pointer-events: none; opacity: 0.6;
}

.mouse-spotlight {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(99,102,241,0.07), transparent 40%);
}

.cyber-scanline {
    position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 0;
    background: linear-gradient(90deg, transparent 20%, rgba(6,182,212,0.5), rgba(99,102,241,0.8), rgba(217,70,239,0.5), transparent 80%);
    opacity: 0.25;
    animation: scanDown 6s linear infinite;
    pointer-events: none;
    box-shadow: 0 0 30px rgba(99,102,241,0.4);
}
@keyframes scanDown {
    0% { top: -2px; }
    100% { top: 100vh; }
}

.floating-orbs {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.floating-orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: 0.15;
    animation: orbFloat linear infinite;
}
.floating-orb:nth-child(1) { width: 500px; height: 500px; top: 5%; left: -5%; background: var(--primary); animation-duration: 25s; }
.floating-orb:nth-child(2) { width: 400px; height: 400px; top: 55%; right: -5%; background: var(--cyan); animation-duration: 20s; animation-delay: -5s; }
.floating-orb:nth-child(3) { width: 350px; height: 350px; top: 35%; left: 45%; background: var(--magenta); animation-duration: 30s; animation-delay: -10s; }
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(80px, -50px) scale(1.1); }
    50% { transform: translate(-40px, 70px) scale(0.9); }
    75% { transform: translate(-70px, -30px) scale(1.05); }
}

.grid-overlay {
    position: fixed; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(99,102,241,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99,102,241,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black, transparent);
}

.aurora {
    position: fixed; top: -50%; left: -50%; width: 200%; height: 200%;
    z-index: 0; pointer-events: none; opacity: 0.35;
    background:
        radial-gradient(ellipse 40% 30% at 20% 20%, rgba(99,102,241,0.18), transparent),
        radial-gradient(ellipse 30% 40% at 80% 30%, rgba(6,182,212,0.12), transparent),
        radial-gradient(ellipse 35% 25% at 50% 70%, rgba(217,70,239,0.08), transparent);
    animation: auroraShift 20s ease-in-out infinite alternate;
}
@keyframes auroraShift {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(3%, -4%) rotate(2deg); }
    66% { transform: translate(-3%, 3%) rotate(-1deg); }
    100% { transform: translate(1%, -2%) rotate(1deg); }
}

/* =============================================
   SCROLL PROGRESS BAR
   ============================================= */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 10000;
    background: linear-gradient(90deg, var(--primary), var(--cyan), var(--magenta), var(--accent));
    width: 0%; transition: width 0.15s;
    box-shadow: 0 0 15px rgba(99,102,241,0.6), 0 0 30px rgba(6,182,212,0.3);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; border: none; border-radius: var(--radius-sm);
    font-family: inherit; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all 0.3s cubic-bezier(.4,0,.2,1);
    text-decoration: none; position: relative; overflow: hidden;
}
.btn::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.12), transparent);
    opacity: 0; transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; border-radius: var(--radius); }

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 20px rgba(99,102,241,0.3);
}
.btn-primary:hover {
    color: #fff; transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(99,102,241,0.5);
}
.btn-accent { background: linear-gradient(135deg, var(--accent), #16a34a); color: #fff; box-shadow: 0 4px 20px rgba(34,197,94,0.25); }
.btn-accent:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 8px 40px rgba(34,197,94,0.4); }
.btn-outline {
    background: rgba(99,102,241,0.06);
    border: 1px solid rgba(99,102,241,0.2);
    color: var(--text-secondary);
    backdrop-filter: blur(8px);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary-light); background: rgba(99,102,241,0.12); }
.btn-ghost { background: rgba(99,102,241,0.1); color: var(--primary-light); border: 1px solid rgba(99,102,241,0.2); }
.btn-ghost:hover { background: rgba(99,102,241,0.2); }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--bg-navbar);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
}
.navbar.scrolled {
    border-bottom-color: var(--border);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 0 60px rgba(99,102,241,0.06);
    background: rgba(3,7,18,0.88);
}
.navbar .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}
.navbar-brand {
    display: flex; align-items: center; gap: 10px;
    font-size: 20px; color: var(--text-primary); text-decoration: none; font-weight: 700;
}
.navbar-brand strong {
    background: linear-gradient(135deg, var(--primary-light), var(--cyan-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.brand-icon {
    width: 38px; height: 38px; border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: #fff;
    box-shadow: 0 0 24px rgba(99,102,241,0.35);
    transition: all 0.3s;
    position: relative;
}
.brand-icon::after {
    content: ''; position: absolute; inset: -4px; border-radius: 14px;
    border: 1px solid rgba(99,102,241,0.25);
    animation: pulseRing 2.5s ease-out infinite;
}
@keyframes pulseRing {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.5); opacity: 0; }
}
.navbar-brand:hover .brand-icon {
    box-shadow: 0 0 40px rgba(99,102,241,0.6);
    transform: rotate(8deg) scale(1.1);
}

.navbar-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
    padding: 8px 16px; font-size: 14px; font-weight: 500;
    color: var(--text-secondary); border-radius: var(--radius-xs);
    transition: all 0.3s; position: relative;
}
.nav-link::after {
    content: ''; position: absolute; bottom: 2px; left: 50%; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    border-radius: 2px; transition: all 0.3s; transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(99,102,241,0.5);
}
.nav-link:hover::after, .nav-link.active::after { width: 70%; }
.nav-link:hover, .nav-link.active { color: var(--text-primary); text-shadow: 0 0 16px rgba(99,102,241,0.4); }

.navbar-actions { display: flex; align-items: center; gap: 12px; }
.navbar-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.navbar-toggle span {
    width: 22px; height: 2px; background: var(--text-secondary);
    border-radius: 2px; transition: all 0.3s;
}

/* =============================================
   HERO
   ============================================= */
.hero {
    min-height: 100vh; display: flex; align-items: center;
    position: relative; overflow: hidden; padding-top: 72px;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 25% 20%, rgba(99,102,241,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 75% 60%, rgba(6,182,212,0.1) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 80% 80%, rgba(217,70,239,0.06) 0%, transparent 60%);
    pointer-events: none; z-index: 1;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
    align-items: center; position: relative; z-index: 2;
}
.hero-content { position: relative; }
.hero-content h1 {
    font-size: clamp(36px, 5vw, 60px); font-weight: 900; line-height: 1.08;
    margin-bottom: 24px; letter-spacing: -1px;
}
.hero-content h1 .gradient {
    background: linear-gradient(135deg, var(--primary-light), var(--cyan-light), var(--magenta-light), var(--accent-light));
    background-size: 300% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 6s ease infinite;
}
@keyframes gradientFlow {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 300% center; }
}
.hero-content p {
    font-size: 18px; color: var(--text-secondary); max-width: 520px;
    margin-bottom: 36px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
    display: flex; justify-content: center; align-items: center;
    perspective: 1200px;
}
.hero-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px; padding: 32px; width: 100%; max-width: 460px;
    box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,0.05);
    transform: rotateY(-5deg) rotateX(3deg);
    transition: transform 0.5s cubic-bezier(.4,0,.2,1), box-shadow 0.5s;
    position: relative;
}
.hero-card::before {
    content: ''; position: absolute; inset: -2px; z-index: -1;
    border-radius: 22px;
    background: conic-gradient(from 0deg, var(--primary), var(--cyan), var(--magenta), var(--accent), var(--primary));
    animation: borderRotate 4s linear infinite;
    opacity: 0.35;
}
.hero-card::after {
    content: ''; position: absolute; inset: 1px;
    background: var(--bg-body);
    border-radius: 19px; z-index: -1;
}
@keyframes borderRotate { to { transform: rotate(360deg); } }
.hero-card:hover {
    transform: rotateY(0) rotateX(0);
    box-shadow: 0 0 120px rgba(99,102,241,0.25), 0 0 200px rgba(6,182,212,0.1);
}
.hero-card:hover::before { opacity: 0.65; }

.hero-card-header {
    display: flex; align-items: center; gap: 8px; margin-bottom: 20px;
}
.hero-card-dot { width: 12px; height: 12px; border-radius: 50%; }
.code-block {
    background: rgba(3,7,18,0.8); border-radius: 12px; padding: 20px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: 13px;
    line-height: 1.8; overflow-x: auto;
    border: 1px solid rgba(99,102,241,0.08);
}
.code-block .kw { color: #c084fc; }
.code-block .fn { color: #60a5fa; }
.code-block .str { color: #4ade80; }
.code-block .cm { color: #475569; }
.code-block .num { color: #f59e0b; }
.code-block .op { color: #94a3b8; }

.hero-cursor {
    display: inline-block; width: 2px; height: 1em; background: var(--primary-light);
    margin-left: 2px; vertical-align: text-bottom;
    animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-stats { display: flex; gap: 32px; margin-top: 36px; }
.hero-stat { text-align: left; }
.hero-stat-value {
    font-size: 28px; font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--cyan-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1.2;
}
.hero-stat-label {
    font-size: 12px; color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 1px; font-weight: 600;
}

/* =============================================
   MARQUEE TICKER
   ============================================= */
.marquee-section {
    padding: 16px 0; overflow: hidden;
    background: linear-gradient(180deg, rgba(99,102,241,0.04), rgba(3,7,18,0.8), rgba(6,182,212,0.04));
    border-top: 1px solid rgba(99,102,241,0.08);
    border-bottom: 1px solid rgba(6,182,212,0.08);
    position: relative; z-index: 1;
}
.marquee-section::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 120px;
    background: linear-gradient(90deg, var(--bg-body), transparent);
    z-index: 2; pointer-events: none;
}
.marquee-section::after {
    content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 120px;
    background: linear-gradient(-90deg, var(--bg-body), transparent);
    z-index: 2; pointer-events: none;
}
.marquee-track {
    display: flex; gap: 0; align-items: center;
    animation: marqueeScroll 40s linear infinite;
    width: max-content;
}
.marquee-item {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 24px;
    font-size: 13px; font-weight: 600; color: var(--text-muted);
    white-space: nowrap; text-transform: uppercase; letter-spacing: 2px;
    transition: color 0.3s;
}
.marquee-item:hover { color: var(--primary-light); }
.marquee-item i { font-size: 18px; }
.marquee-item .fa-react { color: #61dafb; }
.marquee-item .fa-node-js { color: #68a063; }
.marquee-item .fa-docker { color: #2496ed; }
.marquee-item .fa-php { color: #777bb4; }
.marquee-item .fa-robot { color: var(--primary-light); }
.marquee-item .fa-bolt { color: #646cff; }
.marquee-item .fa-database { color: #00758f; }
.marquee-item .fa-shield-halved { color: var(--cyan-light); }
.marquee-item .fa-server { color: var(--primary-light); }
.marquee-item .fa-gamepad { color: var(--accent); }
.marquee-item .fa-cube { color: var(--cyan); }
.marquee-item .fa-code { color: var(--magenta-light); }
.marquee-sep {
    width: 1px; height: 16px; margin: 0 8px;
    background: linear-gradient(180deg, transparent, rgba(99,102,241,0.25), transparent);
    flex-shrink: 0;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   SECTIONS SHARED
   ============================================= */
.section { padding: 120px 0; position: relative; z-index: 1; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 18px;
    background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(6,182,212,0.05));
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: 20px; font-size: 11px; font-weight: 700; color: var(--primary-light);
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(99,102,241,0.08);
}
.section-header h2 {
    font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-header p { color: var(--text-secondary); font-size: 16px; }

/* =============================================
   SERVICES
   ============================================= */
.services-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px;
}
.service-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 32px;
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--cyan), var(--magenta), var(--accent));
    background-size: 200% 100%;
    opacity: 0; transition: opacity 0.4s;
    animation: neonBorderFlow 3s linear infinite;
}
@keyframes neonBorderFlow {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}
.service-card::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(300px circle at var(--glow-x, 50%) var(--glow-y, 0%), rgba(99,102,241,0.08), transparent 60%);
    opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--glow-primary), 0 20px 40px rgba(0,0,0,0.3);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover::after { opacity: 1; }
.service-icon {
    width: 56px; height: 56px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 20px; position: relative; z-index: 1;
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 30px currentColor;
}
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; position: relative; z-index: 1; }
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; position: relative; z-index: 1; }

/* =============================================
   TECH STACK
   ============================================= */
.tech-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.tech-category {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 28px;
    transition: all 0.3s;
}
.tech-category:hover { border-color: var(--border-hover); box-shadow: var(--glow-primary); }
.tech-category h3 {
    font-size: 14px; font-weight: 600; color: var(--text-secondary);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px;
    display: flex; align-items: center; gap: 8px;
}
.tech-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border); border-radius: 8px;
    font-size: 13px; font-weight: 500; color: var(--text-secondary);
    transition: all 0.3s; cursor: default;
}
.tech-tag:hover {
    border-color: var(--primary); color: var(--primary-light);
    background: rgba(99,102,241,0.1);
    box-shadow: 0 0 20px rgba(99,102,241,0.15), inset 0 0 20px rgba(99,102,241,0.05);
    transform: translateY(-3px) scale(1.05);
}
.tech-tag i { width: 16px; text-align: center; }

/* =============================================
   PROJECTS
   ============================================= */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; }
.project-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius); overflow: hidden;
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
    position: relative;
}
.project-card::before {
    content: ''; position: absolute; inset: -1px; z-index: -1;
    border-radius: var(--radius);
    background: conic-gradient(from 180deg, rgba(99,102,241,0.3), transparent, rgba(6,182,212,0.2), transparent, rgba(217,70,239,0.2), transparent);
    opacity: 0; transition: opacity 0.5s;
    animation: borderRotate 6s linear infinite;
}
.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0,0,0,0.5), var(--glow-primary);
}
.project-card:hover::before { opacity: 1; }
.project-card-image {
    height: 200px; display: flex; align-items: center; justify-content: center;
    font-size: 48px; position: relative; overflow: hidden;
}
.project-card-image::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
    background: linear-gradient(transparent, var(--bg-card-solid));
}
.project-card-body { padding: 24px; }
.project-card-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.project-card-body p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.project-tag {
    padding: 4px 10px; border-radius: 6px; font-size: 11px; font-weight: 600;
    background: rgba(99,102,241,0.08); color: var(--primary-light);
    border: 1px solid rgba(99,102,241,0.12);
}

/* =============================================
   CTA
   ============================================= */
.cta-section {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 72px 60px; text-align: center; margin-top: 40px;
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99,102,241,0.12), transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(6,182,212,0.08), transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(217,70,239,0.06), transparent 50%);
    pointer-events: none;
}
.cta-section::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--cyan), var(--magenta), transparent);
    background-size: 200% 100%;
    animation: neonBorderFlow 4s linear infinite;
}
.cta-section h2 { font-size: 32px; font-weight: 800; margin-bottom: 16px; position: relative; }
.cta-section p { color: var(--text-secondary); font-size: 16px; max-width: 500px; margin: 0 auto 28px; position: relative; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* =============================================
   FEATURED PRODUCT (KAENCUBE)
   ============================================= */
.featured-product {
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px; padding: 60px; margin-top: 80px;
    position: relative; overflow: hidden;
}
.featured-product::before {
    content: ''; position: absolute; inset: -1px; z-index: -1;
    border-radius: 25px;
    background: conic-gradient(from 90deg, rgba(6,182,212,0.3), transparent 25%, rgba(99,102,241,0.3), transparent 50%, rgba(217,70,239,0.2), transparent 75%, rgba(34,197,94,0.2), transparent);
    animation: borderRotate 8s linear infinite;
    opacity: 0.4;
}
.featured-product::after {
    content: ''; position: absolute; inset: 1px;
    background: linear-gradient(135deg, rgba(3,7,18,0.95), rgba(13,17,23,0.9));
    border-radius: 23px; z-index: -1;
}
.featured-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.featured-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(6,182,212,0.12), rgba(99,102,241,0.08));
    border: 1px solid rgba(6,182,212,0.2);
    border-radius: 20px; font-size: 11px; font-weight: 700;
    color: var(--cyan-light); text-transform: uppercase; letter-spacing: 2px;
}
.featured-content h3 {
    font-size: 32px; font-weight: 800; margin-bottom: 16px;
    background: linear-gradient(135deg, var(--cyan-light), var(--primary-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.featured-content p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; }
.featured-stats { display: flex; gap: 32px; margin-bottom: 28px; }
.featured-stat-value {
    font-size: 24px; font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), var(--primary));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.featured-stat-label {
    font-size: 11px; color: var(--text-muted); text-transform: uppercase;
    letter-spacing: 1px; font-weight: 600;
}
.featured-visual { display: flex; align-items: center; justify-content: center; }
.featured-icon-wrap {
    width: 200px; height: 200px; border-radius: 40px;
    background: linear-gradient(135deg, rgba(6,182,212,0.1), rgba(99,102,241,0.1));
    border: 1px solid rgba(6,182,212,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 72px; color: var(--cyan-light);
    position: relative;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 60px rgba(6,182,212,0.15), 0 0 120px rgba(99,102,241,0.08);
}
.featured-icon-wrap::before {
    content: ''; position: absolute; inset: -8px; border-radius: 48px;
    border: 1px solid rgba(6,182,212,0.1);
    animation: pulseRing 3s ease-out infinite;
}
.featured-icon-wrap::after {
    content: ''; position: absolute; inset: -20px; border-radius: 60px;
    border: 1px solid rgba(99,102,241,0.06);
    animation: pulseRing 3s ease-out 1s infinite;
}

/* Section divider */
.section-divider {
    width: 100%; height: 1px; margin: 0; border: none;
    background: linear-gradient(90deg, transparent, var(--primary), var(--cyan), var(--primary), transparent);
    opacity: 0.3;
}

/* =============================================
   PRODUCTS PAGE
   ============================================= */
.product-hero {
    padding: 160px 0 80px; text-align: center; position: relative; z-index: 1;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99,102,241,0.14) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 30% 30%, rgba(6,182,212,0.06) 0%, transparent 60%);
}
.product-hero h1 {
    font-size: 42px; font-weight: 800; margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.product-hero p { color: var(--text-secondary); font-size: 18px; max-width: 560px; margin: 0 auto; }

.product-detail {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius); overflow: hidden; margin-bottom: 40px;
    transition: all 0.4s;
    position: relative;
}
.product-detail::before {
    content: ''; position: absolute; inset: -1px; z-index: -1;
    border-radius: var(--radius);
    background: conic-gradient(from 0deg, rgba(99,102,241,0.15), transparent 40%, rgba(6,182,212,0.1), transparent 80%);
    opacity: 0; transition: opacity 0.4s;
    animation: borderRotate 8s linear infinite;
}
.product-detail:hover { border-color: var(--border-hover); }
.product-detail:hover::before { opacity: 1; }
.product-detail-header {
    padding: 40px; display: flex; align-items: flex-start; gap: 24px;
    border-bottom: 1px solid var(--glass-border);
}
.product-icon-lg {
    width: 72px; height: 72px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; flex-shrink: 0;
    box-shadow: 0 0 30px currentColor;
}
.product-detail-info h2 { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.product-detail-info p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.product-detail-body { display: grid; grid-template-columns: 1fr 320px; }
.product-features {
    padding: 32px 40px; border-right: 1px solid var(--glass-border);
}
.product-features h3 { font-size: 16px; font-weight: 600; margin-bottom: 20px; }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 14px; color: var(--text-secondary);
}
.feature-list li i { color: var(--accent); font-size: 14px; width: 16px; }
.product-pricing { padding: 32px; }
.product-pricing h3 { font-size: 16px; font-weight: 600; margin-bottom: 20px; }
.price-option {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px; background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
    margin-bottom: 10px; transition: all 0.3s; cursor: pointer;
}
.price-option:hover { border-color: var(--primary); background: rgba(99,102,241,0.06); box-shadow: var(--glow-primary); }
.price-option .label { font-size: 14px; font-weight: 500; }
.price-option .price { font-size: 18px; font-weight: 700; color: var(--primary-light); }
.price-option .period { font-size: 12px; color: var(--text-muted); }
.price-option.popular {
    border-color: var(--primary); background: rgba(99,102,241,0.08);
    position: relative;
}
.popular-badge {
    position: absolute; top: -10px; right: 12px;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    color: #fff; font-size: 10px; font-weight: 700;
    padding: 2px 10px; border-radius: 10px; text-transform: uppercase;
}
a.price-option { text-decoration: none; color: inherit; }
a.price-option .price { color: var(--primary-light); }

/* =============================================
   PRODUCT DETAIL PAGE
   ============================================= */
.product-detail-hero {
    padding: 160px 0 60px; position: relative; z-index: 1;
    background:
        linear-gradient(135deg, rgba(99,102,241,0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 20%, rgba(6,182,212,0.06), transparent 60%);
}
.product-detail-hero .product-detail-header {
    display: flex; align-items: flex-start; gap: 30px;
    border-bottom: none; padding: 0;
}
.product-detail-icon {
    width: 80px; height: 80px; border-radius: var(--radius);
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; color: #fff; flex-shrink: 0;
    box-shadow: 0 0 40px rgba(99,102,241,0.3);
}
.product-detail-icon img {
    width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius);
}
.product-detail-info h1 {
    font-size: 32px; font-weight: 800; margin-bottom: 8px;
}
.product-detail-info .version-badge {
    display: inline-block;
    background: rgba(99,102,241,0.15);
    color: var(--primary-light);
    padding: 3px 10px; border-radius: 20px;
    font-size: 12px; font-weight: 600; margin-left: 10px;
    vertical-align: middle;
}
.product-detail-info .short-desc {
    color: var(--text-muted); font-size: 16px; line-height: 1.6; margin-top: 10px;
}
.product-detail-actions {
    display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap;
}
.product-detail-grid {
    display: grid; grid-template-columns: 1fr 380px; gap: 30px;
    padding: 40px 0 80px; position: relative; z-index: 1;
}

.detail-section {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 28px;
    margin-bottom: 24px;
    transition: border-color 0.3s;
}
.detail-section:hover { border-color: var(--border-hover); }
.detail-section h2 {
    font-size: 18px; font-weight: 700; margin-bottom: 16px;
    display: flex; align-items: center; gap: 8px;
}
.detail-section h2 i { color: var(--primary); }
.features-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.feature-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border);
    font-size: 14px;
    transition: border-color 0.3s, background 0.3s;
}
.feature-item:hover { border-color: var(--border); background: rgba(99,102,241,0.04); }
.feature-item i { color: var(--success); font-size: 12px; flex-shrink: 0; }
.description-content {
    color: var(--text-secondary); line-height: 1.8; font-size: 15px;
}
.description-content p { margin-bottom: 12px; }
.demo-box {
    background: rgba(34,197,94,0.06);
    border: 1px solid rgba(34,197,94,0.15);
    border-radius: var(--radius-sm); padding: 16px;
    transition: border-color 0.3s;
}
.demo-box:hover { border-color: rgba(34,197,94,0.3); }
.demo-box .demo-label {
    font-size: 12px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px;
}
.demo-box .demo-value {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 14px; color: var(--text-primary); word-break: break-all;
}
.screenshots-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px;
}
.screenshots-grid img {
    width: 100%; border-radius: var(--radius-sm);
    border: 1px solid var(--glass-border); cursor: pointer;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.screenshots-grid img:hover {
    transform: scale(1.03); border-color: var(--primary);
    box-shadow: 0 0 20px rgba(99,102,241,0.2);
}
.pricing-sidebar .price-option {
    text-decoration: none; color: inherit;
}
.addon-option {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 14px; border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm); margin-bottom: 8px;
    cursor: pointer; transition: all 0.3s; gap: 10px;
}
.addon-option:hover {
    border-color: rgba(99,102,241,0.3);
    background: rgba(99,102,241,0.04);
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-form {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 40px;
}
.contact-form h2 { font-size: 24px; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block; font-size: 13px; font-weight: 600;
    color: var(--text-secondary); margin-bottom: 8px;
}
.form-control {
    width: 100%; padding: 12px 16px;
    background: rgba(3,7,18,0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm); color: var(--text-primary);
    font-family: inherit; font-size: 14px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-control:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12), 0 0 20px rgba(99,102,241,0.08);
}
textarea.form-control { min-height: 140px; resize: vertical; }
.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius); padding: 28px;
    display: flex; align-items: center; gap: 20px;
    transition: all 0.3s;
}
.contact-info-card:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
    box-shadow: var(--glow-primary);
}
.contact-info-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.contact-info-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.contact-info-card p { font-size: 13px; color: var(--text-secondary); }

/* =============================================
   ALERTS
   ============================================= */
.alert {
    padding: 14px 20px; border-radius: var(--radius-sm); margin-bottom: 20px;
    font-size: 14px; backdrop-filter: blur(8px);
}
.alert-success { background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.15); color: var(--accent); }
.alert-danger { background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.15); color: var(--danger); }
.alert-warning { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.15); color: var(--warning); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--bg-card-solid);
    border-top: 1px solid var(--glass-border);
    padding: 72px 0 0; margin-top: 80px;
    position: relative; z-index: 1;
}
.footer::before {
    content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 500px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--cyan), var(--primary), transparent);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    padding-bottom: 40px;
}
.footer-logo {
    display: flex; align-items: center; gap: 10px;
    font-size: 20px; color: var(--text-primary); margin-bottom: 16px;
}
.footer-brand p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(255,255,255,0.04); border: 1px solid var(--glass-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-secondary); font-size: 16px;
    transition: all 0.3s;
}
.footer-social a:hover {
    border-color: var(--primary); color: var(--primary-light);
    background: rgba(99,102,241,0.12);
    box-shadow: 0 0 24px rgba(99,102,241,0.25);
    transform: translateY(-4px) scale(1.1);
}
.footer h4 { font-size: 14px; font-weight: 600; margin-bottom: 20px; color: var(--text-primary); }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 14px; color: var(--text-secondary); transition: all 0.3s; }
.footer ul li a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-bottom {
    border-top: 1px solid var(--glass-border); padding: 20px 0;
    text-align: center; font-size: 13px; color: var(--text-muted);
}

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.fade-in {
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.slide-left {
    opacity: 0; transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right {
    opacity: 0; transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

.scale-in {
    opacity: 0; transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.scale-in.visible { opacity: 1; transform: scale(1); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 32px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-stat { text-align: center; }
    .hero-visual { display: none; }
    .product-detail-body { grid-template-columns: 1fr; }
    .product-features { border-right: none; border-bottom: 1px solid var(--glass-border); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .featured-grid { grid-template-columns: 1fr; text-align: center; }
    .featured-stats { justify-content: center; }
    .featured-visual { order: -1; }
    .featured-icon-wrap { width: 150px; height: 150px; font-size: 56px; border-radius: 30px; }
    .product-detail-grid { grid-template-columns: 1fr; }
    .product-detail-hero .product-detail-header { flex-direction: column; align-items: center; text-align: center; }
    .product-detail-actions { justify-content: center; }
}

@media (max-width: 768px) {
    .navbar-menu { display: none; }
    .navbar-menu.open {
        display: flex; flex-direction: column;
        position: absolute; top: 72px; left: 0; right: 0;
        background: rgba(3,7,18,0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--glass-border);
        padding: 16px 24px; gap: 4px;
    }
    .navbar-toggle { display: flex; }
    .hero { min-height: auto; padding: 120px 0 80px; }
    .section { padding: 60px 0; }
    .contact-grid { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .cta-section { padding: 40px 24px; }
    .product-detail-header { flex-direction: column; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .kl-intro-brand { font-size: 28px; }
    .kl-intro-icon { width: 44px; height: 44px; font-size: 18px; }
    .featured-product { padding: 32px 20px; }
    .featured-stats { flex-direction: column; gap: 12px; }
    .product-hero { padding: 120px 0 60px; }
    .product-hero h1 { font-size: 28px; }
    .product-detail-hero { padding: 120px 0 40px; }
    .marquee-section::before, .marquee-section::after { width: 40px; }
}
