/* ╔══════════════════════════════════════════════════════════╗
  ║  @kylestudio - style-v6.css                              ║
  ║  NOVA - Complete Rebuild · Premium Portfolio              ║
   ║  February 2026                                            ║
   ╚══════════════════════════════════════════════════════════╝ */

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

/* ══════════════════════════════════════════
   DESIGN TOKENS
   ══════════════════════════════════════════ */
:root {
  /* Primary Palette - Violet/Indigo */
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --primary-glow: rgba(37,99,235,0.15);
  --primary-subtle: rgba(37,99,235,0.08);

  /* Secondary - Cyan */
  --accent: #0f172a;
  --accent-light: #1e293b;
  --accent-dark: #020617;
  --accent-glow: rgba(15,23,42,0.08);

  /* Status Colors */
  --green: #10b981;
  --green-glow: rgba(16,185,129,0.2);
  --amber: #f59e0b;
  --red: #ef4444;
  --blue: #3b82f6;

  /* Gradients */
  --grad: linear-gradient(135deg, #111827, #1f2937);
  --grad-r: linear-gradient(135deg, #1f2937, #111827);
  --grad-text: linear-gradient(135deg, #1e293b, #0f172a);
  --grad-warm: linear-gradient(135deg, #f59e0b, #ef4444);
  --grad-green: linear-gradient(135deg, #10b981, #06b6d4);

  /* Light Surfaces */
  --bg: #f3f4f6;
  --bg-elevated: #ffffff;
  --bg-card: rgba(255,255,255,0.98);
  --bg-card-solid: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-surface: #f1f5f9;
  --bg-input: #ffffff;
  --bg-overlay: rgba(15,23,42,0.2);

  /* Text */
  --text: #0f172a;
  --text-secondary: #334155;
  --text-dim: #64748b;
  --text-inverse: #ffffff;

  /* Borders & Lines */
  --border: rgba(15,23,42,0.08);
  --border-hover: rgba(124,58,237,0.35);
  --border-accent: rgba(6,182,212,0.25);
  --border-input: rgba(15,23,42,0.12);

  /* Glass */
  --glass: rgba(255,255,255,0.9);
  --glass-border: rgba(15,23,42,0.08);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15,23,42,0.06), 0 1px 2px rgba(15,23,42,0.04);
  --shadow-md: 0 8px 20px rgba(15,23,42,0.06);
  --shadow-lg: 0 18px 40px rgba(15,23,42,0.08);
  --shadow-glow: 0 0 30px rgba(37,99,235,0.1);
  --shadow-glow-accent: 0 0 60px var(--accent-glow);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.25), 0 0 0 1px var(--border);

  /* Layout */
  --section-py: clamp(3rem, 5vw, 4.6rem);
  --container-px: clamp(1.1rem, 2.8vw, 2.4rem);
  --container-max: 1380px;
  --radius: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --dur: 0.3s;
  --dur-slow: 0.6s;
  --dur-fast: 0.15s;
  --scroll-depth: 0;

  /* Z-index scale */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-modal: 500;
  --z-toast: 600;
  --z-fab: 700;
}

/* ══════════════════════════════════════════
   BASE ELEMENTS
   ══════════════════════════════════════════ */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: -18% -12% auto;
  height: 68vh;
  background:
    radial-gradient(circle at 18% 22%, rgba(37,99,235,0.14) 0, transparent 48%),
    radial-gradient(circle at 84% 10%, rgba(15,23,42,0.1) 0, transparent 52%),
    radial-gradient(circle at 62% 78%, rgba(16,185,129,0.1) 0, transparent 50%);
  filter: blur(24px);
  z-index: -1;
  pointer-events: none;
  animation: ambient-drift 16s ease-in-out infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: var(--phase-overlay-opacity, 0.22);
  background:
    conic-gradient(from 210deg at 12% 18%, rgba(37,99,235,0.12), rgba(16,185,129,0.06), rgba(15,23,42,0.1), rgba(37,99,235,0.12)),
    radial-gradient(circle at 82% 18%, rgba(16,185,129,0.13), transparent 40%),
    radial-gradient(circle at 16% 78%, rgba(37,99,235,0.13), transparent 44%);
  mix-blend-mode: multiply;
  filter: hue-rotate(var(--phase-hue, 0deg)) saturate(var(--phase-sat, 1));
  transition: filter 0.9s var(--ease), opacity 0.9s var(--ease);
}

body[data-phase='0'] { --phase-hue: 0deg; --phase-sat: 1; --phase-overlay-opacity: 0.2; }
body[data-phase='1'] { --phase-hue: 26deg; --phase-sat: 1.08; --phase-overlay-opacity: 0.24; }
body[data-phase='2'] { --phase-hue: 58deg; --phase-sat: 1.14; --phase-overlay-opacity: 0.27; }
body[data-phase='3'] { --phase-hue: 102deg; --phase-sat: 1.06; --phase-overlay-opacity: 0.23; }
body[data-phase='4'] { --phase-hue: 168deg; --phase-sat: 1.11; --phase-overlay-opacity: 0.26; }
body[data-phase='5'] { --phase-hue: 220deg; --phase-sat: 1.16; --phase-overlay-opacity: 0.29; }

img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--primary-dark); }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--primary);
  color: white;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; color: white; }

/* ── Container ── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* ── Section Layout ── */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section.phase-active,
.hero.phase-active,
.impact-strip.phase-active {
  animation: neon-breathe 5.2s ease-in-out infinite;
}

.section.phase-active > *,
.hero.phase-active > *,
.impact-strip.phase-active > * {
  position: relative;
  z-index: 1;
}

.section.phase-active::before,
.hero.phase-active::after,
.impact-strip.phase-active::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(120deg, rgba(37,99,235,0.05), transparent 45%, rgba(16,185,129,0.05));
  opacity: 0.6;
  animation: panel-wave 8s ease-in-out infinite;
}

.hero.phase-active::after {
  inset: 16% 0 0;
}

.impact-strip.phase-active::after {
  inset: 0;
  opacity: 0.38;
}

main > .section:nth-of-type(odd) {
  background: linear-gradient(180deg, rgba(37,99,235,0.035), transparent 45%);
}

main > .section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(16,185,129,0.03), transparent 50%);
  border-top: none;
  border-bottom: none;
}

.section-head {
  text-align: left;
  margin-bottom: 1.6rem;
  max-width: 760px;
}

main > .section:nth-of-type(even) .section-head {
  text-align: right;
  margin-left: auto;
}

main > .section:nth-of-type(even) .section-sub {
  margin-left: auto;
}
.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #4c1d95;
  background: linear-gradient(135deg, rgba(139,92,246,0.2), rgba(59,130,246,0.16));
  padding: 0.26rem 0.62rem;
  border-radius: 999px;
  border: 1px solid rgba(99,102,241,0.24);
  margin-bottom: 0.8rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
  background: linear-gradient(120deg, #6d28d9, #4338ca 48%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0;
}

/* ── Gradient Text ── */
.grad {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════
   AMBIENT BACKGROUND
   ══════════════════════════════════════════ */
.bg-glow {
  display: none;
}


@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes ambient-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(0, -14px, 0) scale(1.04); }
}

@keyframes funky-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  33% { transform: translate3d(0, -6px, 0); }
  66% { transform: translate3d(0, 3px, 0); }
}

@keyframes spotlight-shimmer {
  from { transform: translateX(-120%) rotate(14deg); }
  to { transform: translateX(140%) rotate(14deg); }
}

@keyframes orbit-sway {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(10px, -12px, 0) rotate(1deg); }
}

@keyframes neon-breathe {
  0%, 100% { filter: saturate(1) brightness(1); }
  50% { filter: saturate(1.22) brightness(1.06); }
}

@keyframes pop-jolt {
  0% { transform: scale(1) rotate(0deg); }
  35% { transform: scale(1.022) rotate(-0.35deg); }
  70% { transform: scale(0.995) rotate(0.25deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@keyframes panel-wave {
  0%, 100% { transform: translateX(0) scale(1); }
  50% { transform: translateX(-2%) scale(1.03); }
}

@keyframes glitch-shift {
  0% {
    transform: translate3d(0, 0, 0);
    filter: hue-rotate(0deg) saturate(1);
    text-shadow: none;
  }
  16% {
    transform: translate3d(-1px, 0, 0);
    filter: hue-rotate(22deg) saturate(1.15);
    text-shadow: 1px 0 rgba(16,185,129,0.65), -1px 0 rgba(37,99,235,0.55);
  }
  34% {
    transform: translate3d(1px, -1px, 0);
    filter: hue-rotate(-16deg) saturate(1.22);
    text-shadow: -1px 0 rgba(16,185,129,0.65), 1px 0 rgba(37,99,235,0.55);
  }
  62% {
    transform: translate3d(-1px, 1px, 0);
    filter: hue-rotate(12deg) saturate(1.1);
    text-shadow: 0 0 8px rgba(37,99,235,0.28);
  }
  100% {
    transform: translate3d(0, 0, 0);
    filter: hue-rotate(0deg) saturate(1);
    text-shadow: none;
  }
}

.glitch-hit {
  animation: glitch-shift 0.55s steps(2, end) 1;
}

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0.8rem;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: 0;
  background: transparent;
  transition: all var(--dur) var(--ease);
}
.navbar.scrolled {
  top: 0.45rem;
}

.nav-inner {
  max-width: min(var(--container-max), calc(100% - 1.6rem));
  margin: 0 auto;
  padding: 0.58rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.navbar.scrolled .nav-inner {
  box-shadow: var(--shadow-md);
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: transparent !important;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
  background: linear-gradient(120deg, #7c3aed, #6366f1 48%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo span {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 0.76rem;
  font-weight: 500;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.24rem;
}
.nav-links li a,
.nav-links li button {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
}
.nav-links li a:hover,
.nav-links li button:hover {
  color: var(--text);
  background: var(--primary-subtle);
}

.nav-link.active {
  color: var(--text);
  background: linear-gradient(135deg, rgba(124,58,237,0.2), rgba(37,99,235,0.16));
  box-shadow: inset 0 0 0 1px rgba(99,102,241,0.28);
}

.nav-desktop { display: flex; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
}

.nav-mobile {
  position: fixed;
  top: 0.75rem;
  right: -100%;
  width: min(300px, calc(100% - 1rem));
  height: calc(100vh - 1.5rem);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4.2rem 1rem 1.2rem;
  flex-direction: column;
  gap: 0.4rem;
  list-style: none;
  transition: right var(--dur-slow) var(--ease);
  z-index: calc(var(--z-sticky) + 3);
  display: flex;
  box-shadow: var(--shadow-lg);
}
.nav-mobile.active { right: 0.5rem; }
.nav-mobile li a,
.nav-mobile li button {
  font-size: 1rem;
  padding: 0.75rem 1rem;
  display: block;
  width: 100%;
  text-align: left;
  color: var(--text-secondary);
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
}
.nav-mobile li a:hover,
.nav-mobile li button:hover {
  color: var(--text);
  background: var(--primary-subtle);
}

.nav-mobile-cta {
  margin-top: 0.25rem;
  background: #111827 !important;
  color: #fff !important;
  text-align: center !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,0.34);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
  z-index: calc(var(--z-sticky) + 2);
}

body.nav-open .nav-backdrop {
  opacity: 1;
  pointer-events: all;
}

/* Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 38px;
  height: 38px;
  position: relative;
  z-index: calc(var(--z-sticky) + 4);
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--dur) var(--ease);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.mobile-toggle span:nth-child(1) { top: 10px; }
.mobile-toggle span:nth-child(2) { top: 17px; }
.mobile-toggle span:nth-child(3) { top: 24px; }
.mobile-toggle.active span:nth-child(1) { top: 17px; transform: translateX(-50%) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { top: 17px; transform: translateX(-50%) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .nav-inner {
    border-radius: 16px;
    max-width: calc(100% - 1rem);
    padding: 0.6rem 0.8rem;
  }
  .logo { font-size: 1.05rem; }
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  min-height: auto;
  display: flex;
  align-items: flex-start;
  padding: 6.25rem 0 3.25rem;
  position: relative;
  overflow: hidden;
  background: transparent;
}
.hero-overline {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #475569;
  margin-bottom: 0.95rem;
  font-weight: 700;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(37,99,235,0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.hero-showcase {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transform: translateY(calc(var(--scroll-depth) * -0.008px));
}

.hero-avatar-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
}

.hero-avatar-card img,
.avatar-hero {
  width: min(100%, 220px);
  height: auto;
  max-height: 260px;
  margin: 0 auto 0.75rem;
  object-fit: contain;
  object-position: center;
  display: block;
}

.hero-avatar-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-avatar-meta strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
}

.hero-avatar-meta span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.hero-proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  font-size: 0.86rem;
  color: var(--text-secondary);
  animation: funky-float 4.6s ease-in-out infinite;
}
.hero-proof:nth-child(2) { animation-delay: 0.35s; }
.hero-proof:nth-child(3) { animation-delay: 0.7s; }

.hero-proof i {
  color: var(--primary-light);
  font-size: 0.5rem;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}

.hero-text { flex: 1; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-glow);
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.25rem;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-green 2s ease-in-out infinite;
}

.hero-text h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  margin-bottom: 1rem;
  line-height: 1.04;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg, #6d28d9, #4338ca 48%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.hero-text h1 span {
  display: block;
  animation: hero-kinetic 6.8s var(--ease) infinite;
  transform-origin: left center;
  color: inherit;
}
.hero-text h1 span:nth-child(2) { animation-delay: 0.35s; }
.hero-text h1 span:nth-child(3) { animation-delay: 0.7s; }

@keyframes hero-kinetic {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  20% { transform: translate3d(0, -1px, 0) rotate(-0.15deg); }
  60% { transform: translate3d(0, 1px, 0) rotate(0.1deg); }
}

.hero-text .sub {
  font-size: 1.06rem;
  color: #334155;
  margin-bottom: 1.35rem;
  max-width: 650px;
  line-height: 1.6;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.scroll-cue {
  text-align: center;
  margin-top: 3rem;
  color: var(--text-dim);
  animation: bounce-down 2s ease-in-out infinite;
}
@keyframes bounce-down {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}

.impact-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
  position: relative;
}

.impact-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0.85rem 0;
  min-width: max-content;
  animation: strip-scroll 26s linear infinite;
}
.impact-strip:hover .impact-track { animation-play-state: paused; }

.impact-track span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  white-space: nowrap;
}

.impact-track span::before {
  content: '•';
  margin-right: 0.55rem;
  color: var(--primary-light);
}

@keyframes strip-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 700px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text .sub { margin: 0 auto 2rem; }
  .hero-btns { justify-content: center; }
  .hero-avatar-card img,
  .avatar-hero { width: min(100%, 170px); height: auto; max-height: 220px; }
}

/* ══════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
}

.btn-primary {
  background: #111827;
  color: white;
  box-shadow: none;
}
.btn-primary:hover {
  transform: translate3d(var(--mx, 0), calc(var(--my, 0) - 2px), 0);
  box-shadow: none;
  background: #0b1220;
  color: white;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: rgba(15,23,42,0.2);
  background: #f8fafc;
  color: var(--text);
}

.btn-wa {
  background: #25D366;
  color: white;
}
.btn-wa:hover {
  background: #20bd5a;
  transform: translate3d(var(--mx, 0), calc(var(--my, 0) - 2px), 0);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover {
  background: var(--primary-subtle);
  color: var(--primary-light);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
}

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

/* ══════════════════════════════════════════
   CARDS
   ══════════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--dur) var(--ease);
  backdrop-filter: blur(10px);
}

.tilt-card,
.tilt-card::before,
.tilt-card::after {
  transform: none !important;
  animation: none !important;
}
.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   ABOUT / INTRO
   ══════════════════════════════════════════ */
.about-block {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.about-block img {
  width: 180px;
  height: 180px;
  flex-shrink: 0;
  border-radius: var(--radius);
}

.about-mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(16,185,129,0.16));
  border: 1px solid rgba(37,99,235,0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}
.about-text h3 {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}
.about-text p {
  color: var(--text-secondary);
  margin-bottom: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 700px) {
  .about-block { flex-direction: column; text-align: center; padding: 2rem; }
  .about-block img { width: 140px; height: 140px; }
  .about-mark { width: 62px; height: 62px; }
}

/* ══════════════════════════════════════════
   SERVICES GRID
   ══════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}

.services-grid > .svc-card { grid-column: span 4; }
.services-grid > .svc-card:nth-child(2),
.services-grid > .svc-card:nth-child(5) { grid-column: span 5; }
.services-grid > .svc-card:nth-child(3),
.services-grid > .svc-card:nth-child(6) { grid-column: span 3; }

.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: all var(--dur) var(--ease);
  position: relative;
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  opacity: 0.45;
  transition: opacity var(--dur) var(--ease);
}
.svc-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px) rotate(-0.35deg);
  box-shadow: var(--shadow-md);
}
.svc-card:hover::before { opacity: 1; }

.svc-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(16,185,129,0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary-light);
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
}

.services-grid > .svc-card:nth-child(2)::before,
.services-grid > .svc-card:nth-child(5)::before {
  background: var(--grad-green);
}

.services-grid > .svc-card:nth-child(3)::before,
.services-grid > .svc-card:nth-child(6)::before {
  background: var(--grad-warm);
}

.svc-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}
.svc-card > p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.svc-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}
.svc-price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--green);
  background: var(--green-glow);
  padding: 0.15rem 0.5rem;
  border-radius: 2rem;
  margin-left: 0.5rem;
}

.svc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.svc-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.svc-list li i {
  color: var(--green);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Featured Card */
.featured-card {
  background: var(--bg-card);
  border: 2px solid var(--border-hover);
  border-radius: var(--radius);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad);
}
.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--amber);
  background: rgba(245,158,11,0.12);
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}
.featured-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.featured-card > p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 0 1.5rem;
}

.feature-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  text-align: left;
  max-width: 100%;
}
.feature-grid li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.feature-grid li i {
  color: var(--green);
  font-size: 0.7rem;
}

.price-big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}
.price-big span {
  font-size: 1.5rem;
  font-weight: 500;
}

/* ══════════════════════════════════════════
   WHAT YOU GET / BENTO
   ══════════════════════════════════════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: all var(--dur) var(--ease);
}
.bento-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px) rotate(0.3deg);
}
.bento-card.wide {
  grid-column: auto;
}
.bento-emoji {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.bento-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.bento-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   PORTFOLIO
   ══════════════════════════════════════════ */
.portfolio-featured {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}

.portfolio-featured::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #0ea5e9, #10b981);
}
.portfolio-featured-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.portfolio-img {
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.portfolio-img .live-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--green);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 2rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.portfolio-img .live-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: pulse-green 2s ease-in-out infinite;
}
.portfolio-img .browser-frame {
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 0;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
}
.browser-dots {
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.browser-dots span:first-child { background: #ef4444; }
.browser-dots span:nth-child(2) { background: #f59e0b; }
.browser-dots span:nth-child(3) { background: #10b981; }
.browser-body {
  padding: 1.5rem;
  text-align: center;
}
.browser-body h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.browser-body p {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.portfolio-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.portfolio-info .client-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-light);
  background: var(--primary-subtle);
  padding: 0.35rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
  width: fit-content;
}
.portfolio-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.portfolio-info p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.7;
}
.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.portfolio-tags span {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 2rem;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

@media (max-width: 800px) {
  .portfolio-featured-inner { grid-template-columns: 1fr; }
  .portfolio-img { min-height: 200px; }
}

/* ── Engines Unlimited featured logo (used in browser-frame) ── */
.eu-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.eu-logo {
  max-height: 56px;
  max-width: 160px;
  object-fit: contain;
}

/* ── Live Client Cards ────────────────────────────────────────── */
.lcc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.lcc-card {
  display: flex;
  align-items: stretch;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--lcc-accent, var(--primary));
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.lcc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15,23,42,0.11);
  border-color: var(--lcc-accent, var(--primary));
  color: var(--text);
}
/* Left logo column */
.lcc-left {
  width: 76px;
  flex-shrink: 0;
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0;
}
.lcc-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lcc-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}
.lcc-logo span {
  font-size: 1.5rem;
  line-height: 1;
  display: none;
}
/* Right body */
.lcc-body {
  flex: 1;
  padding: 1rem 1.1rem 0.85rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.lcc-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}
.lcc-body h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lcc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: 2rem;
  flex-shrink: 0;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.lcc-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.lcc-live  { background: rgba(16,185,129,0.12); color: #10b981; }
.lcc-live .lcc-dot { animation: pulse-green 2s ease-in-out infinite; }
.lcc-indev { background: rgba(245,158,11,0.12);  color: #f59e0b; }
.lcc-prod  { background: rgba(124,58,237,0.12);   color: var(--primary-light); }
.lcc-body > p {
  font-size: 0.77rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 0.65rem;
  flex: 1;
}
/* URL bar */
.lcc-url-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0.3rem 0.55rem;
  min-width: 0;
}
.lcc-lock { font-size: 0.6rem; color: #10b981; flex-shrink: 0; }
.lcc-domain-txt {
  font-size: 0.69rem;
  font-family: 'Space Mono', monospace, sans-serif;
  color: var(--text-secondary);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lcc-open-lbl {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--lcc-accent, var(--primary));
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}
.lcc-card:hover .lcc-open-lbl { gap: 0.5rem; }
@media (max-width: 580px) {
  .lcc-grid { grid-template-columns: 1fr; }
}

/* ── Social Demo Cards ───────────────────────────────────────── */
.sdemo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.sdemo-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.sdemo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15,23,42,0.11);
  color: var(--text);
}
.sdemo-card--fb:hover   { border-color: rgba(24,119,242,0.4); }
.sdemo-card--google:hover { border-color: rgba(66,133,244,0.4); }
/* Platform pill */
.sdemo-plat {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid;
}
.sdemo-card--fb .sdemo-plat {
  background: rgba(24,119,242,0.07);
  border-color: rgba(24,119,242,0.15);
}
.sdemo-card--google .sdemo-plat {
  background: rgba(66,133,244,0.07);
  border-color: rgba(66,133,244,0.15);
}
.sdemo-plat-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
  flex-shrink: 0;
}
.sdemo-card--fb .sdemo-plat-ico     { background: #1877F2; }
.sdemo-card--google .sdemo-plat-ico { background: #4285F4; }
.sdemo-plat-name {
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  flex: 1;
}
.sdemo-card--fb .sdemo-plat-name     { color: #1877F2; }
.sdemo-card--google .sdemo-plat-name { color: #4285F4; }
.sdemo-ext-ico {
  font-size: 0.6rem;
  opacity: 0.35;
  transition: opacity 0.2s, transform 0.2s;
}
.sdemo-card:hover .sdemo-ext-ico { opacity: 0.9; transform: translate(2px,-2px); }
/* Body */
.sdemo-body {
  padding: 0.85rem 1rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.sdemo-body h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
}
.sdemo-body p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}
/* URL bar */
.sdemo-url-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.75rem 1rem 0.85rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 0.3rem 0.55rem;
  min-width: 0;
}
.sdemo-url-bar .fa-lock { font-size: 0.6rem; color: #10b981; flex-shrink: 0; }
.sdemo-url-domain {
  font-size: 0.67rem;
  font-family: 'Space Mono', monospace, sans-serif;
  color: var(--text-secondary);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sdemo-url-open {
  font-size: 0.67rem;
  font-weight: 800;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}
.sdemo-card--fb .sdemo-url-open     { color: #1877F2; }
.sdemo-card--google .sdemo-url-open { color: #4285F4; }
.sdemo-card:hover .sdemo-url-open   { gap: 0.5rem; }
@media (max-width: 580px) {
  .sdemo-grid { grid-template-columns: 1fr; }
}

/* Demo Tiles */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.demo-tile {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.demo-tile:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.demo-tile .tile-emoji { font-size: 2rem; }
.demo-tile .tile-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}
.demo-tile .tile-type {
  font-size: 0.72rem;
  color: var(--text-dim);
}

/* ══════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════ */
.mgmt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.mgmt-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  position: relative;
  transition: all var(--dur) var(--ease);
}

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

.mgmt-card.popular {
  border: 2px solid rgba(37,99,235,0.45);
  box-shadow: var(--shadow-glow);
}

.mgmt-tier {
  font-size: 1.1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.mgmt-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  line-height: 1.1;
}

.mgmt-price span {
  font-size: 1.05rem;
  color: var(--text-dim);
  margin-right: 0.15rem;
}

.mgmt-period {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.mgmt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.95rem;
}

.mgmt-list li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.45;
}

.mgmt-list i {
  color: var(--green);
  font-size: 0.72rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.mgmt-exclude {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-xs);
  border: 1px dashed var(--border);
  background: rgba(15,23,42,0.02);
}

.mgmt-terms {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.mgmt-terms h3 {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mgmt-terms h3 i {
  color: var(--primary-light);
}

.terms-list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.terms-list li {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  position: relative;
  transition: all var(--dur) var(--ease);
}
.price-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px) rotate(-0.25deg);
  box-shadow: var(--shadow-md);
}
.price-card.popular {
  border: 2px solid rgba(37,99,235,0.5);
  box-shadow: var(--shadow-glow);
}
.price-card.popular::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad);
  border-radius: var(--radius) var(--radius) 0 0;
}

.pop-badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--grad);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.price-amt {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.price-amt span {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dim);
}
.price-period {
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.price-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.price-list li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.price-list li i.fa-check { color: var(--green); font-size: 0.7rem; }
.price-list li i.fa-times { color: var(--text-dim); font-size: 0.7rem; }

.price-dep {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
  margin-bottom: 1rem;
}
.price-dep strong { color: var(--text-secondary); }

/* ══════════════════════════════════════════
   CALCULATOR
   ══════════════════════════════════════════ */

.calc-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 100%;
  margin: 0 auto;
}

#pricing .calc-box + .calc-box {
  margin-top: 1.25rem;
}
.calc-box h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.calc-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.calc-section { margin-bottom: 1.75rem; }
.calc-section > label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* Page counter */
.pg-counter {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.pg-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur) var(--ease);
  font-size: 0.85rem;
}
.pg-btn:hover:not(:disabled) {
  border-color: var(--border-hover);
  background: var(--primary-subtle);
}
.pg-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.pg-display {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}
.pg-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
}
.pg-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.pg-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-dim);
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* Add-ons */
.addon-grid {
  display: grid;
  gap: 0.6rem;
}
.addon {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  background: var(--bg-surface);
}
.addon:hover { border-color: var(--border-hover); }
.addon input { display: none; }
.addon-tick {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur) var(--ease);
  flex-shrink: 0;
}
.addon-tick i { opacity: 0; font-size: 0.6rem; color: white; transition: opacity var(--dur-fast); }
.addon input:checked ~ .addon-tick {
  background: var(--primary);
  border-color: var(--primary);
}
.addon input:checked ~ .addon-tick i { opacity: 1; }
.addon-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}
.addon-name { font-size: 0.88rem; font-weight: 500; }
.addon-cost { font-size: 0.82rem; color: var(--accent-light); font-weight: 600; }

/* Result */
.calc-result {
  border-top: 2px solid var(--border);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}
.breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.breakdown-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 2rem;
  background: var(--primary-subtle);
  color: var(--primary-light);
  border: 1px solid rgba(124,58,237,0.2);
}
.calc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
}
.calc-total-amt {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════════════════
   PROCESS / STEPS
   ══════════════════════════════════════════ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--grad);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 0 20px var(--primary-glow);
}
.step-emoji {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.step h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 700px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
}
@media (max-width: 450px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 1.2rem; }
}

/* ══════════════════════════════════════════
   TECH SUPPORT
   ══════════════════════════════════════════ */
.tech-props {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.tech-prop {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.tech-prop i { color: var(--accent-light); }

.tech-cat { margin-bottom: 2rem; }
.cat-title {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cat-title i { color: var(--primary-light); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .tech-grid { grid-template-columns: 1fr; }
}
.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--dur) var(--ease);
}
.tech-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.tech-ico {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(16,185,129,0.16));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}
.tech-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.tech-card .desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.tech-tag {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-light);
}

/* Windows Licensing */
.win-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.win-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.win-header i { color: var(--accent-light); }
.win-header h4 { font-size: 1.05rem; }
.win-opts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
.win-opt {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
}
.win-opt.hl {
  border-color: var(--border-hover);
  background: var(--primary-subtle);
}
.win-opt h5 {
  font-size: 0.88rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.win-opt h5 i { color: var(--primary-light); font-size: 0.8rem; }
.opt-desc {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.opt-price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--accent-light);
}

.tech-cta {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.tech-cta h3 { margin-bottom: 0.5rem; }
.tech-cta p { color: var(--text-secondary); margin-bottom: 1.25rem; }
.tech-cta-btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════
   CONTACT
   ══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1rem;
  align-items: start;
}

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

/* Chat window */
.chat-win {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.chat-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}
.chat-bar img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

.avatar-chat {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
.chat-bar-info h4 {
  font-size: 0.9rem;
  margin-bottom: 0.1rem;
}
.chat-bar-info span {
  font-size: 0.72rem;
  color: var(--green);
}

.chat-body { padding: 1.5rem; }
.chat-msg {
  background: var(--bg-surface);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  display: inline-block;
}

.c-form { display: flex; flex-direction: column; gap: 0.85rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.3rem; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.form-group label i { font-size: 0.7rem; color: var(--primary-light); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.7rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-xs);
  color: var(--text);
  font-family: inherit;
  font-size: 0.88rem;
  transition: border-color var(--dur) var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
}
.form-group textarea {
  min-height: 100px;
  resize: vertical;
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%2394a3b8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.privacy-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.privacy-check input { display: none; }
.check-box {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast);
  flex-shrink: 0;
}
.privacy-check input:checked ~ .check-box {
  background: var(--primary);
  border-color: var(--primary);
}
.check-box i { opacity: 0; font-size: 0.55rem; color: white; }
.privacy-check input:checked ~ .check-box i { opacity: 1; }
.privacy-check a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.btn-send {
  background: var(--grad);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all var(--dur) var(--ease);
}
.btn-send:hover { transform: translateY(-2px); box-shadow: 0 4px 20px var(--primary-glow); }

/* Contact pills */
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
}
.pill:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: var(--primary-subtle);
}

/* Contact info sidebar */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.contact-info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.info-item:last-child { margin-bottom: 0; }
.info-item i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--primary-light);
  flex-shrink: 0;
}
.info-item a { color: var(--text-secondary); }
.info-item a:hover { color: var(--primary-light); }

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--dur) var(--ease);
}
.social-link:hover {
  border-color: var(--border-hover);
  color: var(--primary-light);
  transform: translate3d(var(--mx, 0), calc(var(--my, 0) - 2px), 0);
}

/* ══════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════ */
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}
.faq-q i {
  color: var(--text-dim);
  font-size: 0.75rem;
  transition: transform var(--dur) var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease);
}
.faq-item.open .faq-a { max-height: 500px; }
.faq-a p {
  padding: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   DEPOSIT STRIP
   ══════════════════════════════════════════ */
.deposit-strip {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}
.dep-icon {
  font-size: 1.5rem;
  color: var(--green);
  flex-shrink: 0;
}
.deposit-strip h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.deposit-strip p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 500px) {
  .deposit-strip { flex-direction: column; text-align: center; padding: 1.25rem; }
}

/* ══════════════════════════════════════════
   CTA ROW (avatar + text)
   ══════════════════════════════════════════ */
.cta-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-top: 3rem;
}
.cta-row img {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}
.cta-row h3 { margin-bottom: 0.5rem; }
.cta-row p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

@media (max-width: 600px) {
  .cta-row { flex-direction: column; text-align: center; }
  .cta-row img { width: 90px; height: 90px; }
}

/* ══════════════════════════════════════════
   BOOKING MODAL
   ══════════════════════════════════════════ */
.book-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-overlay);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur) var(--ease);
  padding: 1rem;
}
.book-modal.active { opacity: 1; visibility: visible; }
.book-modal-inner {
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--dur-slow) var(--ease-spring);
}
.book-modal.active .book-modal-inner { transform: translateY(0) scale(1); }
.book-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg-surface);
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all var(--dur) var(--ease);
}
.book-close:hover { color: var(--text); background: var(--primary-subtle); }

.book-form { display: flex; flex-direction: column; gap: 0.85rem; }
.book-ok { text-align: center; padding: 2rem 0; }
.book-ok-icon { font-size: 3rem; color: var(--green); margin-bottom: 1rem; }
.book-ok h3 { margin-bottom: 0.5rem; }
.book-ok p { color: var(--text-secondary); margin-bottom: 1.5rem; }

/* ══════════════════════════════════════════
   MODALS (Privacy, All Demos)
   ══════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: var(--bg-overlay);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur) var(--ease);
  padding: 1rem;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg-surface);
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover { color: var(--text); }
.modal-box h3 { margin-bottom: 1.5rem; }

/* Privacy Modal */
.priv-modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: var(--bg-overlay);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur) var(--ease);
  padding: 1rem;
}
.priv-modal.active { opacity: 1; visibility: visible; }
.priv-box {
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 550px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
}
.priv-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg-surface);
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.priv-close:hover { color: var(--text); }
.priv-txt h3 { font-size: 1rem; margin: 1.25rem 0 0.5rem; }
.priv-txt p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 0.5rem; }

/* ══════════════════════════════════════════
   COOKIE BANNER
   ══════════════════════════════════════════ */
.cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-toast);
  background: var(--glass);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 0.85rem var(--container-px);
}
.cookie-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
.cookie p i { margin-right: 0.35rem; }
.cookie-ok {
  padding: 0.45rem 1.2rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-xs);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  white-space: nowrap;
}

/* ══════════════════════════════════════════
   WHATSAPP FAB
   ══════════════════════════════════════════ */
.wa-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: var(--z-fab);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: all var(--dur) var(--ease);
}
.wa-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
  color: white;
}

/* ══════════════════════════════════════════
   BACK TO TOP
   ══════════════════════════════════════════ */
.btt {
  position: fixed;
  bottom: 1.5rem;
  right: 5rem;
  z-index: var(--z-fab);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card-solid);
  border: 1px solid var(--border);
  color: var(--text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all var(--dur) var(--ease);
  pointer-events: none;
}
.btt.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.btt:hover { border-color: var(--border-hover); color: var(--primary-light); }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer p {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}
.footer a { color: var(--text-secondary); }
.footer-sub { font-size: 0.78rem; }

/* ══════════════════════════════════════════
   SOCIAL MEDIA SECTION
   ══════════════════════════════════════════ */
.social-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 900px) {
  .social-services { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

/* ══════════════════════════════════════════
   ANIMATIONS / REVEAL
   ══════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.985) rotate(var(--reveal-tilt, 0deg));
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), filter var(--dur-slow) var(--ease-out);
  filter: blur(6px);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  filter: blur(0);
}

main > .section:nth-of-type(odd) [data-reveal] { --reveal-tilt: 0.45deg; }
main > .section:nth-of-type(even) [data-reveal] { --reveal-tilt: -0.45deg; }

[data-reveal-stagger] {
  opacity: 1 !important;
  transform: none !important;
}
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(0.985);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), filter 0.5s var(--ease-out);
  filter: blur(4px);
}
[data-reveal-stagger] > *:nth-child(odd) { transform: translate3d(-14px, 20px, 0) scale(0.985); }
[data-reveal-stagger] > *:nth-child(even) { transform: translate3d(14px, 20px, 0) scale(0.985); }
[data-reveal-stagger].revealed > * {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}
[data-reveal-stagger].revealed > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal-stagger].revealed > *:nth-child(2) { transition-delay: 80ms; }
[data-reveal-stagger].revealed > *:nth-child(3) { transition-delay: 160ms; }
[data-reveal-stagger].revealed > *:nth-child(4) { transition-delay: 240ms; }
[data-reveal-stagger].revealed > *:nth-child(5) { transition-delay: 320ms; }
[data-reveal-stagger].revealed > *:nth-child(6) { transition-delay: 400ms; }
[data-reveal-stagger].revealed > *:nth-child(7) { transition-delay: 480ms; }
[data-reveal-stagger].revealed > *:nth-child(8) { transition-delay: 560ms; }
[data-reveal-stagger].revealed > *:nth-child(9) { transition-delay: 640ms; }

/* ══════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════ */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  text-align: center;
  padding: 1.25rem 0 0;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
  transform: translateY(calc(var(--scroll-depth) * -0.004px));
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(120deg, #6d28d9, #4338ca 48%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}
.stat-num-prefix {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.7;
}
.stat-label {
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.3;
}

@media (max-width: 600px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* ══════════════════════════════════════════
   INDUSTRY TABS
   ══════════════════════════════════════════ */
.industry-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 3rem;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
}
.tab-btn:hover { border-color: var(--border-hover); color: var(--text); }
.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.tab-emoji { font-size: 1rem; }

/* Demo panels */
.demo-panels { position: relative; }
.demo-panel {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem;
  position: relative;
  overflow: hidden;
}
.demo-panel::before {
  content: '';
  position: absolute;
  inset: -40% -20%;
  background: radial-gradient(circle at 20% 30%, rgba(37,99,235,0.12), transparent 45%), radial-gradient(circle at 75% 70%, rgba(16,185,129,0.11), transparent 42%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  animation: panel-wave 9s ease-in-out infinite;
}
.demo-panel.active { display: block; }
.demo-panel.active::before { opacity: 1; }
.demo-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-glow);
  padding: 0.25rem 0.65rem;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
}
.demo-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.demo-panel > p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.demo-checks {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.demo-checks li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.demo-checks li i { color: var(--green); font-size: 0.7rem; }

.demo-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.demo-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 1rem;
}
.demo-note a { text-decoration: underline; text-underline-offset: 2px; }

/* Tiles grid for modal */
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--dur) var(--ease);
  text-decoration: none;
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
}
.tile:hover {
  border-color: var(--border-hover);
  background: var(--primary-subtle);
}
.tile-emoji { font-size: 1.5rem; }
.tile-label { font-size: 0.85rem; font-weight: 600; color: var(--text); }

.fx-cursor-blob {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
  filter: blur(26px);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 0.35s var(--ease);
}

.fx-cursor-blob.blob-a {
  background: radial-gradient(circle, rgba(37,99,235,0.2) 0%, rgba(37,99,235,0) 70%);
}

.fx-cursor-blob.blob-b {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(16,185,129,0.18) 0%, rgba(16,185,129,0) 70%);
  filter: blur(22px);
}

body.exp-motion .fx-cursor-blob {
  opacity: 0.75;
  animation: orbit-sway 7s ease-in-out infinite;
}

body.exp-motion .section-title,
body.exp-motion .price-amt,
body.exp-motion .stat-num {
  animation: neon-breathe 5.4s ease-in-out infinite;
}

body.exp-motion .funk-pop {
  animation: pop-jolt 0.75s var(--ease-spring);
}

body.exp-motion .hero-showcase,
body.exp-motion .portfolio-featured,
body.exp-motion .price-card.popular {
  box-shadow: 0 12px 34px rgba(15,23,42,0.08), 0 0 0 1px rgba(37,99,235,0.12), 0 0 44px rgba(37,99,235,0.12);
}

/* ══════════════════════════════════════════
   RESPONSIVE UTILITIES
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid > .svc-card,
  .services-grid > .svc-card:nth-child(2),
  .services-grid > .svc-card:nth-child(3),
  .services-grid > .svc-card:nth-child(5),
  .services-grid > .svc-card:nth-child(6) { grid-column: auto; }

  body::before,
  body::after,
  .section.phase-active::before,
  .hero.phase-active::after,
  .impact-strip.phase-active::after {
    display: none;
  }

  .section.phase-active,
  .hero.phase-active,
  .impact-strip.phase-active,
  .hero-proof,
  .hero-text h1 span,
  .scroll-cue,
  .impact-track,
  body.exp-motion .section-title,
  body.exp-motion .price-amt,
  body.exp-motion .stat-num,
  body.exp-motion .hero-showcase,
  body.exp-motion .portfolio-featured,
  body.exp-motion .price-card.popular {
    animation: none !important;
  }

  .nav-inner {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255,255,255,0.96);
  }

  .hero-showcase,
  .stats-bar {
    transform: none;
  }

  .impact-track {
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
}
@media (max-width: 900px) {
  .mgmt-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .hero { padding: 5.4rem 0 2.4rem; min-height: auto; }
  .section { padding: clamp(2rem, 5vw, 2.8rem) 0; }
  .featured-card { padding: 1.5rem; }
  .calc-box { padding: 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .impact-track { animation-duration: 18s; }
  .bento { grid-template-columns: 1fr; }
  .bento-card.wide { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  body::before,
  body::after { display: none; }
  .fx-cursor-blob { display: none !important; }
  [data-reveal],
  [data-reveal-stagger] > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ══════════════════════════════════════════
   PRINT
   ══════════════════════════════════════════ */
@media print {
  .navbar, .mobile-toggle, .wa-fab, .btt, .bg-glow,
  .cookie, .book-modal, .priv-modal, .modal-overlay { display: none !important; }
  body { color: #000; background: #fff; }
  .section { padding: 2rem 0; }
}
