/* HostMarc — Master Enterprise Stylesheet
   Crafted with Paul Bakaus's "Impeccable" Design Language System (pbakaus/impeccable)
   Modes: Persuade, Operate, Read, Experience
   Strict Anti-Slop, Nested Geometry Math & Tactile Physics */

:root {
  /* 60-30-10 Color System — Calibrated Neutral Canvas */
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-surface-muted: #e2e8f0;
  
  --bg-dark-header: #0f172a;
  --bg-dark-surface: #1e293b;
  --bg-dark-card: #182234;
  --bg-dark-subtle: rgba(255, 255, 255, 0.04);
  
  /* Hairline Borders (Single-Level Depth) */
  --border-subtle: #e2e8f0;
  --border-default: #cbd5e1;
  --border-dark: #334155;
  --border-dark-subtle: rgba(255, 255, 255, 0.08);
  --border-accent: #2563eb;

  /* Typography Hierarchy & Contrast (WCAG AA Strict: >= 4.5:1) */
  --text-primary: #0f172a;       /* 14.8:1 contrast on canvas */
  --text-secondary: #334155;     /* 7.6:1 contrast on canvas */
  --text-muted: #64748b;         /* 4.8:1 contrast on canvas */
  --text-inverse: #f8fafc;
  --text-inverse-muted: #94a3b8;

  /* Brand Accents — High Intent 10% Budget */
  --brand-primary: #1d4ed8;
  --brand-hover: #1e40af;
  --brand-cobalt: #2563eb;
  --brand-sky: #0284c7;

  --accent-emerald: #059669;
  --accent-emerald-bg: #ecfdf5;
  --accent-amber: #d97706;
  --accent-amber-bg: #fffbeb;
  --accent-rose: #e11d48;
  --accent-rose-bg: #fff1f2;

  /* Typography Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  /* Impeccable Nested Geometry Math: r_inner = r_outer - padding */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 20px;

  /* Impeccable Shadow Discipline — Subtle Single-Elevation */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-glow-blue: 0 0 0 3px rgba(37, 99, 235, 0.15);

  /* Impeccable Motion & Physics: cubic-bezier settling curve */
  --ease-impeccable: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;

  /* Spatial Constraints */
  --container-max: 1240px;
  --container-wide: 1360px;
  --measure-prose: 68ch;
}

/* Base Resets & Accessibility Defaults */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Accessible Keyboard Focus Rings */
button:focus-visible, 
a:focus-visible, 
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brand-cobalt);
  outline-offset: 2px;
}

/* Impeccable Tabular Numerals Discipline */
.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-family: var(--font-mono);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-wide {
  width: 100%;
  max-width: var(--container-wide);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text-primary);
  text-wrap: balance;
}

h1 { letter-spacing: -0.03em; }

/* Impeccable Read Mode: Constrained Measure & Line Rhythm */
.prose-reading {
  max-width: var(--measure-prose);
  margin-left: auto;
  margin-right: auto;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.prose-reading h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.025em;
}

.prose-reading h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.prose-reading p {
  margin-bottom: 1.25rem;
}

.prose-reading p:last-child {
  margin-bottom: 0;
}

.prose-reading ul, .prose-reading ol {
  margin-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose-reading li {
  margin-bottom: 0.5rem;
}

/* Announcement Top Banner */
.top-banner {
  background-color: #0b1329;
  color: #e2e8f0;
  font-size: 0.8125rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
}

.top-banner strong {
  color: #38bdf8;
  font-weight: 600;
}

.top-banner-link {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--duration-fast) ease;
}

.top-banner-link:hover {
  color: #38bdf8;
}

/* Header Navigation — Impeccable 3-Zone Contract */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-dark-header);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 4.25rem;
}

/* Zone 1: Single Element Wordmark & Tech Logo */
.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  transition: opacity var(--duration-fast) ease;
}

.site-brand:hover {
  opacity: 0.95;
}

.brand-text {
  display: inline-flex;
  align-items: baseline;
  letter-spacing: -0.025em;
}

.brand-name {
  color: #ffffff;
  font-weight: 800;
}

.brand-accent {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.brand-dot {
  color: #38bdf8;
  font-weight: 900;
  margin-left: 1px;
}

.brand-logo-svg {
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
  border-radius: 9px;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.45);
  transition: transform var(--duration-fast) cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--duration-fast) ease;
}

.site-brand:hover .brand-logo-svg,
.footer-brand:hover .brand-logo-svg {
  transform: translateY(-1px) scale(1.06);
  box-shadow: 0 0 22px rgba(56, 189, 248, 0.75);
}

.brand-icon {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Zone 2: Navigation Links */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--duration-fast) ease;
  position: relative;
  padding: 0.375rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #3b82f6;
  border-radius: 1px;
}

/* Zone 3: Primary Action */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-deal-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.625rem 1.125rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--duration-fast) var(--ease-impeccable);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.btn-deal-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.4);
}

.btn-deal-primary:active {
  transform: scale(0.98);
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all var(--duration-fast) cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  z-index: 101;
}

.mobile-menu-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}

.mobile-menu-btn .hamburger-box {
  width: 20px;
  height: 14px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-menu-btn .hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
}

.mobile-menu-btn.is-active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-btn.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile Navigation Backdrop & Sliding Drawer System */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 41, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  max-width: 100%;
  height: 100vh;
  height: 100dvh;
  background: #0f172a;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 999;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.65);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-nav-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1329;
}

.mobile-drawer-close {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #94a3b8;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.mobile-drawer-close:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.mobile-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  padding: 0.75rem 0.75rem 0.25rem;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.85rem;
  border-radius: var(--radius-sm);
  color: #f1f5f9;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--duration-fast) ease;
}

.mobile-drawer-link:hover,
.mobile-drawer-link:focus {
  background: rgba(56, 189, 248, 0.09);
  color: #38bdf8;
  padding-left: 1.05rem;
}

.mobile-drawer-link.active {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  border-left: 3px solid #38bdf8;
}

.mobile-drawer-link-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-drawer-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #94a3b8;
  flex-shrink: 0;
  transition: color var(--duration-fast) ease;
}

.mobile-drawer-link:hover .mobile-drawer-icon,
.mobile-drawer-link.active .mobile-drawer-icon {
  color: #38bdf8;
}

.mobile-drawer-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-xs);
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.mobile-drawer-footer {
  padding: 1.25rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b1329;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-drawer-btn-deal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
  transition: all var(--duration-fast) ease;
}

.mobile-drawer-btn-deal:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
}

.mobile-drawer-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(37, 211, 102, 0.3);
  background: rgba(37, 211, 102, 0.08);
  color: #4ade80;
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--duration-fast) ease;
}

.mobile-drawer-whatsapp:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25d366;
}

/* Impeccable Button System — 2:1 Padding & Tactile Physics */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.65rem 1.3rem; /* Exact 2:1 horizontal:vertical ratio */
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: transform var(--duration-fast) var(--ease-impeccable),
              box-shadow var(--duration-fast) var(--ease-impeccable),
              background-color var(--duration-fast) ease,
              border-color var(--duration-fast) ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(29, 78, 216, 0.2);
}

.btn-primary:hover {
  background-color: var(--brand-hover);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-primary);
  border-color: var(--border-default);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-surface-subtle);
  border-color: var(--border-dark);
}

.btn-sm {
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  font-size: 1rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-lg);
}

/* Impeccable Hero Section (Persuade Mode) */
.hero-section {
  background: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-desc {
  font-size: 1.125rem;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-proof-bar {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.proof-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #38bdf8;
}

/* Hero Benchmark Card — Nested Radius Math: r_inner = 8px, r_outer = 16px */
.hero-benchmark-card {
  background: rgba(30, 41, 59, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.benchmark-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benchmark-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.benchmark-status {
  font-size: 0.75rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.benchmark-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.benchmark-table th {
  text-align: left;
  color: #94a3b8;
  font-weight: 600;
  padding: 0.5rem 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benchmark-table td {
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e2e8f0;
}

.benchmark-table tr.winner {
  background: rgba(37, 99, 235, 0.18);
  border-radius: var(--radius-sm);
}

.benchmark-table tr.winner td {
  color: #ffffff;
  font-weight: 600;
}

.badge-winner {
  display: inline-block;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.6875rem;
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-xs);
  margin-left: 0.375rem;
}

/* Coupon Box Feature */
.coupon-box {
  margin-top: 1.25rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px dashed #3b82f6;
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.coupon-info {
  display: flex;
  flex-direction: column;
}

.coupon-label {
  font-size: 0.75rem;
  color: #94a3b8;
}

.coupon-code {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.125rem;
  color: #38bdf8;
  letter-spacing: 0.05em;
}

.btn-copy-code {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-impeccable);
}

.btn-copy-code:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.btn-copy-code:active {
  transform: scale(0.98);
}

/* Section Common Styling */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3.5rem;
}

.section-kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

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

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Cards Grid */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Impeccable Pricing Card Component */
.pricing-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--duration-normal) var(--ease-impeccable), 
              box-shadow var(--duration-normal) var(--ease-impeccable),
              border-color var(--duration-fast) ease;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-default);
}

.pricing-card.featured {
  border: 2px solid var(--brand-primary);
  box-shadow: 0 12px 24px -4px rgba(37, 99, 235, 0.15);
}

.pricing-ribbon {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-primary);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 1.25rem;
}

.pricing-plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.pricing-tagline {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin: 1.25rem 0 0.5rem;
}

.price-curr {
  font-size: 1.5rem;
  font-weight: 700;
}

.price-val {
  font-family: var(--font-mono);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}

.price-cycle {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.price-renewal {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--bg-surface-subtle);
}

.feature-check {
  color: var(--accent-emerald);
  font-weight: bold;
  flex-shrink: 0;
}

/* Feature Bento Card */
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.feature-card:hover {
  border-color: var(--border-default);
  box-shadow: var(--shadow-md);
}

.feature-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-subtle);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Impeccable Operate Mode: Tactile Segmented Controls */
.segmented-control {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  background-color: var(--bg-surface-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.segmented-item {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-impeccable);
  white-space: nowrap;
}

.segmented-item:hover {
  color: var(--text-primary);
}

.segmented-item.active {
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

/* Interactive Tools UI */
.tool-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}

.tool-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.tool-header-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.tool-header-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.input-group {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.input-text {
  flex-grow: 1;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  outline: none;
  background: var(--bg-surface);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.input-text:focus {
  border-color: var(--brand-cobalt);
  box-shadow: var(--shadow-glow-blue);
}

/* Speed Tool Result */
.speed-results-box {
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.speed-metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.speed-metric-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.speed-metric-label {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}

.speed-metric-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: #38bdf8;
}

/* Interactive Calculator Panels */
.calc-controls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.calc-result-panel {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Quiz Options */
.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.quiz-option-card {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-impeccable);
  background: var(--bg-surface);
}

.quiz-option-card:hover {
  border-color: var(--border-dark);
  transform: translateY(-2px);
}

.quiz-option-card.selected {
  border-color: var(--brand-cobalt);
  background: #f0f7ff;
  box-shadow: var(--shadow-glow-blue);
}

/* Author Profile Card */
.author-profile-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  margin: 3.5rem 0;
  box-shadow: var(--shadow-sm);
}

.author-avatar {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--border-subtle);
}

.author-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.8125rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.author-bio {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Deal Modal Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  max-width: 32rem;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalEnter 200ms var(--ease-impeccable);
}

@keyframes modalEnter {
  from { opacity: 0; transform: scale(0.96) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--text-primary);
}

/* Sticky Bottom Bar */
.sticky-deal-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0f172a;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1.5rem;
  z-index: 90;
  display: none;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
}

.sticky-deal-bar.visible {
  display: block;
}

.sticky-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.sticky-text {
  font-size: 0.875rem;
}

.sticky-text strong {
  color: #38bdf8;
}

/* Toast Notice */
.toast-notice {
  position: fixed;
  bottom: 5rem;
  right: 2rem;
  background: #0f172a;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #334155;
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--duration-fast) var(--ease-impeccable);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* Site Footer */
.site-footer {
  background: #0b1329;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2.5rem;
  margin-top: auto;
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  text-decoration: none;
}

.footer-bio {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 1.25rem;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.8125rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.affiliate-disclosure-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .cards-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none !important;
  }

  .mobile-menu-btn {
    display: inline-flex !important;
  }

  .header-inner {
    height: 3.85rem;
    gap: 0.75rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .header-actions .btn-deal-primary {
    font-size: 0.75rem;
    padding: 0.45rem 0.75rem;
  }

  /* Responsive Tables */
  .table-responsive, table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
  }

  .hero-section {
    padding: 2.75rem 0 2.5rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
    line-height: 1.18;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .coupon-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.75rem;
  }

  .btn-copy-code {
    width: 100%;
    justify-content: center;
  }

  .top-banner {
    font-size: 0.75rem;
    padding: 0.45rem 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    line-height: 1.4;
    text-align: center;
  }

  .cards-grid-3, .cards-grid-2, .cards-grid-4 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .speed-metric-grid {
    grid-template-columns: 1fr;
  }

  .calc-controls-grid {
    grid-template-columns: 1fr;
  }

  .quiz-options-grid {
    grid-template-columns: 1fr;
  }

  .author-profile-card {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sticky-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .header-actions .btn-deal-primary {
    display: none; /* Keep mobile header clean on ultra-compact phones; deal button is prominent inside drawer */
  }

  .brand-text {
    font-size: 1.2rem;
  }

  .brand-logo-svg {
    width: 1.95rem;
    height: 1.95rem;
  }
}

/* ==========================================================================
   Phase 1: Real TTFB & Speed Waterfall Telemetry Engine
   Crafted with Impeccable Design Guidelines & Zero AI Slop
   ========================================================================== */

.telemetry-dashboard {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin: 2rem 0;
}

.telemetry-header {
  background: #0f172a;
  color: #ffffff;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.telemetry-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #34d399;
}

.telemetry-live-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.telemetry-node-tabs {
  display: flex;
  gap: 0.375rem;
  background: #1e293b;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
  overflow-x: auto;
}

.telemetry-tab-btn {
  background: transparent;
  color: #94a3b8;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--duration-fast) ease;
}

.telemetry-tab-btn:hover {
  color: #ffffff;
}

.telemetry-tab-btn.active {
  background: #2563eb;
  color: #ffffff;
}

.telemetry-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.waterfall-comparison-list {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.waterfall-row {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.waterfall-row-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.875rem;
}

.waterfall-provider-name {
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.waterfall-latency-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.waterfall-track {
  width: 100%;
  height: 28px;
  background-color: #f1f5f9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.waterfall-bar {
  height: 100%;
  border-radius: var(--radius-sm);
  transition: width 0.6s var(--ease-impeccable);
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

.waterfall-bar-winner {
  background: linear-gradient(90deg, #059669 0%, #2563eb 100%);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.waterfall-bar-runnerup {
  background: #64748b;
}

.waterfall-bar-slow {
  background: #f59e0b;
}

/* Detailed TTFB Latency Stage Breakdown */
.latency-stage-breakdown {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.latency-stage-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: flex;
  justify-content: space-between;
}

.latency-stage-bar-wrapper {
  display: flex;
  height: 18px;
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: #e2e8f0;
}

.stage-dns { background: #38bdf8; }
.stage-connect { background: #818cf8; }
.stage-ssl { background: #c084fc; }
.stage-ttfb { background: #10b981; }
.stage-download { background: #0284c7; }

.latency-stage-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

/* 30-Day Uptime Telemetry Strip */
.telemetry-uptime-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.uptime-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.625rem;
  font-size: 0.8125rem;
}

.uptime-grid {
  display: grid;
  grid-template-columns: repeat(30, 1fr);
  gap: 3px;
  height: 24px;
}

.uptime-block {
  background-color: #10b981;
  border-radius: 2px;
  transition: opacity var(--duration-fast) ease;
  cursor: pointer;
}

.uptime-block:hover {
  opacity: 0.75;
}

.uptime-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Redis Object Cache Latency Visualizer */
.redis-visualizer-card {
  background: #0f172a;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid #1e293b;
}

.redis-visualizer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.25rem;
}

.redis-visualizer-subtitle {
  font-size: 0.8125rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}

.redis-bars-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.redis-bar-row {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.redis-row-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 600;
}

.redis-track {
  width: 100%;
  height: 26px;
  background: #1e293b;
  border-radius: var(--radius-xs);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.redis-bar-active {
  background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0f172a;
}

.redis-bar-slow {
  background: #f43f5e;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   Phase 2: Annotated Walkthroughs, UI Simulators & Step-by-Step Steppers
   Crafted with Impeccable Design Standards
   ========================================================================== */

/* Numbered Step Annotation Pins */
.step-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #2563eb;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.step-pin.emerald {
  background-color: #059669;
  box-shadow: 0 2px 4px rgba(5, 150, 105, 0.3);
}

.step-pin.amber {
  background-color: #d97706;
  box-shadow: 0 2px 4px rgba(217, 119, 6, 0.3);
}

/* Interactive LSCache Configuration Simulator */
.lscache-sim-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.25rem 0;
  box-shadow: var(--shadow-sm);
}

.lscache-sim-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.lscache-sim-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 640px) {
  .lscache-sim-grid {
    grid-template-columns: 1fr;
  }
}

.lscache-sim-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: border-color var(--duration-fast) ease;
}

.lscache-sim-item:hover {
  border-color: var(--brand-cobalt);
}

.sim-item-info {
  display: flex;
  flex-direction: column;
}

.sim-item-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-primary);
}

.sim-item-desc {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

/* Tactile Interactive Toggle Switch */
.interactive-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: #cbd5e1;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color var(--duration-fast) ease;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.interactive-toggle.active {
  background: #10b981;
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform var(--duration-fast) var(--ease-impeccable);
}

.interactive-toggle.active .toggle-thumb {
  transform: translateX(20px);
}

/* Code Snippet Box with 1-Click Copy */
.code-copy-wrapper {
  background: #0f172a;
  color: #f8fafc;
  border-radius: var(--radius-md);
  border: 1px solid #1e293b;
  overflow: hidden;
  margin: 1rem 0;
  position: relative;
}

.code-copy-header {
  background: #182234;
  padding: 0.5rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #94a3b8;
  border-bottom: 1px solid #1e293b;
}

.code-copy-content {
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.65;
  overflow-x: auto;
}

.btn-copy-code {
  background: #2563eb;
  color: #ffffff;
  border: none;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: all var(--duration-fast) ease;
}

.btn-copy-code:hover {
  background: #1d4ed8;
}

.btn-copy-code:active {
  transform: scale(0.96);
}

/* DNS Record Visualizer Table */
.dns-record-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 1.25rem 0;
}

.dns-record-row {
  display: grid;
  grid-template-columns: 80px 100px 1fr 100px;
  align-items: center;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .dns-record-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

.dns-record-row:last-child {
  border-bottom: none;
}

.dns-type-tag {
  background: #eff6ff;
  color: #1d4ed8;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  text-align: center;
  display: inline-block;
}

/* Migration Stepper Navigation */
.migration-stepper-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .migration-stepper-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}

.migration-step-btn {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-impeccable);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.migration-step-btn:hover {
  background: var(--bg-surface);
  border-color: var(--brand-cobalt);
}

.migration-step-btn.active {
  background: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.migration-step-btn.active .step-pin {
  background: #2563eb;
}

/* ==========================================================================
   Services & Concierge Implementation Studio
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--duration-fast) var(--ease-impeccable);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-cobalt);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.service-card.featured {
  border-color: #2563eb;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

.service-card.featured::before {
  content: "MOST POPULAR";
  position: absolute;
  top: 1rem;
  right: -2rem;
  transform: rotate(45deg);
  background: #2563eb;
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.25rem 2.5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.service-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-display);
  margin: 0.75rem 0 0.25rem;
}

.service-price-sub {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
  margin-bottom: 1.25rem;
}

.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-feature-list li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: #059669;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-impeccable);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
  font-size: 0.9375rem;
}

.whatsapp-btn:hover {
  background: #1eb857;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.trust-shield-card {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  margin-top: 3rem;
}

/* ==========================================================================
   Live Portfolio & Proof-of-Work Showcase
   ========================================================================== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.case-study-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--duration-fast) var(--ease-impeccable);
}

.case-study-card:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.12);
}

.case-study-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}

.case-study-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-impeccable);
}

.case-study-card:hover .case-study-img {
  transform: scale(1.03);
}

.case-study-tag-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.case-study-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.case-study-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-md);
  margin: 1.25rem 0;
  border: 1px solid var(--border-subtle);
  text-align: center;
}

.case-study-metric-val {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #059669;
}

.case-study-metric-lbl {
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}




