/**
 * Webs & Tech - Design System & Stylesheet
 * 2026 Dark-First Aesthetic: Deep Charcoal, Electric Accents, Glassmorphism, Clean Typography
 */

:root {
  /* GitHub Dark Mode Color System (Primer Palette) */
  --bg-dark: #0d1117;
  --bg-canvas-subtle: #161b22;
  --bg-card: rgba(22, 27, 34, 0.85);
  --bg-card-hover: rgba(33, 38, 45, 0.95);
  --bg-surface: #161b22;
  --bg-glass: rgba(240, 246, 252, 0.04);
  --border-subtle: #30363d;
  --border-muted: #21262d;
  --border-highlight: #58a6ff;
  --border-glow: rgba(56, 139, 253, 0.35);

  /* GitHub Signature Accents */
  --accent-blue: #2f81f7;
  --accent-cyan: #38bdf8;
  --accent-purple: #a371f7;
  --accent-pink: #d2a8ff;
  --accent-emerald: #238636;
  --accent-green-bright: #3fb950;
  --accent-orange: #f0883e;

  /* GitHub Key Gradients (Globe & Hero Glow) */
  --grad-primary: linear-gradient(135deg, #2f81f7 0%, #a371f7 50%, #d2a8ff 100%);
  --grad-hero: linear-gradient(180deg, rgba(47, 129, 247, 0.15) 0%, rgba(163, 113, 247, 0.08) 50%, rgba(13, 17, 23, 0) 100%);
  --grad-electric: linear-gradient(90deg, #2f81f7, #a371f7);
  --grad-card: linear-gradient(180deg, rgba(240, 246, 252, 0.05) 0%, rgba(240, 246, 252, 0.01) 100%);
  --grad-glow: radial-gradient(circle, rgba(47, 129, 247, 0.18) 0%, rgba(13, 17, 23, 0) 70%);

  /* GitHub Modern Typography: Inter + System Font Stack + JetBrains Mono */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

  --text-white: #f0f6fc;
  --text-primary: #e6edf3;
  --text-muted: #848d97;
  --text-dim: #656c76;

  /* GitHub Glow & Box Shadows */
  --glow-cyan: 0 0 25px rgba(56, 189, 248, 0.2);
  --glow-blue: 0 0 35px rgba(47, 129, 247, 0.25);
  --glow-indigo: 0 0 30px rgba(163, 113, 247, 0.25);
  --shadow-card: 0 12px 36px rgba(1, 4, 9, 0.85);

  /* GitHub Structural Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --radius-xl: 18px;

  /* Header */
  --header-height: 76px;
  --header-compact: 64px;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-dark);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* GitHub Signature Cosmic Ambient Grid & Horizon Light */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(48, 54, 61, 0.3) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(48, 54, 61, 0.3) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(47, 129, 247, 0.16) 0%, rgba(163, 113, 247, 0.1) 40%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-tight {
  padding: 60px 0;
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-blue);
  background: rgba(56, 139, 253, 0.1);
  border: 1px solid rgba(56, 139, 253, 0.35);
  padding: 6px 14px;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  transition: all 0.2s ease;
}

.eyebrow:hover {
  background: rgba(56, 139, 253, 0.18);
  border-color: rgba(56, 139, 253, 0.6);
  transform: translateY(-1px);
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--accent-green-bright);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-green-bright);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* GitHub-grade Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  position: relative;
  text-decoration: none;
  line-height: 1.4;
  user-select: none;
}

/* GitHub Primary Green Action */
.btn-primary {
  background-color: var(--accent-emerald);
  color: #ffffff;
  border-color: rgba(240, 246, 252, 0.1);
  box-shadow: 0 1px 0 rgba(27, 31, 36, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background-color: #2ea043;
  border-color: rgba(240, 246, 252, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(46, 160, 67, 0.35);
}

/* GitHub Secondary Dark Button */
.btn-secondary, .btn-outline {
  background-color: #21262d;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1px 0 rgba(27, 31, 36, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover, .btn-outline:hover {
  background-color: #30363d;
  border-color: #8b949e;
  color: var(--text-white);
  transform: translateY(-1px);
}

/* GitHub Phone & Call Action */
.btn-phone {
  background: rgba(56, 139, 253, 0.1);
  color: #58a6ff;
  border: 1px solid rgba(56, 139, 253, 0.35);
}

.btn-phone:hover {
  background: rgba(56, 139, 253, 0.2);
  border-color: #58a6ff;
  color: #79c0ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(56, 139, 253, 0.25);
}

/* GitHub Container & Border Card (Subtle Primer Aesthetic) */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.glass-card:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card), 0 0 24px rgba(88, 166, 255, 0.15);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(240, 246, 252, 0.2), transparent);
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.35s ease;
  background: rgba(13, 17, 23, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  height: var(--header-compact);
  background: rgba(13, 17, 23, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-white);
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: #21262d;
  color: #58a6ff;
  border: 1px solid var(--border-subtle);
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  transition: all 0.2s ease;
}

.site-logo:hover .logo-badge {
  background: #30363d;
  border-color: #58a6ff;
  color: #79c0ff;
  box-shadow: 0 0 12px rgba(88, 166, 255, 0.4);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

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

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

/* Mega Menu Dropdown */
.nav-item-dropdown {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: 720px;
  background: rgba(22, 27, 34, 0.98);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  backdrop-filter: blur(25px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(88, 166, 255, 0.15);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1001;
}

/* Hover bridge to keep dropdown open during mouse transit */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: transparent;
}

.nav-item-dropdown:hover .mega-menu,
.nav-item-dropdown:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega-column-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-column-title.it {
  color: var(--accent-purple);
}

.mega-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.mega-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.mega-item a:hover {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(4px);
}

.mega-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.mega-column.it .mega-item svg {
  color: var(--accent-purple);
}

/* Header Action Right */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
}

.header-phone:hover {
  color: #58a6ff;
  border-color: rgba(88, 166, 255, 0.4);
  background: rgba(56, 139, 253, 0.1);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  padding: 8px;
}

/* HERO SECTION */
.hero-section {
  min-height: 100vh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 15%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-2 {
  position: absolute;
  top: 30%;
  right: 15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-quick-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

.quick-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-trust-item span.dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
}

/* =====================================================================
   HERO SCROLL-DRIVEN DIGITAL MARKETING FUNNEL (THE 6-STAGE EXPERIENCE)
   ===================================================================== */
.funnel-experience-section {
  position: relative;
  padding: 100px 0 120px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #0d1117 50%, var(--bg-dark) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.funnel-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
}

/* Left: Interactive Sticky Stepper */
.funnel-story {
  position: sticky;
  top: 120px;
}

.funnel-step-indicators {
  display: flex;
  gap: 8px;
  margin-bottom: 2rem;
}

.funnel-pill-btn {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  background: #21262d;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.funnel-pill-btn:hover {
  background: #30363d;
  color: var(--text-white);
  border-color: #8b949e;
}

.funnel-pill-btn.active {
  background: #1f6feb;
  color: #ffffff;
  border-color: #388bfd;
  box-shadow: 0 0 16px rgba(56, 139, 253, 0.4);
}

.funnel-stage-content {
  min-height: 280px;
}

.stage-card {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.stage-card.active {
  display: block;
}

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

.stage-number {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.stage-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.stage-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.stage-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stage-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.stage-bullet svg {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* Right: Animated Dynamic Stage Canvas / Graphic */
.funnel-canvas-wrap {
  position: relative;
  background: #161b22;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), inset 0 0 30px rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.funnel-canvas-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.4), rgba(163, 113, 247, 0.3), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.stage-visual {
  display: none;
  width: 100%;
  animation: zoomFade 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stage-visual.active {
  display: block;
}

@keyframes zoomFade {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Stage 1: Attention Visuals */
.floating-tokens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.attention-token {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.attention-token:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.05);
}

.attention-token svg {
  width: 28px;
  height: 28px;
  color: var(--accent-cyan);
}

.attention-token span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
}

/* Stage 2: Traffic Visuals */
.traffic-pipeline-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stream-bar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.stream-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 600;
}

.progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: var(--grad-primary);
  border-radius: 9999px;
  width: 0%;
  transition: width 1s ease;
}

.stage-visual.active .fill-organic { width: 88%; }
.stage-visual.active .fill-paid { width: 92%; }
.stage-visual.active .fill-direct { width: 78%; }

/* Stage 3: Engagement Visuals */
.engagement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.metric-micro-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.metric-micro-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-micro-info h4 {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.metric-micro-info p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Stage 4: Leads Visuals */
.leads-mock-interface {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.lead-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.lead-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lead-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.lead-tag {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-weight: 600;
}

/* Stage 5: Conversions Visuals */
.funnel-conversion-meter {
  text-align: center;
  padding: 1.5rem;
}

.conversion-radar-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px dashed var(--accent-cyan);
  margin: 0 auto 1.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: rotateSlow 20s linear infinite;
}

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

.conversion-badge-inner {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #05070a;
  font-size: 1.4rem;
  font-weight: 900;
}

/* Stage 6: Growth Visuals */
.growth-final-box {
  text-align: center;
  padding: 1.5rem 1rem;
}

.growth-graph-svg {
  width: 100%;
  height: 180px;
  margin-bottom: 1.5rem;
}

.brand-stamp {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.brand-stamp-tag {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
}

/* 2. TRUST / PLATFORMS SECTION */
.trust-section {
  padding: 40px 0 60px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.trust-title {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 2rem;
}

.platforms-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.7;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.platform-badge:hover {
  opacity: 1;
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* 3. WHAT WE DO (DUAL PILLARS) */
.pillars-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pillar-card.primary-pillar {
  border-color: rgba(0, 240, 255, 0.3);
  background: linear-gradient(180deg, rgba(0, 240, 255, 0.04) 0%, rgba(18, 22, 31, 0.8) 100%);
}

.pillar-card.secondary-pillar {
  border-color: rgba(168, 85, 247, 0.3);
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.04) 0%, rgba(18, 22, 31, 0.8) 100%);
}

.pillar-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.primary-pillar .pillar-tag {
  background: rgba(0, 240, 255, 0.15);
  color: var(--accent-cyan);
}

.secondary-pillar .pillar-tag {
  background: rgba(168, 85, 247, 0.15);
  color: var(--accent-purple);
}

.pillar-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.pillar-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.pillar-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.pillar-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.primary-pillar .pillar-feature-item svg {
  color: var(--accent-cyan);
}

.secondary-pillar .pillar-feature-item svg {
  color: var(--accent-purple);
}

/* 4 & 5. SERVICES GRIDS */
.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.5rem;
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #58a6ff;
  background: var(--bg-card-hover);
  box-shadow: 0 16px 32px rgba(1, 4, 9, 0.8), 0 0 20px rgba(88, 166, 255, 0.15);
}

.service-card.it-card:hover {
  border-color: var(--accent-purple);
  box-shadow: 0 16px 32px rgba(1, 4, 9, 0.8), 0 0 20px rgba(163, 113, 247, 0.2);
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(56, 139, 253, 0.1);
  border: 1px solid rgba(56, 139, 253, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #58a6ff;
  margin-bottom: 1.25rem;
  transition: all 0.25s ease;
}

.service-card.it-card .service-icon-box {
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.2);
  color: var(--accent-purple);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1);
  background: var(--accent-cyan);
  color: #05070a;
  box-shadow: 0 0 20px var(--accent-cyan);
}

.service-card.it-card:hover .service-icon-box {
  background: var(--accent-purple);
  color: #05070a;
  box-shadow: 0 0 20px var(--accent-purple);
}

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--text-white);
}

.service-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-top: auto;
}

.service-card.it-card .service-link {
  color: var(--accent-purple);
}

.service-link svg {
  transition: transform 0.25s ease;
}

.service-card:hover .service-link svg {
  transform: translateX(5px);
}

/* 6. WHY WEBS & TECH */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  position: relative;
  transition: all 0.3s ease;
}

.why-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.why-number {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  display: inline-block;
}

.why-title {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

/* 7. DIGITAL MARKETING PROCESS (01 - 06) */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  transition: all 0.35s ease;
}

.process-step-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.2);
}

.step-badge {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

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

/* 8. INTERACTIVE GROWTH DASHBOARD */
.dashboard-preview-card {
  background: #161b22;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 240, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.dashboard-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dash-title-group h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.dash-disclaimer {
  font-size: 0.78rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
}

.dashboard-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.dash-stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.dash-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.dash-stat-val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-white);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.dash-stat-delta {
  font-size: 0.75rem;
  color: #34d399;
  font-weight: 600;
}

.dashboard-visual-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.dash-chart-box, .dash-funnel-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.dash-chart-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 9. TESTIMONIALS (EDITABLE PLACEHOLDERS) */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-placeholder-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-weight: 700;
}

.author-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* 10. FAQ ACCORDION */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: rgba(0, 240, 255, 0.4);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.5rem 1.8rem;
  color: var(--text-white);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: inherit;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 1.8rem;
}

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

.faq-answer p {
  font-size: 0.98rem;
  line-height: 1.7;
}

/* 11. FINAL CTA SECTION */
.cta-banner {
  background: radial-gradient(circle at 50% 50%, rgba(47, 129, 247, 0.15) 0%, #161b22 70%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.cta-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  margin-bottom: 1.25rem;
}

.cta-desc {
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.15rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* CONTACT PAGE / SECTION FORM */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-method-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all 0.3s ease;
}

.contact-method-card:hover {
  border-color: var(--accent-cyan);
  transform: translateX(4px);
}

.contact-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-details-text a {
  color: var(--accent-cyan);
  font-size: 1.05rem;
  font-weight: 600;
}

.form-shell {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  background: #0d1117;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-white);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 1px 2px rgba(1, 4, 9, 0.5);
}

.form-control:focus {
  outline: none;
  border-color: #58a6ff;
  background: #0d1117;
  box-shadow: 0 0 0 3px rgba(56, 139, 253, 0.3);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* FOOTER */
.site-footer {
  background: #0d1117;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 30px 0;
  position: relative;
  z-index: 2;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-column h4 {
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(3px);
  display: inline-block;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Accessibility Focus States */
:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 3px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .services-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid-3, .why-grid, .process-timeline, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .funnel-container {
    grid-template-columns: 1fr;
  }
  .funnel-story {
    position: static;
  }
}

@media (max-width: 820px) {
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
    background: #0d1117;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    grid-template-columns: 1fr;
    display: none;
    padding: 1rem;
    box-shadow: none;
  }
  .nav-item-dropdown.open-mobile .mega-menu {
    display: grid;
    opacity: 1;
    visibility: visible;
  }
  .mobile-toggle {
    display: block;
  }
  .pillars-grid, .contact-grid, .dashboard-visual-layout {
    grid-template-columns: 1fr;
  }
  .dashboard-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .services-grid-4, .services-grid-3, .why-grid, .process-timeline, .testimonials-grid, .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
  .funnel-step-indicators {
    flex-wrap: wrap;
  }
  .pillar-features-list {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   DEDICATED SERVICE PAGES & KEYFRAME ANIMATIONS
   ===================================================================== */
.service-hero-section {
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 70px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 20%, rgba(0, 240, 255, 0.08) 0%, rgba(10, 12, 16, 0) 70%);
}

.service-hero-section.it-theme {
  background: radial-gradient(circle at 50% 20%, rgba(168, 85, 247, 0.08) 0%, rgba(10, 12, 16, 0) 70%);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
  }
}

/* Animated Interactive Visual Frame for Service Pages */
.service-interactive-graphic {
  position: relative;
  background: #161b22;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), inset 0 0 25px rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: floatCard 6s ease-in-out infinite alternate;
}

@keyframes floatCard {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.service-graphic-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  padding: 6px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.it-theme .service-graphic-badge {
  color: var(--accent-purple);
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.2);
}

.service-metric-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-metric-bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.service-metric-fill {
  height: 8px;
  border-radius: 9999px;
  background: var(--grad-primary);
  animation: expandBar 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.it-theme .service-metric-fill {
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-blue));
}

@keyframes expandBar {
  from { width: 0%; }
}

/* 3-Column Features & Benefits Matrix */
.service-details-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .service-details-matrix {
    grid-template-columns: 1fr;
  }
}

.service-detail-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: all 0.35s ease;
  position: relative;
}

.service-detail-item:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5), var(--glow-cyan);
}

.it-theme .service-detail-item:hover {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 25px rgba(168, 85, 247, 0.25);
}

.service-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.it-theme .service-detail-icon {
  background: rgba(168, 85, 247, 0.1);
  color: var(--accent-purple);
}

.service-back-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}

.service-back-nav:hover {
  color: var(--accent-cyan);
}


/* =====================================================================
   GITHUB SPEC-ENHANCEMENTS: CODE BLOCKS, REPO BADGES & GLOW EFFECTS
   ===================================================================== */
.gh-code-snippet {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #79c0ff;
  background: rgba(110, 118, 129, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(240, 246, 252, 0.1);
}

.hero-glow-1 {
  background: radial-gradient(circle, rgba(47, 129, 247, 0.18) 0%, transparent 70%) !important;
}

.hero-glow-2 {
  background: radial-gradient(circle, rgba(163, 113, 247, 0.16) 0%, transparent 70%) !important;
}

/* Service Metric Fill in GitHub Gradient */
.service-metric-fill {
  background: linear-gradient(90deg, #2f81f7 0%, #a371f7 100%) !important;
}

.it-theme .service-metric-fill {
  background: linear-gradient(90deg, #a371f7 0%, #d2a8ff 100%) !important;
}

/* GitHub Signature Interactive Cursor Spotlight */
.service-card, .glass-card, .pillar-card, .dashboard-preview-card, .service-detail-item {
  position: relative;
}

.service-card::after, .glass-card::after, .pillar-card::after, .dashboard-preview-card::after, .service-detail-item::after {
  content: '';
  position: absolute;
  top: var(--mouse-y, -1000px);
  left: var(--mouse-x, -1000px);
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(56, 139, 253, 0.12) 0%, rgba(163, 113, 247, 0.04) 50%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.service-card:hover::after, .glass-card:hover::after, .pillar-card:hover::after, .dashboard-preview-card:hover::after, .service-detail-item:hover::after {
  opacity: 1;
}

/* =====================================================================
   GLOBAL SCROLL-REVEAL & HERO PARALLAX ANIMATIONS (GITHUB-GRADE)
   ===================================================================== */

/* Scroll-triggered reveal element */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay helpers */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero Parallax Glow and Floating Elements */
.hero-glow-1, .hero-glow-2 {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Subtle continuous breathe animation */
@keyframes heroPulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.65; }
  50% { transform: scale(1.08) translate(15px, -15px); opacity: 0.85; }
  100% { transform: scale(1) translate(0, 0); opacity: 0.65; }
}

.hero-glow-1 {
  animation: heroPulseGlow 9s ease-in-out infinite alternate;
}

.hero-glow-2 {
  animation: heroPulseGlow 12s ease-in-out infinite alternate-reverse;
}

/* Dedicated Service Page Highlights & Aesthetics */
.service-hero-section {
  position: relative;
  overflow: hidden;
}

.service-hero-section::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(56, 139, 253, 0.15) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.service-hero-section.it-theme::before {
  background: radial-gradient(circle, rgba(163, 113, 247, 0.15) 0%, transparent 70%);
}

/* Enhanced Visual Card Depth */
.service-interactive-graphic {
  border: 1px solid rgba(88, 166, 255, 0.25);
  box-shadow: 0 20px 50px rgba(1, 4, 9, 0.8), 0 0 30px rgba(56, 139, 253, 0.15);
}

.it-theme .service-interactive-graphic {
  border-color: rgba(163, 113, 247, 0.3);
  box-shadow: 0 20px 50px rgba(1, 4, 9, 0.8), 0 0 30px rgba(163, 113, 247, 0.18);
}

/* Progress track GitHub styling */
.progress-track {
  width: 100%;
  height: 8px;
  background: rgba(240, 246, 252, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
}

/* Feature Item Icon Hover Animation */
.service-detail-item:hover .service-detail-icon {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 0 20px rgba(88, 166, 255, 0.3);
}

.it-theme .service-detail-item:hover .service-detail-icon {
  box-shadow: 0 0 20px rgba(163, 113, 247, 0.35);
}

.service-detail-icon {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* About Page Timeline & Story Enhancements */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

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

.about-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  text-align: center;
}

.about-stat-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: #58a6ff;
  font-family: var(--font-sans);
  margin-bottom: 0.5rem;
}

.about-stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
}
