/* =====================================================================
   PREMIUM STYLE UPGRADES — Enhancements to style.css base
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&family=Bangers&display=swap');

/* ─────────────────────────────────────────────
   CSS Custom Properties — Spider-Man Design Tokens
───────────────────────────────────────────── */
:root {
  /* Spider-Man Colors */
  --color-bg:           #080000;
  --color-surface:      #100000;
  --color-surface2:     #180404;
  --color-primary:      #cc0000;
  --color-primary-glow: rgba(204, 0, 0, 0.55);
  --color-accent:       #1a5fc8;
  --color-accent-glow:  rgba(26, 95, 200, 0.45);
  --color-white:        #ffffff;
  --color-text:         #e8d5d5;
  --color-muted:        #7a5a5a;
  --color-border:       rgba(204, 0, 0, 0.2);
  --color-glass:        rgba(16, 3, 3, 0.78);
  --color-glass-border: rgba(204, 0, 0, 0.22);

  /* Spider-Man Gradients */
  --grad-hero:      linear-gradient(160deg, #080000 0%, #180404 40%, #061020 100%);
  --grad-red:       linear-gradient(135deg, #c00000, #ff2020, #c00000);
  --grad-blue:      linear-gradient(135deg, #1a5fc8, #2a8fff);
  --grad-card:      linear-gradient(135deg, rgba(18,3,3,0.92) 0%, rgba(8,0,0,0.96) 100%);
  --grad-text-red:  linear-gradient(90deg, #cc0000, #ff5555, #ff0000, #cc0000);
  --grad-text-blue: linear-gradient(90deg, #1a5fc8, #4d9fff, #1a5fc8);
  --grad-spidey:    linear-gradient(135deg, #cc0000 0%, #8b0000 50%, #1a5fc8 100%);

  /* Fonts */
  --font-heading: 'Orbitron', monospace;
  --font-display: 'Bangers', cursive;
  --font-body:    'Inter', sans-serif;

  /* Spacing */
  --section-pad:    110px 0;
  --section-pad-sm: 60px 0;

  /* Transitions */
  --transition:      all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-red:   0 0 30px rgba(204,0,0,0.45), 0 0 70px rgba(204,0,0,0.18);
  --shadow-blue:  0 0 30px rgba(26,95,200,0.45), 0 0 70px rgba(26,95,200,0.18);
  --shadow-card:  0 24px 70px rgba(0,0,0,0.85);
  --shadow-web:   0 0 40px rgba(204,0,0,0.3), inset 0 0 40px rgba(0,0,0,0.5);
  --shadow-deep:  0 40px 100px rgba(0,0,0,0.9), 0 10px 30px rgba(0,0,0,0.6);

  /* Border Radius */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  background-image:
    repeating-conic-gradient(from 0deg at 50% 50%,
      transparent 0deg,
      transparent 11.2deg,
      rgba(204,0,0,0.035) 11.2deg,
      rgba(204,0,0,0.035) 12deg
    ),
    radial-gradient(circle at 50% 50%,
      transparent 80px,
      rgba(204,0,0,0.025) 80px, rgba(204,0,0,0.025) 81px,
      transparent 81px, transparent 160px,
      rgba(204,0,0,0.025) 160px, rgba(204,0,0,0.025) 161px,
      transparent 161px, transparent 240px,
      rgba(204,0,0,0.025) 240px, rgba(204,0,0,0.025) 241px,
      transparent 241px
    );
  background-size: 300px 300px, 300px 300px;
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  cursor: none;
}

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

img { display: block; max-width: 100%; }
ul  { list-style: none; }

button, input, textarea, select {
  font-family: var(--font-body);
  outline: none;
  border: none;
  cursor: none;
}

/* ─────────────────────────────────────────────
   Scrollbar
───────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--color-primary), var(--color-accent));
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(204,0,0,0.5);
}

/* ─────────────────────────────────────────────
   Typography
───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-white);
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--color-primary);
  display: inline-block;
  margin-bottom: 14px;
  position: relative;
  opacity: 0.9;
}

.section-label::before { content: '[ '; }
.section-label::after  { content: ' ]'; }

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  margin-bottom: 18px;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.section-title span {
  background: var(--grad-text-red);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 560px;
  line-height: 1.75;
}

/* ─────────────────────────────────────────────
   Layout Utilities
───────────────────────────────────────────── */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}

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

.section-center {
  text-align: center;
  align-items: center;
}

.section-center .section-subtitle {
  margin: 0 auto;
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ─────────────────────────────────────────────
   Premium Buttons
───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  user-select: none;
}

/* Shine sweep */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 20%,
    rgba(255,255,255,0.15) 50%,
    transparent 80%
  );
  transform: translateX(-130%);
  transition: transform 0.5s ease;
}

.btn:hover::before {
  transform: translateX(130%);
}

.btn-primary {
  background: var(--grad-red);
  background-size: 200%;
  color: white;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  box-shadow: 0 0 60px rgba(204,0,0,0.7), 0 0 120px rgba(204,0,0,0.25);
  transform: translateY(-3px) scale(1.02);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.99);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(26,95,200,0.7);
  box-shadow: inset 0 0 20px rgba(26,95,200,0.06), 0 0 20px rgba(26,95,200,0.08);
}

.btn-secondary:hover {
  background: rgba(26,95,200,0.12);
  box-shadow: var(--shadow-blue), 0 0 40px rgba(26,95,200,0.15);
  border-color: rgba(26,95,200,1);
  transform: translateY(-3px) scale(1.02);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  box-shadow: 0 0 30px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
  box-shadow: 0 0 60px rgba(37,211,102,0.6), 0 0 100px rgba(37,211,102,0.2);
  transform: translateY(-3px) scale(1.02);
}

/* ─────────────────────────────────────────────
   Navigation
───────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--transition-slow);
}

.navbar.scrolled {
  background: rgba(6, 0, 0, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 12px 0;
  border-bottom: 1px solid rgba(204,0,0,0.25);
  box-shadow: 0 4px 50px rgba(0,0,0,0.9), 0 0 30px rgba(204,0,0,0.08);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--grad-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  color: white;
  box-shadow: var(--shadow-red);
  flex-shrink: 0;
  transition: var(--transition-spring);
}

.logo-icon:hover {
  transform: scale(1.1) rotate(-5deg);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  font-weight: 400;
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-text);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1.5px;
  background: var(--grad-red);
  transition: width 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 6px rgba(204,0,0,0.8);
}

.nav-links a:hover,
.nav-links a.active {
  color: white;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.7rem;
}

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

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

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─────────────────────────────────────────────
   Premium Glass Card
───────────────────────────────────────────── */
.glass-card {
  background: var(--color-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 38px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Inner glow on hover */
.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(204,0,0,0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.glass-card:hover {
  border-color: rgba(204,0,0,0.45);
  box-shadow: var(--shadow-red), var(--shadow-card);
  transform: translateY(-7px);
}

.glass-card:hover::before {
  opacity: 1;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

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

/* ─────────────────────────────────────────────
   Section Dividers / Decorative
───────────────────────────────────────────── */
.divider {
  width: 60px;
  height: 3px;
  background: var(--grad-red);
  border-radius: 2px;
  margin: 22px 0;
  box-shadow: 0 0 10px rgba(204,0,0,0.5);
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

.dot-grid {
  position: absolute;
  width: 200px;
  height: 200px;
  background-image: radial-gradient(circle, rgba(26,95,200,0.18) 1px, transparent 1px);
  background-size: 20px 20px;
  border-radius: 50%;
  pointer-events: none;
}

/* ─────────────────────────────────────────────
   PREMIUM Hero Section
───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: var(--grad-hero);
}

/* Scanline overlay for cinematic feel */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.04) 2px,
    rgba(0,0,0,0.04) 4px
  );
  pointer-events: none;
  z-index: 1;
}

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

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(204,0,0,0.1);
  border: 1px solid rgba(204,0,0,0.35);
  border-radius: 50px;
  padding: 9px 20px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  margin-bottom: 32px;
  box-shadow: 0 0 20px rgba(204,0,0,0.1), inset 0 0 20px rgba(204,0,0,0.04);
  backdrop-filter: blur(10px);
  animation: fade-in-up 0.8s ease both;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--color-primary);
  border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(204,0,0,0.8);
}

.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  font-weight: 900;
  line-height: 1.04;
  color: white;
  margin-bottom: 28px;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 40px rgba(0,0,0,0.5);
}

.hero-title .highlight {
  background: var(--grad-text-red);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
  filter: drop-shadow(0 0 20px rgba(204,0,0,0.3));
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 48px;
  max-width: 560px;
  line-height: 1.8;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 52px;
  margin-top: 72px;
  padding-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 5px;
  text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.hero-stat-num span {
  color: var(--color-primary);
  text-shadow: 0 0 15px rgba(204,0,0,0.6);
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--color-muted);
  letter-spacing: 0.06em;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 0.65rem;
  font-family: var(--font-heading);
  letter-spacing: 0.15em;
  animation: bounce 2.5s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  box-shadow: 0 0 8px rgba(26,95,200,0.5);
}

/* ─────────────────────────────────────────────
   Premium Services Section
───────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 64px;
}

.service-card {
  background: var(--color-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
  cursor: none;
}

/* Top gradient line */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204,0,0,0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(204,0,0,0.07) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  border-color: rgba(204,0,0,0.4);
  box-shadow: 0 0 50px rgba(204,0,0,0.14), var(--shadow-card);
  transform: translateY(-10px) scale(1.01);
}

.service-card:hover::before,
.service-card:hover::after {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(204,0,0,0.1);
  border: 1px solid rgba(204,0,0,0.22);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 24px;
  transition: var(--transition-spring);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon {
  background: rgba(204,0,0,0.2);
  box-shadow: 0 0 24px rgba(204,0,0,0.35);
  transform: scale(1.12) rotate(-5deg);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 1;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────
   Stats Counter Section
───────────────────────────────────────────── */
.stats-section {
  padding: 90px 0;
  background: linear-gradient(135deg, rgba(204,0,0,0.07) 0%, rgba(26,95,200,0.05) 100%);
  border-top: 1px solid rgba(204,0,0,0.18);
  border-bottom: 1px solid rgba(204,0,0,0.18);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(204,0,0,0.05) 0%, transparent 70%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  position: relative;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 0 30px rgba(255,255,255,0.1);
}

.stat-number span.suffix {
  color: var(--color-primary);
  text-shadow: 0 0 20px rgba(204,0,0,0.7);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--color-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.stat-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(204,0,0,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: glow-pulse 3s ease-in-out infinite;
}

/* ─────────────────────────────────────────────
   CTA Section (Premium)
───────────────────────────────────────────── */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.cta-box {
  background: linear-gradient(135deg, rgba(204,0,0,0.07) 0%, rgba(26,95,200,0.07) 100%);
  border: 1px solid rgba(204,0,0,0.18);
  border-radius: var(--radius-xl);
  padding: 90px 70px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 100px rgba(204,0,0,0.06), var(--shadow-deep);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent 350deg, rgba(204,0,0,0.07) 360deg);
  animation: rotate 10s linear infinite;
}

/* Premium glow lines */
.cta-box::after {
  content: '';
  position: absolute;
  top: 0; left: 20%;
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204,0,0,0.5), transparent);
  box-shadow: 0 0 20px rgba(204,0,0,0.4);
}

.cta-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: white;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  text-shadow: 0 0 40px rgba(0,0,0,0.5);
}

.cta-subtitle {
  color: var(--color-muted);
  font-size: 1.05rem;
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.cta-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────
   Portfolio / Projects (Premium)
───────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface2);
  border: 1px solid var(--color-glass-border);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: none;
  transform-style: preserve-3d;
}

.project-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 0 60px rgba(204,0,0,0.22), var(--shadow-card);
  border-color: rgba(204,0,0,0.4);
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.85) 100%),
              linear-gradient(135deg, rgba(204,0,0,0.15), rgba(26,95,200,0.15));
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: white;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  transition: var(--transition);
}

.project-live-btn:hover {
  background: rgba(204,0,0,0.6);
  border-color: rgba(204,0,0,0.8);
  box-shadow: 0 0 20px rgba(204,0,0,0.4);
}

.project-info {
  padding: 26px 24px;
}

.project-tag {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.project-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  background: rgba(26,95,200,0.1);
  border: 1px solid rgba(26,95,200,0.2);
  padding: 4px 12px;
  border-radius: 50px;
  transition: var(--transition);
}

.tech-tag:hover {
  background: rgba(26,95,200,0.2);
  color: white;
}

/* ─────────────────────────────────────────────
   Page Header (inner pages)
───────────────────────────────────────────── */
.page-header {
  padding: 160px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(204,0,0,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(26,95,200,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 900;
  margin-bottom: 16px;
  text-shadow: 0 0 40px rgba(0,0,0,0.5);
}

/* ─────────────────────────────────────────────
   Contact Cards
───────────────────────────────────────────── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.contact-card {
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.contact-card:hover {
  border-color: rgba(204,0,0,0.4);
  box-shadow: var(--shadow-red), var(--shadow-card);
  transform: translateY(-6px);
}

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

.contact-icon {
  font-size: 2rem;
  margin-bottom: 18px;
  display: inline-block;
  transition: var(--transition-spring);
}

.contact-card:hover .contact-icon {
  transform: scale(1.2) translateY(-4px);
  filter: drop-shadow(0 0 12px rgba(204,0,0,0.5));
}

.contact-card-title {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.contact-card-value a {
  font-size: 0.95rem;
  color: white;
  font-family: var(--font-heading);
  font-weight: 600;
}

.contact-card-value a:hover {
  color: var(--color-primary);
  text-shadow: 0 0 20px rgba(204,0,0,0.5);
}

/* ─────────────────────────────────────────────
   Founder Avatar
───────────────────────────────────────────── */
.founder-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(204,0,0,0.4);
  box-shadow: 0 0 20px rgba(204,0,0,0.25);
  transition: var(--transition-spring);
}

.glass-card:hover .founder-avatar {
  border-color: rgba(204,0,0,0.7);
  box-shadow: 0 0 30px rgba(204,0,0,0.4);
  transform: scale(1.06);
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.glass-card:hover .founder-avatar img {
  transform: scale(1.08);
}

/* ─────────────────────────────────────────────
   Form Styles (Premium)
───────────────────────────────────────────── */
.form-container {
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-xl);
  padding: 50px;
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  transition: var(--transition);
}

.form-container::before {
  content: '';
  position: absolute;
  top: 0; left: 10%;
  width: 80%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204,0,0,0.4), transparent);
}

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

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

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  text-transform: uppercase;
}

.form-group label .req {
  color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: #0d0000;
  border: 1px solid rgba(204,0,0,0.30);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: white;
  font-size: 0.95rem;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23cc0000' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* Style the dropdown options — dark background, white text */
.form-group select option {
  background-color: #110000;
  color: #ffffff;
  padding: 10px;
}

.form-group select option:hover,
.form-group select option:checked {
  background-color: #cc0000;
  color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(204,0,0,0.70);
  background: #110000;
  box-shadow: 0 0 20px rgba(204,0,0,0.15), inset 0 0 20px rgba(204,0,0,0.05);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(180, 120, 120, 0.55);
}

.form-submit {
  text-align: center;
  margin-top: 10px;
}

.success-message {
  display: none;
  margin-top: 16px;
  color: #4ade80;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

/* ─────────────────────────────────────────────
   Footer (Premium)
───────────────────────────────────────────── */
.footer {
  background: linear-gradient(to bottom, var(--color-bg), rgba(4,0,0,1));
  border-top: 1px solid rgba(204,0,0,0.18);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 20%;
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204,0,0,0.35), transparent);
  box-shadow: 0 0 30px rgba(204,0,0,0.2);
}

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

.footer-brand p {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-top: 18px;
  line-height: 1.75;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: white;
  text-transform: uppercase;
  margin-bottom: 22px;
}

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

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--color-muted);
  transition: var(--transition);
  position: relative;
  padding-left: 0;
}

.footer-col ul li a:hover {
  color: white;
  padding-left: 8px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.footer-copy span {
  color: white;
  font-family: var(--font-heading);
}

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

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(204,0,0,0.15);
  border-color: rgba(204,0,0,0.4);
  box-shadow: 0 0 20px rgba(204,0,0,0.25);
  transform: translateY(-3px);
}

/* ─────────────────────────────────────────────
   WhatsApp Float (Premium)
───────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 24px rgba(37,211,102,0.4), 0 0 50px rgba(37,211,102,0.15);
  z-index: 500;
  animation: float-wa 2.5s ease-in-out infinite;
  transition: var(--transition-spring);
}

.whatsapp-float:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 40px rgba(37,211,102,0.6), 0 0 70px rgba(37,211,102,0.25);
}

/* ─────────────────────────────────────────────
   Chatbot (Premium)
───────────────────────────────────────────── */
.chatbot-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: var(--grad-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: none;
  z-index: 500;
  box-shadow: var(--shadow-red);
  animation: glow-pulse 3s ease-in-out infinite;
  transition: var(--transition-spring);
}

.chatbot-trigger svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.chatbot-trigger:hover {
  transform: scale(1.12) rotate(-5deg);
}

.chatbot-notification {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #4ade80;
  border-radius: 50%;
  border: 2px solid var(--color-bg);
  animation: pulse-dot 2s ease-in-out infinite;
}

.chatbot-window {
  position: fixed;
  bottom: 86px;
  right: 24px;
  width: 360px;
  max-height: 520px;
  background: rgba(10,0,0,0.97);
  border: 1px solid rgba(204,0,0,0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.9), var(--shadow-red);
  backdrop-filter: blur(30px);
  z-index: 501;
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  transform-origin: bottom right;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
  opacity: 0;
}

.chatbot-window.active {
  display: flex;
  transform: translateY(0) scale(1);
  opacity: 1;
}

.chatbot-header {
  background: linear-gradient(135deg, rgba(204,0,0,0.15), rgba(26,95,200,0.08));
  border-bottom: 1px solid rgba(204,0,0,0.2);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-avatar {
  width: 38px;
  height: 38px;
  background: var(--grad-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0 14px rgba(204,0,0,0.5);
  flex-shrink: 0;
  animation: glow-pulse 3s ease-in-out infinite;
}

.chatbot-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.08em;
}

.chatbot-status {
  font-size: 0.72rem;
  color: #4ade80;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}

.chatbot-close {
  margin-left: auto;
  color: var(--color-muted);
  cursor: none;
  font-size: 1rem;
  transition: var(--transition);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.chatbot-close:hover {
  color: white;
  background: rgba(204,0,0,0.2);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar { width: 3px; }
.chatbot-messages::-webkit-scrollbar-track { background: transparent; }
.chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(204,0,0,0.3);
  border-radius: 2px;
}

.chatbot-msg {
  max-width: 88%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.6;
  animation: fade-in-up-sm 0.35s ease both;
}

.chatbot-msg.bot {
  background: rgba(204,0,0,0.1);
  border: 1px solid rgba(204,0,0,0.18);
  border-bottom-left-radius: 4px;
  color: var(--color-text);
  align-self: flex-start;
}

.chatbot-msg.user {
  background: rgba(26,95,200,0.15);
  border: 1px solid rgba(26,95,200,0.25);
  border-bottom-right-radius: 4px;
  color: white;
  align-self: flex-end;
}

.chatbot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 18px 14px;
}

.quick-reply-btn {
  background: rgba(204,0,0,0.08);
  border: 1px solid rgba(204,0,0,0.2);
  border-radius: 50px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  cursor: none;
  transition: var(--transition);
}

.quick-reply-btn:hover {
  background: rgba(204,0,0,0.2);
  border-color: rgba(204,0,0,0.4);
  color: white;
  transform: translateY(-2px);
}

.chatbot-input-row {
  display: flex;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid rgba(204,0,0,0.15);
  background: rgba(0,0,0,0.3);
}

.chatbot-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(204,0,0,0.2);
  border-radius: 50px;
  padding: 10px 16px;
  color: white;
  font-size: 0.88rem;
  transition: var(--transition);
}

.chatbot-input:focus {
  border-color: rgba(204,0,0,0.5);
  background: rgba(204,0,0,0.04);
  box-shadow: 0 0 15px rgba(204,0,0,0.1);
}

.chatbot-input::placeholder {
  color: var(--color-muted);
}

.chatbot-send {
  width: 40px;
  height: 40px;
  background: var(--grad-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: none;
  transition: var(--transition-spring);
  box-shadow: 0 0 15px rgba(204,0,0,0.3);
}

.chatbot-send:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 0 25px rgba(204,0,0,0.5);
}

.chatbot-send svg {
  width: 16px;
  height: 16px;
  fill: white;
}

/* ─────────────────────────────────────────────
   Chat Message Layout (matches chatbot.js DOM)
───────────────────────────────────────────── */
.chat-msg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: fade-in-up-sm 0.35s ease both;
}

.chat-msg.user {
  flex-direction: row-reverse;
}

.chat-msg-avatar {
  width: 30px;
  height: 30px;
  font-size: 1rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(204,0,0,0.1);
  border-radius: 50%;
  border: 1px solid rgba(204,0,0,0.2);
}

.chat-msg.user .chat-msg-avatar {
  background: rgba(26,95,200,0.1);
  border-color: rgba(26,95,200,0.2);
}

.chat-bubble {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text);
}

.chat-msg.bot .chat-bubble {
  background: rgba(204,0,0,0.1);
  border: 1px solid rgba(204,0,0,0.18);
  border-bottom-left-radius: 4px;
}

.chat-msg.user .chat-bubble {
  background: rgba(26,95,200,0.15);
  border: 1px solid rgba(26,95,200,0.25);
  border-bottom-right-radius: 4px;
  color: white;
}

/* Quick reply button (matches .quick-reply in chatbot.js) */
.quick-reply {
  background: rgba(204,0,0,0.08);
  border: 1px solid rgba(204,0,0,0.22);
  border-radius: 50px;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  padding: 7px 14px;
  cursor: none;
  transition: var(--transition);
  white-space: nowrap;
}

.quick-reply:hover {
  background: rgba(204,0,0,0.2);
  border-color: rgba(204,0,0,0.45);
  color: white;
  transform: translateY(-2px);
}

/* Typing indicator dots */
.typing-indicator {
  display: flex;
  gap: 5px;
  align-items: center;
  padding: 4px 0;
}

.typing-indicator span {
  width: 7px;
  height: 7px;
  background: rgba(204,0,0,0.6);
  border-radius: 50%;
  animation: typing 1.2s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

/* ─────────────────────────────────────────────
   Hero Visual Panel (right side graphic)
───────────────────────────────────────────── */
.hero-visual {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: 52%;
  max-width: 680px;
  opacity: 0;
  animation: fade-in 1.2s ease 0.6s both;
  pointer-events: none;
  z-index: 1;
}

.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%),
              linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-composite: intersect;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  filter: saturate(1.2) contrast(1.1);
}

.hero-visual-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at 60% 50%, rgba(204,0,0,0.2) 0%, rgba(26,95,200,0.1) 50%, transparent 80%);
  border-radius: 50%;
  filter: blur(40px);
  animation: orb-drift 12s ease-in-out infinite;
  z-index: -1;
}

/* ─────────────────────────────────────────────
   Tech Marquee Strip
───────────────────────────────────────────── */
.marquee-section {
  padding: 28px 0;
  border-top: 1px solid rgba(204,0,0,0.12);
  border-bottom: 1px solid rgba(204,0,0,0.12);
  overflow: hidden;
  background: linear-gradient(90deg, rgba(204,0,0,0.03), transparent, rgba(26,95,200,0.03));
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee-scroll 28s linear infinite;
  width: max-content;
}

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

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

.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 36px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  white-space: nowrap;
  border-right: 1px solid rgba(204,0,0,0.15);
  transition: color 0.3s ease;
}

.marquee-item:hover { color: white; }

.marquee-dot {
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(204,0,0,0.7);
}

/* ─────────────────────────────────────────────
   About page Founders Grid
───────────────────────────────────────────── */
.founders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 60px;
}

.founder-card {
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.founder-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(204,0,0,0.5), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.founder-card:hover {
  border-color: rgba(204,0,0,0.4);
  box-shadow: var(--shadow-red), var(--shadow-card);
  transform: translateY(-8px);
}

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

.founder-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
  margin-top: 20px;
}

.founder-role {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.founder-bio {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.7;
}

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

.value-card {
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: var(--transition);
}

.value-card:hover {
  border-color: rgba(204,0,0,0.35);
  box-shadow: 0 0 30px rgba(204,0,0,0.1), var(--shadow-card);
  transform: translateY(-6px);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
  transition: var(--transition-spring);
}

.value-card:hover .value-icon {
  transform: scale(1.2) translateY(-4px);
}

.value-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.value-text {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.65;
}
.page-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 9000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.page-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ─────────────────────────────────────────────
   About Page — Team Member Card
───────────────────────────────────────────── */
.team-card {
  text-align: center;
  padding: 48px 32px;
  background: var(--color-glass);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--radius-xl);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(204,0,0,0.07) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.team-card:hover {
  border-color: rgba(204,0,0,0.4);
  box-shadow: var(--shadow-red), var(--shadow-card);
  transform: translateY(-8px);
}

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

/* ─────────────────────────────────────────────
   Responsive
───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 80px 0;
  }

  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .cta-box { padding: 60px 30px; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(6,0,0,0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .hamburger { display: flex; }
  .nav-cta { display: none; }

  .chatbot-window {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 80px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-number { font-size: 2.5rem; }
  .form-container { padding: 30px 20px; }
}
