/* ============================================================
   Futura theme — dark-first landing for the SMM panel
   No frameworks. CSS variables drive dark/light themes.
   ============================================================ */

/* Inter, self-hosted. Removes a third-party connection (fonts.googleapis.com +
   fonts.gstatic.com) from the critical path, which was delaying first paint.
   One variable file per subset covers every weight from 400 to 900, and
   unicode-range means a visitor only downloads the subsets their page needs. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-greek-ext.woff2') format('woff2');
  unicode-range: U+1F00-1FFF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/inter-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

:root,
html[data-theme="dark"] {
  --bg: #0a0e1a;
  --bg-alt: #0d1322;
  --surface: #111726;
  --surface-2: #161e30;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8ecf4;
  --muted: #8a94a8;
  --accent: #7c5cff;
  --accent-hover: #6a48f5;
  --accent-soft: rgba(124, 92, 255, 0.14);
  --brand-blue: #1EA7FF;
  --brand-purple: #C026D3;
  --green: #34d399;
  --code-bg: #0d1322;
}

html[data-theme="light"] {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f2f4f9;
  --border: rgba(15, 23, 42, 0.1);
  --text: #131a2a;
  --muted: #5b6577;
  --accent: #6544f0;
  --accent-hover: #5335d6;
  --accent-soft: rgba(101, 68, 240, 0.1);
  --green: #0ea36f;
  --code-bg: #0f172a;
}

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

html { scroll-behavior: smooth; }
/* No horizontal scroll, ever ("clip" keeps position:sticky working) */
html, body { overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; }

.ft-container { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.ft-center { text-align: center; }
.ft-muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.ft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.12s;
}
.ft-btn:active { transform: translateY(1px); }
.ft-btn-primary { background: var(--accent); color: #fff; }
.ft-btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 0 3px var(--accent-soft), 0 10px 32px rgba(124, 92, 255, 0.45);
  transform: translateY(-1px);
}
.ft-btn-ghost { border-color: var(--border); color: var(--text); background: transparent; }
.ft-btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }
/* Login — visible outline (not invisible ghost) on public nav */
.ft-btn-outline {
  border-color: rgba(124, 92, 255, 0.55);
  color: var(--text);
  background: rgba(124, 92, 255, 0.1);
}
.ft-btn-outline:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  transform: translateY(-1px);
}
html[data-theme="light"] .ft-btn-outline {
  border-color: rgba(101, 68, 240, 0.45);
  background: rgba(101, 68, 240, 0.08);
}
.ft-btn-lg { padding: 13px 26px; font-size: 15px; border-radius: 12px; }
.ft-btn-block { width: 100%; }

/* ---------- Nav ---------- */
.ft-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.ft-nav-inner { display: flex; align-items: center; gap: 22px; height: 90px; position: relative; }
.ft-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.ft-logo-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 220px;
  height: 64px;
}
.ft-logo-slot img {
  height: 56px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
html[data-theme="light"] .ft-logo-slot img { height: 62px; }

/* Theme-aware logo swap: white logo on dark, colored logo on light */
.ft-logo-on-light { display: none !important; }
html[data-theme="light"] .ft-logo-on-dark { display: none !important; }
html[data-theme="light"] .ft-logo-on-light { display: block !important; }
.ft-nav-links { flex: 1; min-width: 0; }
.ft-nav-links ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
/* core.css sets .navbar-nav { flex-direction: column } — reset for horizontal header */
.ft-nav .ft-nav-links .navbar-nav,
.ft-nav-links .navbar-nav {
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center;
  margin-left: auto !important;
  margin-bottom: 0 !important;
  padding-left: 0;
}
.ft-nav-links .navbar-nav > .nav-item {
  display: inline-flex;
}
.ft-nav-links .navbar-nav .nav-link { padding: 8px 13px; }
.ft-nav-links .nav-link {
  display: block;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}
.ft-nav-links .nav-link:hover,
.ft-nav-links .nav-item.active .nav-link { color: var(--text); background: var(--accent-soft); }
.ft-nav-actions { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }

/* Mobile menu — lang/theme fallback (very narrow screens only) */
.ft-nav-mobile-controls { display: none; }

.ft-lang { position: relative; }
.ft-lang summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 11px;
}
.ft-lang .flag-icon {
  width: 17px;
  height: 13px;
  border-radius: 2px;
  flex-shrink: 0;
}
.ft-lang summary::-webkit-details-marker { display: none; }
.ft-lang[open] summary { color: var(--text); border-color: var(--accent); }
.ft-lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 150px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}
.ft-lang-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 13px;
  text-decoration: none;
  color: var(--text);
}
.ft-lang-menu a:hover { background: var(--accent-soft); }

.ft-theme-toggle {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  border-radius: 8px;
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}
.ft-theme-toggle:hover { color: var(--text); border-color: var(--accent); }
html[data-theme="dark"] .ft-sun { display: inline; }
html[data-theme="dark"] .ft-moon { display: none; }
html[data-theme="light"] .ft-sun { display: none; }
html[data-theme="light"] .ft-moon { display: inline; }

.ft-burger { display: none; }

/* ---------- Hero ---------- */
/* ---------- Trust strip (under nav) ---------- */
.ft-trust-strip {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  font-size: 12.5px;
  color: var(--muted);
}
.ft-trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.ft-trust-strip-inner > span { display: inline-flex; align-items: center; gap: 6px; }
.ft-trust-strip-inner svg { color: var(--accent); flex-shrink: 0; }
.ft-trust-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--border); padding: 0 !important; }

.ft-hero {
  position: relative;
  padding: 84px 0 48px;
  overflow: hidden;
  background:
    /* Huge, very faint radial behind the whole hero — adds depth */
    radial-gradient(ellipse 140% 120% at 50% 0%, rgba(139, 92, 246, 0.07), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(124, 92, 255, 0.14), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(56, 130, 246, 0.10), transparent 65%),
    var(--bg);
}
html[data-theme="light"] .ft-hero {
  background:
    radial-gradient(ellipse 140% 120% at 50% 0%, rgba(139, 92, 246, 0.05), transparent 70%),
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(124, 92, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 20%, rgba(56, 130, 246, 0.06), transparent 65%),
    var(--bg);
}
.ft-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.ft-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: ftDrift 14s ease-in-out infinite alternate;
}
.ft-blob-a {
  width: 520px; height: 520px;
  left: -140px; top: -180px;
  background: radial-gradient(circle, rgba(124,92,255,.38), transparent 70%);
}
.ft-blob-b {
  width: 460px; height: 460px;
  right: -120px; top: 60px;
  background: radial-gradient(circle, rgba(52,211,153,.16), transparent 70%);
  animation-delay: -7s;
}
@keyframes ftDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 26px) scale(1.08); }
}
.ft-grid-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(124,92,255,.16) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(620px 420px at 30% 20%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(620px 420px at 30% 20%, #000 0%, transparent 78%);
}
.ft-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}
.ft-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted);
}
/* inline-block so futura.js can pin the width before the count-up animation,
   tabular figures so the digits don't jitter while it runs. */
.ft-proof strong {
  color: var(--text);
  font-weight: 800;
  display: inline-block;
  font-variant-numeric: tabular-nums;
}
.ft-stars { color: #fbbf24; font-size: 15px; letter-spacing: 2px; }
.ft-proof-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); opacity: .5; }
.ft-badge-row { margin-bottom: 18px; }
.ft-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 6px 14px;
  max-width: 100%;
}
.ft-badge .ft-dot { flex-shrink: 0; }
.ft-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.ft-dot-live { animation: ftPulse 1.6s infinite; }
@keyframes ftPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.ft-hero h1 {
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -1.2px;
  margin-bottom: 18px;
  background: linear-gradient(120deg, var(--text) 55%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
/* #1 / #N — accent base + moving silver shine sweep */
.ft-shine-num {
  position: relative;
  display: inline-block;
  background: linear-gradient(
    105deg,
    var(--accent) 0%,
    var(--accent) 38%,
    #c8cad8 46%,
    #ffffff 50%,
    #c8cad8 54%,
    var(--accent) 62%,
    var(--accent) 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ftShineNum 3.8s ease-in-out infinite;
  filter: drop-shadow(0 0 14px rgba(124, 92, 255, 0.35));
}
html[data-theme="light"] .ft-shine-num {
  filter: drop-shadow(0 0 10px rgba(101, 68, 240, 0.28));
}
@keyframes ftShineNum {
  0%, 100% { background-position: 120% center; }
  50%      { background-position: -20% center; }
}
@media (prefers-reduced-motion: reduce) {
  .ft-shine-num { animation: none; background-position: center; }
}
.ft-sub { color: var(--muted); font-size: 17.5px; line-height: 1.65; max-width: 560px; }
.ft-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.ft-hero-login-link {
  margin: -20px 0 28px;
  font-size: 14px;
  color: var(--muted);
}
.ft-hero-login-link a {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}
.ft-hero-login-link a:hover { text-decoration: underline; }

.ft-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}
.ft-metric strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}
.ft-metric span { font-size: 12.5px; color: var(--muted); }

/* ---------- Hero tool (calculator + floating badges) ---------- */
.ft-hero-tool { position: relative; }
.ft-tool-glow {
  position: absolute;
  inset: -34px;
  background: radial-gradient(closest-side, rgba(124,92,255,.28), transparent 72%);
  filter: blur(22px);
  pointer-events: none;
  z-index: 0;
}
.ft-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  animation: ftFloat 7s ease-in-out infinite;
  white-space: nowrap;
}
.ft-float-a { top: -16px; right: 8px; }
.ft-float-b { bottom: 38px; left: -26px; animation-delay: -2.4s; }
@keyframes ftFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Live order notification card */
.ft-float-order {
  bottom: -18px;
  right: 18px;
  animation-delay: -3.4s;
  padding: 10px 15px;
  gap: 10px;
  border-radius: 13px;
}
.ft-order-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.16);
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.ft-order-body { display: flex; flex-direction: column; gap: 5px; }
.ft-order-body strong { font-size: 12px; font-weight: 700; }
.ft-progress {
  display: block;
  width: 130px;
  height: 5px;
  border-radius: 4px;
  background: var(--surface-2);
  overflow: hidden;
}
/* Animates transform (compositor-only) instead of width, which forced a layout
   pass on every frame. */
.ft-progress span {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--green));
  transform-origin: left center;
  animation: ftProgress 3.2s ease-in-out infinite;
}
@keyframes ftProgress {
  0% { transform: scaleX(0.12); }
  70% { transform: scaleX(0.96); }
  100% { transform: scaleX(0.96); }
}

/* Tilted mini-dashboard mockup behind the calculator */
.ft-dash {
  position: absolute;
  z-index: 0;
  top: -56px;
  right: -62px;
  width: 312px;
  background: var(--surface);
  /* Linear-style: violet border + soft glow */
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 14px;
  padding: 13px 14px 14px;
  transform: rotate(6deg);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.32),
    0 0 56px rgba(139, 92, 246, 0.28),
    0 0 90px rgba(139, 92, 246, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.22));
  opacity: 0.94;
  /* Very slow float: 6px up and down, keeps the page feeling alive */
  animation: ftDashFloat 9s ease-in-out infinite;
}
@keyframes ftDashFloat {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50%      { transform: rotate(6deg) translateY(-6px); }
}
/* Light theme: soften the dark drop shadow so the card doesn't look "dirty" on white */
html[data-theme="light"] .ft-dash {
  box-shadow:
    0 18px 44px rgba(15, 23, 42, 0.14),
    0 0 48px rgba(139, 92, 246, 0.16);
  filter: drop-shadow(0 0 16px rgba(139, 92, 246, 0.14));
}
html[data-theme="light"] .ft-float {
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
}
.ft-dash-head { display: flex; gap: 5px; margin-bottom: 11px; }
.ft-dash-head span { width: 8px; height: 8px; border-radius: 50%; background: var(--border); }
.ft-dash-head span:first-child { background: rgba(239, 68, 68, 0.55); }
.ft-dash-head span:nth-child(2) { background: rgba(251, 191, 36, 0.55); }
.ft-dash-head span:nth-child(3) { background: rgba(52, 211, 153, 0.55); }
.ft-dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 62px;
  margin-bottom: 11px;
  padding: 0 2px;
  border-bottom: 1px solid var(--border);
}
.ft-dash-chart span {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--accent), rgba(124, 92, 255, 0.25));
  transform-origin: bottom;
  animation: ftBar 1s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}
.ft-dash-chart span:nth-child(2) { animation-delay: 0.08s; }
.ft-dash-chart span:nth-child(3) { animation-delay: 0.16s; }
.ft-dash-chart span:nth-child(4) { animation-delay: 0.24s; }
.ft-dash-chart span:nth-child(5) { animation-delay: 0.32s; }
.ft-dash-chart span:nth-child(6) { animation-delay: 0.40s; }
.ft-dash-chart span:nth-child(7) { animation-delay: 0.48s; }
@keyframes ftBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.ft-dash-rows { display: flex; flex-direction: column; gap: 7px; }
.ft-dash-row {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.ft-dash-row b { margin-left: auto; color: var(--green); font-weight: 700; }
.ft-dash-row i {
  font-style: normal;
  font-size: 9px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ft-dash-ok { background: rgba(52, 211, 153, 0.16); color: var(--green); }
.ft-dash-run { background: var(--accent-soft); color: var(--accent); animation: ftPulse 1.6s infinite; }

/* ---------- Calculator ---------- */
.ft-calc {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  /* Hero protagonist: deeper shadow + very soft violet glow */
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.42),
    0 12px 32px rgba(0, 0, 0, 0.25),
    0 0 70px rgba(124, 92, 255, 0.14),
    0 0 130px rgba(124, 92, 255, 0.07);
  /* Slight floating effect, slower than the badges so it feels calm */
  animation: ftCalcFloat 11s ease-in-out infinite;
  will-change: transform;
}
@keyframes ftCalcFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
html[data-theme="light"] .ft-calc {
  box-shadow:
    0 30px 70px rgba(15, 23, 42, 0.16),
    0 10px 28px rgba(15, 23, 42, 0.10),
    0 0 60px rgba(124, 92, 255, 0.10);
}
.ft-calc::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 19px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(124,92,255,.65), transparent 42%, transparent 62%, rgba(52,211,153,.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.ft-calc-title { font-size: 18px; font-weight: 800; }
.ft-calc label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}
.ft-calc select,
.ft-calc input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  padding: 10px 11px;
  outline: none;
}
.ft-calc select,
.ft-calc input { transition: border-color 0.18s, box-shadow 0.18s, background 0.18s; }
.ft-calc select:focus,
.ft-calc input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  background: var(--surface);
}
.ft-calc-result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 13px;
}
.ft-calc-result span { font-size: 13px; color: var(--muted); }
.ft-calc-result strong { font-size: 24px; font-weight: 800; color: var(--accent); }
.ft-calc-range { font-size: 11.5px; color: var(--muted); min-height: 15px; }

/* ---------- Ticker ---------- */
.ft-ticker-section { padding: 14px 0 0; }
/* Height held while the live-orders request is in flight; futura.js drops the
   class once the ticker is filled (or when there is nothing to show). */
.ft-ticker-section.is-reserved { min-height: 86px; }
@media (max-width: 600px) {
  .ft-ticker-section.is-reserved { min-height: 78px; }
}
.ft-ticker-wrap { display: flex; flex-direction: column; gap: 10px; }
.ft-ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  font-size: 11.5px;
  font-weight: 800;
  white-space: nowrap;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.ft-ticker {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 9px 12px;
}
.ft-ticker-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ft-ticker-track {
  display: flex;
  gap: 12px;
  white-space: nowrap;
  width: max-content;
  animation: ftScroll 55s linear infinite;
}
.ft-ticker:hover .ft-ticker-track { animation-play-state: paused; }
.ft-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 13px;
  font-size: 12.5px;
  color: var(--muted);
}
.ft-ticker-user { font-weight: 700; color: var(--text); }
.ft-ticker-svc { max-width: 340px; overflow: hidden; text-overflow: ellipsis; }
.ft-ticker-qty { font-weight: 700; color: var(--green); font-variant-numeric: tabular-nums; }
.ft-ticker-time { font-size: 11px; opacity: .75; }
@keyframes ftScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Supported platforms ---------- */
.ft-platforms { padding: 34px 0 6px; }
.ft-platform-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 30px;
}
.ft-platform {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  opacity: .85;
  transition: opacity .18s, color .18s, transform .18s;
}
.ft-platform svg { display: block; }
.ft-platform:hover { opacity: 1; color: var(--text); transform: translateY(-2px); }

/* ---------- Sections ---------- */
/* A touch more vertical air between sections for a premium feel */
.ft-section { padding: 86px 0; }
.ft-section-alt { background: var(--bg-alt); }
.ft-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  text-align: center;
}
.ft-h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  letter-spacing: -0.7px;
  line-height: 1.15;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 18px;
}
.ft-h2.ft-left { text-align: left; margin-left: 0; }
.ft-sub.ft-center { text-align: center; margin: 0 auto 34px; }

/* ---------- Bento ---------- */
.ft-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.ft-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 24px;
  box-shadow: 0 6px 22px rgba(0,0,0,.12);
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
  overflow: hidden;
}
.ft-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px 160px at 50% -40px, var(--accent-soft), transparent 72%);
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.ft-card:hover {
  border-color: rgba(124,92,255,.55);
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(124,92,255,.16);
}
.ft-card:hover::after { opacity: 1; }

/* Cursor-follow glow inside cards (set via --mx/--my in futura.js) */
.ft-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 92, 255, 0.12), transparent 65%);
}
.ft-card:hover::before { opacity: 1; }

/* API advantages checklist */
.ft-api-advantages { list-style: none; padding: 0; margin: 18px 0 22px; }
.ft-api-advantages li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 14.5px;
  color: var(--text);
}
.ft-api-adv-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.14);
  color: var(--green);
  font-size: 12px;
  flex-shrink: 0;
}
.ft-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 15px;
}
.ft-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.2px; }
.ft-card p { font-size: 14.5px; color: var(--muted); }
/* Varied card sizes to break the monotony of the grid */
.ft-card-wide {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px;
}
.ft-card-wide .ft-card-icon { width: 62px; height: 62px; border-radius: 16px; }
.ft-card-wide h3 { font-size: 22px; }
.ft-card-wide p { font-size: 15.5px; }
/* Last two cards stretch to 2 columns each (fills the grid: 2x2 + 4 + 2 + 2) */
.ft-bento .ft-card:nth-child(6),
.ft-bento .ft-card:nth-child(7) { grid-column: span 2; }

/* ---------- How it works (timeline pipeline) ---------- */
.ft-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 44px;
}
/* Horizontal connector line between step icons (desktop) */
.ft-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(124, 92, 255, 0.35) 100%);
  z-index: 0;
  pointer-events: none;
}
.ft-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 18px 22px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  transition: border-color 0.22s, transform 0.22s, box-shadow 0.22s;
}
.ft-step::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -14px;
  width: 28px;
  height: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c5cff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.ft-step:last-child::after { display: none; }
.ft-step:hover {
  border-color: rgba(124, 92, 255, 0.55);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(124, 92, 255, 0.14);
}
.ft-step-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.ft-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 4px var(--bg-alt), 0 0 0 6px rgba(124, 92, 255, 0.25);
}
.ft-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(124, 92, 255, 0.2);
}
.ft-step h3 {
  font-size: 15.5px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
  line-height: 1.3;
}
.ft-step p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 220px;
}

/* ---------- API ---------- */
.ft-api-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.ft-api-grid .ft-kicker { text-align: left; }

/* API console mockup (window chrome + request + live response) */
.ft-console {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}
.ft-console-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}
.ft-console-dots { display: flex; gap: 5px; }
.ft-console-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.6);
}
.ft-console-dots i:nth-child(2) { background: rgba(251, 191, 36, 0.6); }
.ft-console-dots i:nth-child(3) { background: rgba(52, 211, 153, 0.6); }
.ft-console-url {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  font-size: 12px;
  color: #cbd5e1;
}
.ft-console-status {
  margin-left: auto;
  font-size: 11px;
  font-weight: 800;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 14px;
  padding: 3px 10px;
}
.ft-code {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 18px 22px 10px;
  overflow-x: auto;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #a5f3b4;
  margin: 0;
}
.ft-console-response {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 18px;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Consolas, monospace;
  font-size: 13px;
  color: #e2e8f0;
}
.ft-console-arrow { color: #34d399; font-weight: 800; }
.ft-console-cursor {
  width: 8px;
  height: 16px;
  background: #34d399;
  animation: ftBlink 1.1s steps(1) infinite;
}
@keyframes ftBlink { 50% { opacity: 0; } }

/* ---------- FAQ ---------- */
.ft-faq { max-width: 760px; }
.ft-faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 10px;
  overflow: hidden;
  transition: border-color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
}
.ft-faq details:hover { border-color: rgba(124, 92, 255, 0.35); }
/* Open state: violet border + slightly tinted background so the active
   answer is easy to identify while reading */
.ft-faq details[open] {
  border-color: rgba(124, 92, 255, 0.6);
  background: color-mix(in srgb, var(--surface) 92%, var(--accent) 8%);
  box-shadow: 0 8px 28px rgba(124, 92, 255, 0.12);
}
.ft-faq details[open] summary { color: var(--accent); }
.ft-faq details[open] p { animation: ftFaqOpen 0.28s ease both; }
@keyframes ftFaqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ft-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 48px 16px 50px;
  font-size: 15px;
  font-weight: 600;
  position: relative;
  transition: color 0.2s ease;
}
.ft-faq summary::-webkit-details-marker { display: none; }
.ft-faq summary::before {
  content: "?";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}
.ft-faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 19px;
  font-weight: 700;
  transition: transform 0.22s ease;
}
.ft-faq details[open] summary::after { content: "\2212"; transform: translateY(-50%) rotate(180deg); }
.ft-faq details p { padding: 0 20px 16px; font-size: 14px; color: var(--muted); }
.ft-faq .ft-h2 { margin-bottom: 22px; }

/* ---------- Payments ---------- */
.ft-pay-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  opacity: 0.85;
}
.ft-pay-row img { height: 26px; width: auto; filter: grayscale(0.2); }

/* ---------- Reveal on scroll ---------- */
.ft-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(.22,.61,.36,1), transform 0.6s cubic-bezier(.22,.61,.36,1);
}
.ft-reveal.ft-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .ft-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Bottom CTA ---------- */
.ft-bottom-cta {
  background:
    radial-gradient(560px 250px at 50% 0%, var(--accent-soft), transparent 70%),
    var(--bg);
}
.ft-bottom-cta .ft-h2 { margin-bottom: 10px; }
.ft-bottom-cta .ft-cta-sub { margin: 0 auto 26px; text-align: center; }
.ft-bottom-cta .ft-cta-note { display: block; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.ft-footer { background: var(--bg-alt); border-top: 1px solid var(--border); }
.ft-footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1.1fr;
  gap: 38px;
  padding-top: 52px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.ft-footer-brand img { height: 40px; width: auto; margin-bottom: 14px; }
html[data-theme="light"] .ft-footer-brand .ft-logo-on-light { height: 50px; }
.ft-footer-brand p { font-size: 13.5px; color: var(--muted); max-width: 340px; margin-bottom: 18px; }
/* "Follow us" (our clickable profiles) vs "supported platforms" (decorative) */
.ft-footer-social-label {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.ft-footer-follow { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px dashed var(--border); }
.ft-footer-follow-icons { display: flex; flex-wrap: wrap; gap: 9px; }
.ft-footer-follow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.ft-footer-follow-icon:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 92, 255, 0.6);
  box-shadow: 0 6px 18px rgba(124, 92, 255, 0.25);
}
.ft-footer-follow-icon svg { display: block; }

.ft-footer-platforms .ft-footer-social-icon { opacity: 0.75; }
.ft-footer-social { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; }
.ft-footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.18s, border-color 0.18s;
}
.ft-footer-social-icon:hover { transform: translateY(-2px); border-color: rgba(124, 92, 255, 0.5); }
.ft-footer-social-icon svg { display: block; }
.ft-footer-col h5 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ft-footer-col ul { list-style: none; margin: 0; padding: 0; }
.ft-footer-col li { margin-bottom: 10px; }
.ft-footer-col a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color .15s; }
.ft-footer-col a:hover { color: var(--text); }
.ft-footer-bottom { padding: 22px; text-align: center; font-size: 13px; color: var(--muted); }
.ft-footer .seo-footer-links { border-bottom: 1px solid var(--border); }

/* WhatsApp link in footer */
.ft-footer-wa,
.ft-footer-tg { display: inline-flex; align-items: center; gap: 7px; }
.ft-footer-wa svg,
.ft-footer-tg svg { flex-shrink: 0; }

/* Newsletter column */
.ft-footer-news-desc { font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
/* Modern pill: input + arrow button in one rounded container */
.ft-news-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 5px 5px 5px 12px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.ft-news-icon {
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.85;
}
.ft-news-box:focus-within .ft-news-icon { color: var(--accent); opacity: 1; }
.ft-news-box:focus-within {
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.14);
}
.ft-news-box input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 9px 8px !important;
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
}
.ft-news-box input[type="email"]:focus { outline: none; border: none !important; }
.ft-news-box .ft-btn {
  width: auto;
  flex-shrink: 0;
  border-radius: 10px;
  padding: 9px 15px;
  font-size: 16px;
  line-height: 1;
}
.ft-news-form .alert-message-reponse { margin-top: 8px; font-size: 12.5px; }
.ft-news-form .alert { border-radius: 9px; padding: 8px 11px; border: 1px solid transparent; }
.ft-news-form .alert-danger { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.35); color: #f87171; }
.ft-news-form .alert-success { background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.35); color: var(--green); }

@media (max-width: 1080px) {
  .ft-footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .ft-footer-top { grid-template-columns: 1fr; gap: 26px; }
  .ft-section { padding: 52px 0; }

  /* Calculator reads as its own product card, not a form */
  .ft-calc {
    border: 1.5px solid rgba(124, 92, 255, 0.4);
    box-shadow:
      0 22px 55px rgba(124, 92, 255, 0.18),
      0 8px 22px rgba(0, 0, 0, 0.18);
  }
  html[data-theme="light"] .ft-calc {
    box-shadow:
      0 22px 55px rgba(101, 68, 240, 0.16),
      0 8px 22px rgba(15, 23, 42, 0.1);
  }

  /* FAQ: bigger thumb-friendly tap targets */
  .ft-faq summary { padding: 19px 48px 19px 50px; font-size: 15.5px; min-height: 56px; }
  .ft-faq details p { padding: 0 20px 18px; }

  /* Footer accordions: collapsed link columns, way less scroll */
  .ft-footer-col:not(.ft-footer-news) h5 {
    position: relative;
    margin-bottom: 0;
    padding: 13px 0;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    -webkit-tap-highlight-color: transparent;
  }
  .ft-footer-col:not(.ft-footer-news) h5::after {
    content: "+";
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    transition: transform 0.25s ease;
  }
  .ft-footer-col.open h5::after { content: "\2212"; }
  .ft-footer-col:not(.ft-footer-news) ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease, padding 0.32s ease;
  }
  .ft-footer-col.open ul { max-height: 420px; padding-top: 12px; }
  .ft-footer-col { margin: 0; }
  .ft-footer-top { gap: 0 26px; }
  .ft-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 22px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
  }
  .ft-footer-brand img {
    height: 76px !important;
    width: auto;
    max-width: min(300px, 88vw);
    object-fit: contain;
    margin-bottom: 16px;
    filter: drop-shadow(0 6px 20px rgba(124, 92, 255, 0.28));
  }
  html[data-theme="light"] .ft-footer-brand img {
    height: 84px !important;
    filter: drop-shadow(0 8px 24px rgba(101, 68, 240, 0.18));
  }
  .ft-footer-brand p {
    max-width: 100%;
    text-align: center;
    font-size: 14px;
    line-height: 1.55;
  }
  .ft-footer-follow,
  .ft-footer-platforms {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .ft-footer-social-label { text-align: center; }
  .ft-footer-follow-icons,
  .ft-footer-social { justify-content: center; }
  .ft-pay-row-footer { justify-content: center; }
  .ft-footer-news { margin-top: 22px; }
}

/* Popular chips (shared block restyled for this theme) */
.seo-popular-links h2 { font-weight: 800; }
/* Soft glow when hovering a popular service (e.g. Instagram) */
.seo-popular-links .seo-popular-card:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 8px 28px rgba(139, 92, 246, 0.22);
}
.seo-popular-links .seo-popular-card:hover .seo-popular-icon {
  filter: drop-shadow(0 0 7px rgba(139, 92, 246, 0.55));
}
html[data-theme="light"] .seo-popular-links .seo-popular-card:hover {
  background: rgba(101, 68, 240, 0.07);
  border-color: rgba(101, 68, 240, 0.45);
  box-shadow: 0 8px 24px rgba(101, 68, 240, 0.16);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .ft-hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .ft-bento { grid-template-columns: repeat(2, 1fr); }
  .ft-card-wide { grid-column: span 2; grid-row: span 1; padding: 28px 26px; }
  .ft-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 28px;
    margin-top: 36px;
  }
  .ft-steps::before { display: none; }
  .ft-step::after { display: none; }
  .ft-step p { max-width: none; }
  .ft-dash { right: -14px; top: -42px; width: 262px; }
  .ft-api-grid { grid-template-columns: 1fr; gap: 26px; }
  .ft-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 10px 18px 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
  }
  .ft-nav-links.open { display: block; }
  .ft-nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(8, 10, 20, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s;
  }
  .ft-nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body.ft-nav-open { overflow: hidden; }
  .ft-nav-links {
    z-index: 999;
  }
  .ft-nav-links ul,
  .ft-nav-links .navbar-nav { flex-direction: column !important; align-items: stretch; margin-left: 0 !important; }
  .ft-nav-links .navbar-nav > .nav-item { display: block; }
  .ft-nav-links .nav-link { padding: 12px 13px; font-size: 15px; min-height: 48px; display: flex; align-items: center; width: 100%; touch-action: manipulation; }
  /* Language + theme fallback inside burger on very narrow screens only */
  .ft-nav-mobile-controls { display: none; }
  .ft-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 38px;
    flex-shrink: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    padding: 0 9px;
  }
  .ft-burger span { height: 2px; background: var(--text); border-radius: 2px; }
  /* Header row never overflows: logo can shrink, actions stay compact */
  .ft-nav-inner { flex-wrap: nowrap; }
  .ft-logo { flex-shrink: 1; min-width: 0; }
  .ft-nav-actions { flex-shrink: 0; gap: 6px; }
  .ft-nav-actions > .ft-lang summary { padding: 5px 7px; font-size: 11px; }
  .ft-nav-actions > .ft-theme-toggle { flex-shrink: 0; width: 34px; height: 34px; }
  .ft-nav-actions .ft-btn-login,
  .ft-nav-actions .ft-btn-signup,
  .ft-nav-actions .ft-btn-dashboard {
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 575px) {
  .ft-metrics { grid-template-columns: repeat(2, 1fr); gap: 18px 16px; text-align: left; }
  /* Benefit cards: extra breathing room between them */
  .ft-bento { grid-template-columns: 1fr; gap: 24px; }
  .ft-card-wide { grid-column: span 1; grid-row: span 1; }
  .ft-bento .ft-card:nth-child(6),
  .ft-bento .ft-card:nth-child(7) { grid-column: span 1; }
  .ft-steps {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 8px;
    margin-top: 32px;
  }
  .ft-steps::before {
    display: block;
    top: 20px;
    bottom: 20px;
    left: 21px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--accent) 0%, rgba(124, 92, 255, 0.2) 100%);
  }
  .ft-step {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    text-align: left;
    gap: 0 16px;
    padding: 18px 18px 18px 14px;
    margin-bottom: 14px;
    border-radius: 14px;
  }
  .ft-step-head {
    grid-column: 1;
    grid-row: 1 / span 2;
    flex-direction: column;
    flex-shrink: 0;
    margin-bottom: 0;
    gap: 8px;
  }
  .ft-step h3 { grid-column: 2; grid-row: 1; margin-bottom: 4px; align-self: end; font-size: 15px; }
  .ft-step p { grid-column: 2; grid-row: 2; max-width: none; font-size: 12.5px; }
  .ft-step-badge { box-shadow: 0 0 0 3px var(--bg-alt), 0 0 0 5px rgba(124, 92, 255, 0.2); }
  .ft-step-icon { width: 44px; height: 44px; border-radius: 12px; }
  .ft-btn-lg { width: 100%; }
  /* --- Hero: ~25% shorter so "Servicios populares" appears sooner --- */
  .ft-hero { padding: 30px 0 30px; }
  .ft-badge-row { margin-bottom: 12px; }
  .ft-hero h1 { margin-bottom: 10px; }
  .ft-sub { font-size: 15.5px; line-height: 1.55; }
  .ft-proof { margin-top: 12px; gap: 10px; }
  .ft-hero-ctas { margin: 18px 0 20px; }
  .ft-hero-login-link { margin: -10px 0 18px; }
  .ft-metrics { padding-top: 14px; gap: 14px 16px; }
  .ft-hero-grid { gap: 24px; }
  /* Compact header: shrinking logo + tight buttons, zero horizontal scroll */
  .ft-nav-inner { gap: 6px; height: 62px; }
  .ft-nav-actions { gap: 4px; }
  .ft-nav-actions .ft-btn-login,
  .ft-nav-actions .ft-btn-signup,
  .ft-nav-actions .ft-btn-dashboard {
    padding: 7px 9px;
    font-size: 11.5px;
  }
  .ft-float { display: none; }
  .ft-dash { display: none; }
  /* Logo ~12% bigger than before (user feedback: it read too small) */
  .ft-logo-slot { max-width: 132px; height: 48px; }
  .ft-logo-slot img { height: 41px; }
  html[data-theme="light"] .ft-logo-slot img { height: 45px; }
  /* Popular services: tappable App Store-style tiles, 2 per row */
  .seo-popular-links .seo-popular-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .seo-popular-links .seo-popular-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 15px 14px;
    min-height: 100px;
    font-size: 13px;
  }
  .seo-popular-links .seo-popular-icon svg { width: 26px; height: 26px; }
  .seo-popular-links .seo-popular-arrow { display: none; }
}

/* Very narrow phones: keep everything on one row, no horizontal scroll */
@media (max-width: 430px) {
  .ft-container { padding-left: 12px; padding-right: 12px; }
  .ft-nav-inner { gap: 5px; }
  .ft-logo-slot { max-width: 108px; height: 42px; }
  .ft-logo-slot img { height: 35px; }
  html[data-theme="light"] .ft-logo-slot img { height: 38px; }
  .ft-nav-actions .ft-btn-signup,
  .ft-nav-actions .ft-btn-dashboard {
    padding: 7px 9px;
    font-size: 11.5px;
  }
}
@media (max-width: 360px) {
  /* No room for lang + theme in the row — they move into the burger menu */
  .ft-nav-actions > .ft-lang,
  .ft-nav-actions > .ft-theme-toggle { display: none; }
  .ft-nav-links .ft-nav-mobile-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
  }
}

/* ---------- Calculator badge (identifies the card instantly) ---------- */
.ft-calc-badge {
  position: absolute;
  top: -12px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 6px 18px rgba(124, 92, 255, 0.4);
}

/* ---------- Tap feedback (mobile-friendly press effect) ---------- */
.ft-btn:active { transform: scale(0.97); }
.ft-card:active,
.seo-popular-links .seo-popular-card:active { transform: scale(0.985); }
.ft-faq summary:active { opacity: 0.75; }

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ft-ticker-track { animation: none; }
  .ft-blob { animation: none; }
  .ft-float { animation: none; }
  .ft-dash { animation: none; }
  .ft-calc { animation: none; }
  .ft-dash-chart span { animation: none; }
  .ft-progress span { animation: none; }
  .ft-console-cursor { animation: none; }
  .ft-faq details[open] p { animation: none; }
  html { scroll-behavior: auto; }
}
