/* ============================================================
   Font Generator — Design System
   Powered by InstaDataHelp AI Services Pvt Ltd
   ============================================================ */

:root {
  --bg-0: #06121a;
  --bg-1: #0a1c26;
  --bg-2: #0e2634;
  --panel: rgba(16, 42, 56, 0.6);
  --panel-solid: #0f2733;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.08);
  --stroke: rgba(148, 226, 213, 0.14);
  --stroke-strong: rgba(148, 226, 213, 0.3);
  --text-0: #eaf6f3;
  --text-1: #a8c4bd;
  --text-2: #6d8a84;
  --teal: #2dd4bf;
  --green: #4ade80;
  --cyan: #22d3ee;
  --mint: #86efac;
  --amber: #fbbf24;
  --grad-main: linear-gradient(92deg, #2dd4bf 0%, #4ade80 50%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(74, 222, 128, 0.10), rgba(34, 211, 238, 0.14));
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 0 60px rgba(45, 212, 191, 0.18);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;
  --nav-h: 74px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-0);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: rgba(45, 212, 191, 0.35); }

a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--mint); }

img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Animated background ---------- */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 12% -5%, rgba(45, 212, 191, 0.13), transparent 60%),
    radial-gradient(800px 600px at 88% 8%, rgba(34, 211, 238, 0.10), transparent 55%),
    radial-gradient(700px 700px at 50% 110%, rgba(74, 222, 128, 0.09), transparent 60%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 55%, var(--bg-0) 100%);
}
.bg-mesh { transform: translateZ(0); will-change: transform; }
.bg-grid {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1200px;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 226, 213, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 226, 213, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black 40%, transparent 95%);
  -webkit-mask-image: linear-gradient(180deg, black 40%, transparent 95%);
}

/* ---------- Top info bar ---------- */
.topbar {
  background: #04222b;
  border-bottom: 1px solid rgba(148, 226, 213, 0.1);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--text-1);
  padding: 7px 0;
  position: relative;
  z-index: 60;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.topbar a { color: var(--mint); }
.topbar .tb-left span { margin-right: 18px; }
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mint);
}
.badge-live::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(6, 18, 26, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  border-bottom-color: var(--stroke);
  background: rgba(6, 18, 26, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 21px;
  color: var(--text-0);
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--text-0); }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad-main);
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 900;
  color: #04222b;
  box-shadow: 0 4px 18px rgba(45, 212, 191, 0.4);
  animation: logoFloat 5s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-3px) rotate(-3deg); }
}
.logo .grad-text { background: var(--grad-main); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links a {
  display: block;
  padding: 9px 15px;
  border-radius: 99px;
  color: var(--text-1);
  font-weight: 600;
  font-size: 14.5px;
  transition: all 0.22s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-0);
  background: var(--glass-strong);
}
.dropdown { position: relative; }
.dropdown > a::after { content: ' ▾'; font-size: 10px; opacity: 0.7; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  background: var(--panel-solid);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 480px;
}
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  padding: 9px 13px;
  border-radius: 8px;
  font-size: 13.5px;
  white-space: nowrap;
}
.dropdown-menu a span.d-ico { margin-right: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  font-family: inherit;
}
.btn-primary {
  background: var(--grad-main);
  color: #04222b;
  box-shadow: 0 6px 24px rgba(45, 212, 191, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(45, 212, 191, 0.5);
  color: #04222b;
}
.btn-ghost {
  background: var(--glass);
  color: var(--text-0);
  border: 1px solid var(--stroke);
}
.btn-ghost:hover { background: var(--glass-strong); border-color: var(--stroke-strong); color: var(--text-0); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-0);
  font-size: 26px;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 40px;
  text-align: center;
  overflow: hidden;
}
.hero-glyphs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-glyphs span {
  position: absolute;
  font-size: 26px;
  opacity: 0;
  color: var(--teal);
  animation: glyphFloat linear infinite;
  will-change: transform, opacity;
}
@keyframes glyphFloat {
  0%   { transform: translateY(40px) rotate(-8deg) scale(0.8); opacity: 0; }
  12%  { opacity: 0.55; }
  85%  { opacity: 0.25; }
  100% { transform: translateY(-540px) rotate(10deg) scale(1.15); opacity: 0; }
}
.hero-inner { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 18px;
  border-radius: 99px;
  border: 1px solid var(--stroke-strong);
  background: var(--glass);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 26px;
  animation: fadeUp 0.7s both;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0 auto 20px;
  max-width: 900px;
  animation: fadeUp 0.7s 0.1s both;
}
.hero h1 .accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: gradShift 5s linear infinite;
}
@keyframes gradShift {
  to { background-position: 200% center; }
}
.hero .sub {
  font-size: clamp(15px, 2vw, 18.5px);
  color: var(--text-1);
  max-width: 720px;
  margin: 0 auto 14px;
  animation: fadeUp 0.7s 0.2s both;
}
.hero-rotator {
  height: 44px;
  font-size: clamp(20px, 3vw, 30px);
  color: var(--text-0);
  margin-bottom: 8px;
  animation: fadeUp 0.7s 0.25s both;
}
.hero-rotator .rot {
  display: inline-block;
  animation: rotIn 0.5s both;
}
@keyframes rotIn {
  from { opacity: 0; transform: translateY(14px) scale(0.96); filter: blur(4px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Generator panel ---------- */
.generator {
  position: relative;
  z-index: 2;
  margin-top: 34px;
  padding-bottom: 30px;
}
.gen-panel {
  background: var(--panel-solid);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  animation: fadeUp 0.7s 0.3s both;
}
.gen-input-wrap { position: relative; }
#gen-input {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  background: rgba(4, 18, 26, 0.65);
  border: 1.5px solid var(--stroke);
  border-radius: var(--radius-md);
  color: var(--text-0);
  font-family: inherit;
  font-size: 19px;
  padding: 18px 20px 34px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}
#gen-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.14);
}
#gen-input::placeholder { color: var(--text-2); }
.char-count {
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.05em;
}

.gen-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 4px;
}
.chip {
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--stroke);
  background: transparent;
  color: var(--text-1);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--stroke-strong); color: var(--text-0); transform: translateY(-1px); }
.chip.active {
  background: var(--grad-main);
  color: #04222b;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(45, 212, 191, 0.35);
}
.gen-search {
  margin-left: auto;
  background: rgba(4, 18, 26, 0.65);
  border: 1px solid var(--stroke);
  border-radius: 99px;
  color: var(--text-0);
  font-family: inherit;
  font-size: 13.5px;
  padding: 9px 18px;
  outline: none;
  min-width: 180px;
  transition: border-color 0.25s;
}
.gen-search:focus { border-color: var(--teal); }

/* ---------- Style cards grid ---------- */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 14px;
  margin-top: 20px;
}
.style-card {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  transition: all 0.25s;
  opacity: 0;
  transform: translateY(18px);
  animation: cardIn 0.5s both;
  position: relative;
  overflow: hidden;
}
@keyframes cardIn {
  to { opacity: 1; transform: translateY(0); }
}
.style-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.style-card:hover {
  border-color: var(--stroke-strong);
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4), 0 0 30px rgba(45, 212, 191, 0.1);
}
.style-card:hover::before { opacity: 1; }
.style-card.selected { border-color: var(--teal); box-shadow: 0 0 0 1.5px var(--teal), var(--shadow-card); }
.sc-body { min-width: 0; flex: 1; }
.sc-name {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 5px;
}
.sc-preview {
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-0);
  word-break: break-word;
  overflow-wrap: anywhere;
  max-height: 92px;
  overflow: hidden;
}
.sc-copy {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: var(--glass);
  color: var(--text-1);
  font-size: 17px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.22s;
  position: relative;
  z-index: 1;
}
.sc-copy:hover {
  background: var(--grad-main);
  color: #04222b;
  border-color: transparent;
  transform: scale(1.08);
}
.sc-copy.copied {
  background: var(--green);
  color: #04222b;
  border-color: transparent;
}
.load-more-wrap { text-align: center; margin-top: 22px; }
.load-more { font-size: 14px; }
.load-more:hover {
  background: var(--grad-main);
  color: #04222b;
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(45, 212, 191, 0.35);
}
.grid-count {
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: var(--text-2);
  margin-top: 14px;
  font-weight: 600;
}
.styles-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-2);
  padding: 40px 0;
  font-size: 15px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: var(--grad-main);
  color: #04222b;
  font-weight: 800;
  font-size: 14.5px;
  padding: 13px 30px;
  border-radius: 99px;
  box-shadow: 0 12px 40px rgba(45, 212, 191, 0.45);
  z-index: 100;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---------- Sections ---------- */
section { padding: 76px 0; position: relative; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.section-head h2 .accent {
  font-family: var(--font-accent);
  font-style: italic;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head p { color: var(--text-1); font-size: 16.5px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

/* ---------- Social preview ---------- */
.social-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.social-mock {
  max-width: 540px;
  margin: 0 auto;
  background: var(--panel-solid);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-card);
}
.sm-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.sm-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--grad-main);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #04222b;
  font-size: 19px;
}
.sm-name { font-weight: 700; font-size: 15px; }
.sm-handle { font-size: 13px; color: var(--text-2); }
.sm-text { font-size: 17px; line-height: 1.6; word-break: break-word; min-height: 30px; }
.sm-actions { display: flex; gap: 26px; margin-top: 16px; color: var(--text-2); font-size: 14px; }
.sm-actions span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Feature grid ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 18px;
}
.feat-card {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.feat-card::after {
  content: '';
  position: absolute;
  top: -40%; right: -40%;
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.12), transparent 65%);
  transition: opacity 0.4s;
  opacity: 0;
}
.feat-card:hover { transform: translateY(-5px); border-color: var(--stroke-strong); box-shadow: var(--shadow-card); }
.feat-card:hover::after { opacity: 1; }
.feat-ico {
  width: 52px; height: 52px;
  border-radius: 15px;
  background: var(--grad-soft);
  border: 1px solid var(--stroke);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.feat-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 9px; }
.feat-card p { font-size: 14.5px; color: var(--text-1); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: step; }
.step-card {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative;
  transition: all 0.3s;
}
.step-card:hover { transform: translateY(-5px); border-color: var(--stroke-strong); }
.step-num {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 46px;
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 17.5px; margin-bottom: 9px; }
.step-card p { font-size: 14.5px; color: var(--text-1); }

/* ---------- Stats ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  background: var(--grad-soft);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
}
.stat { text-align: center; }
.stat-num {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.stat-label { font-size: 13.5px; color: var(--text-1); font-weight: 600; margin-top: 4px; }

/* ---------- Content / article ---------- */
.article {
  max-width: 850px;
  margin: 0 auto;
  color: var(--text-1);
  font-size: 16px;
}
.article h2 {
  color: var(--text-0);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 38px 0 14px;
}
.article h2:first-child { margin-top: 0; }
.article h3 { color: var(--text-0); font-size: 19px; font-weight: 700; margin: 28px 0 10px; }
.article p { margin-bottom: 15px; }
.article ul, .article ol { margin: 0 0 15px 22px; }
.article li { margin-bottom: 7px; }
.article strong { color: var(--text-0); }
.article .demo-line {
  display: block;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-size: 19px;
  color: var(--text-0);
  margin: 10px 0 16px;
}

/* ---------- Link cards (related tools) ---------- */
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}
.link-card {
  display: block;
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: all 0.25s;
  color: var(--text-0);
}
.link-card:hover {
  transform: translateY(-4px);
  border-color: var(--stroke-strong);
  box-shadow: var(--shadow-card);
  color: var(--text-0);
}
.link-card .lc-demo {
  font-size: 21px;
  margin-bottom: 8px;
  display: block;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.link-card .lc-name { font-weight: 700; font-size: 15px; }
.link-card .lc-desc { font-size: 13px; color: var(--text-2); margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--glass);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.faq-item.open { border-color: var(--stroke-strong); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 19px 24px;
  background: none;
  border: none;
  color: var(--text-0);
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.faq-q .fx {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--glass-strong);
  color: var(--teal);
  font-size: 17px;
  transition: transform 0.3s;
}
.faq-item.open .fx { transform: rotate(45deg); background: var(--grad-main); color: #04222b; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-a-inner { padding: 0 24px 20px; color: var(--text-1); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(45, 212, 191, 0.15), transparent 70%),
    var(--panel-solid);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 64px 30px;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; margin-bottom: 14px; letter-spacing: -0.02em; }
.cta-band p { color: var(--text-1); max-width: 560px; margin: 0 auto 28px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--stroke);
  background: #04141c;
  padding: 60px 0 30px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 44px;
}
.footer-brand p { color: var(--text-1); font-size: 14px; margin-top: 14px; max-width: 320px; }
.footer-col h4 {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-1); font-size: 14px; }
.footer-col a:hover { color: var(--mint); }
.footer-bottom {
  border-top: 1px solid rgba(148, 226, 213, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--text-2);
  font-size: 13px;
}
.powered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid var(--stroke);
  background: var(--glass);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--mint);
}
.powered a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(15, 39, 51, 0.95);
  color: var(--teal);
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: all 0.3s;
  z-index: 80;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--grad-main); color: #04222b; }

/* ---------- Breadcrumbs ---------- */
.crumbs {
  padding: 20px 0 0;
  font-size: 13.5px;
  color: var(--text-2);
}
.crumbs a { color: var(--text-1); }
.crumbs span.sep { margin: 0 8px; opacity: 0.5; }

/* ---------- Marquee ticker ---------- */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  background: rgba(4, 18, 26, 0.5);
  padding: 13px 0;
  margin-top: 30px;
}
.ticker {
  display: flex;
  gap: 44px;
  white-space: nowrap;
  animation: ticker 36s linear infinite;
  width: max-content;
}
.ticker span { font-size: 17px; color: var(--text-1); }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Static pages ---------- */
.page-hero { padding: 70px 0 20px; text-align: center; }
.page-hero h1 {
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.page-hero h1 .accent {
  font-family: var(--font-accent);
  font-style: italic;
  background: var(--grad-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero .sub { color: var(--text-1); max-width: 700px; margin: 0 auto; font-size: 17px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dropdown-menu { width: 320px; grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100dvh;
    width: min(320px, 84vw);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    background: var(--panel-solid);
    border-left: 1px solid var(--stroke);
    padding: 90px 22px 30px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 55;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); box-shadow: -20px 0 60px rgba(0,0,0,0.5); }
  .nav-toggle { display: block; z-index: 60; position: relative; }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 12px;
  }
  .nav-cta { display: none; }
  .topbar .tb-left span:nth-child(2) { display: none; }
  .gen-search { margin-left: 0; width: 100%; }
  section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .styles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
