﻿@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ============ TOKENS ============ */
:root {
  --bg: #0f1923;
  --bg-2: #1a2b3c;
  --bg-3: #233a52;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(0,212,255,0.25);
  --text: #e7eef5;
  --text-dim: #9aabbd;
  --text-faint: #6c7e92;
  --cyan: #00d4ff;
  --cyan-soft: rgba(0,212,255,0.12);
  --green: #25d366;
  --green-hover: #1ebe5a;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-cyan: 0 18px 50px -20px rgba(0,212,255,0.45);
  --shadow-card: 0 20px 50px -30px rgba(0,0,0,0.7);
  --display: 'Bebas Neue', Impact, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ============ LAYOUT ============ */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
section { padding: 110px 0; position: relative; }
@media (max-width: 768px) { section { padding: 72px 0; } }

/* ============ TYPE ============ */
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.92;
  text-transform: uppercase;
  color: #fff;
}
h1.display { font-size: clamp(48px, 7.5vw, 110px); }
h2.display { font-size: clamp(36px, 5.2vw, 72px); }
h3.display { font-size: clamp(20px, 2vw, 26px); letter-spacing: 0.04em; }

.cyan { color: var(--cyan); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cyan);
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--cyan-soft);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,212,255,0.18);
}

.lead { color: var(--text-dim); font-size: 17px; max-width: 60ch; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-green { background: var(--green); color: #0a1f12; }
.btn-green:hover { background: var(--green-hover); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(37,211,102,0.7); }
.btn-outline { border: 1px solid var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.btn-cyan { background: var(--cyan); color: #00222b; }
.btn-cyan:hover { transform: translateY(-2px); box-shadow: var(--shadow-cyan); }
.btn svg { width: 18px; height: 18px; }

/* ============ NAVBAR ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(15,25,35,0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: 22px; letter-spacing: 0.06em; }
.logo-mark {
  width: 56px; height: 56px;
  background: url('../img/logo-tdd.png') center/contain no-repeat;
  filter: drop-shadow(0 0 14px rgba(0,212,255,0.45));
  flex-shrink: 0;
}
.logo-mark.lg { width: 72px; height: 72px; }
.logo-text { display: flex; gap: 8px; align-items: baseline; }
.logo-text .pipe { color: var(--text-faint); font-weight: 300; }
.logo-text .sub { font-family: var(--body); font-size: 11px; letter-spacing: 0.22em; color: var(--text-dim); font-weight: 600; text-transform: uppercase; }
.logo-text .sub span { color: var(--cyan); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--text-dim); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--cyan); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.language-switcher { position: relative; }
.language-toggle {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  transition: color .15s, border-color .15s, background .15s;
}
.language-toggle:hover,
.language-toggle[aria-expanded="true"] {
  color: var(--cyan);
  border-color: var(--line-strong);
  background: var(--cyan-soft);
}
.language-toggle svg { width: 16px; height: 16px; }
.language-menu {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 80;
  display: grid; grid-template-columns: repeat(2, minmax(58px, 1fr)); gap: 6px;
  min-width: 154px; padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15,25,35,0.98);
  box-shadow: var(--shadow-card);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.language-switcher.open .language-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.language-menu button {
  min-height: 34px; padding: 8px 10px;
  border-radius: 8px;
  color: var(--text-dim);
  font-size: 13px; font-weight: 700;
  transition: color .15s, background .15s;
}
.language-menu button:hover,
.language-menu button.active {
  color: #00222b;
  background: var(--cyan);
}
#google_translate_element {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0; pointer-events: none;
}
.goog-te-banner-frame,
.goog-te-menu-frame,
#goog-gt-tt,
.VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }
body { top: 0 !important; }
.hamburger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; }
.hamburger span { display: block; width: 18px; height: 2px; background: var(--text); position: relative; }
.hamburger span::before, .hamburger span::after { content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--text); transition: transform .2s; }
.hamburger span::before { top: -6px; }
.hamburger span::after { top: 6px; }
.hamburger.open span { background: transparent; }
.hamburger.open span::before { top: 0; transform: rotate(45deg); }
.hamburger.open span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(15,25,35,0.97); backdrop-filter: blur(14px); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 18px; }
  .language-menu { right: auto; left: 50%; transform: translate(-50%, -6px); }
  .language-switcher.open .language-menu { transform: translate(-50%, 0); }
  .hamburger { display: inline-flex; }
  .nav-cta .btn-text { display: none; }
}

/* ============ HERO ============ */
.hero { padding-top: 160px; padding-bottom: 120px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 60px; } }

.hero h1 { margin: 22px 0 24px; }
.hero-sub { color: var(--text-dim); font-size: 17px; max-width: 56ch; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* hero mockup card */
.mockup {
  position: relative;
  background: linear-gradient(160deg, #1a2b3c 0%, #16263a 60%, #0f1923 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 30px 80px -30px rgba(0,212,255,0.25), 0 30px 80px -40px rgba(0,0,0,0.7);
  transform: rotate(-1deg);
}
.mockup::before {
  content: ''; position: absolute; inset: -1px; border-radius: 25px; padding: 1px;
  background: linear-gradient(160deg, rgba(0,212,255,0.5), transparent 40%, transparent 60%, rgba(37,211,102,0.3));
  -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;
}
.mockup-bar { display: flex; gap: 6px; margin-bottom: 22px; }
.mockup-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-3); display: block; }
.mockup-bar i:first-child { background: #ff5f57; }
.mockup-bar i:nth-child(2) { background: #febc2e; }
.mockup-bar i:nth-child(3) { background: #28c840; }
.mockup-tag { font-size: 11px; letter-spacing: 0.22em; color: var(--cyan); font-weight: 700; margin-bottom: 10px; }
.mockup h3 { font-family: var(--display); font-size: 36px; line-height: 1; color: #fff; margin-bottom: 18px; }
.mockup p { color: var(--text-dim); font-size: 14px; margin-bottom: 22px; }
.mockup-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.mockup-stat { background: rgba(0,212,255,0.05); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.mockup-stat .n { font-family: var(--display); font-size: 28px; color: var(--cyan); line-height: 1; }
.mockup-stat .l { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }
.mockup-band { display: flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px 14px; background: rgba(37,211,102,0.08); border: 1px solid rgba(37,211,102,0.25); border-radius: 12px; font-size: 13px; color: #b6f0c9; }
.mockup-band .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(37,211,102,0.7); animation: pulse 2s infinite; }

/* gradient mesh bg */
.mesh {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: -1;
}
.mesh::before, .mesh::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.6;
}
.mesh::before {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(0,212,255,0.5), transparent 70%);
  top: -120px; left: -100px;
  animation: drift 14s ease-in-out infinite alternate;
}
.mesh::after {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(37,211,102,0.3), transparent 70%);
  bottom: -160px; right: -120px;
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(40px,30px) scale(1.1); }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
  70% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ============ SECTIONS COMMON ============ */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head .lead { margin: 22px auto 0; }
.section-head h2 { margin-top: 18px; }

/* ============ SERVICES ============ */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, #1a2b3c 0%, #16273a 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity .25s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-cyan);
}
.card:hover::after { opacity: 1; }
.card-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cyan-soft);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  margin-bottom: 22px;
  color: var(--cyan);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--display); font-size: 24px; color: #fff; letter-spacing: 0.03em; margin-bottom: 12px; }
.card p { color: var(--text-dim); font-size: 14.5px; }

/* ============ FITNESS ============ */
.fitness {
  background:
    radial-gradient(900px 400px at 80% 0%, rgba(0,212,255,0.07), transparent 60%),
    radial-gradient(700px 400px at 0% 80%, rgba(37,211,102,0.05), transparent 60%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fitness-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .fitness-grid { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0 30px; }
@media (max-width: 480px) { .stats { grid-template-columns: 1fr; } }
.stat {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.stat .num { font-family: var(--display); font-size: 46px; color: var(--cyan); line-height: 1; }
.stat .lab { font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 8px; }

.feat-list { list-style: none; display: grid; gap: 14px; }
.feat-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--text);
  transition: border-color .2s, transform .2s;
}
.feat-list li:hover { border-color: var(--line-strong); transform: translateX(4px); }
.feat-list li .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); margin-top: 9px; flex-shrink: 0; box-shadow: 0 0 0 4px rgba(0,212,255,0.15); }

/* ============ DIFFERENTIATOR ============ */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .diff-grid { grid-template-columns: 1fr; } }
.diff-points { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.diff-points li { display: flex; gap: 16px; align-items: flex-start; }
.diff-points .num {
  width: 32px; height: 32px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--cyan-soft); border: 1px solid var(--line-strong);
  border-radius: 50%; color: var(--cyan); font-weight: 700; font-size: 13px;
}
.diff-points strong { color: #fff; font-weight: 600; display: block; margin-bottom: 4px; }
.diff-points span { color: var(--text-dim); font-size: 14.5px; }

.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.icon-tile {
  aspect-ratio: 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: transform .25s, border-color .25s;
}
.icon-tile:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.icon-tile svg { width: 38px; height: 38px; color: var(--cyan); opacity: 0.8; }
.icon-tile.featured { background: linear-gradient(160deg, rgba(0,212,255,0.18), rgba(0,212,255,0.04)); border-color: var(--line-strong); }
.icon-tile .label { position: absolute; bottom: 12px; left: 14px; right: 14px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-faint); }

/* ============ PROCESS ============ */
.process { position: relative; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.step:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-cyan); }
.step .step-num {
  font-family: var(--display); font-size: 64px; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--cyan);
  margin-bottom: 18px; opacity: 0.9;
}
.step .step-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--cyan-soft); border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--cyan); margin-bottom: 18px; }
.step .step-icon svg { width: 22px; height: 22px; }
.step h3 { font-family: var(--display); font-size: 22px; color: #fff; letter-spacing: 0.03em; margin-bottom: 10px; }
.step p { color: var(--text-dim); font-size: 14px; }
/* connecting line */
.steps::before {
  content: ''; position: absolute; top: 56px; left: 5%; right: 5%;
  height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  z-index: 0;
}
@media (max-width: 900px) { .steps::before { display: none; } }

/* ============ BENEFITS ============ */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px; }
@media (max-width: 700px) { .benefits-grid { grid-template-columns: 1fr; } }
.benefit {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  transition: border-color .2s, transform .2s;
}
.benefit:hover { border-color: var(--line-strong); transform: translateX(4px); }
.benefit .check {
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 50%; background: var(--cyan-soft); border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; color: var(--cyan);
  margin-top: 1px;
}
.benefit .check svg { width: 13px; height: 13px; }

/* ============ FINAL CTA ============ */
.final-cta { padding: 80px 0 110px; }
.cta-card {
  position: relative;
  background: linear-gradient(160deg, #16273a 0%, #0f1923 100%);
  border-radius: 28px;
  padding: 70px 40px;
  text-align: center;
  overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 28px; padding: 1.5px;
  background: linear-gradient(135deg, var(--cyan) 0%, transparent 35%, transparent 65%, var(--green) 100%);
  -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;
}
.cta-card::after {
  content: ''; position: absolute; top: -50%; left: -10%; width: 60%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(0,212,255,0.18), transparent 60%);
  pointer-events: none;
}
.cta-card .inner { position: relative; z-index: 1; }
.cta-card h2 { margin-bottom: 18px; }
.cta-card p { color: var(--text-dim); max-width: 50ch; margin: 0 auto 32px; }
.cta-email { display: inline-block; margin-top: 22px; color: var(--cyan); font-size: 14px; border-bottom: 1px dashed rgba(0,212,255,0.4); padding-bottom: 2px; }
.cta-email:hover { color: #fff; border-color: #fff; }

/* ============ FOOTER ============ */
footer { border-top: 1px solid var(--line); padding: 50px 0 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 320px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { color: var(--text-faint); font-size: 13.5px; }
.footer-legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal button { color: var(--text-dim); font-size: 13.5px; transition: color .15s; }
.footer-legal button:hover { color: var(--cyan); }
.footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-faint); font-size: 13px; text-align: center; }

/* ============ CLIENTS CAROUSEL ============ */
.clients-track-wrap {
  position: relative;
  overflow: hidden;
  padding: 24px 0;
  cursor: grab;
  touch-action: pan-y;
}
.clients-track-wrap.dragging { cursor: grabbing; }
.clients-track-wrap::before,
.clients-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients-track-wrap::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.clients-track-wrap::after  { right: 0; background: linear-gradient(to left,  var(--bg), transparent); }

.clients-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
  user-select: none;
}
.clients-track-wrap.dragging .client-card { pointer-events: none; }
.client-card { -webkit-user-drag: none; }

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

.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 180px;
  padding: 28px 20px 22px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color .2s, transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
.client-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px -16px rgba(0,212,255,0.3);
}
.client-ig-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--cyan);
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.client-card:hover .client-ig-icon {
  background: var(--cyan-soft);
  border-color: var(--cyan);
  color: var(--cyan);
}
.client-ig-icon svg { width: 20px; height: 20px; }
.client-name {
  font-size: 13.5px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}
.client-handle {
  font-size: 11.5px;
  color: var(--cyan);
  text-align: center;
}

/* ============ FLOATING WHATSAPP ============ */
.fab {
  position: fixed; bottom: 24px; right: 24px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,0.55);
  transition: transform .2s;
}
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
.fab::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--green);
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============ MODALS ============ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5,12,20,0.75); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; transition: opacity .2s;
}
.modal-overlay.open { display: flex; opacity: 1; }
.modal {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  width: 100%; max-width: 760px;
  max-height: 86vh; overflow: hidden;
  display: flex; flex-direction: column;
  transform: translateY(20px); transition: transform .25s;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.7);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
}
.modal-head h3 { font-family: var(--display); font-size: 26px; color: #fff; letter-spacing: 0.04em; }
.modal-close {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-size: 22px;
  transition: color .15s, border-color .15s;
}
.modal-close:hover { color: var(--cyan); border-color: var(--line-strong); }
.modal-body {
  padding: 24px 20px 30px 28px;
  overflow-y: auto;
  color: var(--text-dim);
  font-size: 14.5px;
  scrollbar-width: thin;
  scrollbar-color: var(--bg-3) transparent;
}
.modal-body::-webkit-scrollbar { width: 6px; }
.modal-body::-webkit-scrollbar-track {
  background: transparent;
  margin: 8px 0;
}
.modal-body::-webkit-scrollbar-thumb {
  background: var(--bg-3);
  border-radius: 99px;
  transition: background .2s;
}
.modal-body::-webkit-scrollbar-thumb:hover { background: var(--cyan); }
.modal-body h4 {
  color: #fff;
  font-family: var(--display);
  letter-spacing: 0.04em;
  font-size: 18px;
  margin: 28px 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.modal-body h4:first-child { margin-top: 0; }
.modal-body p { margin-bottom: 12px; line-height: 1.65; }
.modal-body ul, .modal-body ol { padding-left: 20px; margin-bottom: 12px; }
.modal-body ul li, .modal-body ol li { margin-bottom: 6px; line-height: 1.6; }
.modal-body strong { color: var(--text); }
.modal-body a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.modal-body a:hover { color: #fff; }
.modal-body em { color: var(--text-faint); font-style: italic; }
.modal-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
}
.modal-body table thead tr { background: rgba(0,212,255,0.07); }
.modal-body table th {
  padding: 9px 12px;
  border: 1px solid var(--line);
  text-align: left;
  color: var(--cyan);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.modal-body table td {
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--text-dim);
  vertical-align: top;
}
.modal-body table tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }
.modal-body code {
  background: var(--bg-3);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12.5px;
  color: var(--cyan);
  font-family: monospace;
}

/* ============ ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ INTRO ============ */
.intro-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(180deg, rgba(15,25,35,0.96), rgba(15,25,35,0.98)),
    radial-gradient(circle at center, rgba(0,212,255,0.12), transparent 48%);
  transition: opacity .7s ease, visibility .7s ease;
}
.intro-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro-stage {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 34px;
}
.intro-stage::before,
.intro-stage::after {
  content: '';
  position: absolute; inset: 50% auto auto 50%;
  width: 210px; height: 210px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,0.22);
  transform: translate(-50%, -50%) scale(.72);
  animation: intro-ring 1.8s ease-out infinite;
}
.intro-stage::after {
  width: 270px; height: 270px;
  border-color: rgba(37,211,102,0.16);
  animation-delay: .28s;
}
.intro-logo {
  position: relative; z-index: 1;
  width: clamp(96px, 16vw, 150px);
  aspect-ratio: 1;
  background: url('../img/logo-tdd.png') center/contain no-repeat;
  filter: drop-shadow(0 0 24px rgba(0,212,255,0.5));
  animation: intro-logo 1.4s cubic-bezier(.2,.8,.2,1) both;
}
.intro-title {
  position: relative; z-index: 1;
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  animation: intro-text .8s ease .35s both;
}
.intro-title span { color: var(--cyan); }
.intro-line {
  position: relative; z-index: 1;
  width: min(220px, 58vw);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
}
.intro-line span {
  display: block;
  width: 44%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--green));
  animation: intro-line 1.2s ease-in-out infinite;
}
body.intro-lock { overflow: hidden; }
@keyframes intro-logo {
  0% { opacity: 0; transform: scale(.82) rotate(-7deg); }
  60% { opacity: 1; transform: scale(1.05) rotate(1deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes intro-text {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes intro-line {
  0% { transform: translateX(-115%); }
  100% { transform: translateX(260%); }
}
@keyframes intro-ring {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(.72); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.16); }
}

/* ============ LANGUAGE TRANSITION ============ */
#langTransition {
  position: fixed; inset: 0; z-index: 8000;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(180deg, rgba(15,25,35,0.96), rgba(15,25,35,0.98)),
    radial-gradient(circle at center, rgba(0,212,255,0.12), transparent 48%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
#langTransition.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* small */
@media (max-width: 600px) {
  .hero { padding-top: 130px; }
  .mockup { transform: none; padding: 22px; }
  .mockup h3 { font-size: 28px; }
  .cta-card { padding: 50px 22px; }
}


