/* ============================================================
   InkSaga Studio — design system
   Web development & cybersecurity
   ============================================================ */

:root {
  --bg: #fbfbfd;
  --fg: #0f1222;
  --muted: #5b6172;
  --accent: #6d28d9;
  --accent-2: #db2777;
  --accent-soft: #f3f0ff;
  --border: #e6e6ef;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(15, 18, 34, 0.07);
  --shadow-lg: 0 24px 60px rgba(15, 18, 34, 0.14);
  --ring: rgba(109, 40, 217, 0.16);
  --radius: 16px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg: #070711;
  --fg: #e9e9f2;
  --muted: #9aa0b4;
  --accent: #a78bfa;
  --accent-2: #f472b6;
  --accent-soft: #16162a;
  --border: #24243c;
  --card: #0f0f1e;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
  --ring: rgba(167, 139, 250, 0.22);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #070711;
    --fg: #e9e9f2;
    --muted: #9aa0b4;
    --accent: #a78bfa;
    --accent-2: #f472b6;
    --accent-soft: #16162a;
    --border: #24243c;
    --card: #0f0f1e;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
    --ring: rgba(167, 139, 250, 0.22);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.18; }

.wrap { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  z-index: 50;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { margin-left: 8px; color: var(--muted); text-decoration: none; font-size: 0.94rem; font-weight: 500; padding: 6px 2px; }
.nav a:hover { color: var(--fg); }
.nav a.nav-cta {
  margin-left: 14px;
  padding: 9px 18px;
  font-size: 0.9rem;
  color: #fff;
}
.nav a.nav-cta:hover { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.theme-toggle {
  margin-left: 8px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--fg);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.theme-toggle:hover { border-color: var(--accent); }

/* ---------- Progress bar ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  z-index: 100;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  padding: 12px 26px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 0;
  cursor: pointer;
  box-shadow: 0 8px 22px var(--ring);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px var(--ring); opacity: 1; }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); box-shadow: none; }
.btn-outline:hover { background: var(--accent-soft); transform: translateY(-2px); }
.btn-ghost { background: var(--card); color: var(--fg); border: 1px solid var(--border); box-shadow: none; }
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row.center { justify-content: center; }

/* ---------- Main / hero ---------- */
main { padding: 26px 20px 80px; }

.hero-lg {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 28px 64px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(1100px 460px at 50% -10%, rgba(124, 58, 237, 0.42), transparent 62%),
    radial-gradient(760px 420px at 88% 112%, rgba(219, 39, 119, 0.32), transparent 60%),
    linear-gradient(160deg, #0b0b1a 0%, #140d2c 52%, #0a0a18 100%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.hero-lg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(700px 340px at 50% 0%, #000 30%, transparent 78%);
  mask-image: radial-gradient(700px 340px at 50% 0%, #000 30%, transparent 78%);
  pointer-events: none;
}
.hero-lg > * { position: relative; z-index: 1; }
.hero-lg h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); letter-spacing: -0.03em; margin: 0 0 18px; color: #fff; }
.hero-lg .lead { font-size: 1.14rem; color: rgba(255, 255, 255, 0.78); max-width: 680px; margin: 0 auto 28px; }
.hero-lg .eyebrow {
  color: #e9d5ff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-lg .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.hero-lg .btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.hero-lg .trust { color: rgba(255, 255, 255, 0.72); }

.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 7px 15px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.lead { font-size: 1.14rem; color: var(--muted); max-width: 680px; margin: 0 auto 26px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: center; margin-top: 28px; font-size: 0.86rem; font-weight: 500; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Sections ---------- */
.section { padding: 54px 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 34px; }
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.15rem); letter-spacing: -0.02em; margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; font-size: 1.03rem; }

/* ---------- Stats band ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 auto;
}
.stat { background: var(--card); padding: 26px 18px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -0.02em; line-height: 1.1; background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { font-size: 0.84rem; color: var(--muted); }

/* ---------- Tech / logo strip ---------- */
.logo-strip { text-align: center; margin-top: 8px; }
.logo-strip p { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.logo-strip .logos { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.logo-strip .logos span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 9px 18px;
  border-radius: 12px;
}

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pillar {
  position: relative;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.pillar .ico { font-size: 1.7rem; display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; background: var(--accent-soft); border-radius: 15px; }
.pillar h3 { margin: 16px 0 8px; font-size: 1.4rem; }
.pillar p { color: var(--muted); margin: 0 0 16px; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--border)); }
.feature h3 { margin: 0 0 6px; font-size: 1.1rem; }
.feature p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Ticks ---------- */
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 28px; margin: 9px 0; color: var(--fg); }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #16a34a; font-weight: 800; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.price-card.featured { border-color: var(--accent); box-shadow: 0 20px 50px var(--ring); }
.price-card .tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.price-card h3 { margin: 8px 0 0; font-size: 1.25rem; }
.price-amount { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; letter-spacing: -0.02em; margin: 14px 0 2px; }
.price-amount span { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.price-card .price-sub { color: var(--muted); font-size: 0.85rem; margin: 0 0 12px; }
.price-card ul { margin: 12px 0 20px; }
.price-card .btn { margin-top: auto; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { border: 1px solid var(--border); background: var(--card); border-radius: var(--radius); padding: 24px; transition: transform .18s ease, box-shadow .18s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .num {
  width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; font-weight: 700; margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 14px; max-width: 560px; }
.form-grid label { font-weight: 600; font-size: 0.9rem; display: block; margin-bottom: 5px; }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--card); color: var(--fg); font: inherit;
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus {
  border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); outline: none;
}
.form-note { font-size: 0.8rem; color: var(--muted); }
.form-status { font-weight: 600; margin: 4px 0 0; }

/* ---------- Banner ---------- */
.banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 300px at 20% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    linear-gradient(100deg, #6d28d9, #db2777);
  color: #fff;
  border-radius: 24px;
  padding: 52px 30px;
  text-align: center;
}
.banner h2 { color: #fff; margin: 0 0 10px; font-size: clamp(1.5rem, 3vw, 2rem); }
.banner p { color: rgba(255, 255, 255, 0.92); margin: 0 auto 24px; max-width: 560px; }
.banner .btn { background: #fff; color: #6d28d9; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22); }
.banner .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); box-shadow: none; }

/* ---------- Blog cards ---------- */
.post-list { display: grid; gap: 14px; }
.grid { display: grid; gap: 18px; margin-top: 22px; }
.card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: var(--shadow-lg); }
.card h2 { font-size: 1.25rem; margin: 0 0 6px; letter-spacing: -0.01em; }
.card a { text-decoration: none; color: var(--fg); }
.card a:hover h2 { color: var(--accent); }
.card p { margin: 0 0 10px; color: var(--muted); }
.meta { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 10px; }
.more { font-weight: 600; color: var(--accent); font-size: 0.9rem; text-decoration: none; }

/* ---------- Article ---------- */
.post h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.2; margin: 0 0 12px; }
.post h2 { margin-top: 1.9em; font-size: 1.5rem; letter-spacing: -0.01em; }
.post h3 { margin-top: 1.5em; font-size: 1.18rem; }
.post p, .post li { color: var(--fg); }
.post img { max-width: 100%; border-radius: 12px; }
.post blockquote {
  border-left: 4px solid var(--accent);
  margin: 1.4em 0;
  padding: 6px 0 6px 18px;
  color: var(--muted);
  background: var(--accent-soft);
  border-radius: 0 10px 10px 0;
}
.post pre { position: relative; background: var(--accent-soft); padding: 16px; border-radius: 12px; overflow-x: auto; font-size: 0.9rem; }
.post code { background: var(--accent-soft); padding: 2px 6px; border-radius: 5px; font-size: 0.9em; }
.post pre code { background: none; padding: 0; }
.copy-code {
  position: absolute; top: 8px; right: 8px;
  border: 1px solid var(--border); background: var(--card); color: var(--fg);
  font-size: 0.72rem; padding: 3px 9px; border-radius: 6px; cursor: pointer; opacity: 0;
  transition: opacity .15s ease;
}
.post pre:hover .copy-code { opacity: 1; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius);
  padding: 4px 22px;
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* ---------- Search / filters ---------- */
.searchbox { margin: 22px auto 0; max-width: 460px; }
.searchbox input {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--card); color: var(--fg); font-size: 1rem; outline: none;
}
.searchbox input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 4px; justify-content: center; }
.chip {
  border: 1px solid var(--border); background: var(--card); color: var(--muted);
  padding: 7px 15px; border-radius: 999px; cursor: pointer; font-size: 0.85rem; font-weight: 500;
}
.chip:hover { border-color: var(--accent); color: var(--fg); }
.chip.active { background: linear-gradient(90deg, var(--accent), var(--accent-2)); border-color: transparent; color: #fff; }

/* ---------- Live badge ---------- */
.live-badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.02em; color: #15803d; background: #dcfce7; border: 1px solid #86efac;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.live-badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); animation: pulse 1.8s infinite;
}
[data-theme="dark"] .live-badge { color: #86efac; background: #052e16; border-color: #166534; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .live-badge { color: #86efac; background: #052e16; border-color: #166534; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- Share ---------- */
.share { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 22px; }
.share-btn {
  border: 1px solid var(--border); background: var(--card); color: var(--fg);
  font-size: 0.82rem; padding: 5px 12px; border-radius: 999px; cursor: pointer; text-decoration: none;
}
.share-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Ads / inline CTA ---------- */
.ad { margin: 26px 0; min-height: 90px; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 0.8rem; }
.cta { margin: 32px 0; padding: 26px; border: 1px solid var(--accent); background: var(--accent-soft); border-radius: var(--radius); text-align: center; }
.cta h3 { margin: 0 0 6px; }
.cta p { margin: 0 0 14px; color: var(--muted); }

/* ---------- Two column + inline CTA ---------- */
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
.cta-inline { border: 1px solid var(--border); background: var(--card); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-lg); }

/* ---------- Pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.pill { border: 1px solid var(--border); background: var(--card); color: var(--muted); font-size: 0.82rem; padding: 6px 13px; border-radius: 999px; }

/* ---------- Currency toggle ---------- */
.currency-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; margin: 0 auto 8px; background: var(--card); }
.currency-toggle button { border: 0; background: transparent; color: var(--muted); padding: 8px 20px; cursor: pointer; font: inherit; font-size: 0.85rem; font-weight: 600; }
.currency-toggle button.active { background: linear-gradient(90deg, var(--accent), var(--accent-2)); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 52px 0 26px; margin-top: 60px; background: color-mix(in srgb, var(--bg) 96%, var(--fg) 4%); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .brand { display: inline-block; margin-bottom: 12px; font-size: 1.25rem; }
.footer-brand p { margin: 0 0 8px; font-size: 0.9rem; }
.footer-col h4 { margin: 0 0 12px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg); }
.footer-col a { display: block; color: var(--muted); text-decoration: none; font-size: 0.92rem; padding: 4px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--border); margin-top: 36px; padding-top: 22px; }
.footer-bottom p { margin: 0; font-size: 0.82rem; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }
.site-footer p { font-size: 0.85rem; color: var(--muted); }
.muted { color: var(--muted); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--card); color: var(--fg);
  font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease; z-index: 40;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; left: 20px; bottom: 20px; width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45); z-index: 45; text-decoration: none;
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.07); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 860px) {
  .pillars, .price-grid, .features, .two-col { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 16px 20px; gap: 4px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    box-shadow: var(--shadow-lg);
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav a { margin: 6px 0; font-size: 1rem; }
  .nav a.nav-cta { text-align: center; }
  .theme-toggle { margin: 6px 0; align-self: flex-start; }
}
@media (max-width: 640px) {
  .post h1 { font-size: 1.7rem; }
  main { padding-left: 14px; padding-right: 14px; }
  .hero-lg { padding: 60px 20px 48px; border-radius: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .steps, .stats { grid-template-columns: 1fr; }
}
