/* ============================================================
   WhatsApp Message Designer Pro — Landing & Privacy
   Premium design system · Light + Dark · Glassmorphism · Motion
   ============================================================ */

/* ---------------- tokens ---------------- */
:root {
  /* brand */
  --brand-1: #25d366;
  --brand-2: #12b886;
  --brand-3: #0e9f6e;
  --brand-4: #0b8073;
  --grad-brand: linear-gradient(135deg, #29d96f 0%, #12b886 50%, #0b8f7e 100%);
  --grad-soft: linear-gradient(135deg, rgba(41, 217, 111, 0.16), rgba(11, 143, 126, 0.10));
  --accent: #6366f1;

  /* radius / motion / type */
  --r-xs: 10px;
  --r-sm: 14px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.28s var(--ease);
  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --maxw: 1180px;
  --nav-h: 72px;
}

/* light (default) */
:root,
:root[data-theme="light"] {
  --bg: #f7faf9;
  --bg-2: #eef3f1;
  --surface: #ffffff;
  --surface-2: #f4f8f6;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-brd: rgba(15, 26, 31, 0.09);
  --text: #0c1a18;
  --text-soft: #4d6168;
  --text-mut: #74878d;
  --border: rgba(13, 27, 33, 0.09);
  --shadow-sm: 0 2px 8px rgba(13, 38, 34, 0.06), 0 8px 24px rgba(13, 38, 34, 0.05);
  --shadow: 0 10px 30px rgba(13, 38, 34, 0.08), 0 30px 60px rgba(13, 38, 34, 0.07);
  --shadow-lg: 0 24px 60px rgba(13, 38, 34, 0.14);
  --hero-mesh-1: rgba(41, 217, 111, 0.28);
  --hero-mesh-2: rgba(99, 102, 241, 0.18);
  --hero-mesh-3: rgba(18, 184, 134, 0.20);
  --ring: rgba(18, 184, 134, 0.45);
}

/* dark */
:root[data-theme="dark"] {
  --bg: #070f0d;
  --bg-2: #0a1512;
  --surface: #0f1a17;
  --surface-2: #13211d;
  --glass-bg: rgba(17, 28, 25, 0.55);
  --glass-brd: rgba(255, 255, 255, 0.08);
  --text: #eaf2ef;
  --text-soft: #a7bbb6;
  --text-mut: #7d928d;
  --border: rgba(255, 255, 255, 0.09);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.4);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.6);
  --hero-mesh-1: rgba(41, 217, 111, 0.22);
  --hero-mesh-2: rgba(99, 102, 241, 0.18);
  --hero-mesh-3: rgba(11, 143, 126, 0.28);
  --ring: rgba(41, 217, 111, 0.55);
}

/* ---------------- base ---------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: rgba(41, 217, 111, 0.28); }

:focus-visible { outline: 2px solid var(--ring); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--surface); color: var(--text); padding: 10px 16px;
  border-radius: 10px; box-shadow: var(--shadow); transition: top 0.2s;
}
.skip:focus { top: 12px; }

/* helpers */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid var(--glass-brd);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--brand-3);
  background: var(--grad-soft);
  border: 1px solid var(--glass-brd);
  padding: 7px 14px; border-radius: 999px;
}
:root[data-theme="dark"] .eyebrow { color: #5ce39a; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-1); box-shadow: 0 0 0 4px rgba(41,217,111,.18); }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px;
  padding: 14px 24px; border-radius: 14px;
  color: var(--text); background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--t), box-shadow var(--t), background var(--t), border-color var(--t);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); }
.btn-primary {
  color: #042b1f; border-color: transparent;
  background: var(--grad-brand); background-size: 160% 160%;
  box-shadow: 0 10px 26px rgba(18, 184, 134, 0.36);
  animation: grad-shift 8s ease infinite;
}
.btn-primary:hover { box-shadow: 0 16px 40px rgba(18, 184, 134, 0.5); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--glass-brd); }
.btn-sm { padding: 10px 18px; font-size: 14px; border-radius: 12px; }
.btn-lg { padding: 16px 30px; font-size: 17px; border-radius: 16px; }
@keyframes grad-shift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Chrome logo inside "Add to Chrome" buttons */
.chrome-ico { width: 20px; height: 20px; flex: 0 0 auto; object-fit: contain; }
.btn-lg .chrome-ico { width: 23px; height: 23px; }
.btn-sm .chrome-ico { width: 18px; height: 18px; }
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .btn-lg { padding: 14px 22px; font-size: 16px; }
  .chrome-ico, .btn-lg .chrome-ico { width: 20px; height: 20px; }
}

/* ---------------- nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.nav.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border-bottom-color: var(--glass-brd);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 800; font-size: 17px; }
.brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.brand .b-sub { display: block; font-size: 11px; font-weight: 600; color: var(--text-mut); letter-spacing: 0.01em; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px; color: var(--text-soft);
  padding: 9px 14px; border-radius: 11px; transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); transition: transform var(--t), background var(--t), border-color var(--t);
}
.icon-btn:hover { transform: translateY(-2px); border-color: var(--glass-brd); }
.icon-btn svg { width: 20px; height: 20px; }
.theme-toggle .moon { display: none; }
.theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }

.hamburger { display: none; }
.mobile-menu { display: none; }

/* ---------------- hero ---------------- */
.hero { position: relative; padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 8vw, 96px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.85; will-change: transform; }
.blob.b1 { width: 520px; height: 520px; background: var(--hero-mesh-1); top: -160px; right: -120px; animation: float1 20s var(--ease) infinite; }
.blob.b2 { width: 460px; height: 460px; background: var(--hero-mesh-2); bottom: -200px; left: -140px; animation: float2 24s var(--ease) infinite; }
.blob.b3 { width: 380px; height: 380px; background: var(--hero-mesh-3); top: 30%; left: 45%; animation: float1 28s var(--ease) infinite reverse; }
.hero-bg .grid-fade {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(900px 500px at 50% 0%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(900px 500px at 50% 0%, #000 10%, transparent 75%);
  opacity: 0.5;
}
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-30px,40px) scale(1.08); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(40px,-30px) scale(1.1); } }

.hero-grid { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(36px, 5.6vw, 62px); }
.hero .lead { font-size: clamp(16.5px, 1.4vw, 19.5px); color: var(--text-soft); margin: 22px 0 32px; max-width: 560px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: var(--text-soft); font-size: 14px; }
.hero-trust .ht { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; }
.hero-trust svg { width: 18px; height: 18px; color: var(--brand-3); }
.hero-rating { display: inline-flex; align-items: center; gap: 8px; }
.hero-rating .stars { color: #f5b301; letter-spacing: 2px; }

/* hero product visual */
.hero-visual { position: relative; }
.app-card {
  position: relative; z-index: 2;
  border-radius: var(--r-lg); padding: 18px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid var(--glass-brd);
  box-shadow: var(--shadow-lg);
  animation: rise 0.9s var(--ease) both;
}
.app-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.app-top .logo { width: 34px; height: 34px; border-radius: 9px; background: var(--grad-brand); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.app-top .logo svg { width: 18px; height: 18px; color: #fff; }
.app-top .ttl { font-family: var(--font-head); font-weight: 800; font-size: 14px; }
.app-top .ttl small { display: block; font-weight: 600; font-size: 10.5px; color: var(--text-mut); }
.app-top .dots { margin-left: auto; display: flex; gap: 6px; }
.app-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); }
.app-toolbar { display: flex; gap: 6px; padding: 8px; border-radius: var(--r-sm); background: var(--surface-2); margin-bottom: 12px; flex-wrap: wrap; }
.app-toolbar .chip { min-width: 32px; height: 30px; padding: 0 9px; border-radius: 9px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; font-weight: 700; font-size: 12.5px; color: var(--text-soft); }
.app-toolbar .chip.on { background: var(--grad-brand); color: #042b1f; border-color: transparent; }
.app-editor { border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); padding: 14px; font-size: 14px; line-height: 1.6; min-height: 120px; }
.app-editor b { font-weight: 800; }
.app-editor .v { background: rgba(245,158,11,.2); border-radius: 4px; padding: 0 4px; font-weight: 700; }
.app-editor .lnk { color: #0c8ce0; }
.app-actions { display: flex; gap: 10px; margin-top: 12px; }
.app-actions .ab { flex: 1; text-align: center; padding: 11px; border-radius: 12px; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; }
.app-actions .ab.primary { background: var(--grad-brand); color: #042b1f; box-shadow: 0 8px 20px rgba(18,184,134,.32); }
.app-actions .ab.ghost { background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); }

.chat-card {
  position: absolute; z-index: 1; right: -26px; bottom: -42px; width: 220px;
  border-radius: var(--r); padding: 14px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: rise 1.1s var(--ease) 0.1s both;
}
.chat-card .ch-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.chat-card .ch-bar .av { width: 26px; height: 26px; border-radius: 50%; background: var(--grad-brand); }
.chat-card .ch-bar .nm { font-size: 12px; font-weight: 700; }
.chat-card .ch-bar .nm small { display: block; font-weight: 600; font-size: 9.5px; color: var(--brand-3); }
.chat-bubble { background: linear-gradient(135deg, #29d96f, #0e9f6e); color: #042b1f; font-size: 12px; line-height: 1.5; padding: 9px 11px; border-radius: 12px 12px 3px 12px; box-shadow: var(--shadow-sm); font-weight: 500; }
.chat-bubble b { font-weight: 800; }

.float-badge {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  padding: 9px 14px; border-radius: 999px;
  background: var(--glass-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-brd); box-shadow: var(--shadow);
}
.float-badge svg { width: 16px; height: 16px; color: var(--brand-3); }
.float-badge.fb1 { top: 4px; left: -22px; animation: bob 5s var(--ease) infinite; }
.float-badge.fb2 { top: 44%; right: -30px; animation: bob 6s var(--ease) infinite 0.6s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px) scale(0.98); } to { opacity: 1; transform: none; } }

/* ---------------- stats band ---------------- */
.stats { margin-top: clamp(24px, 5vw, 48px); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 34px); }
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); line-height: 1; }
.stat .lbl { color: var(--text-soft); font-size: 13.5px; margin-top: 8px; }
.stat + .stat { border-left: 1px solid var(--border); }

/* ---------------- sections ---------------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(28px, 4vw, 46px); }
.section-head p { color: var(--text-soft); font-size: clamp(15px, 1.3vw, 18px); margin-top: 16px; }

/* features */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  border-radius: var(--r-lg); padding: 28px;
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative; overflow: hidden;
}
.feature::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad-brand); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity var(--t); pointer-events: none; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature:hover::after { opacity: 0.7; }
.feature .ico {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--glass-brd); color: var(--brand-3);
  margin-bottom: 20px;
}
:root[data-theme="dark"] .feature .ico { color: #5ce39a; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 18.5px; margin-bottom: 9px; }
.feature p { color: var(--text-soft); font-size: 14.5px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { border-radius: var(--r-lg); padding: 30px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); position: relative; }
.step .num { width: 50px; height: 50px; border-radius: 15px; background: var(--grad-brand); color: #042b1f; font-family: var(--font-head); font-weight: 800; font-size: 20px; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(18,184,134,.3); margin-bottom: 18px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 14.5px; }
.step .line { position: absolute; top: 55px; right: -22px; width: 22px; height: 2px; background: var(--border); }
.step:last-child .line { display: none; }

/* showcase split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.rev .split-media { order: 2; }
.split h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 16px 0; }
.split p { color: var(--text-soft); font-size: 16px; margin-bottom: 22px; }
.checklist { display: grid; gap: 14px; }
.checklist li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.checklist .ck { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 8px; background: var(--grad-soft); color: var(--brand-3); display: grid; place-items: center; }
:root[data-theme="dark"] .checklist .ck { color: #5ce39a; }
.checklist .ck svg { width: 15px; height: 15px; }
.checklist b { font-weight: 700; }

.fonts-card { border-radius: var(--r-lg); padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.font-pill { border-radius: var(--r-sm); padding: 14px 16px; text-align: center; font-size: 18px; background: var(--surface); border: 1px solid var(--border); transition: transform var(--t), border-color var(--t); }
.font-pill:hover { transform: translateY(-3px); border-color: var(--ring); }
.font-pill small { display: block; font-family: var(--font-body); font-size: 10.5px; color: var(--text-mut); margin-top: 4px; letter-spacing: 0.02em; }

/* templates */
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 880px; margin: 0 auto; }
.chip-t { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 14.5px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform var(--t), color var(--t), border-color var(--t); }
.chip-t:hover { transform: translateY(-3px); color: var(--brand-3); border-color: var(--ring); }

/* privacy */
.privacy-card { border-radius: var(--r-xl); padding: clamp(36px, 6vw, 64px); text-align: center; position: relative; overflow: hidden; }
.privacy-card .shield { width: 76px; height: 76px; border-radius: 22px; background: var(--grad-soft); border: 1px solid var(--glass-brd); display: grid; place-items: center; margin: 0 auto 22px; color: var(--brand-3); }
:root[data-theme="dark"] .privacy-card .shield { color: #5ce39a; }
.privacy-card .shield svg { width: 38px; height: 38px; }
.privacy-card h2 { font-size: clamp(26px, 3.6vw, 42px); }
.privacy-card p { color: var(--text-soft); max-width: 620px; margin: 16px auto 26px; font-size: 16px; }
.privacy-badges { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 28px; }
.privacy-badges span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; font-size: 13.5px; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); }
.privacy-badges svg { width: 16px; height: 16px; color: var(--brand-3); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { border-radius: var(--r); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color var(--t); }
.faq details[open] { border-color: var(--ring); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-family: var(--font-head); font-weight: 700; font-size: 16.5px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px; background: var(--surface-2); display: grid; place-items: center; transition: transform var(--t), background var(--t); }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--grad-brand); color: #042b1f; }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq .ans { padding: 0 24px 22px; color: var(--text-soft); font-size: 15px; }

/* cta */
.cta-wrap { position: relative; border-radius: var(--r-xl); padding: clamp(44px, 7vw, 84px) clamp(28px, 5vw, 64px); text-align: center; overflow: hidden; background: var(--grad-brand); background-size: 180% 180%; animation: grad-shift 10s ease infinite; box-shadow: var(--shadow-lg); }
.cta-wrap::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 20% 0%, rgba(255,255,255,.25), transparent 60%); pointer-events: none; }
.cta-wrap h2 { color: #042b1f; font-size: clamp(28px, 4vw, 46px); position: relative; }
.cta-wrap p { color: rgba(4, 43, 31, 0.82); font-size: 18px; margin: 14px auto 30px; max-width: 560px; position: relative; font-weight: 500; }
.cta-wrap .btn { position: relative; background: #042b1f; color: #eafff5; }
.cta-wrap .btn:hover { background: #06382a; box-shadow: 0 16px 40px rgba(0,0,0,.25); }

/* ---------------- footer ---------------- */
.footer { padding: clamp(48px, 7vw, 80px) 0 36px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { margin-bottom: 16px; }
.footer .desc { color: var(--text-soft); font-size: 14.5px; max-width: 320px; }
.footer .social { display: flex; gap: 10px; margin-top: 18px; }
.footer h4 { font-family: var(--font-head); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-mut); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 11px; }
.footer ul a { color: var(--text-soft); font-size: 14.5px; transition: color var(--t); display: inline-flex; align-items: center; gap: 8px; }
.footer ul a:hover { color: var(--brand-3); }
.footer-bottom { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--border); text-align: center; }
.fb-credits { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 24px; }
.fb-card {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 18px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); text-align: left;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  min-width: 268px;
}
.fb-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--ring); }
.fb-ico {
  flex: 0 0 auto; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center; color: var(--brand-3);
  background: var(--grad-soft); border: 1px solid var(--glass-brd);
}
:root[data-theme="dark"] .fb-ico { color: #5ce39a; }
.fb-ico.in { background: #0a66c2; color: #fff; border-color: transparent; }
.fb-ico svg { width: 24px; height: 24px; }
.fb-meta { display: flex; flex-direction: column; line-height: 1.3; }
.fb-meta small { font-size: 11px; color: var(--text-mut); font-weight: 600; letter-spacing: 0.02em; }
.fb-meta b { font-family: var(--font-head); font-size: 15.5px; color: var(--text); }
.fb-meta em { font-style: normal; font-size: 12px; color: var(--brand-3); font-weight: 600; }
:root[data-theme="dark"] .fb-meta em { color: #5ce39a; }
.fb-in { margin-left: auto; color: #0a66c2; }
:root[data-theme="dark"] .fb-in { color: #4aa3e8; }
.fb-in svg { width: 20px; height: 20px; }
.fb-services { font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--text-soft); letter-spacing: 0.02em; margin-bottom: 8px; }
.fb-legal { font-size: 12.5px; color: var(--text-mut); }
@media (max-width: 560px) { .fb-card { width: 100%; min-width: 0; } }

/* ---------------- reveal motion ---------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .blob, .float-badge, .app-card, .chat-card, .btn-primary, .cta-wrap { animation: none !important; }
}

/* ---------------- legal (privacy page) ---------------- */
.legal { padding: clamp(40px, 6vw, 72px) 0 20px; }
.legal-wrap { max-width: 840px; }
.legal h1 { font-size: clamp(32px, 5vw, 52px); margin-top: 14px; }
.legal .updated { color: var(--text-mut); font-size: 14.5px; margin-top: 12px; }
.legal .note { border-radius: var(--r); padding: 20px 24px; margin: 26px 0; border: 1px solid var(--glass-brd); background: var(--grad-soft); }
.legal .note p { margin: 0; color: var(--text); font-size: 15.5px; }
.legal .toc { margin: 26px 0; padding: 24px 26px; border-radius: var(--r); }
.legal .toc strong { display: block; font-family: var(--font-head); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-mut); margin-bottom: 14px; }
.legal .toc ol { margin-left: 18px; display: grid; gap: 8px; }
.legal .toc a { color: var(--text-soft); font-size: 14.5px; }
.legal .toc a:hover { color: var(--brand-3); }
.legal article h2 { font-size: 23px; margin: 40px 0 14px; scroll-margin-top: 90px; display: flex; gap: 10px; }
.legal article h2 .n { color: var(--brand-3); }
.legal article h3 { font-size: 16.5px; margin: 22px 0 8px; }
.legal p { color: var(--text-soft); margin-bottom: 14px; font-size: 16px; }
.legal ul.dots { margin: 0 0 18px 24px; display: grid; gap: 9px; }
.legal ul.dots li { color: var(--text-soft); font-size: 15.5px; }
.legal ul.dots li b { color: var(--text); }
.legal table { width: 100%; border-collapse: collapse; margin: 10px 0 22px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal th { font-family: var(--font-head); color: var(--text-mut); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.04em; }
.legal td b { color: var(--text); }
.legal code { background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; font-size: 13.5px; }
.legal a.inline { color: var(--brand-3); font-weight: 600; }
.legal a.inline:hover { text-decoration: underline; }
.back-top { display: inline-flex; align-items: center; gap: 8px; margin-top: 32px; color: var(--text-mut); font-weight: 600; }
.back-top:hover { color: var(--brand-3); }

/* ---------------- responsive ---------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-col-last { display: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: grid; }
  .nav-actions .btn:not(.icon-btn) { display: none; }
  .steps { grid-template-columns: 1fr; }
  .step .line { display: none; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.rev .split-media { order: 0; }
  .fonts-card { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 22px 8px; }
  .stat + .stat { border-left: none; }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col-brand { grid-column: 1 / -1; }
  .chat-card { right: -10px; width: 190px; }
  .float-badge.fb1 { left: -8px; }
  .float-badge.fb2 { right: -8px; }
  .hero-cta .btn { flex: 1; }
}
@media (max-width: 420px) {
  .fonts-card { grid-template-columns: 1fr; }
  .privacy-badges span { font-size: 12px; padding: 8px 14px; }
}

/* ---------------- mobile menu ---------------- */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 95;
  background: var(--bg); padding: 24px;
  display: flex; flex-direction: column; gap: 8px;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity var(--t), transform var(--t);
}
.mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-head); font-weight: 700; font-size: 19px; padding: 16px 12px; border-radius: 14px; border-bottom: 1px solid var(--border); }
.mobile-menu a:hover { background: var(--surface-2); }
.mobile-menu .btn { margin-top: 14px; }
.hamburger.icon-btn .x { display: none; }
.hamburger.open .bars { display: none; }
.hamburger.open .x { display: block; }

/* ---------------- floating WhatsApp chat button ---------------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 120;
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.wa-float-label {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); box-shadow: var(--shadow);
  padding: 11px 16px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; white-space: nowrap;
  opacity: 0; transform: translateX(12px); pointer-events: none;
  transition: opacity var(--t), transform var(--t);
}
.wa-float:hover .wa-float-label, .wa-float:focus-visible .wa-float-label { opacity: 1; transform: none; }
.wa-float-btn {
  position: relative; flex: 0 0 auto;
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #29d96f 0%, #12b886 55%, #0b8f7e 100%);
  box-shadow: 0 14px 32px rgba(18, 140, 126, 0.5), 0 4px 10px rgba(0, 0, 0, 0.18);
  transition: transform var(--t), box-shadow var(--t);
}
.wa-float-btn svg { width: 33px; height: 33px; color: #fff; }
.wa-float:hover .wa-float-btn { transform: scale(1.08); box-shadow: 0 18px 40px rgba(18, 140, 126, 0.6); }
.wa-float:active .wa-float-btn { transform: scale(0.96); }
.wa-float-btn::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(41, 217, 111, 0.55);
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(41, 217, 111, 0.5); }
  70% { box-shadow: 0 0 0 18px rgba(41, 217, 111, 0); }
  100% { box-shadow: 0 0 0 0 rgba(41, 217, 111, 0); }
}
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float-label { display: none; }
  .wa-float-btn { width: 56px; height: 56px; }
  .wa-float-btn svg { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) { .wa-float-btn::before { animation: none; } }
