/* ============================================================
   MUIZZ KHAN — Personal Portfolio
   Cyan + Black, aurora cursor, soft humanist type
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand */
  --brand-teal: #2fb3dd;
  --brand-teal-light: #5fc8eb;
  --brand-teal-dark: #1f8bb0;

  --bg: #050708;
  --bg2: #0a0d0f;
  --bg3: #11151a;
  --card: #0f1316;
  --card2: #131820;

  --border: rgba(255, 255, 255, 0.06);
  --border2: rgba(255, 255, 255, 0.12);
  --border-cyan: rgba(47, 179, 221, 0.28);

  /* Cyan family — supporting tones (primary brand is --brand-teal) */
  --cyan-soft: #7dd8ec;
  --cyan-deep: #3a8fa8;
  --teal: #4ab9a3;
  --green-hint: #6dd6a3;

  --text: #f2f4f6;
  --text-soft: #cdd2d6;
  --muted: #8b9097;
  --muted2: #5a6066;

  --shadow-cyan: 0 0 40px rgba(47, 179, 221, 0.25);
  --radius: 16px;

  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* aurora replaces cursor on desktop */
  -webkit-tap-highlight-color: transparent;
}

@media (hover: none) {
  body { cursor: auto; }
  .cursor-aurora, .cursor-dot { display: none !important; }
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ============================================================
   CURSOR — aurora + dot
   ============================================================ */
.cursor-aurora {
  position: fixed;
  top: 0; left: 0;
  width: 260px; height: 260px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate3d(-50%, -50%, 0);
  background:
    radial-gradient(circle at 50% 50%,
      rgba(125, 216, 236, 0.32) 0%,
      rgba(47, 179, 221, 0.22) 20%,
      rgba(74, 185, 163, 0.14) 38%,
      rgba(109, 214, 163, 0.08) 55%,
      transparent 72%);
  filter: blur(16px);
  mix-blend-mode: screen;
  opacity: 0.95;
  transition: opacity 0.25s ease;
}
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan-soft);
  box-shadow: 0 0 12px rgba(125, 216, 236, 0.9);
  pointer-events: none;
  z-index: 9999;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.18s ease, height 0.18s ease, opacity 0.18s ease;
}
body.cursor-hover .cursor-dot { width: 28px; height: 28px; background: transparent; border: 1px solid rgba(125, 216, 236, 0.7); }
body.cursor-hidden .cursor-aurora,
body.cursor-hidden .cursor-dot { opacity: 0; }

/* ============================================================
   BG ATMOSPHERE — floating pill blobs
   ============================================================ */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.blob {
  position: absolute;
  border-radius: 200px;
  filter: blur(60px);
  opacity: 0.6;
  animation: drift 30s ease-in-out infinite;
}
.blob.b1 { width: 480px; height: 120px; top: 8%; left: -8%; background: radial-gradient(ellipse, rgba(47,179,221,0.16), transparent 70%); transform: rotate(-18deg); animation-delay: 0s; }
.blob.b2 { width: 380px; height: 100px; top: 35%; right: -6%; background: radial-gradient(ellipse, rgba(74,185,163,0.13), transparent 70%); transform: rotate(22deg); animation-delay: -7s; }
.blob.b3 { width: 420px; height: 110px; bottom: 18%; left: 12%; background: radial-gradient(ellipse, rgba(109,214,163,0.09), transparent 70%); transform: rotate(-12deg); animation-delay: -14s; }
.blob.b4 { width: 360px; height: 100px; bottom: 5%; right: 18%; background: radial-gradient(ellipse, rgba(47,179,221,0.1), transparent 70%); transform: rotate(28deg); animation-delay: -21s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(var(--rot, -18deg)); }
  50%      { transform: translate(40px, -30px) rotate(var(--rot, -18deg)); }
}

/* ============================================================
   LAYOUT
   ============================================================ */
section {
  position: relative;
  padding: 7rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cyan-soft);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.section-tag::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--brand-teal);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }

.section-title {
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 4rem;
}
.section-head-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-head-center .section-tag { justify-content: center; }
.section-head-center .section-tag::before { display: none; }
.section-head-center .section-sub { margin: 1.25rem auto 0; }

.text-gradient {
  background: linear-gradient(135deg, var(--cyan-soft) 0%, var(--brand-teal) 50%, var(--teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  border: 1px solid transparent;
  transition: all 0.25s cubic-bezier(0.2, 0.7, 0.3, 1);
  position: relative;
  isolation: isolate;
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: linear-gradient(180deg, var(--brand-teal-light) 0%, var(--brand-teal) 50%, var(--brand-teal-dark) 100%);
  color: #03161a;
  box-shadow: 0 8px 24px -8px rgba(47, 179, 221, 0.5), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px -8px rgba(47, 179, 221, 0.7), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-ghost {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  border: 1px solid var(--border2);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(47, 179, 221, 0.08);
  border-color: var(--border-cyan);
}

.btn-glass {
  background: rgba(10, 13, 15, 0.6);
  border: 1px solid var(--border-cyan);
  color: var(--cyan-soft);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(47, 179, 221, 0.12);
}

/* ============================================================
   NAV
   ============================================================ */
nav.site-nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 10px 10px 10px 22px;
  background: rgba(8, 10, 12, 0.72);
  border: 1px solid var(--border);
  border-radius: 100px;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  font-family: var(--font-body);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav-logo-icon {
  width: 30px;
  height: 30px;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-brand .nav-logo-icon {
  width: 24px;
  height: 24px;
}
.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 13px;
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 100px;
  transition: color 0.2s, background 0.2s;
  font-weight: 500;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-cta { font-size: 13px; padding: 9px 18px; border-radius: 9px; }

@media (max-width: 880px) {
  nav.site-nav { gap: 1rem; padding: 8px 8px 8px 16px; }
  .nav-links { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 9rem;
  padding-bottom: 5rem;
  text-align: center;
  position: relative;
}
.hero h1 {
  max-width: 980px;
  margin: 0 auto 1.5rem;
}
.hero h1 .line { display: block; }
.hero-sub {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 0.875rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 5rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto;
}
.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(20, 25, 30, 0.6) 0%, rgba(10, 13, 15, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem 1.25rem 1.25rem;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.stat-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-3px);
}
@property --stat-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  padding: 2px;
  background: conic-gradient(
    from var(--stat-angle),
    #2fb3dd 0deg,
    #5ed4f0 90deg,
    #2fb3dd 180deg,
    #1a6b85 270deg,
    #2fb3dd 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}
.stat-card:hover::before {
  opacity: 1;
  animation: stat-card-spin 4s linear infinite;
}
@keyframes stat-card-spin {
  to { --stat-angle: 360deg; }
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
  font-weight: 500;
}

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

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: linear-gradient(180deg, rgba(15, 19, 22, 0.7) 0%, rgba(8, 11, 13, 0.7) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  transition: border-color 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.service-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-3px);
}
.service-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}
.service-icon svg { width: 40px; height: 40px; }
.service-card h3 { margin-bottom: 0.6rem; }
.service-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* Row 2 has only 2 cards — center them under the 4-col grid on desktop */
@media (min-width: 961px) {
  .services-grid .service-card:nth-child(5) { grid-column: 2 / 3; }
  .services-grid .service-card:nth-child(6) { grid-column: 3 / 4; }
}

@media (max-width: 960px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .services-grid { grid-template-columns: 1fr; } }

/* ============================================================
   WASH BAND CTA
   ============================================================ */
.wash-band {
  margin: 4rem 0 0;
  max-width: none;
  width: 100%;
  padding: 1rem 3.5rem;
  border-radius: 0;
  border-left: none;
  border-right: none;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(74, 185, 163, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(47, 179, 221, 0.4) 0%, transparent 65%),
    linear-gradient(135deg, #0a4651 0%, #0a3640 50%, #082530 100%);
  border: 1px solid var(--border-cyan);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  position: relative;
  overflow: hidden;
}
.wash-band::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109, 214, 163, 0.25), transparent 60%);
  top: -100px;
  left: -50px;
  filter: blur(40px);
}
.wash-band h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
}
.wash-band p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 480px;
  margin-top: 0.35rem;
  position: relative;
}
.wash-band .btn { position: relative; flex-shrink: 0; }
.wash-band .btn-glass {
  background: rgba(8, 12, 14, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}
.wash-band .btn-glass:hover { background: rgba(8, 12, 14, 0.9); }

@media (max-width: 720px) {
  .wash-band { flex-direction: column; align-items: flex-start; text-align: left; padding: 2rem; }
}

/* ============================================================
   PROCESS / JOURNEY
   ============================================================ */
.process-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.process-steps { display: flex; flex-direction: column; gap: 1rem; }
.process-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.25s;
}
.process-step:hover, .process-step.active {
  background: rgba(47, 179, 221, 0.05);
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(47, 179, 221, 0.08);
  border: 1px solid var(--border-cyan);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.process-step.active .step-num {
  background: var(--brand-teal);
  color: #03161a;
  border-color: var(--brand-teal);
}
.process-step.active .step-num::after {
  content: '✓';
  font-weight: 700;
}
.process-step.active .step-num .num-digit { display: none; }
.process-step h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--muted);
  transition: color 0.25s;
}
.process-step.active h4 { color: var(--text); }
.process-step p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  opacity: 0.85;
}
.process-visual {
  position: sticky;
  top: 6rem;
  aspect-ratio: 4/5;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg2), var(--bg3));
  overflow: hidden;
  display: grid;
  place-items: center;
  position: relative;
}
.process-visual::after {
  content: '';
  position: absolute;
  inset: 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 179, 221, 0.18), transparent 60%);
  filter: blur(30px);
}
.process-visual-content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 2rem;
}
.process-glyph {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(47, 179, 221, 0.2), rgba(47, 179, 221, 0.05));
  border: 1px solid var(--border-cyan);
  display: grid;
  place-items: center;
  color: var(--cyan-soft);
}
.process-glyph svg { width: 36px; height: 36px; }
.process-visual h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.process-visual p { font-size: 13px; color: var(--muted); max-width: 280px; margin: 0 auto; line-height: 1.6; }

@media (max-width: 900px) {
  .process-wrap { grid-template-columns: 1fr; }
  .process-visual { position: static; aspect-ratio: 16/10; }
}

/* ============================================================
   TOOLS ROLLER
   ============================================================ */
.tools-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}
.tools-section .section-head-center { padding: 0 2rem; }
.tools-stage {
  position: relative;
  height: 180px;
  margin: 1.25rem 0 0.5rem;
  display: grid;
  place-items: center;
}
.tools-aurora {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 560px;
  height: 90px;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(47, 179, 221, 0.45), transparent 65%),
    radial-gradient(ellipse at 30% 50%, rgba(125, 216, 236, 0.3), transparent 65%);
  filter: blur(26px);
  border-radius: 50%;
  pointer-events: none;
}
.tools-frame {
  position: relative;
  width: 720px;
  height: 120px;
  max-width: 90%;
  background: transparent;
  border-top: 1px solid rgba(47, 179, 221, 0.09);
  border-bottom: 1px solid rgba(47, 179, 221, 0.09);
  border-left: none;
  border-right: none;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.tools-track-wrap {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.tools-track {
  display: flex;
  align-items: center;
  animation: tools-roll 45s linear infinite;
  white-space: nowrap;
  width: max-content;
}
@media (hover: hover) and (pointer: fine) {
  .tools-stage:hover .tools-track {
    animation-play-state: paused;
  }
}
.tool-item {
  cursor: pointer;
  transform-origin: center;
  transition: transform 0.25s ease, filter 0.25s ease;
}
.tool-item:hover {
  transform: scale(1.1);
  filter: brightness(1.15) drop-shadow(0 0 12px rgba(47, 179, 221, 0.35));
}
.tool-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-right: 4rem;
}
.tool-item img,
.tool-item .tool-icon { width: 52px; height: 52px; display: grid; place-items: center; }
.tool-item img {
  object-fit: contain;
}
.tool-item .tool-icon {
  color: rgba(255, 255, 255, 0.85);
}
.tool-item .tool-icon svg { width: 52px; height: 52px; }
.tool-item .tool-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.01em;
}
@keyframes tools-roll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tools-floor {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 1.5rem;
}

/* ============================================================
   TESTIMONIALS / REAL REVIEWS
   ============================================================ */
.reviews-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 920px;
  margin: 0 auto 3rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.rv-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.5rem;
  text-align: center;
}
.rv-stat + .rv-stat { border-left: 1px solid var(--border); }
.rv-stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-soft);
  letter-spacing: 0.01em;
}
.rv-stat-num-sm {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.rv-stat-label {
  font-size: 10.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Reviews slider */
.reviews-slider {
  --rv-card-w: min(420px, 74vw);
  --rv-gap: 28px;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
}
.rv-viewport {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  padding: 24px 0 24px;
  height: var(--rv-height, 460px);
  transition: height 450ms cubic-bezier(.45,.05,.25,1);
}
.rv-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.review-card {
  position: absolute;
  top: 24px;
  left: 50%;
  width: var(--rv-card-w);
  appearance: none;
  -webkit-appearance: none;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  cursor: zoom-in;
  overflow: hidden;
  opacity: 0.35;
  --rv-x: 0px;
  --rv-scale: 0.85;
  --rv-hover: 1;
  transform: translate(calc(-50% + var(--rv-x)), 0) scale(calc(var(--rv-scale) * var(--rv-hover)));
  transform-origin: 50% 50%;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1), opacity 300ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 300ms ease-out, border-color 250ms ease, background-color 250ms ease;
  box-shadow: none;
  z-index: 1;
}
.review-card.is-active {
  opacity: 1;
  --rv-scale: 1;
  box-shadow: 0 12px 30px -18px rgba(0,0,0,0.6);
  z-index: 3;
}
@media (hover: hover) and (pointer: fine) {
  .review-card.is-active:hover {
    --rv-hover: 1.03;
    border-color: var(--border-cyan);
    background: rgba(125, 216, 236, 0.04);
    box-shadow:
      0 0 60px rgba(125, 216, 236, 0.38),
      0 0 100px rgba(47, 179, 221, 0.18);
  }
}
.review-card.is-peek { z-index: 2; }
.review-card.is-hidden { opacity: 0; pointer-events: none; }
.review-card:focus-visible {
  outline: 2px solid var(--brand-teal, #2fb3dd);
  outline-offset: 3px;
}
.review-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  background: #fff;
  pointer-events: none;
}

.rv-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}
.rv-dot {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  position: relative;
}
.rv-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  transition: background 250ms ease, transform 250ms ease, box-shadow 250ms ease, filter 250ms ease;
}
.rv-dot.is-active::before {
  background: var(--cyan-soft);
  width: 11px;
  height: 11px;
  box-shadow: 0 0 14px rgba(125,216,236,0.7);
}
.rv-dot:focus-visible {
  outline: 2px solid var(--brand-teal, #2fb3dd);
  outline-offset: 2px;
  border-radius: 50%;
}
@media (hover: hover) and (pointer: fine) {
  .rv-dot:hover::before {
    transform: scale(1.25);
    filter: brightness(1.35);
  }
}

.reviews-footnote {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2.5rem;
  letter-spacing: 0.01em;
}

/* Lightbox */
.review-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: rgba(3, 5, 6, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.22s ease;
  cursor: zoom-out;
}
.review-lightbox[hidden] { display: none; }
.review-lightbox.is-open { opacity: 1; }
.review-lightbox img {
  max-width: min(900px, 100%);
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  background: #fff;
  cursor: default;
}
.rlb-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border2);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.rlb-close:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--border-cyan);
}
.rlb-close svg { width: 18px; height: 18px; }

@media (max-width: 880px) {
  .reviews-stats { grid-template-columns: repeat(2, 1fr); }
  .rv-stat:nth-child(3) { border-left: none; }
}
@media (max-width: 640px) {
  .reviews-slider { --rv-card-w: min(340px, 86vw); --rv-gap: 16px; }
  .rv-viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .review-card:not(.is-active) { opacity: 0; pointer-events: none; }
  .review-card.is-active { transform: translate(calc(-50% + var(--rv-x)), 0) scale(1); }
  .review-lightbox { padding: 2rem 1rem; }
}

/* ============================================================
   FOUNDER ("Hey, it's Muizz")
   ============================================================ */
.founder-section { padding-top: 4rem; padding-bottom: 8rem; }
.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.founder-text {
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--brand-teal);
}
.founder-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.founder-text p {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}
.founder-text p strong { color: var(--text); font-weight: 500; }
.founder-text .accent-word { color: var(--cyan-soft); }
.founder-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.founder-socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(47, 179, 221, 0.06);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--muted);
  transition: all 0.25s;
}
.founder-socials a:hover {
  background: rgba(47, 179, 221, 0.12);
  border-color: var(--border-cyan);
  color: var(--cyan-soft);
}
.founder-socials svg { width: 18px; height: 18px; }

.founder-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-self: start;
  padding-right: 3rem;
  padding-top: 0;
}
.founder-photo-glow {
  position: absolute;
  top: 50%;
  left: calc(50% - 1.5rem);
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  max-width: 130%;
  background: radial-gradient(
    circle,
    rgba(34, 211, 238, 0.19) 0%,
    rgba(34, 211, 238, 0.08) 30%,
    rgba(34, 211, 238, 0.03) 55%,
    transparent 75%
  );
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.founder-portrait {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  -webkit-mask-image:
    linear-gradient(to top right, transparent 0%, #000 40%),
    linear-gradient(to top left, transparent 0%, #000 40%);
          mask-image:
    linear-gradient(to top right, transparent 0%, #000 40%),
    linear-gradient(to top left, transparent 0%, #000 40%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}

@media (max-width: 1024px) {
  .founder-section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .founder-text { order: 2; }
  .founder-photo-wrap {
    order: 1;
    padding-right: 0;
    padding-top: 0;
    justify-self: center;
    width: 100%;
  }
  .founder-portrait { max-width: 360px; margin: 0 auto; }
  .founder-photo-glow {
    left: 50%;
    width: 420px;
    height: 420px;
  }
  .founder-text h2 { font-size: clamp(2.25rem, 6vw, 2.625rem); }
  .founder-text p { font-size: 16px; line-height: 1.6; margin-bottom: 1rem; }
  .founder-socials a { width: 44px; height: 44px; }
}

@media (max-width: 768px) {
  .founder-portrait { max-width: 280px; }
  .founder-photo-glow { width: 320px; height: 320px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0.25rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { content: ''; }
.faq-item > summary:hover { color: var(--cyan-soft); }
.faq-q { flex: 1; line-height: 1.4; }
.faq-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--brand-teal);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.3, 1), opacity 0.3s ease;
}
.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}
.faq-icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}
.faq-item[open] .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.faq-a > p {
  overflow: hidden;
  min-height: 0;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.75;
  padding: 0 0.25rem;
}
.faq-item[open] .faq-a {
  grid-template-rows: 1fr;
}
.faq-item[open] .faq-a > p {
  padding: 0 0.25rem 1.5rem;
}
@media (max-width: 600px) {
  .faq-section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .faq-item > summary { padding: 1.25rem 0.25rem; gap: 1rem; }
}

/* ============================================================
   TUBE LIGHT CTA
   ============================================================ */
.tube-cta {
  position: relative;
  margin-top: 6rem;
  padding: 9rem 2rem 9rem;
  max-width: none;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, #030506 100%);
  border-top: 1px solid var(--border);
}
.tube-bar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 6px;
  border-radius: 0 0 20px 20px;
  background: linear-gradient(180deg, var(--cyan-soft), var(--brand-teal));
  box-shadow:
    0 0 30px var(--cyan-soft),
    0 0 60px var(--brand-teal),
    0 0 100px var(--cyan-deep);
}
.tube-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(125, 216, 236, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 0%, rgba(47, 179, 221, 0.25) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.tube-wisp {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 200px;
  background: radial-gradient(ellipse, rgba(74, 185, 163, 0.18), transparent 60%);
  filter: blur(50px);
  pointer-events: none;
}
.tube-cta h2 {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
  line-height: 1.05;
}
.tube-cta .btn {
  position: relative;
  z-index: 2;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  padding: 2.75rem 2rem 1.5rem;
  background: rgba(10, 46, 58, 0.55);
  overflow: hidden;
}
.site-footer .footer-inner,
.site-footer .footer-bottom { position: relative; z-index: 1; }
#neural-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}
.footer-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  text-align: center;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.65rem;
  padding: 0 2rem;
}
.footer-inner > .footer-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,0.08);
  padding: 0 2rem;
}
.footer-brand .nav-logo { font-size: 19px; font-weight: 700; }
.footer-brand .nav-logo span { font-size: 19px; }
.footer-brand .nav-logo-icon { width: 24px; height: 24px; }
.footer-brand .brand-meta {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 1rem auto 0;
  gap: 0.4rem;
}
.footer-brand .brand-cta {
  width: 100%;
  justify-content: center;
  padding: 11px 16px;
  font-size: 13px;
  border-radius: 9px;
}
.footer-brand .brand-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.footer-brand .brand-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--brand-teal);
  background: transparent;
  border: 1px solid rgba(47,179,221,0.35);
  border-radius: 9px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.footer-brand .brand-action:hover {
  background: rgba(47,179,221,0.10);
  border-color: var(--brand-teal);
  color: var(--brand-teal-light);
}
.footer-brand .brand-action svg { width: 15px; height: 15px; }
.footer-brand .brand-location {
  margin-top: 0.85rem;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-self: center;
  align-items: center;
  gap: 8px;
}
.footer-brand .brand-location svg { width: 14px; height: 14px; opacity: 0.6; }
.footer-brand .brand-contact a,
.footer-brand .brand-contact .static-location {
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-brand .brand-contact a {
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-brand .brand-contact a:hover { color: white; }
.footer-brand .brand-contact svg { width: 14px; height: 14px; opacity: 0.7; }
.footer-brand p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  max-width: 280px;
  margin: 0 auto;
}
.footer-brand .socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.footer-brand .socials a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(47, 179, 221, 0.12);
  border: 1px solid var(--brand-teal);
  display: grid;
  place-items: center;
  color: var(--brand-teal);
  transition: all 0.25s;
}
.footer-brand .socials a:hover {
  background: var(--brand-teal);
  color: #0a2e3a;
}
.footer-brand .socials svg { width: 16px; height: 16px; }
.footer-col h5 {
  font-size: 19px;
  font-weight: 700;
  color: white;
  margin: 0 0 1rem;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; align-items: center; margin: 0; padding: 0; }
.footer-col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}
.footer-col .legal-item { margin-top: 0; }
.footer-col .legal-item:first-of-type { margin-top: 0.5rem; }
.footer-col .legal-item a {
  font-size: 0.85em;
  opacity: 0.6;
}
.footer-col a:hover { color: white; }
.footer-col a svg { width: 14px; height: 14px; opacity: 0.7; }
.footer-bottom {
  position: relative;
  max-width: 1280px;
  margin: 1.25rem auto 0;
  padding-top: 1rem;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
}
.footer-bottom-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}
.footer-bottom-left > span::after {
  content: '·';
  margin-left: 1rem;
  opacity: 0.6;
}
.footer-bottom .legal { display: flex; gap: 1rem; align-items: center; }
.footer-bottom .legal a { color: rgba(255,255,255,0.5); position: relative; }
.footer-bottom .legal a + a::before {
  content: '·';
  margin-right: 1rem;
  opacity: 0.6;
}
.footer-bottom .legal a:hover { color: white; }
.footer-col .static-location {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: default;
}
.footer-col .static-location svg { width: 14px; height: 14px; opacity: 0.6; }
@media (max-width: 520px) {
  .footer-bottom-left { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .footer-bottom-left > span::after { display: none; }
}

@media (max-width: 880px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-brand { padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
  .footer-inner > .footer-col { border-left: none; padding: 0; }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}


/* ============================================================
   LEGAL PAGES (Privacy / Terms)
   ============================================================ */
.legal-page {
  position: relative;
  z-index: 1;
  padding: 7rem 1.5rem 5rem;
  display: flex;
  justify-content: center;
}
.legal-inner {
  width: 100%;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16.5px;
  line-height: 1.7;
}
.legal-inner h1 {
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.legal-inner .legal-updated {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2.5rem;
}
.legal-callout {
  margin: 0 0 3rem;
  padding: 1.5rem 1.75rem 1.5rem 2.5rem;
  background: rgba(47, 179, 221, 0.06);
  border-left: 3px solid var(--brand-teal);
  border-radius: 6px;
}
.legal-callout h2 {
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 0.75rem;
}
.legal-callout p,
.legal-callout ul,
.legal-callout li {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15.5px;
  line-height: 1.65;
}
.legal-callout ul,
.legal-content ul,
.legal-content ol {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.legal-callout li,
.legal-content li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
  line-height: 1.55;
}
.legal-callout li::before,
.legal-content li::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand-teal);
  opacity: 0.85;
}
.legal-callout li:last-child,
.legal-content li:last-child { margin-bottom: 0; }
.legal-content h2 {
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin: 3rem 0 1rem;
  line-height: 1.25;
}
.legal-content h3 {
  font-family: var(--font-display, 'Plus Jakarta Sans', system-ui, sans-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}
.legal-content p {
  margin-bottom: 1.1rem;
}
.legal-content a {
  color: var(--brand-teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal-content a:hover { color: var(--brand-teal-light); }
.legal-content strong { color: #fff; font-weight: 600; }

@media (max-width: 640px) {
  .legal-page { padding: 5.5rem 1.25rem 3.5rem; }
  .legal-inner { font-size: 15.5px; }
  .legal-callout { padding: 1.25rem 1.25rem 1.25rem 1.75rem; }
  .legal-content h2 { margin-top: 2.25rem; }
}

@media (max-width: 360px) {
  .footer-brand .brand-actions { grid-template-columns: 1fr; }
}


/* ============================================================
   TOUCH DEVICE OVERRIDES
   ============================================================ */
@media (hover: none) {
  /* Neutralize sticky hover transforms / shadows on touch */
  .btn-primary:hover,
  .btn-ghost:hover,
  .btn-glass:hover,
  .stat-card:hover,
  .service-card:hover,
  .process-step:hover,
  .tool-item:hover,
  .review-card:hover,
  .founder-socials a:hover,
  .footer-brand .brand-action:hover,
  .footer-brand .socials a:hover,
  .rlb-close:hover,
  .nav-links a:hover,
  .wash-band .btn-glass:hover {
    transform: none;
    filter: none;
    box-shadow: inherit;
    background: inherit;
    border-color: inherit;
    color: inherit;
  }
  .stat-card:hover::before { opacity: 0; animation: none; }
  .btn:hover .arrow { transform: none; }

  /* Prevent accidental text selection on tap-targets */
  a, button, .btn, .stat-card, .service-card, .process-step,
  .tool-item, .review-card, .about-card, .founder-socials a,
  .footer-brand .brand-action, .footer-brand .socials a,
  .nav-links a, .nav-cta, .brand-cta, .rlb-close {
    -webkit-user-select: none;
    user-select: none;
  }

  /* Tap feedback via :active */
  .btn-primary:active { transform: scale(0.98); opacity: 0.92; }
  .btn-ghost:active,
  .btn-glass:active,
  .service-card:active,
  .stat-card:active,
  .review-card:active { opacity: 0.9; }
}
