/* ==========================================================================
   codetodev — High-Craft Luminous SaaS & Agency Design System
   Inspired by Scriptix: Soft Sky Blue, Warm Golden Sunlight, Frosted Glass & Uppercase Geometric Typography
   ========================================================================== */

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

/* --- Root Design Tokens --- */
:root {
  /* Luminous Atmospheric Canvas (Sampled from Screenshot) */
  --bg-sky-light: #E7F6FE;
  --bg-sky-vibrant: #BAE6FD;
  --bg-warm-amber: #FEF3C7;
  --bg-warm-glow: #FDE68A;
  --bg-pearl: #FAFCFE;

  /* Frosted Glass Surfaces */
  --glass-card: rgba(255, 255, 255, 0.88);
  --glass-card-hover: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.95);
  --glass-border-subtle: rgba(2, 132, 199, 0.15);

  /* Typography Colors */
  --text-primary: #0F172A;       /* Deep Obsidian Charcoal */
  --text-secondary: #334155;     /* Slate-700 Reading Gray */
  --text-muted: #64748B;         /* Slate-500 Label Gray */
  --text-white: #FFFFFF;

  /* Software Blue Accents (Strictly Zero Red) */
  --brand-blue: #0284C7;         /* Vivid Sky / Cobalt Blue from screenshot */
  --brand-blue-hover: #0369A1;
  --brand-blue-soft: rgba(2, 132, 199, 0.08);
  --brand-blue-glow: rgba(2, 132, 199, 0.28);
  
  --brand-cyan: #06B6D4;         /* Cyan Bracket Accent */
  --brand-indigo: #4F46E5;       /* Modern Tech Indigo */
  --brand-emerald: #10B981;      /* Status Green */

  /* Semantic Surface & Compatibility Tokens (Light Default -> Overridden by [data-theme="dark"]) */
  --brand-primary: var(--brand-blue);
  --emerald: var(--brand-emerald);
  --text-charcoal: var(--text-primary);
  --surface-solid: #FFFFFF;
  --surface-soft: #F8FAFC;
  --surface-pill: rgba(255, 255, 255, 0.85);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-hairline: rgba(0, 0, 0, 0.06);
  --hairline: rgba(15, 23, 42, 0.09);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 12px 36px -6px rgba(14, 165, 233, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 24px 48px -8px rgba(14, 165, 233, 0.20), 0 8px 16px -2px rgba(15, 23, 42, 0.06);
  --shadow-btn: 0 6px 20px rgba(2, 132, 199, 0.35);

  /* Typography Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-code: 'Fira Code', 'JetBrains Mono', monospace;
  --font-mono: 'JetBrains Mono', monospace;

  /* Standard Proportions */
  --container-max: 1220px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  /* Easing */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Global Reset & Background Glow Atmosphere --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Seamless continuous fluid scroll layout with rich luminous color grade */
html {
  width: 100%;
  min-height: 100%;
  scroll-behavior: smooth;
  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;
}

body {
  width: 100%;
  min-height: 100%;
  background: linear-gradient(180deg, #FAFCFD 0%, #EEF2F6 22%, #F5F7FA 52%, #E8EDF3 78%, #DFE5EC 100%);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.35s ease, color 0.3s ease;
}

/* Radiant Sky-Amber Ambient Background (Enriched & Promising Color Grade) */
.luminous-bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Top-Left Soft Radiant Cyan & Sky Blue */
.bg-aura-sky-left {
  position: absolute;
  top: -10%;
  left: -8%;
  width: 68vw;
  height: 75vh;
  background: radial-gradient(circle at 35% 35%, rgba(6, 182, 212, 0.32) 0%, rgba(56, 189, 248, 0.45) 30%, rgba(186, 230, 253, 0.75) 55%, transparent 78%);
  filter: blur(80px);
  animation: auraFloat1 18s ease-in-out infinite alternate;
}

/* Top-Right Warm Golden Sunlight Amber */
.bg-aura-amber-right {
  position: absolute;
  top: -6%;
  right: -6%;
  width: 62vw;
  height: 70vh;
  background: radial-gradient(circle at 65% 35%, rgba(245, 158, 11, 0.28) 0%, rgba(254, 243, 199, 0.85) 38%, rgba(253, 230, 138, 0.45) 60%, transparent 78%);
  filter: blur(85px);
  animation: auraFloat2 22s ease-in-out infinite alternate;
}

/* Center Soft Electric Indigo Aura */
.bg-aura-indigo-center {
  position: absolute;
  top: 32%;
  left: 22%;
  width: 58vw;
  height: 58vh;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.20) 0%, rgba(79, 70, 229, 0.12) 38%, rgba(6, 182, 212, 0.14) 62%, transparent 78%);
  filter: blur(90px);
  animation: auraFloat2 25s ease-in-out infinite alternate;
}

/* Bottom Radiant Ice Blue Glow */
.bg-aura-sky-bottom {
  position: absolute;
  bottom: -12%;
  left: 12%;
  width: 78vw;
  height: 65vh;
  background: radial-gradient(circle at 50% 60%, rgba(14, 165, 233, 0.32) 0%, rgba(186, 230, 253, 0.75) 42%, rgba(224, 242, 254, 0.4) 65%, transparent 80%);
  filter: blur(85px);
  animation: auraFloat1 20s ease-in-out infinite alternate-reverse;
}

/* Tech Architectural Grid Overlay for Software Vibe */
.tech-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.85) 0%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.85) 0%, transparent 88%);
  pointer-events: none;
}

/* Interactive Ambient Canvas for dynamic software particles & circuit nodes */
#luminous-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   AMBIENT SCROLL & HOVER BACKDROP VEIL
   Dynamically blurs and darkens canvas on scroll and card hovering
   ========================================================================== */
#ambient-backdrop-veil {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  background: rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
  transform: translateZ(0);
}

/* ONLY when actively scrolling: blur the background (GPU composited opacity transition) */
body.is-actively-scrolling #ambient-backdrop-veil {
  opacity: 1;
}

body.nav-warp-active #ambient-backdrop-veil {
  opacity: 1;
  background: rgba(2, 132, 199, 0.14);
}

@keyframes auraFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(35px, 25px) scale(1.06); }
}

@keyframes auraFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 35px) scale(0.96); }
}

/* ==========================================================================
   SEAMLESS CONTINUOUS SCROLL CONTAINER & SECTIONS
   ("Merged pages, seamless fluid scroll flow")
   ========================================================================== */
.seamless-scroll-container,
.fullpage-scroll-container {
  width: 100%;
  min-height: 100vh;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.seamless-section,
.fullpage-section {
  width: 100%;
  position: relative;
  padding: clamp(5.5rem, 9vh, 8rem) clamp(1.5rem, 4vw, 3.5rem);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Hero Section: Generous Full-Viewport Breathing Room with Bottom-Anchored Marquee & Explore */
#hero-panel.seamless-section,
#hero-panel.fullpage-section {
  min-height: 100vh;
  padding-top: clamp(6.5rem, 10vh, 8rem);
  padding-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-split-grid {
  margin-top: auto;
  margin-bottom: auto;
}

.hero-bottom-container {
  width: 100%;
  max-width: var(--container-max);
  margin-top: auto;
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 10;
}

/* Seamless Section Architectural Divider (Hidden for unbroken continuous flow) */
.section-divider-seamless {
  display: none !important;
}

.section-divider-badge {
  display: none !important;
}

/* --- Container Ratio --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   FLOATING FROSTED GLASS NAVBAR & EYE-CATCHY LOGO GLASS MODE
   (Auto-Hides on Scroll Down with Vanish Animation, Slides In on Scroll Up or Top Hover)
   ========================================================================== */
#top-nav-hover-zone {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 28px;
  z-index: 99;
  pointer-events: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem clamp(1.5rem, 4vw, 3.5rem);
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.35s ease,
              filter 0.35s ease;
  will-change: transform, opacity;
  transform: translateY(0);
  opacity: 1;
}

/* Hidden state: features go up and vanish with a smooth animation */
.site-header.header-hidden {
  transform: translateY(-118%);
  opacity: 0;
  filter: blur(4px);
  pointer-events: none !important;
}

/* Revealed state: features slide out smoothly with a spring cubic-bezier animation */
.site-header.header-visible {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0px);
  pointer-events: none;
}

.nav-inner-bar {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}

/* --- EYE-CATCHY TRANSPARENT GLASS LOGO BADGE WITH RADIANT GLOW --- */
.brand-glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.45); /* Ultra-clean transparent glass */
  backdrop-filter: blur(30px) saturate(210%);
  -webkit-backdrop-filter: blur(30px) saturate(210%);
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  border-radius: 22px;
  padding: 0.55rem 1.35rem;
  box-shadow: 
    0 16px 40px -6px rgba(2, 132, 199, 0.22),
    0 4px 14px rgba(15, 23, 42, 0.05),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.95),
    inset 0 -1px 2px rgba(2, 132, 199, 0.12);
  text-decoration: none;
  transition: all 0.35s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

/* Ambient backlight glow radiating THROUGH the transparent glass */
.brand-glass-glow {
  position: absolute;
  top: 50%;
  left: 32%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 55px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.6) 0%, rgba(6, 182, 212, 0.38) 45%, rgba(79, 70, 229, 0.2) 70%, transparent 85%);
  filter: blur(14px);
  pointer-events: none;
  animation: logoPulseGlow 4s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes logoPulseGlow {
  0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.65; }
  100% { transform: translate(-50%, -50%) scale(1.25); opacity: 1; }
}

.brand-glass-badge:hover {
  transform: translateY(-3px) scale(1.025);
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(2, 132, 199, 0.5);
  box-shadow: 
    0 24px 50px -8px rgba(2, 132, 199, 0.32),
    0 6px 18px rgba(15, 23, 42, 0.08),
    inset 0 2px 3px rgba(255, 255, 255, 1);
}

/* Specular light gleam passing through the transparent glass */
.brand-glass-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -80%;
  width: 45%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.85) 50%,
    transparent 100%
  );
  transform: rotate(25deg);
  animation: logoGleam 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}

@keyframes logoGleam {
  0%, 70% { left: -80%; }
  100% { left: 150%; }
}

/* Logo Glowing Through the Transparent Glass */
.brand-logo-img {
  height: clamp(48px, 4.4vw, 58px);
  width: auto;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 16px rgba(2, 132, 199, 0.6)) drop-shadow(0 0 32px rgba(79, 70, 229, 0.35));
  transition: filter 0.3s ease;
}

.brand-glass-badge:hover .brand-logo-img {
  filter: drop-shadow(0 0 22px rgba(2, 132, 199, 0.85)) drop-shadow(0 0 45px rgba(6, 182, 212, 0.55));
}

.brand-logo-dark {
  display: none;
}

.brand-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.09);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  position: relative;
  z-index: 2;
}

.status-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseLiveDot 2s infinite ease-in-out;
}

@keyframes pulseLiveDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.status-live-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #059669;
}

.status-live-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #059669;
}

/* Backwards compatibility for old anchor if used */
.brand-anchor {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* Floating Center Capsule */
.nav-capsule-center {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-link-pill {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-link-pill:hover,
.nav-link-pill.active {
  color: var(--brand-blue);
  font-weight: 600;
}

/* Right Nav Actions Container (Theme Toggle + Contact) */
.nav-right-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  pointer-events: auto;
}

/* Tactile Frosted Glass Dark / Light Mode Toggle Pill */
.theme-toggle-pill {
  background: var(--surface-pill);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.6rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
  pointer-events: auto;
  user-select: none;
}

.theme-toggle-pill:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.theme-toggle-pill:active {
  transform: scale(0.95);
}

.theme-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease-spring);
}

.theme-toggle-pill:hover .theme-toggle-icon {
  transform: rotate(-16deg) scale(1.1);
}

.theme-icon-sun {
  display: none;
  color: #FBBF24;
}

.theme-icon-moon {
  display: inline-flex;
  color: #4F46E5;
}

[data-theme="dark"] .theme-icon-sun {
  display: inline-flex;
}

[data-theme="dark"] .theme-icon-moon {
  display: none;
}

@media (max-width: 520px) {
  .theme-toggle-pill {
    padding: 0.58rem 0.68rem;
  }
  .theme-toggle-label {
    display: none;
  }
}

/* Right Nav Contact Dropdown Action */
.nav-contact-dropdown-wrap {
  position: relative;
  display: inline-block;
  pointer-events: auto;
}

.btn-nav-action {
  background: #FFFFFF;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.45rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: all 0.25s var(--ease-spring);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-nav-action:hover,
.nav-contact-dropdown-wrap:hover .btn-nav-action,
.nav-contact-dropdown-wrap.dropdown-open .btn-nav-action {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

.nav-contact-dropdown-wrap:hover .nav-contact-dropdown-menu,
.nav-contact-dropdown-wrap.dropdown-open .nav-contact-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-contact-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 295px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 0.65rem;
  box-shadow: 0 20px 45px -8px rgba(2, 132, 199, 0.24), 0 6px 18px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 120;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.nav-contact-drop-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 12px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.nav-contact-drop-item:hover {
  background: #FFFFFF;
  border-color: var(--brand-blue);
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
}

.contact-item-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon.icon-wa {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
}

.contact-item-icon.icon-email {
  background: rgba(2, 132, 199, 0.15);
  color: var(--brand-blue);
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-item-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.contact-item-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 1px;
}

.contact-item-arrow {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.nav-contact-drop-item:hover .contact-item-arrow {
  color: var(--brand-blue);
  transform: translateX(2px);
}

.nav-contact-drop-footer {
  padding: 0.5rem 0.75rem 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-blue);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
  margin-top: 0.2rem;
}

.nav-contact-drop-footer:hover {
  color: var(--brand-blue-hover);
}

/* ==========================================================================
   FLOATING SECTION DOCK (RIGHT SIDE 01-06 NAVIGATION)
   ========================================================================== */
.floating-section-dock {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  z-index: 90;
}

.section-dock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.4);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  position: relative;
  padding: 0;
}

.section-dock-dot:hover,
.section-dock-dot.active {
  background: var(--brand-blue);
  transform: scale(1.35);
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.5);
}

.section-dock-dot::before {
  content: attr(data-tooltip);
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.85);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.section-dock-dot:hover::before {
  opacity: 1;
}

/* ==========================================================================
   SCRIPTIX HERO SECTION & TYPOGRAPHY
   ========================================================================== */
.hero-split-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  width: 100%;
}

/* Frosted Micro Tag Pill */
.hero-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.38rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  margin-bottom: 1.25rem;
}

.hero-tag-pill svg {
  color: var(--brand-blue);
}

/* Exact Uppercase Geometric Sans-Serif Headline */
.hero-title-uppercase {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 4.3vw, 3.6rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.accent-brace {
  color: var(--brand-blue);
  font-weight: 700;
  display: inline-block;
  padding: 0 2px;
}

.hero-subheadline {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 500px;
  margin-bottom: 2rem;
}

/* Button Group */
.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-blue-solid {
  background: var(--brand-blue);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.78rem 1.75rem;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: var(--shadow-btn);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
}

.btn-blue-solid:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
  color: #FFFFFF;
}

.btn-white-pill {
  background: #FFFFFF;
  color: var(--text-primary);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.78rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
}

.btn-white-pill:hover {
  background: #F8FAFC;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   RIGHT HERO VISUAL: MAC SCREENSHOT CODE WINDOW (TRANSPARENT GLASS & INTERACTIVE)
   ========================================================================== */
.hero-code-visual-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

/* Authentic macOS Transparent Glass Window */
.code-window-main {
  width: 100%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.48); /* True transparent glass */
  backdrop-filter: blur(32px) saturate(210%);
  -webkit-backdrop-filter: blur(32px) saturate(210%);
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  box-shadow: 
    0 28px 65px -12px rgba(2, 132, 199, 0.22),
    0 8px 24px rgba(15, 23, 42, 0.05),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
  padding: 1.35rem 1.65rem 1.5rem;
  animation: floatWindow 7s ease-in-out infinite alternate;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@keyframes floatWindow {
  0% { transform: translateY(0); }
  100% { transform: translateY(-12px); }
}

/* macOS Window Header (Traffic Dots + Centered Tabs + Run Action) */
.code-window-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.traffic-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.t-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.t-dot:hover {
  transform: scale(1.15);
}

.t-red { background: #FF5F56; box-shadow: 0 0 6px rgba(255, 95, 86, 0.5); }
.t-yellow { background: #FFBD2E; box-shadow: 0 0 6px rgba(255, 189, 46, 0.5); }
.t-green { background: #27C93F; box-shadow: 0 0 6px rgba(39, 201, 63, 0.5); }

/* Center macOS Tabs */
.mac-tabs-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.04);
  padding: 3px;
  border-radius: 8px;
}

.mac-tab-btn {
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 3px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.mac-tab-btn:hover {
  color: var(--text-primary);
}

.mac-tab-btn.active {
  background: #FFFFFF;
  color: var(--brand-blue);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Right macOS Status & Interactive Action */
.mac-header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-mac-run {
  background: rgba(2, 132, 199, 0.1);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: var(--brand-blue);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s var(--ease-spring);
}

.btn-mac-run:hover {
  background: var(--brand-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  transform: translateY(-1px);
}

.mac-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-emerald);
  box-shadow: 0 0 6px var(--brand-emerald);
  animation: pulseLiveDot 2s infinite ease-in-out;
}

.code-snippet-body {
  font-family: var(--font-code);
  font-size: 0.84rem;
  line-height: 1.7;
  color: #1E293B;
  white-space: pre-wrap;
  min-height: 195px;
}

.c-blue { color: #0284C7; font-weight: 600; }
.c-keyword { color: #6366F1; font-weight: 600; }
.c-string { color: #059669; }
.c-muted { color: #94A3B8; }
.c-func { color: #D97706; }

/* Interactive Cursor in Code */
.code-typing-cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--brand-blue);
  vertical-align: middle;
  animation: blinkCursor 1s step-end infinite;
  margin-left: 2px;
}

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

/* Interactive Live Result Output Console inside Code Window */
.code-live-console {
  margin-top: 1.15rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 0.65rem 0.95rem;
}

.interactive-preview-btn {
  background: #FFFFFF;
  border: 1.5px solid var(--brand-blue);
  color: var(--brand-blue);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

.interactive-preview-btn:hover {
  background: var(--brand-blue);
  color: #FFFFFF;
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.interactive-preview-btn:active {
  transform: scale(0.96);
}

.console-status-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Overlapping Floating CSS Card on Transparent Glass */
.nested-css-card {
  position: absolute;
  bottom: -22px;
  right: -15px;
  background: rgba(255, 255, 255, 0.62); /* Transparent glass */
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 
    0 20px 42px -6px rgba(14, 165, 233, 0.22),
    inset 0 1px 2px rgba(255, 255, 255, 0.95);
  padding: 1.25rem 1.5rem;
  font-family: var(--font-code);
  font-size: 0.78rem;
  color: #1E293B;
  line-height: 1.6;
  z-index: 3;
  animation: floatWindow 7s ease-in-out infinite alternate-reverse;
}

/* Tethered Security Key Badge */
.tethered-security-badge {
  position: absolute;
  bottom: -35px;
  left: 25px;
  background: rgba(255, 255, 255, 0.68); /* Transparent glass */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 14px;
  padding: 0.75rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.18), inset 0 1px 2px rgba(255, 255, 255, 0.95);
  z-index: 4;
}

.security-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.1);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tether SVG Connecting Line */
.tether-line-svg {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 60px;
  height: 40px;
  pointer-events: none;
  stroke: rgba(2, 132, 199, 0.35);
  stroke-width: 1.5;
  stroke-dasharray: 3 3;
  fill: none;
}

/* ==========================================================================
   HERO SCROLLING BRAND MARQUEE (COMPANY NAME PASSING THROUGH THE SCREEN)
   Font & Colors strictly matched to the codetodev brand emblem
   ========================================================================== */
.hero-brand-marquee-wrapper {
  width: 100%;
  margin: 0;
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border-top: 1.5px solid rgba(255, 255, 255, 0.88);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 6%, rgba(0, 0, 0, 1) 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 6%, rgba(0, 0, 0, 1) 94%, transparent 100%);
  box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.95), 0 8px 24px -6px rgba(2, 132, 199, 0.12);
  z-index: 5;
}

.hero-brand-marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: heroMarqueeGlide 28s linear infinite;
  will-change: transform;
}

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

.hero-marquee-content {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-right: 1.75rem;
}

.marquee-brand-text {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #0284C7 0%, #38BDF8 35%, #4F46E5 70%, #06B6D4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(2, 132, 199, 0.45));
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.marquee-separator {
  color: var(--brand-cyan);
  font-size: 0.85rem;
  opacity: 0.85;
  filter: drop-shadow(0 0 6px var(--brand-cyan));
  animation: separatorSpin 8s linear infinite;
}

.marquee-sub-text {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
}

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

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

/* ==========================================================================
   HERO BOTTOM BAR (FROSTED COOKIE STATUS & SCROLL TO EXPLORE)
   ========================================================================= */
.hero-bottom-bar {
  position: relative;
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-follow-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.social-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.75rem;
  transition: all 0.2s ease;
}

.social-icon-btn:hover {
  background: #FFFFFF;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

/* Translucent Center Cookie Pill */
.frosted-cookie-pill {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.25rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.cookie-btn-accept {
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.cookie-btn-accept:hover {
  background: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
}

.cookie-btn-decline {
  background: transparent;
  border: none;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.cookie-btn-decline:hover {
  color: var(--text-primary);
}

.scroll-explore-indicator {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.scroll-explore-indicator:hover {
  color: var(--brand-blue);
}

.scroll-arrow-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(4px); }
  60% { transform: translateY(2px); }
}

/* ==========================================================================
   GLOBAL SECTION HEADINGS & BADGES (LIGHT EDITORIAL SAAS)
   ========================================================================== */
.section-headline-upper {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 0.65rem;
}

.section-subline-text {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

.badge-beacon-light {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.95rem;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.beacon-dot-cyan {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 8px var(--brand-blue);
}

/* Frosted Glass Generic Container */
.frosted-glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  transition: all 0.35s var(--ease-spring);
}

.frosted-glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(2, 132, 199, 0.3);
}

/* ==========================================================================
   SECTION 2: INTERACTIVE FROM-SCRATCH ENGINEERING ROADMAP
   Inspired by Scriptix & Vercel: High-craft, tactile, luminous lifecycle
   ========================================================================== */
.roadmap-interactive-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  margin-top: 0.5rem;
}

/* --- Top Interactive Progress Track & Step Selectors --- */
.roadmap-nav-bar {
  position: relative;
  width: 100%;
  padding: 0.5rem 0;
}

/* Connecting Laser Pipeline Behind Buttons */
.roadmap-pipeline-track {
  position: absolute;
  top: 50%;
  left: 3%;
  right: 3%;
  height: 3px;
  background: rgba(15, 23, 42, 0.08);
  transform: translateY(-50%);
  z-index: 1;
  border-radius: 999px;
  overflow: visible;
}

.roadmap-pipeline-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 10%;
  background: linear-gradient(90deg, #0284C7 0%, #06B6D4 50%, #4F46E5 100%);
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.65);
}

.roadmap-pipeline-glow-head {
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #06B6D4;
  box-shadow: 0 0 14px 3px rgba(6, 182, 212, 0.85);
  transition: inherit;
  pointer-events: none;
}

/* 5 Step Pills Grid */
.roadmap-steps-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  width: 100%;
}

.roadmap-step-pill {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  border-radius: var(--radius-lg);
  padding: 0.95rem 1.05rem;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  position: relative;
  overflow: hidden;
  user-select: none;
}

.roadmap-step-pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.14);
}

.roadmap-step-pill.active {
  background: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: 0 12px 30px -4px rgba(2, 132, 199, 0.28), inset 0 1.5px 2px #FFFFFF;
  transform: translateY(-4px);
}

.roadmap-step-pill.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--brand-blue);
  box-shadow: 0 -1px 8px rgba(2, 132, 199, 0.5);
}

.roadmap-step-pill.step-pulse-highlight {
  animation: stepArrivalPulse 0.5s ease;
}

@keyframes stepArrivalPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

.step-num-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--brand-blue);
  background: rgba(2, 132, 199, 0.09);
  border-radius: 5px;
  padding: 2px 7px;
  display: inline-block;
  width: fit-content;
  transition: all 0.25s ease;
}

.roadmap-step-pill.active .step-num-badge {
  background: var(--brand-blue);
  color: #FFFFFF;
}

.step-meta {
  display: flex;
  flex-direction: column;
}

.step-phase-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.step-title-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  margin-top: 1px;
}

.step-status-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-muted);
  align-self: flex-start;
  transition: all 0.25s ease;
}

.step-status-tag.status-active {
  background: rgba(6, 182, 212, 0.12);
  color: #0284C7;
  border: 1px solid rgba(6, 182, 212, 0.35);
}

.step-status-tag.status-completed {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* --- Interactive Action / Utility Sub-Bar --- */
.roadmap-utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0.35rem 0.2rem;
}

.roadmap-status-indicator {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: liveDotPulse 2s infinite;
}

.roadmap-controls-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.roadmap-ctrl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-pill);
  padding: 0.38rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s var(--ease-spring);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.roadmap-ctrl-btn:hover {
  background: #FFFFFF;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.roadmap-ctrl-btn:active {
  transform: scale(0.96);
}

.autoplay-icon {
  font-size: 0.7rem;
  color: var(--brand-blue);
}

/* --- Dual-Pane High-Tech Showcase Stage --- */
.roadmap-stage-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 1.85rem;
  width: 100%;
  align-items: stretch;
}

/* Left Pane: Details Card */
.roadmap-details-card {
  position: relative;
  background: rgba(255, 255, 255, 0.46);
  backdrop-filter: blur(32px) saturate(210%);
  -webkit-backdrop-filter: blur(32px) saturate(210%);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: 2.1rem 2.25rem;
  box-shadow: 
    0 24px 60px -8px rgba(2, 132, 199, 0.14),
    0 4px 16px rgba(15, 23, 42, 0.04),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
}

.roadmap-details-card:hover {
  background: rgba(255, 255, 255, 0.54);
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow: 
    0 32px 70px -10px rgba(2, 132, 199, 0.22),
    0 8px 24px rgba(15, 23, 42, 0.06),
    inset 0 1.5px 2px #FFFFFF;
}

.roadmap-card-header {
  display: flex;
  flex-direction: column;
}

.roadmap-phase-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.eyebrow-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 8px var(--brand-blue);
}

.roadmap-phase-title {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.roadmap-phase-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Tech Tags Badges */
.roadmap-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.4rem 0;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 6px;
  padding: 0.28rem 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.tech-tag:hover {
  background: #FFFFFF;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-1px);
}

/* Verified Milestone Deliverables List */
.roadmap-deliverables-box {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: 1.15rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

.deliverables-heading {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.deliverables-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.deliverable-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.84rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.deliverable-item:last-child {
  border-bottom: none;
}

.deliverable-check {
  color: #059669;
  font-weight: 800;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  font-size: 0.72rem;
}

.deliverable-label {
  color: var(--text-primary);
  font-weight: 600;
  flex: 1;
}

.deliverable-metric {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(2, 132, 199, 0.08);
  padding: 2px 8px;
  border-radius: 4px;
}

/* Action Bar */
.roadmap-card-action-bar {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding-top: 0.5rem;
}

.btn-step-advance {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.25s var(--ease-spring);
}

.btn-step-advance:hover {
  background: #FFFFFF;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.15);
}

/* Right Pane: Interactive Architecture Terminal & Blueprint Inspector */
.roadmap-code-terminal {
  position: relative;
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(32px) saturate(210%);
  -webkit-backdrop-filter: blur(32px) saturate(210%);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: 
    0 24px 60px -8px rgba(2, 132, 199, 0.18),
    0 8px 24px rgba(15, 23, 42, 0.05),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.roadmap-code-terminal:hover {
  border-color: rgba(255, 255, 255, 0.98);
  box-shadow: 
    0 32px 70px -10px rgba(2, 132, 199, 0.25),
    0 10px 30px rgba(15, 23, 42, 0.07);
}

.mac-terminal-topbar {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.52);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.mac-traffic-lights {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mac-traffic-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.mac-dot-red {
  background: #64748B; /* Elegant tech neutral / no red rule */
  box-shadow: 0 0 5px rgba(100, 116, 139, 0.4);
}

.mac-dot-yellow {
  background: #F59E0B;
  box-shadow: 0 0 5px rgba(245, 158, 11, 0.5);
}

.mac-dot-green {
  background: #10B981;
  box-shadow: 0 0 5px rgba(16, 185, 129, 0.5);
}

.mac-terminal-title {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
}

.mac-terminal-tab-group {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.04);
  padding: 2px;
  border-radius: 8px;
}

.terminal-tab-pill {
  background: transparent;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.terminal-tab-pill.active {
  background: #FFFFFF;
  color: var(--brand-blue);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Terminal Code Viewport */
.terminal-code-viewport {
  display: flex;
  padding: 1.25rem 1.4rem;
  overflow-x: auto;
  min-height: 250px;
  max-height: 330px;
  font-family: var(--font-code);
  font-size: 0.82rem;
  line-height: 1.68;
}

.terminal-line-numbers {
  color: #94A3B8;
  user-select: none;
  padding-right: 1.15rem;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  text-align: right;
  font-family: var(--font-code);
  font-size: 0.8rem;
  line-height: 1.68;
}

.terminal-code-body {
  margin: 0;
  padding-left: 1.15rem;
  overflow-x: auto;
  color: #1E293B;
  white-space: pre;
  font-family: var(--font-code);
  line-height: 1.68;
}

/* Terminal Specs Viewport */
.terminal-specs-viewport {
  padding: 1.25rem 1.5rem;
  min-height: 250px;
  max-height: 330px;
  overflow-y: auto;
}

.specs-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.specs-matrix-table td {
  padding: 0.68rem 0.95rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.specs-matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.7);
}

.specs-key {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-primary);
  width: 40%;
}

.specs-val {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--brand-blue);
}

/* Terminal Footer & Simulation Drawer */
.mac-terminal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.42);
  padding: 0.85rem 1.25rem;
  display: flex;
  flex-direction: column;
}

.terminal-action-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-run-simulation {
  background: var(--brand-blue);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  transition: all 0.25s var(--ease-spring);
}

.btn-run-simulation:hover {
  background: var(--brand-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.48);
}

.btn-run-simulation:active {
  transform: scale(0.96);
}

.sim-play-icon {
  font-size: 0.7rem;
}

.terminal-runtime-status {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot-green {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px #10B981;
}

/* Simulation Drawer Output */
.terminal-sim-drawer {
  margin-top: 0.75rem;
  background: rgba(15, 23, 42, 0.94);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  color: #E2E8F0;
  font-family: var(--font-code);
  font-size: 0.76rem;
  line-height: 1.6;
  max-height: 135px;
  overflow-y: auto;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.sim-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  color: #94A3B8;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.45rem;
}

.sim-elapsed {
  color: #06B6D4;
}

.sim-drawer-logs {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sim-log-line {
  white-space: pre-wrap;
  word-break: break-word;
}

.sim-log-line.log-info { color: #94A3B8; }
.sim-log-line.log-success { color: #10B981; font-weight: 600; }
.sim-log-line.log-cyan { color: #06B6D4; }
.sim-log-line.log-indigo { color: #818CF8; }
.sim-log-line.log-amber { color: #FBBF24; }

/* Syntax Highlighting Colors */
.syn-kw { color: #4F46E5; font-weight: 700; }
.syn-str { color: #059669; }
.syn-fn { color: #0284C7; font-weight: 700; }
.syn-num { color: #D97706; font-weight: 700; }
.syn-com { color: #94A3B8; font-style: italic; }
.syn-prop { color: #0891B2; }
.syn-type { color: #7C3AED; font-weight: 600; }

/* Responsive adjustments for Roadmap */
@media (max-width: 1024px) {
  .roadmap-steps-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .roadmap-stage-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .roadmap-steps-container {
    grid-template-columns: 1fr;
  }
  .roadmap-pipeline-track {
    display: none;
  }
  .roadmap-details-card,
  .roadmap-code-terminal {
    padding: 1.5rem 1.25rem;
  }
  .roadmap-utility-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   SECTION 3: 4-PILLAR SERVICE SHOWCASE VIEWPORT
   ========================================================================== */
.services-fullpage-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2rem;
  width: 100%;
}

.service-select-row {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.5rem;
  margin-bottom: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
}

.service-select-row:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--brand-blue);
  transform: translateX(6px);
}

.service-select-row.active {
  background: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: 0 8px 24px -4px rgba(2, 132, 199, 0.25);
}

.service-detail-viewport {
  position: relative;
  background: rgba(255, 255, 255, 0.40);
  backdrop-filter: blur(32px) saturate(210%);
  -webkit-backdrop-filter: blur(32px) saturate(210%);
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 20px 50px rgba(2, 132, 199, 0.12), 0 4px 16px rgba(15, 23, 42, 0.05), inset 0 1px 2px rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: visible;
  transition: all 0.4s var(--ease-spring);
}

.service-detail-viewport:hover {
  background: rgba(255, 255, 255, 0.48);
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 28px 60px rgba(2, 132, 199, 0.20), 0 8px 24px rgba(15, 23, 42, 0.06), inset 0 1px 2px #FFFFFF;
}

/* Glowing Neon Cyber Brackets for the Corners */
.corner-glow {
  position: absolute;
  width: 26px;
  height: 26px;
  pointer-events: none;
  z-index: 5;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.corner-glow::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-color: #0284C7;
  border-style: solid;
  border-width: 0;
  filter: drop-shadow(0 0 8px rgba(2, 132, 199, 0.95)) drop-shadow(0 0 16px rgba(6, 182, 212, 0.8));
  transition: all 0.3s ease;
}

.corner-glow::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: radial-gradient(circle, #38BDF8 0%, rgba(2, 132, 199, 0.4) 50%, transparent 80%);
  filter: drop-shadow(0 0 8px #06B6D4);
  border-radius: 50%;
  animation: cornerPulse 2.8s ease-in-out infinite alternate;
}

.corner-glow-tl {
  top: -2px;
  left: -2px;
}
.corner-glow-tl::before {
  top: 0;
  left: 0;
  border-top-width: 2.5px;
  border-left-width: 2.5px;
  border-top-left-radius: var(--radius-xl);
}
.corner-glow-tl::after {
  top: 1px;
  left: 1px;
}

.corner-glow-tr {
  top: -2px;
  right: -2px;
}
.corner-glow-tr::before {
  top: 0;
  right: 0;
  border-top-width: 2.5px;
  border-right-width: 2.5px;
  border-top-right-radius: var(--radius-xl);
}
.corner-glow-tr::after {
  top: 1px;
  right: 1px;
}

.corner-glow-bl {
  bottom: -2px;
  left: -2px;
}
.corner-glow-bl::before {
  bottom: 0;
  left: 0;
  border-bottom-width: 2.5px;
  border-left-width: 2.5px;
  border-bottom-left-radius: var(--radius-xl);
}
.corner-glow-bl::after {
  bottom: 1px;
  left: 1px;
}

.corner-glow-br {
  bottom: -2px;
  right: -2px;
}
.corner-glow-br::before {
  bottom: 0;
  right: 0;
  border-bottom-width: 2.5px;
  border-right-width: 2.5px;
  border-bottom-right-radius: var(--radius-xl);
}
.corner-glow-br::after {
  bottom: 1px;
  right: 1px;
}

@keyframes cornerPulse {
  0% {
    transform: scale(0.85);
    opacity: 0.75;
  }
  50% {
    transform: scale(1.25);
    opacity: 1;
    filter: drop-shadow(0 0 12px #38BDF8) drop-shadow(0 0 20px #06B6D4);
  }
  100% {
    transform: scale(0.85);
    opacity: 0.75;
  }
}

.service-detail-viewport:hover .corner-glow {
  transform: scale(1.12);
}

.service-detail-viewport:hover .corner-glow::before {
  border-color: #38BDF8;
  filter: drop-shadow(0 0 12px #0284C7) drop-shadow(0 0 22px #06B6D4);
}

/* Section Arrival & Click Navigation Transition Animation */
@keyframes arrivalSectionGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(2, 132, 199, 0);
    transform: scale(0.985);
  }
  40% {
    box-shadow: 0 0 45px 12px rgba(2, 132, 199, 0.32), 0 24px 50px -10px rgba(14, 165, 233, 0.4);
    transform: scale(1.015);
  }
  100% {
    box-shadow: 0 12px 36px -6px rgba(14, 165, 233, 0.12);
    transform: scale(1);
  }
}

.section-arrival-pulse {
  animation: arrivalSectionGlow 1.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.section-nav-triggered {
  animation: sectionFlash 0.9s ease-out;
}

@keyframes sectionFlash {
  0% {
    filter: brightness(1.06);
  }
  100% {
    filter: brightness(1);
  }
}

/* Footer Social Connect (Instagram & Facebook Only) */
.footer-social-connect {
  margin-top: 1.25rem;
}

.footer-social-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 0.65rem;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-social-btn svg {
  color: var(--brand-blue);
  transition: transform 0.2s ease, color 0.2s ease;
}

.footer-social-btn:hover {
  background: #FFFFFF;
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.22);
}

.footer-social-btn:hover svg {
  transform: scale(1.15);
  color: var(--brand-blue-hover);
}

/* ==========================================================================
   SECTION 4: DUAL-CURRENCY PRICING VIEWPORT
   ========================================================================== */
.pricing-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  width: 100%;
  margin-top: 1.5rem;
}

.pricing-card-saas {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  transition: all 0.35s var(--ease-spring);
  position: relative;
}

.pricing-card-saas:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-blue);
}

.pricing-card-saas.featured {
  border: 2px solid var(--brand-blue);
  box-shadow: 0 16px 40px -8px rgba(2, 132, 199, 0.25);
}

.featured-pill-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-blue);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
}

.pricing-amount-huge {
  font-family: var(--font-sans);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 1rem 0 0.25rem;
  line-height: 1;
}

/* ==========================================================================
   SECTION 5: SELECTED WORKS & CASE STUDIES
   ========================================================================== */
.cases-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  width: 100%;
}

.case-metric-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  padding: 2rem 1.85rem;
  box-shadow: var(--shadow-card);
  transition: all 0.35s var(--ease-spring);
}

.case-metric-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-blue);
}

.case-stat-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin: 0.75rem 0 0.25rem;
}

/* ==========================================================================
   SECTION 6: REORGANIZED EXECUTIVE DISPATCH & CONCIERGE TERMINAL
   ========================================================================== */
.dispatch-footer-box {
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(32px) saturate(210%);
  -webkit-backdrop-filter: blur(32px) saturate(210%);
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  border-radius: var(--radius-xl);
  padding: 3rem clamp(1.5rem, 3.5vw, 3.25rem);
  box-shadow: 0 24px 60px rgba(2, 132, 199, 0.12), 0 4px 20px rgba(15, 23, 42, 0.05), inset 0 1px 2px #FFFFFF;
  width: 100%;
  position: relative;
}

.dispatch-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(2, 132, 199, 0.14);
}

/* Authentic WhatsApp Green CTA Button */
.btn-whatsapp-official {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: #25D366;
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.42), 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 2;
}

.btn-whatsapp-official:hover {
  background: #20BA5A;
  color: #FFFFFF !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 38px rgba(37, 211, 102, 0.58), 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-whatsapp-official::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s ease;
}

.btn-whatsapp-official:hover::before {
  left: 140%;
}

.wa-btn-icon-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.wa-btn-icon-pulse svg {
  color: #FFFFFF;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
}

.wa-btn-arrow {
  font-size: 1.15rem;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.btn-whatsapp-official:hover .wa-btn-arrow {
  transform: translateX(4px);
}

/* Dual Direct Concierge Action Buttons Group */
.contact-hero-actions-group {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* Authentic Software Blue Email Official CTA Button */
.btn-email-official {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF !important;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.42), 0 3px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 2;
}

.btn-email-official:hover {
  background: linear-gradient(135deg, #0369A1 0%, #075985 100%);
  color: #FFFFFF !important;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 38px rgba(2, 132, 199, 0.58), 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-email-official::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  transition: left 0.75s ease;
}

.btn-email-official:hover::before {
  left: 140%;
}

.email-btn-icon-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: emailIconPulse 2.8s infinite ease-in-out;
}

.email-btn-icon-pulse svg {
  color: #FFFFFF;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
}

@keyframes emailIconPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.6)); }
  50% { transform: scale(1.12); filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.95)); }
}

.email-btn-arrow {
  font-size: 1.15rem;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.btn-email-official:hover .email-btn-arrow {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .contact-hero-actions-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .btn-whatsapp-official,
  .btn-email-official {
    width: 100%;
    text-align: center;
  }
}

/* Reorganized Executive Hub: 2 Balanced Modern Modules */
.dispatch-terminal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  padding-top: 2.25rem;
  align-items: stretch;
}

.dispatch-brand-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dispatch-terminal-card {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04), inset 0 1px 2px #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.terminal-title-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.terminal-spec-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.terminal-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(2, 132, 199, 0.12);
}

.terminal-spec-label {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.terminal-spec-value {
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-weight: 700;
}

.dispatch-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.85rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ENGAGING CINEMATIC NAVIGATION TRANSITIONS
   ========================================================================== */
@keyframes engagingSectionArrival {
  0% {
    transform: scale(0.96) translateY(24px);
    opacity: 0.85;
    filter: drop-shadow(0 0 0 rgba(2, 132, 199, 0));
  }
  50% {
    transform: scale(1.025) translateY(-6px);
    opacity: 1;
    filter: drop-shadow(0 0 45px rgba(2, 132, 199, 0.45)) drop-shadow(0 0 70px rgba(6, 182, 212, 0.3));
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
    filter: none;
  }
}

.section-arrival-pulse {
  animation: engagingSectionArrival 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Nav Link Click Ripple Effect */
.nav-link-pill {
  position: relative;
  overflow: hidden;
}

.nav-link-pill.nav-pill-clicking::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.35) 0%, transparent 70%);
  transform: translate(-50%, -50%) scale(0);
  animation: navPillRipple 0.6s ease-out forwards;
}

@keyframes navPillRipple {
  0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET ADAPTATION)
   ========================================================================== */
@media (max-width: 1024px) {
  .fullpage-scroll-container {
    scroll-snap-type: none;
    height: auto;
    overflow-y: visible;
  }
  .fullpage-section {
    min-height: auto;
    height: auto;
    padding: 6rem 1.5rem 3rem;
  }
  .hero-split-grid,
  .stack-viewport-grid,
  .services-fullpage-grid,
  .pricing-3col-grid,
  .cases-3col-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .nav-capsule-center,
  .floating-section-dock,
  .hero-bottom-bar .frosted-cookie-pill {
    display: none;
  }
}

/* ==========================================================================
   SUBPAGE COMPATIBILITY & EDITORIAL SYSTEM (SERVICES, WORK, ABOUT, CONTACT)
   ========================================================================== */
.site-wrapper {
  min-height: 100vh;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.container-editorial {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

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

.nav-desktop-wrap {
  display: flex;
  align-items: center;
}

.nav-links-desktop {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-blue);
  font-weight: 600;
}

.nav-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-blue);
  transition: width 0.25s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Map legacy vermilion classes strictly to brand blue (Zero Red) */
.btn-vermilion {
  background: var(--brand-blue) !important;
  color: #FFFFFF !important;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1.45rem;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: var(--shadow-btn);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
}

.btn-vermilion:hover {
  background: var(--brand-blue-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.45);
}

.btn-architectural {
  background: #FFFFFF;
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1.45rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
}

.btn-architectural:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-text-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.editorial-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.85rem;
  letter-spacing: 0.05em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 6px var(--brand-blue);
}

.currency-switcher-wrapper {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}

.currency-btn {
  border: none;
  background: transparent;
  padding: 5px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.currency-btn.active {
  background: var(--brand-blue);
  color: #FFFFFF;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-xl);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s var(--ease-spring);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brand-blue);
}

.pricing-card.featured {
  border: 2px solid var(--brand-blue);
  box-shadow: 0 16px 40px -8px rgba(2, 132, 199, 0.25);
}

.pricing-amount {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-dual-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.pricing-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1.5rem 0;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pricing-feature-item svg {
  color: var(--brand-blue);
  flex-shrink: 0;
  margin-top: 2px;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
}

.grain-overlay {
  display: none;
}

.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--brand-blue);
  z-index: 1000;
}

/* ==========================================================================
   SEMANTIC SURFACE CARDS & INPUTS (ADAPTS AUTOMATICALLY TO DARK MODE)
   ========================================================================== */
.surface-card {
  background: var(--surface-solid);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-card);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.surface-input {
  width: 100%;
  background: var(--surface-solid);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.3s ease, color 0.3s ease;
}

.surface-input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px var(--brand-blue-soft);
}

.currency-switcher-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface-pill);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  margin-top: 1.15rem;
  box-shadow: var(--shadow-sm);
}

.border-subtle-top {
  border-top: 1px solid var(--border-hairline);
}

/* ==========================================================================
   DARK MODE ARCHITECTURE (COMFORTABLE NIGHT-ROOM OBSIDIAN GLASS)
   Activated via [data-theme="dark"] on <html>
   ========================================================================== */
[data-theme="dark"] {
  --text-primary: #E2E8F0;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-charcoal: #E2E8F0;

  --brand-blue: #38BDF8;
  --brand-blue-hover: #0EA5E9;
  --brand-primary: #38BDF8;
  --brand-blue-soft: rgba(56, 189, 248, 0.12);
  --brand-blue-glow: rgba(56, 189, 248, 0.32);

  --brand-cyan: #22D3EE;
  --brand-indigo: #818CF8;
  --brand-emerald: #34D399;
  --emerald: #34D399;

  --glass-card: rgba(15, 23, 42, 0.72);
  --glass-card-hover: rgba(22, 34, 58, 0.88);
  --glass-border: rgba(148, 163, 184, 0.16);
  --glass-border-subtle: rgba(56, 189, 248, 0.2);

  --surface-solid: rgba(15, 23, 42, 0.85);
  --surface-soft: rgba(30, 41, 59, 0.78);
  --surface-pill: rgba(15, 23, 42, 0.78);
  --border-subtle: rgba(148, 163, 184, 0.18);
  --border-hairline: rgba(148, 163, 184, 0.12);
  --hairline: rgba(148, 163, 184, 0.16);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 18px 44px -8px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(148, 163, 184, 0.08);
  --shadow-hover: 0 26px 56px -10px rgba(2, 132, 199, 0.25), 0 8px 24px rgba(0, 0, 0, 0.65);
  --shadow-btn: 0 6px 20px rgba(2, 132, 199, 0.35);
}

[data-theme="dark"] body {
  background: linear-gradient(180deg, #060913 0%, #0A101E 26%, #0D1426 55%, #080D1A 82%, #050811 100%);
  color: var(--text-primary);
}

/* Muted ambient atmospheric glows for comfortable dark-room viewing */
[data-theme="dark"] .bg-aura-sky-left {
  background: radial-gradient(circle at 35% 35%, rgba(6, 182, 212, 0.15) 0%, rgba(2, 132, 199, 0.18) 38%, transparent 75%);
}

[data-theme="dark"] .bg-aura-amber-right {
  background: radial-gradient(circle at 65% 35%, rgba(245, 158, 11, 0.09) 0%, rgba(217, 119, 6, 0.04) 45%, transparent 75%);
}

[data-theme="dark"] .bg-aura-indigo-center {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.14) 0%, rgba(79, 70, 229, 0.08) 45%, transparent 78%);
}

[data-theme="dark"] .bg-aura-sky-bottom {
  background: radial-gradient(circle at 50% 60%, rgba(14, 165, 233, 0.16) 0%, rgba(2, 132, 199, 0.08) 50%, transparent 80%);
}

[data-theme="dark"] .tech-grid-overlay {
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
}

[data-theme="dark"] #ambient-backdrop-veil {
  background: rgba(4, 7, 15, 0.35);
}

[data-theme="dark"] body.nav-warp-active #ambient-backdrop-veil {
  background: rgba(6, 182, 212, 0.12);
}

/* Smoked Obsidian Glass Logo Badge + Luminous Dark-Mode Logo Variant */
[data-theme="dark"] .brand-logo-light {
  display: none;
}

[data-theme="dark"] .brand-logo-dark {
  display: block;
}

[data-theme="dark"] .brand-glass-badge {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(56, 189, 248, 0.34);
  box-shadow:
    0 16px 40px -6px rgba(0, 0, 0, 0.65),
    0 0 26px rgba(56, 189, 248, 0.16),
    inset 0 1px 2px rgba(255, 255, 255, 0.14);
}

[data-theme="dark"] .brand-glass-badge:hover {
  background: rgba(22, 34, 58, 0.86);
  border-color: rgba(56, 189, 248, 0.65);
}

[data-theme="dark"] .brand-glass-glow {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.45) 0%, rgba(99, 102, 241, 0.25) 55%, transparent 85%);
  filter: blur(14px);
}

[data-theme="dark"] .brand-logo-img {
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.42)) drop-shadow(0 0 24px rgba(99, 102, 241, 0.25));
}

[data-theme="dark"] .brand-glass-badge:hover .brand-logo-img {
  filter: drop-shadow(0 0 18px rgba(56, 189, 248, 0.72)) drop-shadow(0 0 34px rgba(34, 211, 238, 0.42));
}

[data-theme="dark"] .brand-glass-badge::after {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.22) 50%, transparent 100%);
}

[data-theme="dark"] .status-live-text {
  color: #34D399;
}

/* Navigation & Contact Dropdown */
[data-theme="dark"] .nav-capsule-center {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .btn-nav-action,
[data-theme="dark"] .theme-toggle-pill,
[data-theme="dark"] .btn-white-pill,
[data-theme="dark"] .btn-architectural {
  background: rgba(15, 23, 42, 0.82);
  color: var(--text-primary);
  border-color: rgba(148, 163, 184, 0.22);
}

[data-theme="dark"] .btn-nav-action:hover,
[data-theme="dark"] .theme-toggle-pill:hover,
[data-theme="dark"] .btn-white-pill:hover,
[data-theme="dark"] .btn-architectural:hover,
[data-theme="dark"] .nav-contact-dropdown-wrap:hover .btn-nav-action,
[data-theme="dark"] .nav-contact-dropdown-wrap.dropdown-open .btn-nav-action {
  background: rgba(30, 41, 59, 0.94);
  border-color: #38BDF8;
  color: #38BDF8;
}

[data-theme="dark"] .btn-blue-solid,
[data-theme="dark"] .btn-run-simulation,
[data-theme="dark"] .featured-pill-tag,
[data-theme="dark"] .currency-btn.active,
[data-theme="dark"] .pricing-curr-btn.active {
  background: #0284C7 !important;
  color: #FFFFFF !important;
}

[data-theme="dark"] .btn-blue-solid:hover,
[data-theme="dark"] .btn-run-simulation:hover {
  background: #0EA5E9;
}

[data-theme="dark"] .nav-contact-dropdown-menu {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65);
}

[data-theme="dark"] .nav-contact-drop-item {
  background: rgba(30, 41, 59, 0.55);
  border-color: rgba(148, 163, 184, 0.12);
}

[data-theme="dark"] .nav-contact-drop-item:hover {
  background: rgba(30, 41, 59, 0.94);
  border-color: #38BDF8;
}

[data-theme="dark"] .nav-contact-drop-footer {
  border-top-color: rgba(148, 163, 184, 0.16);
}

[data-theme="dark"] .section-dock-dot {
  background: rgba(148, 163, 184, 0.35);
}

[data-theme="dark"] .section-dock-dot::before {
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

/* Hero Section & Mac Code Window */
[data-theme="dark"] .hero-tag-pill {
  background: rgba(15, 23, 42, 0.78);
  border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="dark"] .code-window-main,
[data-theme="dark"] .nested-css-card,
[data-theme="dark"] .tethered-security-badge {
  background: rgba(15, 23, 42, 0.68);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow:
    0 28px 65px -12px rgba(0, 0, 0, 0.65),
    0 0 32px rgba(2, 132, 199, 0.14),
    inset 0 1px 1px rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
}

[data-theme="dark"] .code-window-top {
  border-bottom-color: rgba(148, 163, 184, 0.14);
}

[data-theme="dark"] .mac-tabs-bar,
[data-theme="dark"] .mac-terminal-tab-group {
  background: rgba(2, 6, 23, 0.6);
}

[data-theme="dark"] .mac-tab-btn.active,
[data-theme="dark"] .terminal-tab-pill.active {
  background: rgba(30, 41, 59, 0.95);
  color: #38BDF8;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .code-snippet-body,
[data-theme="dark"] .terminal-code-body {
  color: #E2E8F0;
}

[data-theme="dark"] .c-blue,
[data-theme="dark"] .syn-fn { color: #38BDF8; }
[data-theme="dark"] .c-keyword,
[data-theme="dark"] .syn-kw { color: #A5B4FC; }
[data-theme="dark"] .c-string,
[data-theme="dark"] .syn-str { color: #34D399; }
[data-theme="dark"] .c-func,
[data-theme="dark"] .syn-num { color: #FBBF24; }
[data-theme="dark"] .c-muted,
[data-theme="dark"] .syn-com { color: #64748B; }
[data-theme="dark"] .syn-prop { color: #22D3EE; }

[data-theme="dark"] .code-live-console {
  background: rgba(2, 6, 23, 0.55);
  border-top-color: rgba(148, 163, 184, 0.14);
}

[data-theme="dark"] .interactive-preview-btn {
  background: rgba(15, 23, 42, 0.9);
  border-color: #38BDF8;
  color: #38BDF8;
}

[data-theme="dark"] .interactive-preview-btn:hover {
  background: #0284C7;
  color: #FFFFFF;
}

/* Hero Marquee & Bottom Bar */
[data-theme="dark"] .hero-brand-marquee-wrapper {
  background: rgba(15, 23, 42, 0.6);
  border-top-color: rgba(148, 163, 184, 0.16);
  border-bottom-color: rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.06), 0 8px 28px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .marquee-brand-text {
  background: linear-gradient(135deg, #38BDF8 0%, #22D3EE 40%, #818CF8 75%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .social-icon-btn,
[data-theme="dark"] .frosted-cookie-pill,
[data-theme="dark"] .scroll-arrow-circle,
[data-theme="dark"] .cookie-btn-accept {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(148, 163, 184, 0.18);
  color: var(--text-primary);
}

[data-theme="dark"] .social-icon-btn:hover,
[data-theme="dark"] .cookie-btn-accept:hover {
  background: #0284C7;
  border-color: #38BDF8;
  color: #FFFFFF;
}

/* Badges & Generic Frosted Cards */
[data-theme="dark"] .badge-beacon-light,
[data-theme="dark"] .editorial-tag {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.25);
  color: #38BDF8;
}

[data-theme="dark"] .frosted-glass-card,
[data-theme="dark"] .pricing-card-saas,
[data-theme="dark"] .case-metric-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .service-detail-viewport,
[data-theme="dark"] .dispatch-footer-box {
  background: rgba(15, 23, 42, 0.68);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .frosted-glass-card:hover,
[data-theme="dark"] .pricing-card-saas:hover,
[data-theme="dark"] .case-metric-card:hover,
[data-theme="dark"] .pricing-card:hover,
[data-theme="dark"] .service-detail-viewport:hover {
  background: rgba(20, 31, 54, 0.84);
  border-color: rgba(56, 189, 248, 0.45);
}

[data-theme="dark"] .pricing-card-saas.featured,
[data-theme="dark"] .pricing-card.featured {
  border-color: #38BDF8;
  box-shadow: 0 18px 46px -8px rgba(2, 132, 199, 0.35);
}

/* Interactive Roadmap (Section 2) */
[data-theme="dark"] .roadmap-pipeline-track {
  background: rgba(148, 163, 184, 0.14);
}

[data-theme="dark"] .roadmap-step-pill {
  background: rgba(15, 23, 42, 0.66);
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .roadmap-step-pill:hover {
  background: rgba(22, 34, 58, 0.86);
  border-color: rgba(56, 189, 248, 0.45);
}

[data-theme="dark"] .roadmap-step-pill.active {
  background: rgba(22, 34, 58, 0.96);
  border-color: #38BDF8;
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.65), 0 0 22px rgba(56, 189, 248, 0.18);
}

[data-theme="dark"] .roadmap-step-pill.active .step-num-badge {
  background: #0284C7;
  color: #FFFFFF;
}

[data-theme="dark"] .step-num-badge {
  background: rgba(56, 189, 248, 0.14);
  color: #38BDF8;
}

[data-theme="dark"] .step-status-tag {
  background: rgba(148, 163, 184, 0.1);
}

[data-theme="dark"] .step-status-tag.status-active {
  background: rgba(34, 211, 238, 0.14);
  color: #38BDF8;
  border-color: rgba(34, 211, 238, 0.35);
}

[data-theme="dark"] .roadmap-ctrl-btn,
[data-theme="dark"] .btn-step-advance {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--text-primary);
}

[data-theme="dark"] .roadmap-ctrl-btn:hover,
[data-theme="dark"] .btn-step-advance:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: #38BDF8;
  color: #38BDF8;
}

[data-theme="dark"] .roadmap-details-card,
[data-theme="dark"] .roadmap-code-terminal {
  background: rgba(15, 23, 42, 0.68);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 60px -8px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .roadmap-details-card:hover,
[data-theme="dark"] .roadmap-code-terminal:hover {
  background: rgba(20, 31, 54, 0.8);
  border-color: rgba(56, 189, 248, 0.35);
}

[data-theme="dark"] .tech-tag {
  background: rgba(30, 41, 59, 0.78);
  border-color: rgba(148, 163, 184, 0.16);
  color: #CBD5E1;
}

[data-theme="dark"] .tech-tag:hover {
  background: rgba(30, 41, 59, 1);
  border-color: #38BDF8;
  color: #38BDF8;
}

[data-theme="dark"] .roadmap-deliverables-box {
  background: rgba(2, 6, 23, 0.5);
  border-color: rgba(148, 163, 184, 0.14);
}

[data-theme="dark"] .deliverable-item {
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

[data-theme="dark"] .deliverable-metric {
  background: rgba(56, 189, 248, 0.12);
  color: #38BDF8;
}

[data-theme="dark"] .mac-terminal-topbar,
[data-theme="dark"] .mac-terminal-footer {
  background: rgba(2, 6, 23, 0.55);
  border-color: rgba(148, 163, 184, 0.14);
}

[data-theme="dark"] .terminal-line-numbers {
  border-right-color: rgba(148, 163, 184, 0.14);
}

[data-theme="dark"] .specs-matrix-table td {
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

[data-theme="dark"] .specs-matrix-table tr:hover td {
  background: rgba(30, 41, 59, 0.55);
}

[data-theme="dark"] .terminal-sim-drawer {
  background: rgba(2, 6, 23, 0.9);
  border-color: rgba(56, 189, 248, 0.18);
}

/* Services Section */
[data-theme="dark"] .service-select-row {
  background: rgba(15, 23, 42, 0.68);
  border-color: rgba(148, 163, 184, 0.16);
}

[data-theme="dark"] .service-select-row:hover {
  background: rgba(22, 34, 58, 0.88);
  border-color: #38BDF8;
}

[data-theme="dark"] .service-select-row.active {
  background: rgba(22, 34, 58, 0.96);
  border-color: #38BDF8;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

/* Contact / Footer Section */
[data-theme="dark"] .dispatch-header-row,
[data-theme="dark"] .dispatch-bottom-bar,
[data-theme="dark"] .terminal-title-bar {
  border-color: rgba(148, 163, 184, 0.14);
}

[data-theme="dark"] .dispatch-terminal-card {
  background: rgba(2, 6, 23, 0.52);
  border-color: rgba(148, 163, 184, 0.16);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .terminal-spec-item {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(56, 189, 248, 0.16);
}

[data-theme="dark"] .footer-social-btn {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="dark"] .footer-social-btn:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: #38BDF8;
  color: #38BDF8;
}

[data-theme="dark"] .btn-whatsapp-official,
[data-theme="dark"] .btn-email-official {
  border-color: rgba(255, 255, 255, 0.22);
}

/* Subpages Mobile Drawer & Scope Builder Support */
[data-theme="dark"] .currency-switcher-wrapper {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(148, 163, 184, 0.2);
}

[data-theme="dark"] .mobile-nav-overlay {
  background: rgba(6, 9, 19, 0.96);
  color: var(--text-primary);
}
