/* ============================================================
   PGT-Forge · Landing
   ============================================================ */
:root {
  --bg: #0b0b1e;
  --bg-2: #0f0f23;
  --surface: #151530;
  --surface-2: #1b1b3a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #0ea5e9;
  --primary-2: #38bdf8;
  --accent: #00d4aa;
  --violet: #8b5cf6;
  --amber: #f59e0b;
  --danger: #f87171;
  --radius: 18px;
  --font: 'Inter', system-ui, sans-serif;
  --font-d: 'Outfit', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  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, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-d); letter-spacing: -0.02em; line-height: 1.08; }
:focus-visible { outline: 2px solid var(--primary-2); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(820px, 100% - 48px); }

/* ── Ambient background ─────────────────────────────── */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.55; animation: drift 22s ease-in-out infinite alternate; }
.orb-1 { width: 560px; height: 560px; background: #0ea5e9; top: -180px; left: -120px; opacity: 0.28; }
.orb-2 { width: 520px; height: 520px; background: #8b5cf6; top: 22%; right: -200px; opacity: 0.2; animation-delay: -7s; }
.orb-3 { width: 480px; height: 480px; background: #00d4aa; bottom: -200px; left: 25%; opacity: 0.16; animation-delay: -13s; }
@keyframes drift { to { transform: translate3d(60px, 40px, 0) scale(1.08); } }

/* ── Buttons ────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 55%, #0369a1 100%);
  box-shadow: 0 8px 28px -8px rgba(14, 165, 233, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(14, 165, 233, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn-primary:active { transform: translateY(0); }
.btn-primary svg { transition: transform 0.25s var(--ease); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: rgba(255, 255, 255, 0.28); transform: translateY(-2px); }

/* ── Nav ────────────────────────────────────────────── */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11, 11, 30, 0.72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 6px 20px -6px rgba(14, 165, 233, 0.8); flex-shrink: 0; }
.brand-mark.lg { width: 48px; height: 48px; border-radius: 14px; margin-bottom: 14px; }
.brand-text { display: flex; flex-direction: column; justify-content: center; line-height: 1.1; }
.brand-name { font-family: var(--font-d); font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: #fff; line-height: 1.1; }
.brand-sub { font-family: var(--font-sans); font-size: 9.5px; font-weight: 600; letter-spacing: 0.05em; color: var(--accent); text-transform: uppercase; white-space: nowrap; margin-top: 1px; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.link-login { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color 0.2s; }
.link-login:hover { color: var(--text); }
.burger { display: none; width: 42px; height: 42px; border-radius: 10px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease); }
.burger[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 24px; background: rgba(11, 11, 30, 0.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.mobile-menu a { padding: 12px 8px; color: var(--muted); font-weight: 500; border-radius: 10px; }
.mobile-menu a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.mobile-menu.open { display: flex; }

/* ── Hero ───────────────────────────────────────────── */
.hero { padding: 150px 0 90px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(14, 165, 233, 0.1); border: 1px solid rgba(14, 165, 233, 0.28); color: #7dd3fc; font-size: 13px; font-weight: 500; margin-bottom: 26px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(0, 212, 170, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(0, 212, 170, 0); } 100% { box-shadow: 0 0 0 0 rgba(0, 212, 170, 0); } }
.hero h1 { font-size: clamp(46px, 6.4vw, 84px); font-weight: 800; margin-bottom: 24px; }
.grad { background: linear-gradient(120deg, #38bdf8 0%, #00d4aa 60%, #a7f3d0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 52ch; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-cta.center { justify-content: center; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; color: var(--muted); font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--accent); }

/* Mockup */
.mock { position: relative; }
.mock-window { border-radius: 20px; background: linear-gradient(180deg, #17173a, #11112b); border: 1px solid var(--line-strong); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.02) inset, 0 0 80px -20px rgba(14, 165, 233, 0.35); overflow: hidden; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform 0.6s var(--ease); }
.mock:hover .mock-window { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3b3b5c; }
.mock-bar i:nth-child(1) { background: #ff5f57; } .mock-bar i:nth-child(2) { background: #febc2e; } .mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span { margin-left: 10px; font-size: 12px; color: var(--muted); }
.live-badge { margin-left: auto; font-size: 10px; font-weight: 700; color: #22c55e; background: rgba(34, 197, 94, 0.14); border: 1px solid rgba(34, 197, 94, 0.3); padding: 2px 8px; border-radius: 99px; letter-spacing: 0.06em; }
.mock-media { width: 100%; overflow: hidden; background: #0f172a; display: flex; align-items: center; justify-content: center; }
.mock-preview-img { width: 100%; height: auto; max-height: 440px; display: block; object-fit: cover; object-position: top left; }
.mock-body { display: grid; grid-template-columns: 112px 1fr; min-height: 340px; }
.mock-side { padding: 16px 12px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.mock-logo { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--violet), var(--primary)); display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; margin-bottom: 10px; }
.mock-side span { padding: 8px 10px; border-radius: 8px; }
.mock-side span.on { background: rgba(14, 165, 233, 0.16); color: #7dd3fc; }
.mock-main { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi { padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.kpi small { display: block; font-size: 10.5px; color: var(--muted); margin-bottom: 4px; }
.kpi b { display: block; font-family: var(--font-d); font-size: 22px; letter-spacing: -0.02em; line-height: 1.1; }
.kpi em { font-style: normal; font-size: 10.5px; color: var(--muted); }
.up { color: var(--accent) !important; }
.chart-card { padding: 12px 14px 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.chart-head { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--muted); margin-bottom: 6px; }
.chart { width: 100%; height: 86px; }
.chart .line { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.2s 0.5s var(--ease) forwards; }
.chart .area { opacity: 0; animation: fade 1.2s 1.4s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
.activity { display: flex; flex-direction: column; gap: 8px; }
.activity > div { display: flex; align-items: center; gap: 10px; font-size: 11.5px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.03); }
.activity i { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.activity i.ok { background: var(--accent); } .activity i.warn { background: var(--amber); }
.activity span { flex: 1; color: #cbd5e1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.activity b { color: var(--text); font-weight: 600; }
.activity em { font-style: normal; color: var(--muted); font-size: 10.5px; }

.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(21, 21, 48, 0.85); backdrop-filter: blur(14px); border: 1px solid var(--line-strong); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.7); animation: bob 6s ease-in-out infinite; z-index: 20; }
.float-card b { display: block; font-size: 13px; font-weight: 600; }
.float-card small { color: var(--muted); font-size: 11.5px; }
.fc-qr { left: -34px; bottom: 54px; }
.fc-wa { right: -22px; top: 44px; animation-delay: -3s; }
.fc-ai { right: -16px; bottom: 40px; animation-delay: -1.5s; border-color: rgba(245, 158, 11, 0.45); background: rgba(15, 23, 42, 0.95); }
@keyframes bob { 50% { transform: translateY(-10px); } }
.qr { width: 38px; height: 38px; border-radius: 9px; background: #fff; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 5px; }
.qr span { background: #0b0b1e; border-radius: 1.5px; }
.qr span:nth-child(2), .qr span:nth-child(4), .qr span:nth-child(8) { background: transparent; }
.wa-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #25d366, #128c7e); }
.ai-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #f59e0b, #d97706); font-size: 18px; box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4); }
.tag.info { color: #38bdf8; background: rgba(14, 165, 233, 0.12); border-color: rgba(14, 165, 233, 0.35); }

/* ── Marquee ────────────────────────────────────────── */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.marquee-track { display: flex; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 16px 28px; font-size: 12px; letter-spacing: 0.16em; font-weight: 600; color: var(--muted); border-right: 1px solid var(--line); white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ── Sections ───────────────────────────────────────── */
.section { padding: 110px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01)); border-block: 1px solid var(--line); }
.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow-s { display: inline-block; font-size: 12px; letter-spacing: 0.16em; font-weight: 600; text-transform: uppercase; color: var(--primary-2); margin-bottom: 16px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 18px; max-width: 60ch; }
.section-head.center p { margin-inline: auto; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card { grid-column: span 2; padding: 30px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s; }
.card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(14, 165, 233, 0.12), transparent 60%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.card:hover::before { opacity: 1; }
.card.c-lg { grid-column: span 3; }
.card.c-wide { grid-column: span 3; }
.card h3 { font-size: 22px; font-weight: 700; margin: 20px 0 10px; }
.card p { color: var(--muted); font-size: 15.5px; }
.ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; border: 1px solid transparent; }
.ic-blue { color: #7dd3fc; background: rgba(14, 165, 233, 0.14); border-color: rgba(14, 165, 233, 0.3); }
.ic-green { color: #5eead4; background: rgba(0, 212, 170, 0.12); border-color: rgba(0, 212, 170, 0.3); }
.ic-violet { color: #c4b5fd; background: rgba(139, 92, 246, 0.14); border-color: rgba(139, 92, 246, 0.32); }
.ic-amber { color: #fcd34d; background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.3); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid; }
.tag.ok { color: #6ee7b7; background: rgba(16, 185, 129, 0.12); border-color: rgba(16, 185, 129, 0.35); }
.tag.bad { color: #fca5a5; background: rgba(239, 68, 68, 0.12); border-color: rgba(239, 68, 68, 0.35); }
.tag.warn { color: #fcd34d; background: rgba(245, 158, 11, 0.12); border-color: rgba(245, 158, 11, 0.35); }
.meter { margin-top: 22px; }
.meter i { display: block; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); position: relative; overflow: hidden; }
.meter i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--accent)); transition: width 1.4s 0.3s var(--ease); }
.card.in .meter i::after { width: var(--w); }
.meter span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; position: relative; }
.step { padding: 28px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); transition: transform 0.4s var(--ease), border-color 0.3s; }
.step:hover { transform: translateY(-5px); border-color: rgba(14, 165, 233, 0.4); }
.step .n { display: inline-block; font-family: var(--font-d); font-weight: 800; font-size: 40px; line-height: 1; background: linear-gradient(135deg, var(--primary-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 18px; }
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* Diff */
.diff { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.diff-card { padding: 34px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(14, 165, 233, 0.08), rgba(255, 255, 255, 0.02) 55%); transition: transform 0.4s var(--ease), border-color 0.3s; }
.diff-card:hover { transform: translateY(-5px); border-color: rgba(14, 165, 233, 0.4); }
.diff-n { font-family: var(--font-d); font-size: 13px; letter-spacing: 0.14em; color: var(--primary-2); font-weight: 600; }
.diff-card h3 { font-size: 24px; margin: 14px 0 12px; }
.diff-card p { color: var(--muted); }

/* Pricing */
.toggle { display: inline-flex; margin-top: 28px; padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.toggle button { border: 0; background: transparent; color: var(--muted); padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: 14.5px; transition: all 0.25s var(--ease); display: inline-flex; align-items: center; gap: 8px; }
.toggle button.on { background: linear-gradient(135deg, var(--primary), #0284c7); color: #fff; box-shadow: 0 6px 18px -6px rgba(14, 165, 233, 0.8); }
.toggle em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 99px; background: rgba(0, 212, 170, 0.18); color: #5eead4; }
.toggle button.on em { background: rgba(255, 255, 255, 0.2); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; padding: 30px 26px; border-radius: 22px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)); border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform 0.4s var(--ease), border-color 0.3s; }
.plan:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.plan.featured { background: linear-gradient(180deg, rgba(14, 165, 233, 0.16), rgba(14, 165, 233, 0.04)); border-color: rgba(14, 165, 233, 0.55); box-shadow: 0 30px 70px -30px rgba(14, 165, 233, 0.6); }
.badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: 99px; font-size: 12px; font-weight: 700; color: #04121c; background: linear-gradient(90deg, #38bdf8, #00d4aa); }
.plan h3 { font-size: 24px; }
.plan-for { color: var(--muted); font-size: 14px; margin: 6px 0 22px; min-height: 42px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; flex-wrap: wrap; }
.price .cur { font-size: 22px; font-weight: 600; color: var(--muted); }
.price b { font-family: var(--font-d); font-size: 48px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price .per { font-size: 13px; color: var(--muted); }
.price.custom b { font-size: 34px; }
.plan ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; flex: 1; }
.plan li { position: relative; padding-left: 26px; font-size: 14.5px; color: #cbd5e1; }
.plan li::before { content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: rgba(0, 212, 170, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300d4aa' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.plan li b { color: var(--text); }
.fine { text-align: center; color: var(--muted); font-size: 13px; margin-top: 30px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); transition: border-color 0.3s, background 0.3s; }
.faq details[open] { border-color: rgba(14, 165, 233, 0.4); background: rgba(14, 165, 233, 0.05); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--primary-2); background: rgba(14, 165, 233, 0.12); transition: transform 0.35s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 24px 22px; color: var(--muted); max-width: 64ch; }

/* CTA */
.cta-final { padding-top: 40px; }
.cta-box { text-align: center; padding: 76px 28px; border-radius: 28px; border: 1px solid rgba(14, 165, 233, 0.35); background: radial-gradient(700px 300px at 50% 0%, rgba(14, 165, 233, 0.25), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)); position: relative; overflow: hidden; }
.cta-box h2 { font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; margin-bottom: 14px; }
.cta-box p { color: var(--muted); font-size: 18px; margin-bottom: 32px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; background: rgba(0, 0, 0, 0.2); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-note { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 38ch; }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: flex-start; }
.foot-links a { color: var(--muted); font-size: 14.5px; transition: color 0.2s; }
.foot-links a:hover { color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.powered { letter-spacing: 0.18em; font-weight: 600; font-size: 12px; color: var(--primary-2); }

/* ── Modal ──────────────────────────────────────────── */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5, 5, 16, 0.72); backdrop-filter: blur(8px); animation: fade-in 0.3s forwards; }
.modal-card { position: relative; width: min(520px, 100%); max-height: calc(100dvh - 40px); overflow: auto; padding: 38px 34px 30px; border-radius: 24px; background: linear-gradient(180deg, #1a1a3c, #121230); border: 1px solid var(--line-strong); box-shadow: 0 60px 120px -30px rgba(0, 0, 0, 0.9), 0 0 80px -30px rgba(14, 165, 233, 0.5); animation: pop 0.45s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(0.96); } }
@keyframes fade-in { from { opacity: 0; } }
.modal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.05); color: var(--muted); font-size: 24px; line-height: 1; transition: all 0.2s; }
.modal-x:hover { color: var(--text); background: rgba(255, 255, 255, 0.1); transform: rotate(90deg); }
.modal-head h2 { font-size: 28px; margin-bottom: 8px; }
.modal-head p { color: var(--muted); font-size: 15px; }
.plan-chip { display: inline-block; margin-top: 14px; padding: 5px 12px; border-radius: 99px; font-size: 12.5px; font-weight: 600; color: #7dd3fc; background: rgba(14, 165, 233, 0.12); border: 1px solid rgba(14, 165, 233, 0.3); }
#signup-form { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 13.5px; font-weight: 500; color: #cbd5e1; }
.field label em { color: var(--muted); font-style: normal; font-weight: 400; }
.field input { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(0, 0, 0, 0.28); color: var(--text); font: inherit; font-size: 15px; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.field input::placeholder { color: #64748b; }
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2); background: rgba(0, 0, 0, 0.4); }
.field input.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.15); }
.pass-wrap { position: relative; }
.pass-wrap input { padding-right: 62px; }
.pass-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: var(--primary-2); font-weight: 600; font-size: 13px; padding: 6px 10px; border-radius: 8px; }
.pass-toggle:hover { background: rgba(14, 165, 233, 0.12); }
.form-error { padding: 12px 14px; border-radius: 12px; font-size: 14px; color: #fecaca; background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.35); }
#signup-submit { margin-top: 6px; }
#signup-submit .spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.7s linear infinite; }
#signup-submit.loading { pointer-events: none; opacity: 0.9; }
#signup-submit.loading .spin { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.legal { font-size: 12.5px; color: var(--muted); text-align: center; }
.legal a { color: var(--primary-2); font-weight: 500; }
.legal a:hover { text-decoration: underline; }
.success { text-align: center; padding: 28px 0 10px; }
.success[hidden] { display: none; }
.check { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; color: #04121c; background: linear-gradient(135deg, #38bdf8, #00d4aa); animation: pop 0.6s var(--ease); box-shadow: 0 0 0 10px rgba(0, 212, 170, 0.12); }
.success h3 { font-size: 26px; margin-bottom: 8px; }
.success p { color: var(--muted); }
body.modal-open { overflow: hidden; }

/* ── Reveal on scroll ───────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease) var(--d, 0ms), transform 0.8s var(--ease) var(--d, 0ms), border-color 0.3s, box-shadow 0.4s; }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:hover, .step.reveal.in:hover, .diff-card.reveal.in:hover, .plan.reveal.in:hover { transform: translateY(-5px); transition-delay: 0ms; }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero { padding-top: 130px; }
  .mock-window { transform: none; }
  .fc-qr { left: 8px; } .fc-wa { right: 8px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav-links, .link-login, .nav-actions .btn { display: none; }
  .burger { display: flex; }
  .bento { grid-template-columns: 1fr; }
  .card, .card.c-lg, .card.c-wide { grid-column: auto; }
  .diff { grid-template-columns: 1fr; }
  .section { padding: 84px 0; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .plans, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .float-card { display: none; }
  .modal-card { padding: 32px 22px 24px; }
  .hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
