/* ==========================================================================
   TECHSUKRAS STORYTELLING MASTER DESIGN SYSTEM (storytelling-master.css)
   Cinematic, High-Impact, Super Vibrant, Sliding Stories & Interactive Utilities
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  /* Ultra-Luminous Deep Cyber Palette */
  --bg-void: #050711;
  --bg-deep: #080d1e;
  --bg-surface: rgba(15, 23, 42, 0.75);
  --bg-surface-elevated: rgba(22, 33, 62, 0.85);
  --bg-glass: rgba(15, 23, 42, 0.65);
  --bg-glass-strong: rgba(15, 23, 42, 0.92);

  /* Vivid Electric & Neon Brand Colors */
  --neon-cyan: #00f2fe;
  --neon-blue: #38bdf8;
  --electric-indigo: #6366f1;
  --cyber-purple: #a855f7;
  --neon-pink: #ec4899;
  --emerald-green: #10b981;
  --bright-amber: #f59e0b;

  /* High-Contrast Multi-Stop Gradients */
  --grad-hero: linear-gradient(135deg, #00f2fe 0%, #38bdf8 30%, #818cf8 70%, #c084fc 100%);
  --grad-cyan-blue: linear-gradient(135deg, #00f2fe 0%, #3b82f6 100%);
  --grad-purple-pink: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  --grad-emerald-cyan: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --grad-amber-orange: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  --grad-card-glow: linear-gradient(135deg, rgba(56, 189, 248, 0.4), rgba(168, 85, 247, 0.4));

  /* Ultra-Crisp High-Contrast Text */
  --text-pure: #ffffff;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-accent: #38bdf8;

  /* Glowing Borders & Shadows */
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-neon: rgba(56, 189, 248, 0.35);
  --border-glow-hover: rgba(0, 242, 254, 0.6);
  --glow-cyan-sm: 0 0 20px rgba(0, 242, 254, 0.3);
  --glow-cyan-lg: 0 0 45px rgba(0, 242, 254, 0.55);
  --glow-purple-lg: 0 0 45px rgba(168, 85, 247, 0.5);
  --shadow-bento: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.15);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-mono: 'Space Grotesk', monospace;
  --font-code: 'JetBrains Mono', monospace;
}

/* Global Reset & Base */
html {
  scroll-behavior: smooth;
  box-sizing: border-box;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

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

/* Ambient Canvas Mesh Background */
.story-ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 15%, rgba(99, 102, 241, 0.22) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(0, 242, 254, 0.20) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(16, 185, 129, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(236, 72, 153, 0.14) 0%, transparent 40%),
    linear-gradient(to bottom, #050711 0%, #080d1e 100%);
}

.story-grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-pure);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-title {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

.gradient-text {
  background: var(--grad-cyan-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
}

/* Master Container */
.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Story Chapters Header System */
.chapter-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 20px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
  margin-bottom: 1.2rem;
}

.chapter-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 12px var(--neon-cyan);
  animation: pulseNeon 2s infinite ease-in-out;
}

@keyframes pulseNeon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.6; }
}

.section-header {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 3.8rem auto;
  position: relative;
}

.section-title {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8);
}

.section-subtitle {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================================================
   HERO SECTION (CHAPTER 1) - VIDEO + 3D CUBE + TELEMETRY
   ========================================================================== */
.custom-hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding: 120px 0 60px 0;
  overflow: hidden;
  background: #050711;
}

.custom-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.custom-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) contrast(1.15) saturate(1.2);
}

.custom-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5, 7, 17, 0.8) 0%, rgba(8, 13, 30, 0.65) 50%, rgba(5, 7, 17, 0.85) 100%);
  z-index: 1;
}

.hero-flex-container {
  position: relative;
  z-index: 10;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 50px;
  align-items: center;
}

/* 3D Cube Stage on Left - Isolated with zero text interference */
.hero-cube-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
  min-width: 300px;
  z-index: 10;
}

.ethics-container {
  width: 240px !important;
  height: 240px !important;
  position: relative !important;
  perspective: 1200px !important;
  perspective-origin: 50% 50% !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cube {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.cube-face {
  position: absolute;
  width: 240px !important;
  height: 240px !important;
  background: rgba(15, 23, 42, 0.92) !important;
  border: 2px solid rgba(56, 189, 248, 0.6) !important;
  border-radius: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 22px !important;
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.3), inset 0 0 20px rgba(56, 189, 248, 0.15) !important;
  backdrop-filter: blur(14px);
  user-select: none;
}

.cube-face img {
  width: 80% !important;
  height: 80% !important;
  object-fit: contain !important;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.5));
  pointer-events: none;
}

.cube-hint {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 5px 16px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

/* Hero Content on Right - High z-index with zero overlap */
.custom-hero-content {
  position: relative;
  z-index: 20;
  max-width: 780px;
}
.custom-hero-title {
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.4rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.custom-hero-description {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.4rem;
  max-width: 720px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 3rem;
}

.custom-hero-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-hero-button.primary-btn {
  background: var(--grad-hero);
  color: #ffffff;
  border: none;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.5);
}

.custom-hero-button.primary-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.8);
}

.custom-hero-button.secondary-btn {
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  color: #ffffff;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.custom-hero-button.secondary-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan-sm);
}

/* Live Telemetry Metric Strip */
.hero-telemetry-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 20px 28px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  box-shadow: var(--shadow-bento);
  backdrop-filter: blur(16px);
  max-width: 760px;
}

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

.telemetry-val {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.telemetry-val span {
  color: var(--neon-cyan);
}

.telemetry-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* ==========================================================================
   ADITHYAN 3D MASCOT SPOTLIGHT BANNER (CHAPTER 2) - WORLD CLASS REDESIGN
   ========================================================================== */
.mascot-spotlight-section {
  padding: 40px 0 80px 0;
  position: relative;
  z-index: 10;
}

.mascot-spotlight-card {
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(20, 32, 65, 0.92) 50%, rgba(15, 23, 42, 0.98) 100%) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.45) !important;
  border-radius: 32px !important;
  padding: 45px 50px !important;
  display: grid !important;
  grid-template-columns: 260px 1fr !important;
  gap: 45px !important;
  align-items: center !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(0, 242, 254, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  position: relative !important;
  overflow: hidden !important;
  backdrop-filter: blur(20px) !important;
}

.mascot-content-wrapper {
  min-width: 0 !important;
  width: 100% !important;
}

.mascot-spotlight-card::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.mascot-avatar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  flex-shrink: 0;
}

.mascot-spotlight-img {
  width: 240px;
  height: 240px;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.4), inset 0 0 20px rgba(56, 189, 248, 0.2);
  background: linear-gradient(135deg, rgba(11, 18, 38, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  position: relative;
}

.mascot-spotlight-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mascot-spotlight-card:hover .mascot-spotlight-img img {
  transform: scale(1.06);
}

.mascot-live-pulse {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 12px #10b981;
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.mascot-founder-tag h4 {
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 2px;
  font-weight: 800;
}

.mascot-founder-tag span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--neon-cyan);
  background: rgba(0, 242, 254, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: inline-block;
}

.mascot-card-title {
  font-size: clamp(1.8rem, 2.8vw, 2.3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.mascot-card-quote {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
  border-left: 3px solid var(--neon-cyan);
  padding-left: 18px;
}

.mascot-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.mascot-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(11, 18, 38, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 14px;
  padding: 14px 16px;
  transition: all 0.25s ease;
}

.mascot-pillar-item:hover {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.mascot-pillar-icon {
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.mascot-pillar-item strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.mascot-pillar-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

.mascot-action-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 1024px) {
  .mascot-spotlight-card {
    grid-template-columns: 1fr !important;
    text-align: center;
    padding: 35px 25px !important;
  }
  .mascot-card-quote {
    border-left: none;
    padding-left: 0;
  }
  .mascot-pillars-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .mascot-action-row {
    justify-content: center;
  }
}

/* ==========================================================================
   SERVICES & CORE STACK (CHAPTER 3)
   ========================================================================== */
.features {
  padding: 100px 0;
  max-width: 1360px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

.feature-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(22, 33, 62, 0.95) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  border-radius: 26px;
  padding: 45px 36px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-bento);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--grad-cyan-blue);
  opacity: 0.9;
}

.feature-card:nth-child(2)::before {
  background: var(--grad-purple-pink);
}

.feature-card:nth-child(3)::before {
  background: var(--grad-emerald-cyan);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--neon-cyan);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 242, 254, 0.35);
}

.feature-card i {
  font-size: 2.4rem;
  color: var(--neon-cyan);
  width: 65px;
  height: 65px;
  border-radius: 18px;
  background: rgba(0, 242, 254, 0.12);
  border: 1px solid rgba(0, 242, 254, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
}

.feature-card:nth-child(2) i {
  color: var(--neon-pink);
  background: rgba(236, 72, 153, 0.12);
  border-color: rgba(236, 72, 153, 0.3);
  box-shadow: 0 0 20px rgba(236, 72, 153, 0.25);
}

.feature-card:nth-child(3) i {
  color: var(--emerald-green);
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.25);
}

.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.68;
}

/* ==========================================================================
   SLIDING & GRID PORTFOLIO SHOWCASE (CLIENT PROJECTS & WEBSITES)
   ========================================================================== */
.projects-section {
  padding: 100px 0;
  max-width: 1360px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Filter Tab System */
.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--grad-cyan-blue);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.45);
}

/* Projects Grid System */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.project-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(20, 32, 60, 0.95) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.22);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-bento);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
}

.project-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--neon-cyan);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(0, 242, 254, 0.35);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  padding: 24px;
  background: linear-gradient(135deg, rgba(11, 17, 36, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
  transition: transform 0.4s ease;
}

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

.project-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-info h3 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.project-info p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.view-project {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--neon-cyan);
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: auto;
}

.view-project::after {
  content: '→';
  transition: transform 0.25s ease;
}

.view-project:hover {
  color: #ffffff;
  gap: 12px;
  text-shadow: 0 0 10px var(--neon-cyan);
}

/* ==========================================================================
   INTERACTIVE SCOPE & COST ESTIMATOR UTILITY (SUPER USEFUL)
   ========================================================================== */
.estimator-section {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(5, 7, 17, 0.9) 0%, rgba(15, 23, 42, 0.95) 50%, rgba(5, 7, 17, 0.9) 100%);
}

.estimator-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(25, 38, 75, 0.95) 100%);
  border: 2px solid rgba(56, 189, 248, 0.4);
  border-radius: 32px;
  padding: 50px 45px;
  box-shadow: var(--shadow-bento), var(--glow-cyan-sm);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.estimator-group-title {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.estimator-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.estimator-chip {
  padding: 10px 20px;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.25s ease;
}

.estimator-chip:hover, .estimator-chip.active {
  background: rgba(0, 242, 254, 0.15);
  border-color: var(--neon-cyan);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.estimator-summary-card {
  background: rgba(11, 18, 38, 0.9);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.estimator-result-val {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--neon-cyan);
  font-family: var(--font-heading);
  margin: 10px 0;
}

/* ==========================================================================
   AFFILIATE PARTNER SECTION (GLOWING 20% COMMISSION)
   ========================================================================== */
.affiliate-home-section {
  padding: 110px 0;
  background: linear-gradient(180deg, rgba(5, 7, 17, 0.5) 0%, rgba(15, 23, 42, 0.85) 50%, rgba(5, 7, 17, 0.5) 100%);
  border-top: 1px solid rgba(56, 189, 248, 0.15);
  border-bottom: 1px solid rgba(56, 189, 248, 0.15);
}

.affiliate-featured-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(26, 38, 74, 0.95) 100%);
  border: 2px solid rgba(56, 189, 248, 0.4);
  border-radius: 32px;
  padding: 60px 45px;
  max-width: 880px;
  margin: 40px auto 0;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), var(--glow-cyan-sm);
}

/* ==========================================================================
   INTEGRATIONS SECTION
   ========================================================================== */
.integrations-section {
  padding: 110px 0;
  max-width: 1360px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.integration-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 45px;
}

.integration-tab {
  padding: 12px 28px;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}

.integration-tab:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.3);
}

.integration-tab.active {
  background: var(--grad-cyan-blue);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.55);
}

.diagram-wrapper {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
  border: 2px solid rgba(56, 189, 248, 0.35);
  border-radius: 28px;
  padding: 40px;
  box-shadow: var(--shadow-bento);
}

/* ==========================================================================
   CALL TO ACTION & FOOTER
   ========================================================================== */
.cta-section {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(5, 7, 17, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  border-top: 1px solid rgba(56, 189, 248, 0.25);
}

.cta-title {
  font-size: clamp(2.5rem, 4.2vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}

.cta-button-primary {
  padding: 18px 46px;
  background: var(--grad-hero);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.55);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-button-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 0 55px rgba(0, 242, 254, 0.85);
}

.cta-button-secondary {
  padding: 18px 40px;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(56, 189, 248, 0.5);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.cta-button-secondary:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan-sm);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-flex-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .custom-hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-telemetry-bar {
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto;
  }

  .mascot-spotlight-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mascot-spotlight-img {
    max-width: 220px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .estimator-grid {
    grid-template-columns: 1fr;
  }
}

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

/* ==========================================================================
   SUPER VIBRANT FOOTER SYSTEM (High-contrast, glowing accents, glass aesthetics)
   ========================================================================== */
.main-footer {
  background: linear-gradient(180deg, #050711 0%, #080d1e 100%) !important;
  color: #cbd5e1 !important;
  padding: 5rem 0 2.5rem !important;
  border-top: 1.5px solid rgba(56, 189, 248, 0.35) !important;
  position: relative !important;
  z-index: 10 !important;
  box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(0, 242, 254, 0.2) !important;
}

.footer-content {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr !important;
  gap: 3.5rem !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
}

.footer-column h4 {
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  position: relative !important;
  display: inline-block !important;
}

.footer-column h4::after {
  content: '' !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -6px !important;
  width: 28px !important;
  height: 2px !important;
  background: var(--grad-cyan-blue) !important;
  border-radius: 2px !important;
  box-shadow: 0 0 8px rgba(0, 242, 254, 0.6) !important;
}

.footer-brand {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  margin-bottom: 1.25rem !important;
}

.footer-logo {
  width: 54px !important;
  height: 54px !important;
  object-fit: contain !important;
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.4) !important;
  border-radius: 12px !important;
  padding: 6px !important;
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.3) !important;
}

.brand-name {
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.5px !important;
}

.footer-description {
  color: #94a3b8 !important;
  line-height: 1.7 !important;
  margin-bottom: 1.8rem !important;
  font-size: 0.98rem !important;
}

.footer-column ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-column ul li {
  margin-bottom: 0.9rem !important;
}

.footer-column ul li a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 0.98rem !important;
  font-weight: 500 !important;
  transition: all 0.25s ease !important;
  display: inline-block !important;
}

.footer-column ul li a:hover {
  color: var(--neon-cyan) !important;
  transform: translateX(4px) !important;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.5) !important;
}

.contact-list li {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 1.1rem !important;
  color: #cbd5e1 !important;
  font-size: 0.98rem !important;
}

.contact-list i {
  color: var(--neon-cyan) !important;
  font-size: 1.1rem !important;
  flex-shrink: 0 !important;
  filter: drop-shadow(0 0 8px rgba(0, 242, 254, 0.4)) !important;
}

.contact-list a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: color 0.25s ease !important;
}

.contact-list a:hover {
  color: var(--neon-cyan) !important;
}

.footer-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: var(--grad-cyan-blue) !important;
  color: #ffffff !important;
  padding: 12px 24px !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  font-family: var(--font-heading) !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  margin-top: 1.25rem !important;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4) !important;
  transition: all 0.25s ease !important;
}

.footer-cta-btn:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.6) !important;
}

.social-links {
  display: flex !important;
  gap: 12px !important;
}

.social-links a {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: rgba(15, 23, 42, 0.9) !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 1.1rem !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.social-links a:hover {
  background: var(--grad-cyan-blue) !important;
  border-color: transparent !important;
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.6) !important;
  transform: translateY(-3px) !important;
}

.footer-bottom {
  margin-top: 3.5rem !important;
  padding-top: 2rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.footer-bottom-content {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  font-size: 0.92rem !important;
  color: #94a3b8 !important;
}

.footer-legal {
  display: flex !important;
  gap: 1.8rem !important;
}

.footer-legal a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.25s ease !important;
}

.footer-legal a:hover {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4) !important;
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr !important;
    gap: 2.5rem !important;
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .footer-bottom-content {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1.2rem !important;
  }
  .footer-legal {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }
}

/* ==========================================================================
   PORTFOLIO STICKY MASTER FILTER BAR
   ========================================================================== */
.portfolio-sticky-filter-wrap {
  position: sticky;
  top: 70px;
  z-index: 90;
  padding: 16px 0;
  background: rgba(5, 7, 17, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  margin-bottom: 30px;
}

.portfolio-filter-bar.master-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 auto;
}

.portfolio-main-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(15, 23, 42, 0.9);
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.portfolio-main-filter-btn i {
  color: var(--neon-cyan);
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.portfolio-main-filter-btn:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: var(--neon-cyan);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.portfolio-main-filter-btn:hover i {
  transform: scale(1.15);
}

.portfolio-main-filter-btn.active {
  background: var(--grad-cyan-blue);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
  transform: scale(1.04);
}

.portfolio-main-filter-btn.active i {
  color: #ffffff;
}

@media (max-width: 768px) {
  .portfolio-sticky-filter-wrap {
    top: 60px;
    padding: 10px 0;
  }
  .portfolio-filter-bar.master-filter-bar {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 6px 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .portfolio-filter-bar.master-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .portfolio-main-filter-btn {
    white-space: nowrap;
    padding: 10px 18px;
    font-size: 0.88rem;
  }
}

