/* =========================================================
   organicFollowers — Ember Editorial Theme
   A static SMM-panel landing kit
   ========================================================= */

:root {
  /* Core palette — warm cream + ink + emerald + coral */
  --paper: #FBF7EE;
  --paper-2: #F4ECDB;
  --ink: #0E1414;
  --ink-2: #1B1F24;
  --ink-soft: #2A2F36;
  --line: #E8E0D2;
  --line-strong: #D5C9B1;
  --muted: #6B645B;
  --muted-2: #8A8276;

  /* Brand accents */
  --emerald: #0F5132;
  --emerald-2: #1A7A4C;
  --emerald-soft: #DCEEDF;
  --coral: #FF6B4A;
  --coral-2: #F0492A;
  --coral-soft: #FFE4DA;
  --amber: #F4B400;
  --amber-soft: #FFF1C2;
  --plum: #4A1942;
  --sky: #2E6EE0;
  --sky-soft: #E0EAFB;
  --pink: #E11D74;

  /* System */
  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 0 rgba(20, 20, 20, 0.04), 0 12px 32px -16px rgba(20, 20, 20, 0.18);
  --shadow-soft: 0 1px 0 rgba(20, 20, 20, 0.04), 0 4px 14px -8px rgba(20, 20, 20, 0.10);
  --shadow-hard: 0 24px 60px -20px rgba(15, 81, 50, 0.40);
  --shadow-ink: 0 30px 80px -30px rgba(14, 20, 20, 0.75);
  --max: 1240px;

  --ff-display: "Fraunces", "Georgia", serif;
  --ff-body: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-mono: "Geist Mono", ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
}

/* ----------- Base reset ----------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* subtle paper grain */
  background-image:
    radial-gradient(ellipse at 100% 0%, rgba(244, 180, 0, .07), transparent 55%),
    radial-gradient(ellipse at 0% 30%, rgba(255, 107, 74, .06), transparent 50%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.08 0 0 0 0 0.07 0 0 0 0 0.05 0 0 0 0.035 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

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

::selection { background: var(--ink); color: var(--paper); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ----------- Typography ----------- */
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 5.4vw, 5.4rem); font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.6rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.2rem, 1.5vw, 1.5rem); letter-spacing: -0.015em; }
.italic-serif { font-family: var(--ff-display); font-style: italic; font-weight: 400; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--emerald-soft);
  border: 1px solid rgba(15, 81, 50, .18);
  border-radius: var(--radius-pill);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 999px; background: var(--emerald);
  box-shadow: 0 0 0 4px rgba(15, 81, 50, .15);
}
.eyebrow.coral { color: var(--coral-2); background: var(--coral-soft); border-color: rgba(240, 73, 42, .2); }
.eyebrow.coral .dot { background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 107, 74, .18); }
.eyebrow.amber { color: #7A5500; background: var(--amber-soft); border-color: rgba(244, 180, 0, .25); }
.eyebrow.amber .dot { background: var(--amber); box-shadow: 0 0 0 4px rgba(244, 180, 0, .25); }
.eyebrow.sky { color: #1F4FB0; background: var(--sky-soft); border-color: rgba(46, 110, 224, .2); }
.eyebrow.sky .dot { background: var(--sky); box-shadow: 0 0 0 4px rgba(46, 110, 224, .18); }
.eyebrow.invert { color: #E8F4EC; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.eyebrow.invert .dot { background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 107, 74, .25); }

.muted { color: var(--muted); }
.lead { color: var(--muted); font-size: 1.08rem; max-width: min(56ch, 100%); }

/* ----------- Navigation ----------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 238, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 76px; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--ff-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
  color: var(--ink);
}
.brand .brand-badge {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.brand .brand-badge::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, var(--coral) 0%, transparent 55%),
              radial-gradient(circle at 80% 80%, var(--emerald-2) 0%, transparent 60%);
  opacity: 0;
}
.brand .brand-badge i { position: relative; z-index: 1; font-size: 1rem; }
.brand .brand-name { font-weight: 500; }
.brand .brand-name b { font-weight: 700; color: var(--emerald); font-style: italic; }

.nav-links {
  display: flex; align-items: center; gap: 6px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  display: inline-flex; align-items: center;
  padding: 10px 14px;
  font-size: .95rem; font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-pill);
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.nav-links a:hover { background: rgba(14, 20, 20, .06); color: var(--ink); transform: translateY(-1px); }
.nav-links a.active { color: var(--ink); background: rgba(14, 20, 20, .08); }

.nav-cta { display: inline-flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px; border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

/* ----------- Buttons ----------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  font-weight: 600;
  font-size: .98rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  transition: transform .15s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  max-width: 100%;
}
.btn:hover { transform: translateY(-2px); border-color: var(--ink); }
.btn.primary {
  background: var(--ink); color: var(--paper);
  border-color: var(--ink);
}
.btn.primary:hover { background: var(--emerald); border-color: var(--emerald); box-shadow: var(--shadow-hard); }
.btn.coral {
  background: var(--coral); color: var(--ink); border-color: var(--coral);
}
.btn.coral:hover { background: var(--coral-2); border-color: var(--coral-2); color: var(--paper); }
.btn.emerald {
  background: var(--emerald); color: var(--paper); border-color: var(--emerald);
}
.btn.emerald:hover { background: var(--emerald-2); }
.btn.ghost {
  background: transparent; border-color: var(--line-strong);
}
.btn.ghost:hover { background: var(--paper-2); }
.btn.invert {
  background: var(--paper); color: var(--ink); border-color: var(--paper);
}
.btn.invert:hover { background: var(--coral); border-color: var(--coral); }
.btn.sm { padding: 8px 14px; font-size: .85rem; }
.btn.lg { padding: 16px 26px; font-size: 1rem; }

/* ----------- Sections ----------- */
.section { padding: 96px 0; position: relative; }
.section.tight { padding: 64px 0; }
.section.dark {
  background: var(--ink);
  color: var(--paper);
}
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: var(--paper); }
.section.dark .muted { color: #A9A39A; }
.section.cream { background: var(--paper-2); }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 16px; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ----------- HERO ----------- */
.hero {
  position: relative;
  padding: 80px 0 120px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 480px at 12% 18%, rgba(15, 81, 50, .55), transparent 60%),
    radial-gradient(700px 420px at 92% 12%, rgba(255, 107, 74, .35), transparent 55%),
    radial-gradient(600px 360px at 80% 90%, rgba(244, 180, 0, .12), transparent 55%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 0.95 0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .35; mix-blend-mode: overlay; pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid; grid-template-columns: 1.25fr .85fr; gap: 56px;
  align-items: center;
}
.hero-grid > div:first-child {
  position: relative;
  z-index: 3;
}
.hero-grid > aside {
  position: relative;
  z-index: 2;
}
.hero h1 {
  color: var(--paper);
  margin-top: 22px;
  max-width: 18ch;
  line-height: 1.08;
}
.hero h1 em {
  position: relative;
  z-index: 4;
  display: inline-block;
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(120deg, var(--coral) 0%, var(--amber) 50%, var(--emerald-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead { color: #C9C3B8; margin-top: 22px; max-width: 52ch; font-size: 1.12rem; }
.hero .actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 56px;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
}
.stat strong {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -.025em;
  display: block;
  color: var(--paper);
}
.stat strong em { font-style: italic; color: var(--coral); font-weight: 400; }
.stat span { color: #A9A39A; font-size: .9rem; margin-top: 4px; display: block; }

/* Login card floating on hero */
.login-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-ink);
  position: relative;
}
.login-card::before {
  content: ""; position: absolute; inset: -1px;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,107,74,.5), rgba(15,81,50,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.login-card h3 {
  font-size: 1.8rem; font-weight: 500; letter-spacing: -.025em;
}
.login-card .sub { color: var(--muted); margin-top: 6px; font-size: .95rem; }
.field { margin-top: 18px; }
.field label {
  display: block; font-size: .82rem; font-weight: 600; margin-bottom: 8px;
  color: var(--ink); letter-spacing: .01em;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  font-size: .98rem;
  font-family: var(--ff-body);
  outline: none;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--emerald);
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(15, 81, 50, .12);
}
.field .helper {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 10px; font-size: .85rem;
}
.field .helper a { color: var(--emerald); font-weight: 600; }
.field .helper a:hover { text-decoration: underline; }

.login-card .btn { width: 100%; margin-top: 22px; }
.login-card .alt {
  text-align: center; font-size: .9rem; color: var(--muted);
  margin-top: 18px;
}
.login-card .alt a { color: var(--coral-2); font-weight: 600; }

/* Decorative deco-tag on login card */
.login-card .badge-row {
  display: flex; gap: 8px; margin-bottom: 22px;
}
.tiny-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em;
  padding: 4px 10px; border-radius: var(--radius-pill); text-transform: uppercase;
}
.tiny-badge.emerald { background: var(--emerald-soft); color: var(--emerald); }
.tiny-badge.coral { background: var(--coral-soft); color: var(--coral-2); }

/* Wave divider between hero and next section */
.wave {
  position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0;
  z-index: 1;
}
.wave svg { width: 100%; height: 80px; display: block; }
.wave path { fill: var(--paper); }

/* ----------- Platform Orbs ----------- */
.platforms-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 48px;
}
.orb {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
  padding: 24px 8px;
  border-radius: var(--radius);
  transition: transform .25s ease;
}
.orb:hover { transform: translateY(-6px); }
.orb-bubble {
  --orb-bg: linear-gradient(135deg, #4da6da, #2f88c7 55%, #1c5ea0);
  --orb-halo: rgba(77, 166, 218, .24);
  position: relative;
  width: 118px; height: 118px;
  border-radius: 38% 62% 57% 43% / 43% 44% 56% 57%;
  display: grid; place-items: center;
  color: white;
  isolation: isolate;
  background: var(--orb-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -14px 24px rgba(0, 0, 0, .12),
    0 16px 34px -16px rgba(0, 0, 0, .42);
  transition: transform .25s ease, box-shadow .25s ease;
}
.orb:hover .orb-bubble {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .26),
    inset 0 -14px 24px rgba(0, 0, 0, .12),
    0 20px 38px -16px rgba(0, 0, 0, .46);
}
.orb-bubble::before {
  content: ""; position: absolute; inset: -14px;
  border-radius: 44% 56% 58% 42% / 42% 44% 56% 58%;
  background: var(--orb-halo);
  filter: blur(4px);
  opacity: .95;
  transform: rotate(-8deg);
  z-index: -2;
}
.orb-bubble::after {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .28), transparent 34%),
    radial-gradient(circle at 72% 82%, rgba(0, 0, 0, .14), transparent 42%);
  mix-blend-mode: screen;
  opacity: .75;
  z-index: -1;
}
.orb-bubble i { position: relative; z-index: 2; font-size: 2.2rem; }
.orb-bubble.twitter { --orb-bg: linear-gradient(135deg, #4fc8ff, #29a8ea 55%, #1784d4); --orb-halo: rgba(98, 208, 255, .28); }
.orb-bubble.facebook { --orb-bg: linear-gradient(135deg, #6a98ff, #3f7fe7 58%, #2264c8); --orb-halo: rgba(106, 152, 255, .26); }
.orb-bubble.instagram { --orb-bg: linear-gradient(135deg, #f8b05a 0%, #ef5b63 42%, #d5458d 72%, #b93aab 100%); --orb-halo: rgba(248, 176, 90, .24); }
.orb-bubble.youtube { --orb-bg: linear-gradient(135deg, #ff7a6e, #f44d4d 58%, #dc342f); --orb-halo: rgba(255, 122, 110, .24); }
.orb-bubble.linkedin { --orb-bg: linear-gradient(135deg, #5fb2df, #2f8cc7 58%, #17619f); --orb-halo: rgba(95, 178, 223, .25); }
.orb-bubble.tiktok { --orb-bg: linear-gradient(135deg, #444, #111 60%, #000); --orb-halo: rgba(80, 80, 80, .26); }
.orb-bubble.telegram { --orb-bg: linear-gradient(135deg, #4ab6e8, #2898d0 58%, #1679ba); --orb-halo: rgba(74, 182, 232, .24); }
.orb-bubble.web { --orb-bg: linear-gradient(135deg, var(--emerald-2), var(--emerald)); --orb-halo: rgba(26, 122, 76, .22); }
.orb .name { font-weight: 600; font-size: 1rem; }
.orb .sub { font-size: .8rem; color: var(--muted); }

/* ----------- Feature Cards ----------- */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
  box-shadow: var(--shadow-card);
}
.feature-card .icon-tile {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  margin-bottom: 22px;
  font-size: 1.3rem;
  position: relative;
}
.feature-card .icon-tile.emerald { background: var(--emerald-soft); color: var(--emerald); }
.feature-card .icon-tile.coral { background: var(--coral-soft); color: var(--coral-2); }
.feature-card .icon-tile.amber { background: var(--amber-soft); color: #7A5500; }
.feature-card .icon-tile.ink { background: var(--ink); color: var(--paper); }
.feature-card .icon-tile.sky { background: var(--sky-soft); color: var(--sky); }
.feature-card .icon-tile.plum { background: #F6E1F1; color: var(--plum); }
.feature-card h3 { font-size: 1.4rem; }
.feature-card p { color: var(--muted); margin: 10px 0 0; }
.feature-card .bar {
  height: 3px; width: 56px; border-radius: 3px;
  margin-top: 22px;
}
.feature-card .bar.emerald { background: linear-gradient(90deg, var(--emerald), var(--emerald-2)); }
.feature-card .bar.coral { background: linear-gradient(90deg, var(--coral), var(--coral-2)); }
.feature-card .bar.amber { background: linear-gradient(90deg, var(--amber), #D89400); }
.feature-card .bar.sky { background: linear-gradient(90deg, var(--sky), #1F4FB0); }
.feature-card .bar.plum { background: linear-gradient(90deg, var(--plum), #7A2A6E); }
.feature-card .bar.ink { background: linear-gradient(90deg, var(--ink), var(--ink-soft)); }

/* ----------- How it works (Big numbers strip) ----------- */
.how-strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how-step {
  padding: 36px 24px;
  border-right: 1px solid var(--line);
  position: relative;
}
.how-step:last-child { border-right: none; }
.how-step .num {
  font-family: var(--ff-display);
  font-size: 5.5rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 8px;
}
.how-step .num span.slash { color: var(--coral); font-size: 2rem; }
.how-step h3 { margin-top: 18px; font-size: 1.3rem; }
.how-step p { color: var(--muted); margin-top: 8px; }

/* ----------- About / Video block ----------- */
.about-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px;
  align-items: center;
}
.video-card {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, #FBC8AB, transparent 50%),
    radial-gradient(circle at 70% 70%, #A6CFB7, transparent 50%),
    linear-gradient(135deg, #ECDFC8, #D3C2A4);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.video-card .play {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.video-card .play button {
  width: 84px; height: 84px;
  border-radius: 999px;
  background: var(--ink); color: var(--paper);
  border: 4px solid var(--paper);
  font-size: 1.4rem;
  display: grid; place-items: center;
  box-shadow: 0 18px 40px -10px rgba(14,20,20,.45);
  transition: transform .25s ease;
}
.video-card .play button:hover { transform: scale(1.06); }
.video-card .label {
  position: absolute; top: 18px; left: 18px;
  font-size: .8rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  background: rgba(14,20,20,.7); color: var(--paper);
  padding: 6px 12px; border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}
.about-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.about-list li { display: flex; gap: 14px; align-items: center; font-size: 1.02rem; }
.about-list li .tick {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--emerald-soft); color: var(--emerald);
  display: grid; place-items: center; flex-shrink: 0;
}

/* ----------- Testimonials ----------- */
.tcard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tcard {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex; flex-direction: column; gap: 22px;
  transition: transform .25s ease, border-color .25s ease;
}
.tcard:hover { transform: translateY(-4px); border-color: var(--ink); }
.tcard .stars { color: var(--amber); display: flex; gap: 4px; }
.tcard p { color: var(--ink); font-size: 1rem; line-height: 1.6; margin: 0; flex: 1; }
.tcard footer {
  display: flex; align-items: center; gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.avatar {
  width: 44px; height: 44px; border-radius: 999px;
  display: grid; place-items: center;
  color: var(--paper);
  font-weight: 700;
  font-family: var(--ff-display);
  letter-spacing: .02em;
  flex-shrink: 0;
}
.avatar.a1 { background: linear-gradient(135deg, var(--coral), var(--coral-2)); }
.avatar.a2 { background: linear-gradient(135deg, var(--emerald), var(--emerald-2)); }
.avatar.a3 { background: linear-gradient(135deg, var(--amber), #D89400); color: var(--ink); }
.avatar.a4 { background: linear-gradient(135deg, var(--plum), #7A2A6E); }
.tcard .who strong { display: block; font-weight: 600; }
.tcard .who span { color: var(--muted); font-size: .85rem; }

/* ----------- FAQ ----------- */
.faq-list { display: grid; gap: 12px; margin-top: 36px; }
.faq-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 4px 8px;
  transition: border-color .2s ease, background .2s ease;
}
.faq-item[open] { border-color: var(--ink); background: var(--paper-2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 20px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-weight: 600;
  font-size: 1.06rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .plus {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: transform .2s ease, background .2s ease;
}
.faq-item[open] .plus { transform: rotate(45deg); background: var(--coral); color: var(--paper); border-color: var(--coral); }
.faq-item p {
  padding: 0 20px 22px;
  color: var(--muted);
  margin: 0;
  max-width: 70ch;
  line-height: 1.65;
}

/* ----------- Newsletter / CTA ----------- */
.newsletter {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 90% 110%, rgba(255,107,74,.35), transparent 60%),
    radial-gradient(400px 240px at 0% 0%, rgba(15,81,50,.40), transparent 65%);
}
.newsletter > * { position: relative; z-index: 1; }
.newsletter h2 { color: var(--paper); max-width: 14ch; }
.newsletter .form-inline {
  display: flex; gap: 10px;
}
.newsletter .form-inline input {
  flex: 1;
  padding: 16px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: var(--paper);
  font-family: var(--ff-body);
  outline: none;
}
.newsletter .form-inline input::placeholder { color: #A9A39A; }
.newsletter .form-inline input:focus { border-color: var(--coral); background: rgba(255,255,255,.08); }
.newsletter .sub { color: #A9A39A; margin-top: 16px; font-size: .9rem; }

/* ----------- Service list (Services page) ----------- */
.toolbar {
  display: flex; gap: 16px; flex-wrap: wrap;
  justify-content: space-between; align-items: end;
  margin-bottom: 36px;
}
.toolbar h1 { font-size: clamp(2.4rem, 4vw, 4rem); }
.search {
  position: relative;
  min-width: min(100%, 420px);
}
.search input {
  width: 100%; padding: 14px 18px 14px 46px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: var(--ff-body);
  font-size: 1rem;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.search input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14,20,20,.06); }
.search i {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--muted);
}

.svc-list { display: grid; gap: 14px; }
.svc-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 22px;
  align-items: center;
  padding: 22px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, transform .2s ease;
}
.svc-item:hover { border-color: var(--ink); transform: translateX(4px); }
.svc-icon {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--paper); font-size: 1.2rem;
  flex-shrink: 0;
}
.svc-icon.ig { background: conic-gradient(from 220deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.svc-icon.yt { background: linear-gradient(135deg, #FF4242, #B91C1C); }
.svc-icon.tg { background: linear-gradient(135deg, #2EA6E0, #1B7BB8); }
.svc-icon.fb { background: linear-gradient(135deg, #2E6EE0, #1A4FB6); }
.svc-icon.web { background: linear-gradient(135deg, var(--emerald-2), var(--emerald)); }
.svc-icon.api { background: var(--ink); }
.svc-icon.tk { background: #000; }
.svc-icon.li { background: linear-gradient(135deg, #2876B4, #0A4D8F); }
.svc-icon.x { background: #111; }

.svc-meta h3 { font-size: 1.15rem; font-weight: 500; }
.svc-meta p { color: var(--muted); margin: 4px 0 0; font-size: .94rem; }
.svc-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.tag {
  display: inline-flex; align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: .76rem; font-weight: 600;
  letter-spacing: .04em;
}
.tag.green { background: var(--emerald-soft); color: var(--emerald); }
.tag.coral { background: var(--coral-soft); color: var(--coral-2); }
.tag.amber { background: var(--amber-soft); color: #7A5500; }
.tag.sky { background: var(--sky-soft); color: var(--sky); }
.tag.plum { background: #F6E1F1; color: var(--plum); }

/* ----------- Page header (interior pages) ----------- */
.page-hero {
  padding: 80px 0 56px;
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(15, 81, 50, .08), transparent 60%),
    radial-gradient(600px 300px at 100% 30%, rgba(255, 107, 74, .07), transparent 55%);
}
.page-hero .crumb {
  font-size: .85rem; color: var(--muted); margin-bottom: 18px;
  display: inline-flex; gap: 10px; align-items: center;
}
.page-hero .crumb a:hover { color: var(--ink); text-decoration: underline; }
.page-hero h1 { font-size: clamp(2.4rem, 4vw, 4rem); max-width: 22ch; }
.page-hero .lead { margin-top: 18px; }

/* ----------- Form pages ----------- */
.form-shell {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 40px; align-items: start;
}
.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.side-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.side-card h3 { font-size: 1.3rem; }
.side-card p { color: var(--muted); margin: 12px 0 0; }
.notice {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--amber);
  background: var(--amber-soft);
  color: #7A5500;
  font-size: .92rem;
}
.notice.emerald { border-color: var(--emerald); background: var(--emerald-soft); color: var(--emerald); }

/* ----------- API Docs ----------- */
.code-card {
  background: var(--ink);
  color: #E8E0D2;
  border-radius: var(--radius);
  padding: 24px;
  font-family: var(--ff-mono);
  font-size: .92rem;
  line-height: 1.65;
  overflow-x: auto;
}
.code-card .k { color: var(--coral); }
.code-card .s { color: #A8E6C7; }
.code-card .c { color: #8A8276; font-style: italic; }

.endpoint-row {
  display: grid; grid-template-columns: 100px 1fr auto; gap: 16px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); margin-bottom: 10px;
  word-break: break-word;
}
.method {
  font-family: var(--ff-mono); font-weight: 700; font-size: .78rem; letter-spacing: .08em;
  padding: 6px 10px; border-radius: 8px; text-align: center;
}
.method.post { background: var(--emerald); color: var(--paper); }
.method.get { background: var(--sky); color: var(--paper); }

/* ----------- Footer ----------- */
.footer {
  background: var(--ink); color: var(--paper);
  padding: 80px 0 30px;
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 0% 0%, rgba(15,81,50,.25), transparent 65%),
    radial-gradient(500px 300px at 100% 100%, rgba(255,107,74,.18), transparent 60%);
  pointer-events: none;
}
.footer .container { position: relative; z-index: 1; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px;
  align-items: start;
}
.footer h4 {
  font-family: var(--ff-body);
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: #A9A39A; margin-bottom: 18px;
}
.footer .brand { color: var(--paper); }
.footer .brand .brand-name b { color: var(--coral); }
.footer .desc { color: #A9A39A; margin-top: 16px; max-width: 38ch; font-size: .94rem; line-height: 1.6; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: #C9C3B8; font-size: .92rem; }
.footer ul a:hover { color: var(--paper); }
.footer .socials { display: flex; gap: 10px; margin-top: 24px; }
.footer .socials a {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--paper);
  transition: background .2s ease, transform .2s ease;
}
.footer .socials a:hover { background: var(--coral); border-color: var(--coral); transform: translateY(-2px); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px;
  font-size: .85rem; color: #A9A39A;
}

/* ----------- Toast ----------- */
.toast {
  position: fixed; right: 24px; bottom: 24px;
  max-width: min(92vw, 420px);
  background: var(--ink); color: var(--paper);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-ink);
  display: none; z-index: 100;
  font-size: .95rem;
}
.toast.show { display: flex; align-items: center; gap: 12px; animation: toastIn .25s ease; }
.toast i { color: var(--emerald-2); }
@keyframes toastIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ----------- Animations ----------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { animation: fadeUp .8s ease both; }
.reveal.d1 { animation-delay: .08s; }
.reveal.d2 { animation-delay: .16s; }
.reveal.d3 { animation-delay: .24s; }
.reveal.d4 { animation-delay: .32s; }
.reveal.d5 { animation-delay: .40s; }
.reveal.d6 { animation-delay: .48s; }

/* =========================================================
   RESPONSIVE BREAKPOINTS — Fully rebuilt for perfect coverage
   ========================================================= */

/* ---- Tablet (≤1100px) ---- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: 100%; }
  .platforms-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .card-grid-3 { grid-template-columns: 1fr 1fr; }
  .how-strip { grid-template-columns: 1fr 1fr; }
  .how-step:nth-child(2) { border-right: none; }
  .how-step:nth-child(1),
  .how-step:nth-child(2) { border-bottom: 1px solid var(--line); }
  .tcard-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-shell { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Newsletter: stack vertically at tablet */
  .newsletter {
    grid-template-columns: 1fr;
    padding: 48px 40px;
    gap: 32px;
  }
  .newsletter h2 { max-width: 100%; font-size: clamp(1.8rem, 3vw, 2.6rem); }
}

/* ---- Mobile (≤768px) ---- */
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .section.tight { padding: 48px 0; }

  /* --- Nav --- */
  .nav-links {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch;
    padding: 14px 18px; gap: 4px;
    z-index: 49;
    box-shadow: 0 8px 24px -8px rgba(14,20,20,.12);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; font-size: 1rem; border-radius: var(--radius-sm); }
  .nav-cta { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }

  /* --- Hero --- */
  .hero { padding: 56px 0 100px; }
  .hero-grid { gap: 36px; }
  .hero h1 { line-height: 1.1; }
  .hero .lead { font-size: 1rem; }
  .hero .actions { gap: 10px; }
  .hero .actions .btn.lg { padding: 14px 20px; font-size: .95rem; }
  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 40px;
  }
  .stat strong { font-size: clamp(1.4rem, 5vw, 2rem); }
  .stat span { font-size: .78rem; }

  /* --- Login card --- */
  .login-card { padding: 28px 22px; }
  .login-card h3 { font-size: 1.5rem; }

  /* --- Platforms --- */
  .platforms-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .orb-bubble { width: 90px; height: 90px; }
  .orb-bubble i { font-size: 1.7rem; }
  .orb .name { font-size: .9rem; }
  .orb .sub { font-size: .75rem; }

  /* --- Feature cards --- */
  .card-grid-3 { grid-template-columns: 1fr; }
  .card-grid-2 { grid-template-columns: 1fr; }
  .feature-card { padding: 26px 24px; }

  /* --- How it works --- */
  .how-strip { grid-template-columns: 1fr; }
  .how-step {
    border-right: none !important;
    border-bottom: 1px solid var(--line);
    padding: 28px 20px;
  }
  .how-step:last-child { border-bottom: none; }
  .how-step .num { font-size: 4rem; }

  /* --- About grid --- */
  .about-grid { grid-template-columns: 1fr; gap: 32px; }

  /* --- Testimonials --- */
  .tcard-grid { grid-template-columns: 1fr; }

  /* --- Section heads --- */
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: clamp(1.7rem, 5vw, 2.4rem); }

  /* --- FAQ --- */
  .faq-item summary { font-size: .98rem; padding: 18px 16px; }
  .faq-item p { padding: 0 16px 18px; font-size: .95rem; }

  /* ========================================================
     NEWSLETTER — Mobile-specific comprehensive fixes
     ======================================================== */
  .newsletter {
    grid-template-columns: 1fr;
    padding: 36px 22px;
    gap: 28px;
    border-radius: var(--radius);
  }
  .newsletter h2 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    max-width: 100%;
    line-height: 1.15;
    word-break: break-word;
  }
  .newsletter .eyebrow { font-size: .7rem; }
  .newsletter .sub { font-size: .88rem; line-height: 1.5; margin-top: 12px; }

  /* Stack the form vertically on mobile */
  .newsletter .form-inline {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .newsletter .form-inline input {
    width: 100%;
    flex: none;
    font-size: 1rem;
    padding: 15px 18px;
    border-radius: var(--radius-sm);
  }
  .newsletter .form-inline .btn {
    width: 100%;
    justify-content: center;
    padding: 15px 22px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  /* --- Form pages --- */
  .form-shell { grid-template-columns: 1fr; gap: 28px; }
  .form-card { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .side-card { padding: 24px 20px; }

  /* --- Services --- */
  .svc-item {
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 18px 18px;
  }
  .svc-item .btn { grid-column: 1 / -1; justify-self: start; }
  .svc-meta h3 { font-size: 1.05rem; }
  .toolbar { flex-direction: column; align-items: stretch; gap: 14px; }
  .toolbar h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
  .search { min-width: 100%; }

  /* --- Footer --- */
  .footer { padding: 56px 0 24px; margin-top: 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom {
    flex-direction: column; align-items: flex-start;
    gap: 8px; margin-top: 40px;
  }

  /* --- API docs --- */
  .section.tight { overflow: hidden; }
  .form-shell > div:first-child { min-width: 0; overflow-x: auto; }
  .endpoint-row {
    grid-template-columns: 80px 1fr;
    gap: 10px;
    padding: 14px 16px;
    overflow-x: auto;
  }
  .endpoint-row > :last-child { grid-column: 1 / -1; font-size: .8rem; }
  .form-shell[style] { grid-template-columns: 1fr !important; }
  aside[style*="position:sticky"] { position: static !important; top: auto !important; margin-top: 24px; }

  /* --- Page hero --- */
  .page-hero { padding: 56px 0 40px; }
  .page-hero h1 { font-size: clamp(1.9rem, 6vw, 3rem); }
}

/* ---- Small phones (≤480px) ---- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Hero tightening */
  .hero { padding: 44px 0 90px; }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .btn { text-align: center; justify-content: center; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .stat strong { font-size: clamp(1.2rem, 6vw, 1.6rem); }

  /* Platforms — 2 per row stays fine, just shrink orbs */
  .orb-bubble { width: 72px; height: 72px; }
  .orb-bubble i { font-size: 1.4rem; }
  .orb { padding: 18px 6px; gap: 10px; }
  .orb .name { font-size: .82rem; }
  .orb .sub { font-size: .7rem; }

  /* Newsletter tightest */
  .newsletter { padding: 28px 16px; gap: 22px; border-radius: var(--radius-sm); }
  .newsletter h2 { font-size: clamp(1.45rem, 7vw, 1.9rem); }
  .newsletter .form-inline input { padding: 13px 16px; }
  .newsletter .form-inline .btn { padding: 13px 20px; }

  /* How it works */
  .how-step .num { font-size: 3.2rem; }

  /* Buttons */
  .btn.lg { padding: 14px 20px; font-size: .92rem; }
  .btn { white-space: normal; text-align: center; }

  /* Footer */
  .footer-grid { gap: 28px; }
  .footer .socials { flex-wrap: wrap; }

  /* Form card */
  .form-card { padding: 22px 16px; }
  .login-card { padding: 22px 16px; }
  .login-card h3 { font-size: 1.35rem; }

  /* Section heads */
  h2 { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  h3 { font-size: clamp(1.1rem, 4vw, 1.4rem); }
}
