/* ============================================================
   1 Minute Social Post — Design System
   Dark theme: #0A0A0F · Primary: #FF6B35 · Accent: #00C9A7
   Font: Inter (headlines/body) + Roboto Mono (numeri/crediti)
   ============================================================ */

:root {
  --bg: #0A0A0F;
  --surface: #141419;
  --surface-light: #1E1E24;
  --primary: #FF6B35;
  --primary-soft: rgba(255, 107, 53, 0.14);
  --accent: #00C9A7;
  --accent-soft: rgba(0, 201, 167, 0.14);
  --warning: #F59E0B;
  --warning-soft: rgba(245, 158, 11, 0.14);
  --danger: #EF4444;
  --text: #FFFFFF;
  --text-2: #A0A0B0;
  --border: rgba(255, 255, 255, 0.0625); /* #ffffff10 */
  --border-strong: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Roboto Mono", ui-monospace, monospace;
  --shadow-glow: 0 8px 40px rgba(255, 107, 53, 0.25);
  --header-h: 72px;
}

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

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--primary); color: #fff; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.mono { font-family: var(--mono); }

.section { padding: 96px 0; position: relative; }

.section-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid rgba(255, 107, 53, 0.3);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.section-kicker.kicker-green { color: var(--accent); background: var(--accent-soft); border-color: rgba(0, 201, 167, 0.3); }

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub { color: var(--text-2); font-size: 1.1rem; max-width: 640px; margin-bottom: 48px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

.grad-text {
  background: linear-gradient(100deg, var(--primary) 0%, #FFB347 60%, var(--accent) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(120deg, var(--primary), #FF8C42);
  color: #fff;
  box-shadow: 0 4px 24px rgba(255, 107, 53, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(255, 107, 53, 0.5); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-light); transform: translateY(-2px); }
.btn-green {
  background: linear-gradient(120deg, var(--accent), #00E0BA);
  color: #04241d;
  box-shadow: 0 4px 24px rgba(0, 201, 167, 0.3);
}
.btn-green:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0, 201, 167, 0.45); }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; border-radius: 14px; }
.btn-sm { padding: 9px 18px; font-size: 0.875rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(10, 10, 15, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand img { width: 38px; height: 38px; }
.brand span b { color: var(--primary); }

.main-nav { display: flex; gap: 28px; }
.main-nav a {
  color: var(--text-2);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
.main-nav a:hover { color: var(--text); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.25s ease;
}
.main-nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .login-link { color: var(--text-2); font-size: 0.92rem; font-weight: 600; transition: color 0.2s; }
.header-cta .login-link:hover { color: var(--text); }

.hamburger {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 44px; height: 44px;
  color: var(--text);
  font-size: 1.2rem;
  align-items: center;
  justify-content: center;
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(10, 10, 15, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 14px 12px;
  border-radius: 10px;
  color: var(--text-2);
  font-weight: 600;
}
.mobile-nav a:hover { background: var(--surface-light); color: var(--text); }
.mobile-nav .btn { margin-top: 12px; }

/* ---------- Bottom sticky CTA (mobile) ---------- */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 98;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  display: none;
}
.sticky-cta .btn { width: 100%; }

/* ---------- Bottom sticky CTA: solo mobile ---------- */
@media (max-width: 860px) {
  .sticky-cta.visible { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  padding: calc(var(--header-h) + 72px) 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -300px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.16) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-sub { color: var(--text-2); font-size: 1.15rem; line-height: 1.7; margin-bottom: 36px; max-width: 560px; }
.hero-sub strong { color: var(--text); }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }

.trust-badge {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  color: var(--text-2);
  font-size: 0.85rem;
  font-family: var(--mono);
}
.trust-badge span { display: inline-flex; align-items: center; gap: 6px; }
.trust-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }

/* Timer chip */
.timer-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 201, 167, 0.35);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.timer-chip .timer-value { font-size: 1.05rem; min-width: 3ch; text-align: center; }

/* ---------- Hero demo: dashboard + IG preview (CSS mockup) ---------- */
.hero-demo { position: relative; }

.demo-dash {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.demo-dash-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-light);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-2);
  flex-wrap: wrap;
}
.demo-dash-bar .traffic { display: flex; gap: 6px; }
.demo-dash-bar .traffic i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.demo-dash-bar .traffic i:nth-child(1) { background: var(--danger); }
.demo-dash-bar .traffic i:nth-child(2) { background: var(--warning); }
.demo-dash-bar .traffic i:nth-child(3) { background: var(--accent); }

.credit-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 10px;
}
.credit-pill .ok { color: var(--accent); }
.credit-pill .warn { color: var(--warning); }

.demo-dash-body { padding: 18px; }

.credit-bar-wrap { margin-bottom: 16px; }
.credit-bar-label {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-2);
  margin-bottom: 6px;
}
.credit-bar {
  height: 8px;
  background: var(--bg);
  border-radius: 100px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.credit-bar-fill {
  height: 100%;
  width: 52%;
  background: linear-gradient(90deg, var(--accent), #00E0BA);
  border-radius: 100px;
}
.credit-bar-note { font-family: var(--mono); font-size: 0.68rem; color: var(--text-2); margin-top: 6px; }
.credit-bar-note b { color: var(--accent); font-weight: 500; }

/* Instagram-style post preview */
.ig-preview {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.ig-head {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.ig-avatar {
  width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex-shrink: 0;
}
.ig-head .ig-name { font-size: 0.8rem; font-weight: 700; }
.ig-head .ig-loc { font-size: 0.68rem; color: var(--text-2); }

.ig-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 179, 71, 0.85) 0%, transparent 45%),
    radial-gradient(circle at 80% 75%, rgba(0, 201, 167, 0.55) 0%, transparent 50%),
    radial-gradient(circle at 65% 25%, rgba(255, 107, 53, 0.75) 0%, transparent 55%),
    linear-gradient(160deg, #1b1025 0%, #0d1b24 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}
.ig-image-text {
  font-weight: 800;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  line-height: 1.25;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.01em;
}
.ig-image-text small { display: block; font-size: 0.6em; font-weight: 500; color: rgba(255, 255, 255, 0.85); margin-top: 8px; letter-spacing: 0.12em; text-transform: uppercase; }

.ai-badge {
  position: absolute;
  top: 10px; right: 10px;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 700;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 107, 53, 0.5);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 100px;
}

.ig-caption {
  padding: 12px 14px;
  font-size: 0.78rem;
  color: var(--text-2);
  border-top: 1px solid var(--border);
  position: relative;
}
.ig-caption b { color: var(--text); }
.ig-caption .edit-hint {
  position: absolute;
  top: -11px; right: 12px;
  background: var(--surface-light);
  border: 1px solid var(--border-strong);
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--text-2);
  padding: 2px 8px;
  border-radius: 100px;
}

.demo-float {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: floaty 5s ease-in-out infinite;
}
.demo-float.float-wallet {
  top: -16px; right: -8px;
  background: var(--accent);
  color: #04241d;
}
.demo-float.float-time {
  bottom: -14px; left: -10px;
  background: var(--surface-light);
  border: 1px solid var(--border-strong);
  color: var(--text);
  animation-delay: 2.2s;
}
.demo-float.float-time b { color: var(--primary); font-family: var(--mono); }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ---------- Generic card ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 107, 53, 0.45);
  box-shadow: var(--shadow-glow);
}

/* ---------- Suite (4 Studio) ---------- */
.suite-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.studio-card .studio-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  background: var(--surface-light);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}
.studio-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.studio-card p { color: var(--text-2); font-size: 0.9rem; margin-bottom: 18px; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid;
  letter-spacing: 0.02em;
}
.badge-green { color: var(--accent); background: var(--accent-soft); border-color: rgba(0, 201, 167, 0.35); }
.badge-orange { color: var(--primary); background: var(--primary-soft); border-color: rgba(255, 107, 53, 0.35); }
.badge-amber { color: var(--warning); background: var(--warning-soft); border-color: rgba(245, 158, 11, 0.35); }
.badge-grey { color: var(--text-2); background: var(--surface-light); border-color: var(--border-strong); }
.badge-pulse { animation: pulse-badge 2.4s ease-in-out infinite; }
@keyframes pulse-badge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 201, 167, 0.35); }
  50% { box-shadow: 0 0 0 7px rgba(0, 201, 167, 0); }
}

/* ---------- Template Library ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 100px;
  transition: all 0.2s ease;
}
.filter-btn:hover { color: var(--text); border-color: var(--border-strong); }
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.35);
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tpl-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.tpl-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 201, 167, 0.5);
  box-shadow: 0 12px 40px rgba(0, 201, 167, 0.15);
}
.tpl-mock {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  transition: transform 0.4s ease;
}
.tpl-card:hover .tpl-mock { transform: scale(1.04); }
.tpl-mock .tpl-mock-title { font-weight: 800; font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.01em; }
.tpl-mock .tpl-mock-sub { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; margin-bottom: 8px; display: block; }
.tpl-mock .tpl-mock-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
}
.tpl-mock.t1 { background: linear-gradient(150deg, #3b1d5d 0%, #FF6B35 140%); color: #fff; }
.tpl-mock.t2 { background: linear-gradient(150deg, #052e26 0%, #00C9A7 150%); color: #fff; }
.tpl-mock.t3 { background: linear-gradient(150deg, #101828 0%, #3a5bff 160%); color: #fff; }
.tpl-mock.t4 { background: linear-gradient(150deg, #3d0a1e 0%, #ff4d8d 160%); color: #fff; }
.tpl-mock.t5 { background: linear-gradient(150deg, #241a05 0%, #F59E0B 160%); color: #fff; }
.tpl-mock.t6 { background: linear-gradient(150deg, #071e2b 0%, #22d3ee 170%); color: #fff; }

.tpl-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
}
.tpl-info .tpl-name { font-size: 0.85rem; font-weight: 700; }
.tpl-info .tpl-cat { font-size: 0.72rem; color: var(--text-2); font-family: var(--mono); }
.tpl-card.hidden { display: none; }

/* ---------- Academy ---------- */
.academy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.academy-card .academy-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}
.academy-card h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.35; margin-bottom: 16px; letter-spacing: -0.01em; }
.academy-meta {
  display: flex; gap: 10px; align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--text-2);
}
.academy-meta .free { color: var(--accent); font-weight: 700; }

/* ---------- Case studies ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card .case-quote { font-size: 1.1rem; font-weight: 700; line-height: 1.35; margin-bottom: 18px; letter-spacing: -0.01em; }
.case-card .case-quote::before { content: "\201C"; color: var(--primary); font-size: 1.6rem; line-height: 0; vertical-align: -0.2em; margin-right: 2px; }
.case-meta { border-top: 1px solid var(--border); padding-top: 16px; }
.case-meta .case-who { font-weight: 700; font-size: 0.9rem; }
.case-meta .case-stats { font-family: var(--mono); font-size: 0.72rem; color: var(--accent); margin-top: 4px; }

/* ---------- Crediti (2 colonne) ---------- */
.credits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.credit-col {
  border-radius: var(--radius);
  padding: 36px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.credit-col.col-included { border-top: 3px solid var(--warning); }
.credit-col.col-wallet { border-top: 3px solid var(--accent); }
.credit-col h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.01em; }
.credit-col .col-tag { font-family: var(--mono); font-size: 0.72rem; margin-bottom: 20px; display: block; }
.credit-col.col-included .col-tag { color: var(--warning); }
.credit-col.col-wallet .col-tag { color: var(--accent); }
.credit-col p { color: var(--text-2); font-size: 0.95rem; margin-bottom: 18px; }
.credit-col ul li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--text-2);
  border-bottom: 1px dashed var(--border);
}
.credit-col ul li:last-child { border-bottom: none; }
.credit-col ul li .li-ico { flex-shrink: 0; }
.credit-col ul li b { color: var(--text); }
.credit-col .mono-num { font-family: var(--mono); color: var(--text); }
.credit-col .example-box {
  margin-top: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 0.85rem;
  color: var(--text-2);
}
.credit-col .example-box b { color: var(--accent); }
.credit-col .note-strong { color: var(--text); font-weight: 600; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(255, 107, 53, 0.4); box-shadow: var(--shadow-glow); }
.price-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.08) 0%, var(--surface) 45%);
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.18);
}
.price-card .best-badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(120deg, var(--primary), #FF8C42);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  box-shadow: 0 6px 24px rgba(255, 107, 53, 0.5);
  white-space: nowrap;
}
.price-card .plan-name { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 4px; }
.price-card .plan-name .plan-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; }
.price-card .plan-target { color: var(--text-2); font-size: 0.85rem; margin-bottom: 20px; }
.price-card .plan-price { margin-bottom: 24px; }
.price-card .plan-price .amount { font-family: var(--mono); font-size: 2.9rem; font-weight: 700; letter-spacing: -0.03em; }
.price-card .plan-price .per { color: var(--text-2); font-size: 0.9rem; }
.price-card .plan-credits {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(0, 201, 167, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 24px;
}
.price-card ul.plan-features { flex: 1; margin-bottom: 28px; }
.price-card ul.plan-features li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 0.88rem;
  color: var(--text-2);
}
.price-card ul.plan-features li b { color: var(--text); font-weight: 600; }
.price-card ul.plan-features li .fi { flex-shrink: 0; width: 18px; text-align: center; }
.price-card ul.plan-features li.no { opacity: 0.45; }
.price-card .plan-note { font-family: var(--mono); font-size: 0.68rem; color: var(--text-2); margin-top: 14px; text-align: center; }

.pricing-notes {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 36px;
  font-size: 0.85rem;
  color: var(--text-2);
}
.pricing-notes b { color: var(--text); }
.pricing-notes .mono { font-size: 0.8rem; }

/* Wallet packs */
.wallet-section-head { margin-top: 80px; }
.wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.wallet-pack {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.wallet-pack:hover { transform: translateY(-6px); border-color: rgba(0, 201, 167, 0.5); box-shadow: 0 12px 40px rgba(0, 201, 167, 0.15); }
.wallet-pack .pack-name { font-family: var(--mono); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.wallet-pack .pack-credits { font-family: var(--mono); font-size: 2.2rem; font-weight: 700; }
.wallet-pack .pack-equiv { color: var(--text-2); font-size: 0.8rem; margin-bottom: 14px; }
.wallet-pack .pack-price { font-family: var(--mono); font-size: 1.3rem; font-weight: 700; color: var(--text); }
.wallet-pack .pack-unit { font-family: var(--mono); font-size: 0.72rem; color: var(--text-2); }

.wallet-explainer {
  background: linear-gradient(135deg, rgba(0, 201, 167, 0.08) 0%, var(--surface) 55%);
  border: 1px solid rgba(0, 201, 167, 0.3);
  border-radius: var(--radius);
  padding: 32px 36px;
}
.wallet-explainer h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 18px; }
.wallet-explainer ul li {
  display: flex; gap: 10px;
  padding: 6px 0;
  color: var(--text-2);
  font-size: 0.93rem;
}
.wallet-explainer ul li b { color: var(--text); }
.wallet-explainer .example-box {
  margin-top: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 0.88rem;
  color: var(--text-2);
}
.wallet-explainer .example-box b { color: var(--accent); }

.agency-tip {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--warning-soft);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.92rem;
  color: var(--text);
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item.open { border-color: rgba(255, 107, 53, 0.45); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--primary);
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary-soft); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a-inner {
  padding: 0 24px 22px;
  color: var(--text-2);
  font-size: 0.94rem;
}
.faq-a-inner b { color: var(--text); }
.faq-a-inner .ok { color: var(--accent); font-weight: 600; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 120%, rgba(255, 107, 53, 0.22) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta .container { position: relative; }
.final-cta h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; max-width: 800px; margin: 0 auto 20px; }
.final-cta .section-sub { margin: 0 auto 36px; }
.final-cta .secondary-note { margin-top: 20px; font-size: 0.85rem; color: var(--text-2); font-family: var(--mono); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: #08080C;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand img { width: 44px; height: 44px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-2); font-size: 0.85rem; max-width: 240px; }
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-2); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--primary); }

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.footer-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-2);
  font-family: var(--mono);
}
.footer-trust .t-ico { color: var(--accent); }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-2);
}
.footer-legal a { color: var(--text-2); }
.footer-legal a:hover { color: var(--primary); }
.footer-legal .company { font-family: var(--mono); font-size: 0.72rem; line-height: 1.7; }

/* ---------- Legal pages ---------- */
.legal-hero { padding: calc(var(--header-h) + 64px) 0 40px; }
.legal-body { padding: 0 0 96px; }
.legal-content { max-width: 800px; }
.legal-content h2 { font-size: 1.4rem; font-weight: 800; margin: 40px 0 14px; letter-spacing: -0.01em; }
.legal-content h3 { font-size: 1.1rem; font-weight: 700; margin: 28px 0 10px; }
.legal-content p { color: var(--text-2); margin-bottom: 14px; }
.legal-content ul { color: var(--text-2); margin: 0 0 14px 20px; list-style: disc; }
.legal-content li { margin-bottom: 6px; }
.legal-content .placeholder-note {
  background: var(--warning-soft);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-left: 3px solid var(--warning);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--text-2);
  margin: 14px 0;
}
.legal-content .draft-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--text-2);
  margin-bottom: 32px;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .demo-float, .badge-pulse { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .suite-grid { grid-template-columns: repeat(2, 1fr); }
  .template-grid, .academy-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .price-card.featured { order: -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: calc(var(--header-h) + 48px); }
  .hero-demo { max-width: 480px; margin: 0 auto; width: 100%; }
}

@media (max-width: 860px) {
  .main-nav, .header-cta .login-link, .header-cta .btn { display: none; }
  .hamburger { display: flex; }
  .section { padding: 72px 0; }
  .credits-grid { grid-template-columns: 1fr; }
  .wallet-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; margin-bottom: 28px; }
  body { padding-bottom: 76px; }
}

@media (max-width: 560px) {
  .suite-grid, .template-grid, .academy-grid, .case-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .card { padding: 24px; }
  .price-card { padding: 32px 22px; }
  .credit-col { padding: 26px 22px; }
  .hero-ctas .btn { width: 100%; white-space: normal; text-align: center; }
  .final-cta .btn { white-space: normal; }
  .demo-float.float-wallet { right: 4px; }
  .demo-float.float-time { left: 4px; }
}
