/* ============================================
   LOCAL FONTS
   ============================================ */
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-300.ttf') format('truetype');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-400.ttf') format('truetype');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-500.ttf') format('truetype');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-600.ttf') format('truetype');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-700.ttf') format('truetype');
}
@font-face {
  font-family: 'IBM Plex Sans';
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url('fonts/ibm-plex-sans-700.ttf') format('truetype');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-400.ttf') format('truetype');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-500.ttf') format('truetype');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-600.ttf') format('truetype');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-700.ttf') format('truetype');
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --white: #FFFFFF;
  --black: #0A0A0A;
  --accent: #166534;
  --accent-dark: #15803d;
  --accent-light: #16653420;
  --accent-bg: #F0FDF4;
  --steel: #374151;
  --gray-light: #F3F4F6;
  --gray-border: #D1D5DB;
  --gray-mid: #4B5563;
  --red: #DC2626;
  --red-light: #FEF2F2;
  --red-border: #FECACA;
  --green: #166534;
  --green-light: #F0FDF4;
  --warm: #B45309;
  --scenario-em: #DC2626;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;
}

/* ── DARK MODE ── */
[data-theme="dark"] {
  --white: #0F0F0F;
  --black: #E8E8E8;
  --accent: #4ADE80;
  --accent-dark: #22C55E;
  --accent-light: #4ADE8018;
  --accent-bg: rgba(74, 222, 128, 0.08);
  --steel: #D4D4D4;
  --gray-light: #1A1A1A;
  --gray-border: #2E2E2E;
  --gray-mid: #B0B0B0;
  --red: #F87171;
  --red-light: rgba(248, 113, 113, 0.08);
  --red-border: #7F1D1D;
  --green: #4ADE80;
  --green-light: rgba(74, 222, 128, 0.08);
  --warm: #FBBF24;
  --scenario-em: #F87171;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

.container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
}

.loader-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 48px;
  margin-bottom: 24px;
}

.loader-wave .lb {
  width: 3.5px;
  background: var(--accent);
  border-radius: 0;
}

[data-theme="dark"] .loader-wave .lb {
  background: #4ADE80;
}

.loader-wave .lb:nth-child(1)  { height: 10px; animation: lw 0.35s ease infinite alternate; }
.loader-wave .lb:nth-child(2)  { height: 20px; animation: lw 0.4s ease infinite alternate 0.06s; }
.loader-wave .lb:nth-child(3)  { height: 32px; animation: lw 0.3s ease infinite alternate 0.12s; }
.loader-wave .lb:nth-child(4)  { height: 16px; animation: lw 0.45s ease infinite alternate 0.04s; }
.loader-wave .lb:nth-child(5)  { height: 26px; animation: lw 0.32s ease infinite alternate 0.1s; }
.loader-wave .lb:nth-child(6)  { height: 36px; animation: lw 0.38s ease infinite alternate 0.16s; }
.loader-wave .lb:nth-child(7)  { height: 14px; animation: lw 0.42s ease infinite alternate 0.08s; }
.loader-wave .lb:nth-child(8)  { height: 24px; animation: lw 0.36s ease infinite alternate 0.14s; }
.loader-wave .lb:nth-child(9)  { height: 18px; animation: lw 0.33s ease infinite alternate 0.18s; }
.loader-wave .lb:nth-child(10) { height: 28px; animation: lw 0.39s ease infinite alternate 0.05s; }

@keyframes lw {
  from { transform: scaleY(1); }
  to { transform: scaleY(0.25); }
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9CA3AF;
  min-height: 20px;
  transition: opacity 0.3s;
}

/* ============================================
   NAV
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #0A0A0A;
  border-bottom: 3px solid var(--accent);
  padding: 0 32px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(22, 101, 52, 0.15);
  padding: 3px 8px;
  border: 1px solid var(--accent);
}

[data-theme="dark"] .logo-tag {
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.15);
  border-color: #4ADE80;
}

.logo-text {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: #F3F4F6;
  letter-spacing: 0.5px;
}

.nav-r {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-r a {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: #9CA3AF;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav-r a:hover {
  color: #F3F4F6;
}

.nav-btn {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #0A0A0A !important;
  background: var(--accent);
  padding: 7px 18px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

[data-theme="dark"] .nav-btn {
  color: #4ADE80 !important;
  background: transparent;
  border: 1.5px solid #4ADE80;
}

.nav-btn:hover {
  background: var(--accent-dark);
  color: #FFFFFF !important;
}

[data-theme="dark"] .nav-btn:hover {
  background: #4ADE80;
  color: #0F0F0F !important;
  border-color: #4ADE80;
}

.theme-toggle {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9CA3AF;
  transition: all 0.2s;
  position: relative;
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .theme-toggle:hover {
  border-color: #4ADE80;
  color: #4ADE80;
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Show sun in dark mode, moon in light mode */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: 110px 24px 80px;
  text-align: center;
  border-bottom: 1px solid var(--gray-border);
  background: var(--white);
  position: relative;
  transition: background 0.3s;
}

/* Hide orbs and grid in this design */
.hero-bg, .cursor-glow { display: none; }

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* Hero hook line */
.hero-hook {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-tag {
  display: none;
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--black);
  margin-bottom: 12px;
}

/* Word rotator — sits as its own line below heading */
.hero-rotator-wrap {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.2;
  margin-bottom: 32px;
  min-height: 1.3em;
  animation: heroFadeUp 0.8s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.word-rotator {
  display: inline-block;
  position: relative;
  height: 1.2em;
  overflow: hidden;
  vertical-align: bottom;
}

.word-rotator-inner {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.word-slide {
  height: 1.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  position: relative;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Underline bar on active word */
.word-slide::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 5px;
  background: var(--accent);
  opacity: 0.18;
}

/* ── GLITCH TEXT EFFECT ── */
.hero-glitch-wrap {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.4;
  margin-bottom: 32px;
  min-height: 1.6em;
  padding: 8px 0;
  animation: heroFadeUp 0.8s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-glitch {
  display: inline-block;
  position: relative;
  color: var(--accent);
  padding: 4px 0;
}

/* Glitch layers */
.hero-glitch::before,
.hero-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}

.hero-glitch::before {
  color: #E1306C;
  z-index: -1;
}

.hero-glitch::after {
  color: #00D4FF;
  z-index: -1;
}

.hero-glitch.glitching::before {
  animation: glitchTop 0.4s steps(2) forwards;
}

.hero-glitch.glitching::after {
  animation: glitchBottom 0.4s steps(2) forwards;
}

@keyframes glitchTop {
  0% { clip-path: inset(0 0 65% 0); transform: translate(-3px, -2px); opacity: 0.8; }
  25% { clip-path: inset(30% 0 40% 0); transform: translate(3px, 1px); opacity: 0.6; }
  50% { clip-path: inset(60% 0 5% 0); transform: translate(-2px, 2px); opacity: 0.8; }
  75% { clip-path: inset(10% 0 70% 0); transform: translate(2px, -1px); opacity: 0.4; }
  100% { clip-path: inset(0 0 100% 0); transform: translate(0); opacity: 0; }
}

@keyframes glitchBottom {
  0% { clip-path: inset(65% 0 0 0); transform: translate(3px, 2px); opacity: 0.8; }
  25% { clip-path: inset(40% 0 30% 0); transform: translate(-3px, -1px); opacity: 0.6; }
  50% { clip-path: inset(5% 0 60% 0); transform: translate(2px, -2px); opacity: 0.8; }
  75% { clip-path: inset(70% 0 10% 0); transform: translate(-2px, 1px); opacity: 0.4; }
  100% { clip-path: inset(100% 0 0 0); transform: translate(0); opacity: 0; }
}

@keyframes glitchReveal {
  0% { opacity: 0; transform: translateX(-8px) skewX(-5deg); filter: blur(6px); }
  20% { opacity: 0.6; transform: translateX(5px) skewX(3deg); filter: blur(2px); }
  40% { opacity: 1; transform: translateX(-3px) skewX(-1deg); filter: blur(0); }
  60% { transform: translateX(2px) skewX(0.5deg); }
  80% { transform: translateX(-1px) skewX(0deg); }
  100% { opacity: 1; transform: translateX(0) skewX(0deg); filter: blur(0); }
}

@keyframes glitchHide {
  0% { opacity: 1; transform: translateX(0) skewX(0deg); filter: blur(0); }
  20% { opacity: 0.9; transform: translateX(-3px) skewX(-2deg); filter: blur(0); }
  50% { opacity: 0.6; transform: translateX(6px) skewX(4deg); filter: blur(2px); }
  80% { opacity: 0.2; transform: translateX(-8px) skewX(-3deg); filter: blur(5px); }
  100% { opacity: 0; transform: translateX(10px) skewX(5deg); filter: blur(8px); }
}

.hero-glitch.glitch-in {
  animation: glitchReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-glitch.glitch-out {
  animation: glitchHide 0.55s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

@media (max-width: 768px) {
  .hero-glitch-wrap {
    font-size: 17px;
    letter-spacing: -0.3px;
    margin-bottom: 20px;
    min-height: 2.8em;
    padding: 6px 0;
    line-height: 1.5;
  }
}

@media (max-width: 380px) {
  .hero-glitch-wrap {
    font-size: 15px;
    min-height: 3em;
  }
}

/* Fade-in the hero heading */
.hero h1 {
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-desc {
  animation: heroFadeUp 0.8s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-ctas {
  animation: heroFadeUp 0.8s 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-note {
  animation: heroFadeUp 0.8s 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-scenario {
  animation: heroFadeUp 0.8s 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-desc {
  font-size: 18px;
  font-weight: 400;
  color: var(--steel);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-desc em {
  color: var(--warm);
  font-style: normal;
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-main {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
}

[data-theme="dark"] .btn-main {
  color: #E8E8E8;
  background: #166534;
  border: 1.5px solid #22C55E;
}

.btn-main:hover {
  background: var(--accent-dark);
}

[data-theme="dark"] .btn-main:hover {
  background: #15803d;
  color: #FFFFFF;
  border-color: #4ADE80;
}

.btn-ghost {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  border: 2px solid var(--black);
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost:hover {
  background: var(--black);
  color: var(--white);
}

.hero-note {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-mid);
  letter-spacing: 0.5px;
}

/* ── HERO VOICE WAVE ── */
.hero-wave {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  margin: 28px auto 0;
  padding: 8px 20px;
  border: 1px solid var(--accent);
  background: var(--accent-light);
}

.hero-wave .bar {
  width: 3px;
  background: var(--accent);
}

.hero-wave .bar:nth-child(1) { height: 8px; animation: hw 0.35s ease infinite alternate; }
.hero-wave .bar:nth-child(2) { height: 14px; animation: hw 0.4s ease infinite alternate 0.08s; }
.hero-wave .bar:nth-child(3) { height: 22px; animation: hw 0.3s ease infinite alternate 0.16s; }
.hero-wave .bar:nth-child(4) { height: 10px; animation: hw 0.45s ease infinite alternate 0.05s; }
.hero-wave .bar:nth-child(5) { height: 18px; animation: hw 0.32s ease infinite alternate 0.12s; }
.hero-wave .bar:nth-child(6) { height: 26px; animation: hw 0.38s ease infinite alternate 0.2s; }
.hero-wave .bar:nth-child(7) { height: 10px; animation: hw 0.42s ease infinite alternate 0.1s; }
.hero-wave .bar:nth-child(8) { height: 16px; animation: hw 0.36s ease infinite alternate 0.15s; }
.hero-wave .bar:nth-child(9) { height: 12px; animation: hw 0.33s ease infinite alternate 0.22s; }
.hero-wave .bar:nth-child(10) { height: 20px; animation: hw 0.39s ease infinite alternate 0.07s; }

@keyframes hw {
  from { transform: scaleY(1); }
  to { transform: scaleY(0.3); }
}

.hero-wave-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-left: 12px;
}

.hero-scenario {
  margin-top: 40px;
  padding: 20px 24px;
  border: 1px solid var(--gray-border);
  background: var(--gray-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-size: 15px;
  color: var(--steel);
  line-height: 1.75;
  text-align: left;
  min-height: 80px;
  transition: background 0.3s, border-color 0.3s;
}

.hero-scenario .scenario-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 10px;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 80px 24px;
  position: relative;
}

.sec-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  text-align: center;
}

.sec-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.75px;
  color: var(--black);
  margin-bottom: 16px;
  text-align: center;
}

.sec-sub {
  font-size: 17px;
  color: var(--steel);
  max-width: 640px;
  line-height: 1.7;
  margin: 0 auto 48px;
  text-align: center;
}

.sec-sub em {
  color: var(--warm);
  font-style: normal;
  font-weight: 600;
}

/* ============================================
   PROBLEM (corner expand from card1)
   ============================================ */
.problem {
  background: var(--gray-light);
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  transition: background 0.3s;
}

.problem-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--black);
}

.p-card {
  padding: 28px;
  border-right: 1px solid var(--gray-border);
  background: var(--white);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background 0.2s;
}

.p-card:last-child {
  border-right: none;
}

.p-card:hover {
  background: var(--red-light);
}

/* Corner expand (card1) */
.p-card::before,
.p-card::after {
  position: absolute;
  content: '';
  width: 20%;
  height: 20%;
  background: var(--red-border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
}

.p-card::before {
  top: 0; right: 0;
}

.p-card::after {
  bottom: 0; left: 0;
}

.p-card:hover::before,
.p-card:hover::after {
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

.p-card .num, .p-card h3, .p-card p { position: relative; z-index: 1; }

.p-card .num {
  font-family: var(--font-mono);
  font-size: 48px;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.p-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
  line-height: 1.35;
}

.p-card p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.65;
}

/* ============================================
   WHAT YOU GET (card4 rotating beam)
   ============================================ */
.what {
  background: var(--white);
  transition: background 0.3s;
}

.what-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 2px solid var(--black);
}

.w-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-right: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  padding: 0;
  cursor: default;
  transition: background 0.2s;
}

.w-card:nth-child(2n) {
  border-right: none;
}

.w-card:nth-child(n+3) {
  border-bottom: none;
}

/* Rotating beam (card4) */
.w-card::before {
  content: '';
  position: absolute;
  width: 100px;
  height: 500px;
  top: 50%;
  left: 50%;
  margin-top: -250px;
  margin-left: -50px;
  background: linear-gradient(var(--accent), var(--accent-dark));
  opacity: 0;
  transition: opacity 0.35s;
  animation: cardBeamSpin 4s linear infinite;
  animation-play-state: paused;
}

.w-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

/* Overlay */
.w-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  opacity: 0.94;
  backdrop-filter: blur(40px);
}

.w-card:hover::after {
  inset: 2px;
}

.w-card-inner {
  position: relative;
  z-index: 2;
  padding: 28px;
  background: var(--white);
  margin: 2px;
  transition: background 0.3s;
}

@keyframes cardBeamSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.w-card .w-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}

.w-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.w-card p {
  font-size: 15px;
  color: var(--steel);
  line-height: 1.7;
}

.w-card .w-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 1px solid var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

.tag-web { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.tag-phone { border-color: var(--green); color: var(--green); background: var(--green-light); }
.tag-both { border-color: var(--gray-mid); color: var(--gray-mid); background: var(--gray-light); }

/* Icon bg overrides for flat style */
.wi1, .wi2, .wi3, .wi4 { background: transparent; }

/* ============================================
   HOW
   ============================================ */
.how {
  background: var(--gray-light);
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  transition: background 0.3s;
}

.steps {
  max-width: 600px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 32px;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 48px;
  width: 2px;
  height: calc(100% - 8px);
  background: var(--accent);
  opacity: 0.3;
}

.step-n {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}

[data-theme="dark"] .step-n {
  color: #0F0F0F;
}

[data-theme="dark"] body {
  background: #0F0F0F;
}

/* ── DARK MODE REFINEMENTS ── */
[data-theme="dark"] .problem-grid,
[data-theme="dark"] .what-grid,
[data-theme="dark"] .uc-grid {
  border-color: var(--gray-border);
}

[data-theme="dark"] .email-box {
  border-color: var(--gray-border);
}

[data-theme="dark"] .email-box input {
  border-color: var(--gray-border);
}

[data-theme="dark"] .email-box button {
  border-left-color: var(--gray-border);
}

[data-theme="dark"] footer {
  border-top-color: var(--gray-border);
}

[data-theme="dark"] .btn-ghost {
  border-color: var(--gray-border);
  color: var(--black);
}

[data-theme="dark"] .btn-ghost:hover {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}

[data-theme="dark"] .hero-scenario {
  background: rgba(255,255,255,0.03);
}

[data-theme="dark"] .uc-emoji {
  border-color: var(--gray-border);
  background: rgba(255,255,255,0.04);
}

[data-theme="dark"] .w-card .w-icon {
  border-color: var(--gray-border);
}

[data-theme="dark"] .svc-grid {
  border-color: var(--gray-border);
}

[data-theme="dark"] .btt {
  box-shadow: 0 2px 8px rgba(255,255,255,0.06);
}

[data-theme="dark"] .cta-error {
  color: #F87171;
}

.step-t h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.step-t p {
  font-size: 15px;
  color: var(--steel);
  line-height: 1.7;
}

/* ============================================
   USE CASES (color sweep)
   ============================================ */
.usecases {
  background: var(--white);
  transition: background 0.3s;
}

.uc-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border: 2px solid var(--black);
}

.uc-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-right: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  padding: 0;
  cursor: default;
  transition: background 0.3s;
}

.uc-card:nth-child(3n) {
  border-right: none;
}

.uc-card:nth-child(n+4) {
  border-bottom: none;
}

/* Color sweep from top */
.uc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.uc-card:hover::before {
  transform: translateY(0);
}

/* Top accent line */
.uc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 3;
}

.uc-card:hover::after {
  opacity: 1;
}

.uc-card-inner {
  position: relative;
  z-index: 1;
  padding: 24px;
  background: var(--white);
  margin: 0;
  transition: margin 0.5s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s;
}

.uc-card:hover .uc-card-inner {
  margin: 3px;
}

.uc-emoji {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 2px solid var(--black);
  background: var(--gray-light);
  color: var(--black);
}

.uc-emoji svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.uc-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
  line-height: 1.35;
}

.uc-card .uc-biz {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #14532d;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

[data-theme="dark"] .uc-card .uc-biz {
  color: #4ADE80;
}

.uc-card p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.7;
}

.uc-card .uc-result {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-border);
  font-family: var(--font-mono);
  font-size: 12px;
  color: #14532d;
  font-weight: 600;
  letter-spacing: 0.5px;
}

[data-theme="dark"] .uc-card .uc-result {
  color: #4ADE80;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-wrap {
  overflow: hidden;
  padding: 40px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.marquee {
  display: flex;
  gap: 10px;
  width: max-content;
}

.marquee:hover {
  animation-play-state: paused;
}

.marquee-ltr {
  animation: scrollLTR 35s linear infinite;
}

.marquee-rtl {
  animation: scrollRTL 30s linear infinite;
}

.marquee-slow {
  animation-duration: 45s;
}

.m-tag {
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 8px 18px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--gray-mid);
  letter-spacing: 0.5px;
  transition: all 0.2s;
  cursor: default;
}

.m-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

@keyframes scrollLTR {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRTL {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ============================================
   BOTTOM CTA
   ============================================ */
.bottom-cta {
  background: var(--gray-light);
  text-align: center;
  padding: 80px 24px;
  border-top: 1px solid var(--gray-border);
  position: relative;
  transition: background 0.3s;
}

.bottom-cta::before { display: none; }

.bottom-cta h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.75px;
  color: var(--black);
  margin-bottom: 16px;
}

.bottom-cta .cta-desc {
  font-size: 17px;
  color: var(--steel);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.email-box {
  display: flex;
  gap: 0;
  max-width: 520px;
  margin: 0 auto;
  border: 2px solid var(--black);
}

.email-box input {
  flex: 1;
  padding: 18px 20px;
  border: none;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 16px;
  outline: none;
  transition: background 0.3s;
  min-width: 0;
}

.email-box input::placeholder {
  color: var(--gray-mid);
}

.email-box input:focus {
  background: var(--accent-light);
}

.email-box button {
  padding: 18px 28px;
  border: none;
  border-left: 2px solid var(--black);
  background: var(--accent);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

[data-theme="dark"] .email-box button {
  color: #0F0F0F;
  border-left-color: #2A2A2A;
}

.email-box button:hover {
  background: var(--accent-dark);
  color: #FFFFFF;
}

[data-theme="dark"] .email-box button:hover {
  color: #FFFFFF;
}

.cta-note {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-mid);
  letter-spacing: 0.5px;
}

.cta-error {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #EF4444;
  letter-spacing: 0.3px;
  animation: shakeError 0.4s ease;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.cta-success {
  display: none;
  animation: popIn 0.4s ease;
}

@keyframes popIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.cta-success h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}

.cta-success p {
  font-size: 15px;
  color: var(--steel);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  border-top: 2px solid var(--black);
  padding: 0;
  background: var(--white);
  transition: background 0.3s;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px 32px 32px;
  max-width: 1060px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.footer-mission {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--steel);
  line-height: 1.6;
}

.footer-links-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--black);
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--steel);
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-ig {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
}

.footer-ig svg {
  width: 24px;
  height: 24px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-ig:hover svg {
  transform: scale(1.2) rotate(-8deg);
}

.footer-bottom {
  border-top: 1px solid var(--gray-border);
  padding: 20px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
}

.footer-bottom p {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-mid);
  letter-spacing: 0.5px;
}

footer a {
  color: var(--accent);
  text-decoration: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ── Tablet ── */
@media (max-width: 900px) {
  .what-grid {
    grid-template-columns: 1fr;
  }
  .w-card { border-right: none; border-bottom: 1px solid var(--gray-border); }
  .w-card:last-child { border-bottom: none; }
}

/* ── Hamburger (hidden on desktop) ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px;
  z-index: 102;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #F3F4F6;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Mobile ── */
@media (max-width: 768px) {
  /* Nav */
  nav { padding: 0 16px; height: 48px; }
  .hamburger { display: flex; }
  .logo-text { font-size: 13px; }

  .nav-r {
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    background: #0A0A0A;
    border-bottom: 3px solid var(--accent);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px;
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s;
    z-index: 101;
  }

  .nav-r.open {
    transform: translateY(0);
    opacity: 1;
  }

  .nav-r a:not(.nav-btn):not(.theme-toggle) {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 14px;
    color: #D1D5DB;
  }

  .nav-r a:not(.nav-btn):not(.theme-toggle):last-of-type {
    border-bottom: none;
  }

  .nav-btn {
    display: block;
    text-align: center;
    padding: 14px;
    font-size: 12px;
    margin-top: 16px;
  }

  .theme-toggle {
    width: 100%;
    height: 42px;
    margin-top: 12px;
    border-color: rgba(255,255,255,0.1);
  }

  /* Hero */
  .hero { padding: 72px 20px 48px; }
  .hero-inner { max-width: 100%; }
  .hero-hook { font-size: 11px; letter-spacing: 1px; margin-bottom: 16px; }
  .hero h1 { font-size: 28px; letter-spacing: -1px; margin-bottom: 8px; line-height: 1.15; }
  .hero-rotator-wrap { font-size: 22px; letter-spacing: -0.5px; margin-bottom: 24px; min-height: 1.4em; }
  .word-rotator { height: 1.3em; }
  .word-slide { height: 1.3em; font-size: inherit; }
  .word-slide::after { height: 3px; bottom: 2px; }
  .hero-desc { font-size: 15px; margin-bottom: 28px; line-height: 1.7; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 10px; }
  .btn-main, .btn-ghost { justify-content: center; padding: 14px 20px; font-size: 12px; width: 100%; }
  .hero-note { font-size: 11px; margin-top: 14px; }
  .hero-scenario { margin-top: 24px; padding: 16px; font-size: 13px; line-height: 1.65; }
  .hero-scenario .scenario-label { font-size: 11px; letter-spacing: 1.5px; }

  /* Sections */
  section { padding: 56px 20px; }
  .sec-label { font-size: 11px; letter-spacing: 1.5px; }
  .sec-title { font-size: 22px; letter-spacing: -0.5px; }
  .sec-sub { font-size: 14px; margin-bottom: 32px; }

  /* Problem */
  .problem-grid { grid-template-columns: 1fr; border-width: 2px; }
  .p-card { border-right: none; border-bottom: 1px solid var(--gray-border); padding: 24px 20px; }
  .p-card:last-child { border-bottom: none; }
  .p-card .num { font-size: 40px; }
  .p-card h3 { font-size: 14px; }
  .p-card p { font-size: 13px; }

  /* What you get */
  .what-grid { border-width: 2px; }
  .w-card { border-right: none; border-bottom: 1px solid var(--gray-border); }
  .w-card:last-child { border-bottom: none; }
  .w-card-inner { padding: 24px 20px; }
  .w-card h3 { font-size: 16px; }
  .w-card p { font-size: 14px; }

  /* Steps */
  .steps { max-width: 100%; }
  .step { gap: 14px; margin-bottom: 28px; }
  .step-n { width: 36px; height: 36px; font-size: 13px; }
  .step:not(:last-child)::after { left: 17px; top: 44px; }
  .step-t h3 { font-size: 16px; }
  .step-t p { font-size: 14px; }

  /* Use cases */
  .uc-grid { grid-template-columns: 1fr; border-width: 2px; }
  .uc-card { border-right: none; border-bottom: 1px solid var(--gray-border); }
  .uc-card:last-child { border-bottom: none; }
  .uc-card-inner { padding: 20px 18px; }
  .uc-emoji { width: 40px; height: 40px; }
  .uc-emoji svg { width: 20px; height: 20px; }
  .uc-card h3 { font-size: 15px; }
  .uc-card p { font-size: 13px; }
  .uc-card .uc-biz { font-size: 11px; }
  .uc-card .uc-result { font-size: 11px; }

  /* Marquee */
  .marquee-wrap { padding-top: 24px; gap: 8px; }
  .m-tag { padding: 6px 14px; font-size: 11px; }

  /* Bottom CTA */
  .bottom-cta { padding: 56px 20px; }
  .bottom-cta h2 { font-size: 22px; }
  .bottom-cta .cta-desc { font-size: 14px; }
  .email-box { flex-direction: column; border: none; max-width: 100%; }
  .email-box input { border: 2px solid var(--black); padding: 16px; font-size: 16px; }
  .email-box button { border: 2px solid var(--black); border-top: none; padding: 16px; font-size: 12px; }
  [data-theme="dark"] .email-box input { border-color: var(--gray-border); }
  [data-theme="dark"] .email-box button { border-color: var(--gray-border); border-top: none; }
  .cta-note { font-size: 11px; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 24px; padding: 32px 20px 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; text-align: center; padding: 16px 20px; }

  /* Loading screen */
  .loader-wave { gap: 4px; }
  .loader-wave .lb { width: 3px; }
  .loader-text { font-size: 11px; letter-spacing: 1.5px; }
}

/* ── Small phones ── */
@media (max-width: 380px) {
  .hero h1 { font-size: 24px; }
  .hero-rotator-wrap { font-size: 19px; }
  .hero-hook { font-size: 11px; }
  .sec-title { font-size: 20px; }
  .p-card .num { font-size: 36px; }
  .btn-main, .btn-ghost { padding: 12px 16px; }
  .word-slide { white-space: normal; text-align: center; }
}

/* ── Touch & accessibility ── */
@media (hover: none) {
  /* Disable hover effects on touch devices — prevent sticky states */
  .w-card:hover { transform: none; }
  .w-card:hover::before { opacity: 0; }
  .uc-card:hover { transform: none; }
  .uc-card:hover::before { transform: translateY(-100%); }
  .p-card:hover { transform: none; }
  .p-card:hover::before,
  .p-card:hover::after { width: 20%; height: 20%; opacity: 0.4; }

  /* But keep tap feedback */
  .w-card:active { transform: scale(0.98); }
  .uc-card:active { transform: scale(0.98); }
  .btn-main:active { transform: scale(0.96); }
  .btn-ghost:active { transform: scale(0.96); }
}

/* ============================================
   NAV DROPDOWN
   ============================================ */
.nav-dd {
  position: relative;
}

.nav-dd-trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-dd-trigger svg {
  transition: transform 0.2s;
  stroke-width: 2;
}

.nav-dd:hover .nav-dd-trigger svg {
  transform: rotate(180deg);
}

.nav-dd-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  background: #0A0A0A;
  border: 1px solid #2A2A2A;
  min-width: 230px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 200;
}

.nav-dd:hover .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dd-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dd-menu a {
  display: block !important;
  padding: 10px 20px !important;
  font-size: 12px !important;
  border-bottom: 1px solid rgba(255,255,255,0.06) !important;
  transition: background 0.15s, color 0.15s !important;
}

.nav-dd-menu a:last-child {
  border-bottom: none !important;
}

.nav-dd-menu a:hover {
  background: rgba(74, 222, 128, 0.1) !important;
  color: #4ADE80 !important;
}

/* ============================================
   OUR SERVICES SECTION
   ============================================ */
.services {
  background: var(--white);
  transition: background 0.3s;
}

.svc-grid {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid var(--black);
}

.svc-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-right: 1px solid var(--gray-border);
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
  transition: background 0.3s;
}

.svc-card:last-child {
  border-right: none;
}

/* Rotating beam effect */
.svc-card::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 600px;
  top: 50%;
  left: 50%;
  margin-top: -300px;
  margin-left: -60px;
  background: linear-gradient(var(--accent), var(--accent-dark));
  opacity: 0;
  transition: opacity 0.35s;
  animation: cardBeamSpin 4s linear infinite;
  animation-play-state: paused;
}

.svc-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

.svc-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  opacity: 0.94;
  backdrop-filter: blur(40px);
}

.svc-card:hover::after {
  inset: 2px;
}

.svc-card-inner {
  position: relative;
  z-index: 2;
  padding: 32px 28px;
  background: var(--white);
  margin: 2px;
  transition: background 0.3s;
}

.svc-icon {
  width: 56px;
  height: 56px;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  background: var(--accent-light);
}

.svc-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.svc-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.svc-card p {
  font-size: 14px;
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 16px;
}

.svc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.svc-list li {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--steel);
  padding: 7px 0;
  border-bottom: 1px solid var(--gray-border);
  padding-left: 16px;
  position: relative;
  letter-spacing: 0.3px;
}

.svc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: translateY(-50%);
}

.svc-list li:last-child {
  border-bottom: none;
}

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: gap 0.2s;
}

.svc-card:hover .svc-link {
  gap: 12px;
}

/* ============================================
   SERVICE DETAIL PAGES
   ============================================ */
.svc-hero {
  padding: 120px 24px 80px;
  text-align: center;
  border-bottom: 1px solid var(--gray-border);
  background: var(--white);
  transition: background 0.3s;
}

.svc-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.svc-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: var(--black);
  margin-bottom: 20px;
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.svc-hero .sec-label {
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.svc-hero-desc {
  font-size: 18px;
  color: var(--steel);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.75;
  animation: heroFadeUp 0.8s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.svc-hero-desc em {
  color: var(--warm);
  font-style: normal;
  font-weight: 600;
}

.svc-hero .hero-ctas {
  animation: heroFadeUp 0.8s 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.svc-features {
  background: var(--gray-light);
  border-top: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  transition: background 0.3s;
}

.svc-feat-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 2px solid var(--black);
}

[data-theme="dark"] .svc-feat-grid {
  border-color: var(--gray-border);
}

.svc-feat {
  padding: 28px;
  background: var(--white);
  border-right: 1px solid var(--gray-border);
  border-bottom: 1px solid var(--gray-border);
  transition: background 0.2s;
}

.svc-feat:nth-child(2n) {
  border-right: none;
}

.svc-feat:nth-child(n+3) {
  border-bottom: none;
}

.svc-feat:hover {
  background: var(--accent-light);
}

.svc-feat-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
  background: transparent;
}

.svc-feat h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.svc-feat p {
  font-size: 15px;
  color: var(--steel);
  line-height: 1.7;
}

/* Back link on service pages */
.btn-back {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--steel);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 1px solid var(--gray-border);
  transition: all 0.2s;
}

.btn-back:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Services responsive ── */
@media (max-width: 900px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
  .svc-card {
    border-right: none;
    border-bottom: 1px solid var(--gray-border);
  }
  .svc-card:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  /* Nav dropdown mobile */
  .nav-dd {
    width: 100%;
  }

  .nav-dd-trigger {
    display: flex !important;
    justify-content: space-between;
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    font-size: 14px !important;
    color: #D1D5DB !important;
    width: 100%;
  }

  .nav-dd:hover .nav-dd-trigger svg {
    transform: none;
  }

  .nav-dd.open .nav-dd-trigger svg {
    transform: rotate(180deg);
  }

  .nav-dd-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    min-width: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-dd:hover .nav-dd-menu {
    max-height: 0;
  }

  .nav-dd.open .nav-dd-menu {
    max-height: 200px;
  }

  .nav-dd-menu a {
    padding: 10px 0 10px 20px !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    font-size: 13px !important;
    color: #9CA3AF !important;
  }

  .nav-dd-menu::before {
    display: none;
  }

  /* Services grid mobile */
  .svc-grid {
    border-width: 2px;
  }
  .svc-card-inner {
    padding: 24px 20px;
  }
  .svc-card h3 {
    font-size: 18px;
  }
  .svc-card p {
    font-size: 13px;
  }
  .svc-icon {
    width: 48px;
    height: 48px;
  }
  .svc-icon svg {
    width: 24px;
    height: 24px;
  }

  /* Service page hero mobile */
  .svc-hero {
    padding: 72px 20px 48px;
  }
  .svc-hero h1 {
    font-size: 26px;
    letter-spacing: -1px;
  }
  .svc-hero-desc {
    font-size: 15px;
  }

  /* Service features mobile */
  .svc-feat-grid {
    grid-template-columns: 1fr;
  }
  .svc-feat {
    border-right: none;
    border-bottom: 1px solid var(--gray-border);
  }
  .svc-feat:nth-child(n+3) {
    border-bottom: 1px solid var(--gray-border);
  }
  .svc-feat:last-child {
    border-bottom: none;
  }
}

@media (max-width: 380px) {
  .svc-card h3 {
    font-size: 16px;
  }
  .svc-hero h1 {
    font-size: 22px;
  }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  background: var(--white);
  transition: background 0.3s;
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 40px 20px 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  text-align: left;
  cursor: pointer;
  position: relative;
  line-height: 1.4;
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--accent);
}

.faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s;
}

.faq-item.open .faq-q::after {
  content: '\2212';
  transform: translateY(-50%) rotate(0deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1), padding 0.35s;
  padding: 0 0 0 0;
}

.faq-item.open .faq-a {
  max-height: 500px;
  padding: 0 0 20px 0;
}

.faq-a p {
  font-size: 15px;
  color: var(--steel);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .faq-q {
    font-size: 15px;
    padding: 16px 36px 16px 0;
  }
  .faq-a p {
    font-size: 14px;
  }
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.btt {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border: 1px solid var(--gray-border);
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btt.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btt:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

@media (max-width: 768px) {
  .btt {
    bottom: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
  }
}

/* Touch — services */
@media (hover: none) {
  .svc-card:hover::before { opacity: 0; }
  .svc-card:active { transform: scale(0.98); }
}

/* ============================================
   INSTAGRAM FLOATING WIDGET
   ============================================ */
.ig-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.ig-widget:hover {
  transform: scale(1.1);
}

.ig-widget-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
  padding: 4px 10px;
  border-radius: 10px;
  margin-bottom: 6px;
  box-shadow: 0 2px 10px rgba(225, 48, 108, 0.4);
  animation: igLabelBounce 2s ease-in-out infinite;
}

.ig-widget-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #833AB4, #E1306C, #F77737);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(225, 48, 108, 0.45);
  transition: box-shadow 0.25s;
}

.ig-widget:hover .ig-widget-btn {
  box-shadow: 0 6px 28px rgba(225, 48, 108, 0.6);
}

.ig-widget-icon {
  width: 28px;
  height: 28px;
}

@keyframes igLabelBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .ig-widget {
    bottom: 16px;
    right: 16px;
  }
  .ig-widget-btn {
    width: 46px;
    height: 46px;
  }
  .ig-widget-icon {
    width: 22px;
    height: 22px;
  }
  /* Hide the floating label on mobile — just show the icon */
  .ig-widget-label {
    display: none;
  }
}

@media (max-width: 380px) {
  .ig-widget {
    bottom: 12px;
    right: 12px;
  }
  .ig-widget-btn {
    width: 42px;
    height: 42px;
  }
  .ig-widget-icon {
    width: 20px;
    height: 20px;
  }
}
