/* ================================================
   ZIYA DIGITAL MARKETING — CINEMATIC STYLE SHEET
   ================================================ */

/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Bebas+Neue&family=Rajdhani:wght@300;400;500;600;700&family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* --- CSS VARIABLES --- */
:root {
  --bg-primary: #050510;
  --bg-secondary: #0a0a1f;
  --bg-card: rgba(15, 15, 35, 0.8);
  --accent-cyan: #00e5ff;
  --accent-purple: #7c3aed;
  --accent-gold: #f59e0b;
  --accent-pink: #ec4899;
  --gradient-main: linear-gradient(135deg, #00e5ff 0%, #7c3aed 50%, #ec4899 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b, #ef4444);
  --text-primary: #f0f4ff;
  --text-secondary: #8892b0;
  --text-muted: #4a5568;
  --border: rgba(0, 229, 255, 0.15);
  --glow-cyan: 0 0 30px rgba(0, 229, 255, 0.4);
  --glow-purple: 0 0 30px rgba(124, 58, 237, 0.4);
  --font-heading: 'Orbitron', monospace;
  --font-display: 'Bebas Neue', cursive;
  --font-cinzel: 'Cinzel', serif;
  --font-body: 'Rajdhani', sans-serif;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

/* ===========================
   PRELOADER
=========================== */
#preloader {
  position: fixed;
  inset: 0;
  background: #03030c;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s;
  opacity: 1;
  visibility: visible;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.scanner-container {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hologram-ring {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(0, 229, 255, 0.4);
  border-top-color: var(--accent-purple);
  border-bottom-color: var(--accent-pink);
  border-radius: 50%;
  animation: hologramSpin 6s linear infinite;
  box-shadow: 0 0 25px rgba(0, 229, 255, 0.15), inset 0 0 15px rgba(0, 229, 255, 0.05);
}

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

.loader-logo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(0, 229, 255, 0.35);
  animation: logoPulse 2.5s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(0.96); filter: brightness(0.9) drop-shadow(0 0 10px rgba(0, 229, 255, 0.3)); }
  50% { transform: scale(1.04); filter: brightness(1.1) drop-shadow(0 0 25px rgba(0, 229, 255, 0.6)); }
}

.laser-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00e5ff, #7c3aed, #00e5ff, transparent);
  box-shadow: 0 0 12px #00e5ff, 0 0 25px rgba(0, 229, 255, 0.6);
  z-index: 5;
  animation: laserSweep 3.5s ease-in-out infinite;
}

@keyframes laserSweep {
  0%, 100% { top: 10%; opacity: 0; }
  10%, 90% { opacity: 1; }
  50% { top: 90%; }
}

.loader-percentage {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
  letter-spacing: 1.5px;
}

.telemetry-log {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  height: 18px;
  min-width: 320px;
  animation: textFlash 1.5s infinite alternate;
}

@keyframes textFlash {
  0% { opacity: 0.8; }
  100% { opacity: 1; text-shadow: 0 0 6px rgba(0, 229, 255, 0.3); }
}

#loader-bar-container {
  width: 280px;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.1);
}

#loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #00e5ff, #7c3aed, #ec4899, #00e5ff);
  background-size: 200% auto;
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: barGlimmer 2s linear infinite;
}

@keyframes spinClockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spinCounterClockwise {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes flash {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes pulseFade {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes barGlimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

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

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

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

/* --- SCROLLBAR --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--accent-cyan); border-radius: 3px; }

/* ===========================
   NAVBAR
=========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(5, 5, 16, 0.95);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 229, 255, 0.1);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent-cyan);
  transition: width 0.3s;
}

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

.nav-cta {
  background: var(--gradient-main);
  color: #fff !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: var(--font-heading) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  box-shadow: var(--glow-cyan);
  transition: var(--transition);
}

.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 0 40px rgba(0, 229, 255, 0.6); }
.nav-cta::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 24px; height: 2px;
  background: var(--accent-cyan);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

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

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(5,5,16,0.3) 0%, rgba(5,5,16,0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  max-width: 800px;
}

.hero-logo {
  margin-bottom: 24px;
  animation: fadeSlideDown 0.8s ease forwards;
}

.hero-logo img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.2);
  animation: floatBob 6s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--accent-cyan);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeSlideDown 0.8s ease forwards;
}

.dot {
  width: 8px; height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.7); }
  50% { box-shadow: 0 0 0 8px rgba(0, 229, 255, 0); }
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(120deg, #00e5ff, #7c3aed, #ec4899, #00e5ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroColorFlow 10s linear infinite, fadeSlideUp 0.8s 0.2s ease both;
}

.hero-content h1 .gradient-text {
  display: block;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  color: inherit;
}

.hero-content h1 .line-2 {
  display: block;
  font-family: var(--font-cinzel);
  font-size: 0.4em;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-top: 12px;
  -webkit-text-fill-color: var(--text-secondary);
}

@keyframes heroColorFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.hero-content p {
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.8;
  animation: fadeSlideUp 0.8s 0.4s ease both;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeSlideUp 0.8s 0.6s ease both;
}

.btn-primary {
  background: rgba(255, 51, 68, 0.1);
  color: #ff3344;
  border: 2px solid rgba(255, 51, 68, 0.4);
  padding: 16px 36px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(255, 51, 68, 0.25), inset 0 0 8px rgba(255, 51, 68, 0.1);
  transition: var(--transition);
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: #ff3344;
  color: #fff;
  border-color: #ff3344;
  box-shadow: 0 0 35px rgba(255, 51, 68, 0.7), 0 0 15px rgba(255, 51, 68, 0.4);
}

.btn-neon-red {
  background: rgba(255, 51, 68, 0.1);
  color: #ff3344;
  border: 2px solid rgba(255, 51, 68, 0.4);
  padding: 12px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(255, 51, 68, 0.25), inset 0 0 8px rgba(255, 51, 68, 0.1);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-neon-red:hover {
  transform: translateY(-3px);
  background: #ff3344;
  color: #fff;
  border-color: #ff3344;
  box-shadow: 0 0 35px rgba(255, 51, 68, 0.7), 0 0 15px rgba(255, 51, 68, 0.4);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 16px 36px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
  display: inline-block;
}

.btn-ghost:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 229, 255, 0.05);
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s 0.8s ease both;
}

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

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent-cyan);
  line-height: 1;
}

.stat span:last-of-type { font-size: 1.5rem; color: var(--accent-cyan); }
.stat p { font-size: 0.8rem; color: var(--text-secondary); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; font-family: var(--font-body); font-weight: 500; }

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent-cyan), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
  0% { opacity: 1; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { opacity: 0; transform: scaleY(0); transform-origin: bottom; }
}

/* ===========================
   SHARED SECTION STYLES
=========================== */
section { padding: 100px 0; }

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

.section-tag {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 20px;
}

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

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

/* ===========================
   REVEAL ANIMATION
=========================== */
.reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform, opacity;
}

/* Default Fallback / Slide Up */
.reveal-up {
  transform: translateY(50px);
}

/* Slide Left */
.reveal-left {
  transform: translateX(-60px);
}

/* Slide Right */
.reveal-right {
  transform: translateX(60px);
}

/* Scale Zoom In */
.reveal-scale {
  transform: scale(0.85);
}

/* Activated State */
.reveal.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ===========================
   SERVICES
=========================== */
.services { background: var(--bg-secondary); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transition: transform 0.4s;
}

.service-card:hover { transform: translateY(-8px); border-color: rgba(0, 229, 255, 0.4); box-shadow: var(--glow-cyan); }
.service-card:hover::before { transform: scaleX(1); }

/* --- SEO Service Card Watermark --- */
.service-card h3,
.service-card p,
.service-icon,
.service-link {
  position: relative;
  z-index: 2;
}

.service-card.seo-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background-image: url('logo/seo-bg.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.15;
  filter: invert(1);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.service-card.seo-card:hover::after {
  transform: scale(1.1) rotate(-10deg);
  opacity: 0.25;
}

/* --- PPC Service Card Watermark --- */
.service-card.ppc-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background-image: url('logo/video-thumb2.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.15;
  filter: invert(1);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.service-card.ppc-card:hover::after {
  transform: scale(1.1) rotate(-10deg);
  opacity: 0.25;
}

/* --- SMM Service Card Watermark --- */
.service-card.smm-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background-image: url('logo/smm-bg.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.15;
  filter: invert(1);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.service-card.smm-card:hover::after {
  transform: scale(1.1) rotate(-10deg);
  opacity: 0.25;
}

/* --- Content Strategy Service Card Watermark --- */
.service-card.content-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background-image: url('logo/logo-z.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.15;
  filter: invert(1);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.service-card.content-card:hover::after {
  transform: scale(1.1) rotate(-10deg);
  opacity: 0.25;
}

/* --- Email Marketing Service Card Watermark --- */
.service-card.email-card::after {
  content: '';
  position: absolute;
  bottom: 10px;
  right: -20px;
  width: 220px;
  height: 90px;
  background-image: url('logo/logo-black.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.15;
  filter: invert(1);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.service-card.email-card:hover::after {
  transform: scale(1.05) translate(-5px, -5px);
  opacity: 0.25;
}

/* --- Analytics & Insights Service Card Watermark --- */
.service-card.analytics-card::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 140px;
  height: 140px;
  background-image: url('logo/seo-bg.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.15;
  filter: invert(1);
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.service-card.analytics-card:hover::after {
  transform: scale(1.1) rotate(-10deg);
  opacity: 0.25;
}

.service-icon { font-size: 2.5rem; margin-bottom: 20px; }

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-family: var(--font-body);
}

.service-link {
  color: #ff3344;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 0 5px rgba(255, 51, 68, 0.5), 0 0 10px rgba(255, 51, 68, 0.2);
  transition: var(--transition);
}

.service-link:hover { 
  letter-spacing: 3px; 
  color: #ffffff;
  text-shadow: 0 0 8px #ff3344, 0 0 15px #ff3344, 0 0 25px rgba(255, 51, 68, 0.8);
}

/* ===========================
   ABOUT
=========================== */
.about { background: var(--bg-primary); }

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

.about-logo-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
}

.about-logo-ring {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.3);
  animation: rotateSlow 12s linear infinite;
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.15);
}

.about-logo-ring::before {
  content: '';
  position: absolute;
  top: -6px; left: 50%;
  width: 12px; height: 12px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: var(--glow-cyan);
}

.about-logo-inner {
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(0,229,255,0.15), rgba(124,58,237,0.2));
  border: 1px solid rgba(0, 229, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 80px rgba(0, 229, 255, 0.2), inset 0 0 40px rgba(0,229,255,0.05);
  animation: floatBob 5s ease-in-out infinite;
}

.about-logo-showcase img,
.about-logo-img {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.25), 0 0 120px rgba(124,58,237,0.15);
  animation: floatBob 5s ease-in-out infinite;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 20px rgba(0,229,255,0.4));
}

.about-big-z {
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(0,229,255,0.5));
}

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

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

.about-text .cinematic-quote {
  font-family: var(--font-cinzel);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--accent-gold);
  margin: 20px 0;
  padding-left: 20px;
  border-left: 3px solid var(--accent-gold);
  line-height: 1.8;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.about-badge {
  background: rgba(0, 229, 255, 0.07);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--text-primary);
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
}

.about-badge:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0,229,255,0.12);
}

/* ===========================
   VISUALIZER
=========================== */
.visualizer {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.visualizer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 51, 68, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 51, 68, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  pointer-events: none;
  animation: gridDrift 24s linear infinite;
  z-index: 1;
}

.visualizer::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  height: 75%;
  background: radial-gradient(circle, rgba(255, 51, 68, 0.07) 0%, rgba(124, 58, 237, 0.03) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: radialPulse 8s ease-in-out infinite alternate;
}

.visualizer .container {
  position: relative;
  z-index: 2;
}

@keyframes gridDrift {
  0% { background-position: 0 0; }
  100% { background-position: 50px 50px; }
}

@keyframes radialPulse {
  0% { transform: translate(-50%, -50%) scale(0.92); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.08); opacity: 1.2; }
}

/* --- NEON BLUR LIGHT BLOB ANIMATIONS --- */
.neon-blur-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.16;
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 280px;
  height: 280px;
  background: #ff3344;
  top: 5%;
  left: 10%;
  animation: floatBlurBlob1 14s ease-in-out infinite alternate;
}

.blob-2 {
  width: 320px;
  height: 320px;
  background: #7c3aed;
  bottom: 5%;
  right: 10%;
  animation: floatBlurBlob2 18s ease-in-out infinite alternate;
}

@keyframes floatBlurBlob1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(90px, 50px) scale(1.15); }
  100% { transform: translate(-30px, 90px) scale(0.95); }
}

@keyframes floatBlurBlob2 {
  0% { transform: translate(0, 0) scale(1.1); }
  50% { transform: translate(-80px, -60px) scale(0.9); }
  100% { transform: translate(60px, -20px) scale(1.15); }
}

/* --- HACKED TITLE EFFECT --- */
.hacker-title {
  font-family: var(--font-heading);
  color: #00ff66 !important;
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.6), 0 0 20px rgba(0, 255, 102, 0.3);
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
}

.hacker-title::after {
  content: '_';
  animation: hacker-cursor 0.8s steps(2, start) infinite;
  color: #00ff66;
  margin-left: 4px;
}

@keyframes hacker-cursor {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

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

.viz-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
}

.viz-card canvas { border-radius: 8px; width: 100%; }
.viz-label {
  text-align: center;
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.viz-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  perspective: 1000px;
}

.viz-stat-card.neon-card {
  background: rgba(10, 10, 31, 0.6);
  border: 1px solid rgba(255, 51, 68, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.25, 1), 
              border-color 0.4s, 
              box-shadow 0.4s;
  animation: neonFloat 5s ease-in-out infinite;
}

@keyframes neonFloat {
  0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translateY(-6px) rotateX(2deg) rotateY(-1deg); }
}

.viz-stats .viz-stat-card:nth-child(1) { animation-delay: 0s; }
.viz-stats .viz-stat-card:nth-child(2) { animation-delay: 1.2s; }
.viz-stats .viz-stat-card:nth-child(3) { animation-delay: 0.6s; }
.viz-stats .viz-stat-card:nth-child(4) { animation-delay: 1.8s; }

.viz-stat-card.neon-card:hover {
  transform: translateY(-12px) rotateX(12deg) rotateY(-12deg) scale(1.03);
  border-color: rgba(255, 51, 68, 0.7);
  box-shadow: 0 20px 40px rgba(255, 51, 68, 0.35), 
              0 0 25px rgba(255, 51, 68, 0.15),
              inset 0 0 15px rgba(255, 51, 68, 0.1);
}

.viz-stat-ring {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: conic-gradient(#ff3344 calc(var(--pct) * 1%), rgba(255, 255, 255, 0.05) calc(var(--pct) * 1%));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 15px rgba(255, 51, 68, 0.1);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.25, 1);
  transform-style: preserve-3d;
}

.viz-stat-card:hover .viz-stat-ring {
  transform: translateZ(30px) scale(1.05) rotate(5deg);
}

.viz-stat-ring::after {
  content: '';
  position: absolute;
  inset: 6px;
  background: #060613;
  border-radius: 50%;
  z-index: 1;
}

.viz-stat-ring span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  position: relative;
  z-index: 2;
  transition: text-shadow 0.4s;
}

.neon-text-red {
  color: #ff3344;
  text-shadow: 0 0 8px rgba(255, 51, 68, 0.6);
}

.viz-stat-card:hover .neon-text-red {
  text-shadow: 0 0 15px rgba(255, 51, 68, 0.95), 0 0 30px rgba(255, 51, 68, 0.5);
}

.viz-stat-card p.neon-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.4s, text-shadow 0.4s, transform 0.5s cubic-bezier(0.25, 1, 0.25, 1);
}

.viz-stat-card:hover p.neon-title {
  color: var(--text-primary);
  transform: translateZ(15px);
  text-shadow: 0 0 10px rgba(255, 51, 68, 0.6);
}

/* ===========================
   RESULTS
=========================== */
.results { background: var(--bg-primary); }

.results-cinematic-title {
  font-family: var(--font-cinzel);
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  text-align: center;
  letter-spacing: 4px;
  line-height: 1.3;
  margin-bottom: 60px;
  text-transform: uppercase;
  color: var(--text-primary);
  text-shadow: 0 0 40px rgba(0, 229, 255, 0.2);
  position: relative;
}

.results-cinematic-title::after {
  content: '';
  display: block;
  width: 120px;
  height: 2px;
  background: var(--gradient-main);
  margin: 18px auto 0;
  border-radius: 2px;
  box-shadow: var(--glow-cyan);
}

/* --- CAROUSEL 3D ROTATE SHOWCASE --- */
.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 60px auto;
  max-width: 100%;
  padding: 40px 0;
  perspective: 1200px;
  height: 380px;
}

.carousel-track-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  transform-style: preserve-3d;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-card {
  position: absolute;
  top: 0; left: 0;
  width: 300px;
  height: 290px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  backface-visibility: visible;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              border-color 0.8s, 
              box-shadow 0.8s, 
              opacity 0.8s;
  opacity: 0.25;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* 3D Circular placements for N = 4 cards */
.carousel-card:nth-child(1) { transform: rotateY(0deg) translateZ(280px); }
.carousel-card:nth-child(2) { transform: rotateY(90deg) translateZ(280px); }
.carousel-card:nth-child(3) { transform: rotateY(180deg) translateZ(280px); }
.carousel-card:nth-child(4) { transform: rotateY(270deg) translateZ(280px); }

/* Active Card pop-outs */
.carousel-card.active {
  opacity: 1;
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan), 0 20px 50px rgba(0, 229, 255, 0.2);
}

.carousel-card:nth-child(1).active { transform: rotateY(0deg) translateZ(280px) scale(1.08); }
.carousel-card:nth-child(2).active { transform: rotateY(90deg) translateZ(280px) scale(1.08); }
.carousel-card:nth-child(3).active { transform: rotateY(180deg) translateZ(280px) scale(1.08); }
.carousel-card:nth-child(4).active { transform: rotateY(270deg) translateZ(280px) scale(1.08); }

/* Active social glows */
.carousel-card.active.instagram-card {
  border-color: rgba(220, 39, 67, 0.6);
  box-shadow: 0 0 40px rgba(220, 39, 67, 0.4), 0 20px 50px rgba(220, 39, 67, 0.15);
}

.carousel-card.active.youtube-card {
  border-color: rgba(255, 0, 0, 0.6);
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.4), 0 20px 50px rgba(255, 0, 0, 0.15);
}

.carousel-card.active.discord-card {
  border-color: rgba(88, 101, 242, 0.6);
  box-shadow: 0 0 40px rgba(88, 101, 242, 0.4), 0 20px 50px rgba(88, 101, 242, 0.15);
}

/* Specific elements inside cards */
.carousel-card .result-icon { font-size: 2.5rem; margin-bottom: 20px; }

.carousel-card h3 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.carousel-card .result-suffix {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

.carousel-card p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Buttons */
.carousel-btn {
  background: rgba(15, 15, 35, 0.6);
  border: 1px solid var(--border);
  color: var(--accent-cyan);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 20;
  backdrop-filter: blur(5px);
  user-select: none;
  position: absolute;
}

.prev-btn {
  left: calc(50% - 280px);
}

.next-btn {
  right: calc(50% - 280px);
}

.carousel-btn:hover {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--glow-cyan);
  transform: scale(1.1);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dots .dot.active {
  background: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  width: 28px;
  border-radius: 5px;
}

/* Instagram Card */
.instagram-card { cursor: pointer; }

.insta-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 12px;
}

.insta-icon {
  width: 80px; height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(220, 39, 67, 0.4);
  transition: var(--transition);
  padding: 14px;
}

.insta-icon svg { width: 52px; height: 52px; }
.insta-icon svg rect,
.insta-icon svg circle { stroke: #fff !important; }
.insta-icon svg circle:last-child { fill: #fff !important; }

.instagram-card:hover .insta-icon {
  transform: scale(1.12);
  box-shadow: 0 0 50px rgba(220, 39, 67, 0.7);
}

.instagram-card:hover {
  border-color: rgba(220, 39, 67, 0.5) !important;
  box-shadow: 0 0 40px rgba(220, 39, 67, 0.3) !important;
}

.insta-label {
  font-family: var(--font-heading) !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #f09433, #dc2743, #bc1888) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: block !important;
}

/* YouTube Card */
.youtube-card { cursor: pointer; }

.yt-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 12px;
}

.yt-icon {
  width: 80px; height: 80px;
  border-radius: 20px;
  background: #FF0000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(255, 0, 0, 0.4);
  transition: var(--transition);
  padding: 14px;
}

.yt-icon svg { width: 52px; height: 52px; }

.youtube-card:hover .yt-icon {
  transform: scale(1.12);
  box-shadow: 0 0 50px rgba(255, 0, 0, 0.7);
}

.youtube-card:hover {
  border-color: rgba(255, 0, 0, 0.5) !important;
  box-shadow: 0 0 40px rgba(255, 0, 0, 0.3) !important;
}

.yt-label {
  font-family: var(--font-heading) !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: #FF0000 !important;
  -webkit-text-fill-color: #FF0000 !important;
  display: block !important;
}

/* Discord Card */
.discord-card { cursor: pointer; }

.discord-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 12px;
}

.discord-icon {
  width: 80px; height: 80px;
  border-radius: 20px;
  background: rgba(88, 101, 242, 0.1);
  border: 2px solid rgba(88, 101, 242, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.15);
  transition: var(--transition);
  padding: 18px;
}

.discord-card:hover .discord-icon {
  transform: scale(1.12) rotate(3deg);
  box-shadow: 0 0 50px rgba(88, 101, 242, 0.45);
  border-color: rgba(88, 101, 242, 0.6);
  background: rgba(88, 101, 242, 0.2);
}

.discord-card:hover {
  border-color: rgba(88, 101, 242, 0.5) !important;
  box-shadow: 0 0 40px rgba(88, 101, 242, 0.2) !important;
}

.discord-label {
  font-family: var(--font-heading) !important;
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary) !important;
  display: block !important;
}

/* ===========================
   VIDEO SHOWCASE
=========================== */
.video-showcase {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.05), transparent 60%);
  position: relative;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.video-player-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 229, 255, 0.1);
}

@media (max-width: 768px) {
  .video-grid {
    max-width: 100%;
    gap: 30px;
  }
}

.video-thumbnail-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.5s ease;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: brightness(0.9);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.video-thumbnail-wrapper:hover .video-thumb-img {
  transform: scale(1.03);
  filter: brightness(1);
}

.video-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 5, 16, 0.4), rgba(124, 58, 237, 0.2));
  z-index: 1;
}

.play-button-outer {
  position: absolute;
  width: 84px;
  height: 84px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s;
}

.play-button-inner {
  width: 60px;
  height: 60px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
  transition: transform 0.3s ease;
}

.play-button-inner svg {
  width: 22px;
  height: 22px;
  color: #fff;
  margin-left: 4px;
}

.video-thumbnail-wrapper:hover .play-button-outer {
  transform: scale(1.1);
  background: rgba(0, 229, 255, 0.2);
}

.video-thumbnail-wrapper:hover .play-button-inner {
  transform: scale(1.05);
}

.video-player-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.video-player-container.playing .video-thumbnail-wrapper {
  opacity: 0;
  pointer-events: none;
}



/* ===========================
   CONTACT
=========================== */
.contact { background: var(--bg-primary); }

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.contact-info { margin-top: 36px; display: flex; flex-direction: column; gap: 20px; }

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info-icon {
  width: 48px; height: 48px;
  background: rgba(0,229,255,0.08);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.contact-info-item p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(10px);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }

.form-group label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0,229,255,0.1);
}

.form-group select option { background: var(--bg-secondary); }
.form-group textarea { resize: vertical; min-height: 130px; }

.btn-submit {
  width: 100%;
  background: var(--gradient-main);
  color: #fff;
  border: none;
  padding: 18px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--glow-cyan);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(0,229,255,0.6);
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 72px 0 36px;
}

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

.footer-brand p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-top: 16px;
}

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

.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
  font-family: var(--font-body);
  font-weight: 700;
}

.footer-social a:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--accent-cyan); padding-left: 6px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

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

/* ===========================
   KEYFRAMES
=========================== */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* --- GLITCH & COLOR SHIFTING ANIMATION --- */
.glitch {
  position: relative;
  background: linear-gradient(120deg, #00e5ff, #7c3aed, #ec4899, #00e5ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: colorShift 4s linear infinite;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: initial;
}

.glitch::before {
  left: 2px;
  color: var(--accent-cyan);
  text-shadow: -2px 0 var(--accent-cyan);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-loop-1 1.5s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  color: var(--accent-pink);
  text-shadow: -2px 0 var(--accent-pink), 0 2px var(--accent-cyan);
  clip: rect(85px, 450px, 140px, 0);
  animation: glitch-loop-2 1.5s infinite linear alternate-reverse;
}

@keyframes colorShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

@keyframes glitch-loop-1 {
  0% { clip: rect(10px, 9999px, 30px, 0); }
  20% { clip: rect(40px, 9999px, 60px, 0); }
  40% { clip: rect(20px, 9999px, 80px, 0); }
  60% { clip: rect(80px, 9999px, 40px, 0); }
  80% { clip: rect(60px, 9999px, 90px, 0); }
  100% { clip: rect(30px, 9999px, 10px, 0); }
}

@keyframes glitch-loop-2 {
  0% { clip: rect(70px, 9999px, 50px, 0); }
  20% { clip: rect(20px, 9999px, 90px, 0); }
  40% { clip: rect(60px, 9999px, 10px, 0); }
  60% { clip: rect(10px, 9999px, 80px, 0); }
  80% { clip: rect(90px, 9999px, 30px, 0); }
  100% { clip: rect(40px, 9999px, 70px, 0); }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .about-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .about-logo-showcase { height: 300px; }
  .visualizer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(5,5,16,0.98); padding: 20px; gap: 16px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero-stats { gap: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px; }
  
  /* 3D Carousel Mobile Adjustments */
  .carousel-container {
    height: 330px;
    perspective: 800px;
  }
  .carousel-track-wrapper {
    width: 240px;
    height: 250px;
  }
  .carousel-card {
    width: 240px;
    height: 250px;
    padding: 24px 16px;
  }
  .carousel-card:nth-child(1) { transform: rotateY(0deg) translateZ(180px); }
  .carousel-card:nth-child(2) { transform: rotateY(90deg) translateZ(180px); }
  .carousel-card:nth-child(3) { transform: rotateY(180deg) translateZ(180px); }
  .carousel-card:nth-child(4) { transform: rotateY(270deg) translateZ(180px); }

  .carousel-card:nth-child(1).active { transform: rotateY(0deg) translateZ(180px) scale(1.05); }
  .carousel-card:nth-child(2).active { transform: rotateY(90deg) translateZ(180px) scale(1.05); }
  .carousel-card:nth-child(3).active { transform: rotateY(180deg) translateZ(180px) scale(1.05); }
  .carousel-card:nth-child(4).active { transform: rotateY(270deg) translateZ(180px) scale(1.05); }
  
  .prev-btn { left: calc(50% - 170px); width: 44px; height: 44px; font-size: 1rem; }
  .next-btn { right: calc(50% - 170px); width: 44px; height: 44px; font-size: 1rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .prev-btn { left: calc(50% - 150px); width: 36px; height: 36px; }
  .next-btn { right: calc(50% - 150px); width: 36px; height: 36px; }
}

/* ===========================
   ORBI AI CHATBOT
=========================== */
#chat-icon {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
  transition: var(--transition);
  z-index: 9998;
  border: 2px solid rgba(255, 255, 255, 0.8);
  user-select: none;
  overflow: hidden;
}

#chat-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  pointer-events: none;
}

#chat-icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.95), 0 0 15px rgba(255, 255, 255, 0.5);
}

#chatbot {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 320px;
  height: 400px;
  background: rgba(10, 10, 31, 0.95);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-family: var(--font-body);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5), 0 0 30px rgba(0, 229, 255, 0.15);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(15px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#chatbot.hidden {
  display: none !important;
}

#chat-header {
  background: linear-gradient(135deg, #0a0a1f 0%, #151538 100%);
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#chat-header span {
  display: flex;
  align-items: center;
  gap: 8px;
}

#clear-chat-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1rem;
  padding: 4px;
  transition: transform 0.3s ease, color 0.3s;
}

#clear-chat-btn:hover {
  color: var(--accent-cyan);
  transform: rotate(-180deg);
}

/* --- QUICK REPLY CHIPS --- */
.quick-replies-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 8px;
  padding: 8px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(10, 10, 31, 0.4);
  scrollbar-width: none;
}

.quick-replies-container::-webkit-scrollbar {
  display: none;
}

.reply-chip {
  flex-shrink: 0;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.25);
  color: var(--accent-cyan);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.reply-chip:hover {
  background: var(--gradient-main);
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 229, 255, 0.25);
}

/* --- TYPING INDICATOR --- */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--text-secondary);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

#chat-window {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
}

#messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  line-height: 1.4;
  word-break: break-word;
  font-family: var(--font-body);
}

.chat-msg.user {
  align-self: flex-end;
  background: var(--gradient-main);
  color: #fff;
  border-bottom-right-radius: 2px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.chat-msg.bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.15);
  color: var(--text-primary);
  border-bottom-left-radius: 2px;
}

.chat-input-container {
  display: flex;
  border-top: 1px solid var(--border);
  background: rgba(15, 15, 35, 0.5);
  padding: 10px;
  gap: 8px;
}

#user-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 8px 12px;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition);
}

#user-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.25);
}

#send-btn {
  background: rgba(255, 51, 68, 0.1);
  border: 1px solid rgba(255, 51, 68, 0.4);
  color: #ff3344;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(255, 51, 68, 0.2);
}

#send-btn:hover {
  transform: translateY(-2px);
  background: #ff3344;
  color: #fff;
  border-color: #ff3344;
  box-shadow: 0 0 20px rgba(255, 51, 68, 0.6);
}

/* ===========================
   FLOATING WHATSAPP BUTTON
=========================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  z-index: 9998;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 35px rgba(37, 211, 102, 0.7);
  background: #20ba5a;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0;
  animation: pulseGreen 2s infinite;
  pointer-events: none;
}

@keyframes pulseGreen {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.2); opacity: 0; }
}
