/* PostCraft — Premium SaaS Landing */
:root {
  --primary: #1976D2;
  --primary-dark: #1565C0;
  --secondary: #0F172A;
  --accent: #3B82F6;
  --bg: #FFFFFF;
  --bg-soft: #F5F9FF;
  --border: rgba(15, 23, 42, 0.08);
  --muted: #64748B;
  --radius: 20px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 64px rgba(25, 118, 210, 0.14);
  --nav-h: 72px;
  --font: "Poppins", system-ui, sans-serif;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--secondary);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6rem; letter-spacing: -0.02em; }
p { margin: 0 0 1rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff;
  padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.container.narrow { width: min(100% - 2.5rem, 760px); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-weight: 600; font-size: .95rem;
  border-radius: 14px; border: 1px solid transparent;
  padding: .7rem 1.25rem; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .55rem 1rem; font-size: .875rem; border-radius: 12px; }
.btn-lg { padding: .9rem 1.5rem; font-size: 1rem; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; box-shadow: 0 8px 24px rgba(25, 118, 210, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(25, 118, 210, 0.45); }
.btn-secondary {
  background: #fff; color: var(--secondary); border-color: var(--border);
  box-shadow: var(--shadow);
}
.btn-ghost { background: transparent; color: var(--secondary); }
.btn-ghost:hover { background: rgba(25, 118, 210, 0.06); }
.btn-white { background: #fff; color: var(--primary); }
.btn-white:hover { box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.btn-outline-white {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.nav[data-scrolled="true"] {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(15, 23, 42, 0.04);
}
.nav-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  height: 100%;
  display: flex; align-items: center; gap: 1.5rem;
}
.logo {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 700; font-size: 1.15rem; letter-spacing: -0.03em;
  flex-shrink: 0;
}
.logo-mark { display: grid; place-items: center; }
.nav-links {
  display: flex; align-items: center; gap: 1.35rem;
  margin-left: auto; font-size: .9rem; font-weight: 500; color: var(--muted);
}
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: .6rem; margin-left: .5rem; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: #fff; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--secondary); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* HERO */
.hero {
  position: relative;
  padding: 3.5rem 0 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 15% -10%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(700px 420px at 90% 10%, rgba(25, 118, 210, 0.14), transparent 55%),
    linear-gradient(180deg, #F8FBFF 0%, #FFFFFF 70%);
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55;
  animation: floatOrb 12s ease-in-out infinite;
}
.orb-1 { width: 280px; height: 280px; background: #93C5FD; top: 10%; left: -4%; }
.orb-2 { width: 220px; height: 220px; background: #BFDBFE; top: 40%; right: 5%; animation-delay: -4s; }
.orb-3 { width: 160px; height: 160px; background: #DBEAFE; bottom: 5%; left: 35%; animation-delay: -7s; }
.grid-fade {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(25, 118, 210, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 118, 210, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 20%, transparent 70%);
}
@keyframes floatOrb {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-24px); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .85rem; border-radius: 999px;
  background: rgba(255,255,255,.7); border: 1px solid var(--border);
  font-size: .8rem; font-weight: 600; color: var(--primary);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}
.pill-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22C55E;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.08); }
}
.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  font-weight: 800;
  margin-bottom: 1.1rem;
}
.gradient-text {
  display: block;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 55%, #60A5FA 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-lede {
  font-size: 1.1rem; color: var(--muted); max-width: 34rem; margin-bottom: .5rem;
}
.hero-sub {
  font-size: .95rem; font-weight: 600; color: var(--secondary); margin-bottom: 1.75rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.hero-cta.center { justify-content: center; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: .75rem 1.25rem;
  font-size: .85rem; font-weight: 500; color: var(--muted);
}
.trust-row .check { color: var(--primary); margin-right: .25rem; }

/* Hero mockup */
.hero-visual { position: relative; min-height: 480px; }
.mock-stage { position: relative; height: 100%; min-height: 480px; }
.mock-desktop {
  position: absolute; inset: 40px 40px 20px 0;
  background: rgba(255,255,255,.85);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  overflow: hidden;
  animation: floatSoft 7s ease-in-out infinite;
}
@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.mock-chrome {
  display: flex; align-items: center; gap: .4rem;
  padding: .7rem 1rem; border-bottom: 1px solid var(--border);
  background: #F8FAFC;
}
.mock-chrome span {
  width: 9px; height: 9px; border-radius: 50%;
  background: #CBD5E1;
}
.mock-chrome span:nth-child(1) { background: #F87171; }
.mock-chrome span:nth-child(2) { background: #FBBF24; }
.mock-chrome span:nth-child(3) { background: #34D399; }
.mock-url {
  margin-left: .75rem; flex: 1; font-size: .7rem; color: var(--muted);
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: .25rem .6rem;
}
.mock-body { display: grid; grid-template-columns: 88px 1fr 72px; height: calc(100% - 42px); }
.mock-sidebar, .mock-tools {
  padding: .75rem .55rem; border-right: 1px solid var(--border);
  background: #FCFDFE;
}
.mock-tools { border-right: 0; border-left: 1px solid var(--border); }
.mock-side-title { font-size: .65rem; font-weight: 600; color: var(--muted); margin-bottom: .5rem; }
.mock-layer {
  height: 28px; border-radius: 8px; background: #E2E8F0; margin-bottom: .4rem;
}
.mock-layer.active { background: linear-gradient(135deg, #BFDBFE, #93C5FD); }
.mock-biz {
  margin-top: 1rem; display: flex; gap: .35rem; align-items: center;
  padding: .4rem; border-radius: 10px; border: 1px solid var(--border); background: #fff;
}
.mock-biz-avatar {
  width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.mock-biz-lines { flex: 1; display: grid; gap: 3px; }
.mock-biz-lines i { display: block; height: 4px; border-radius: 2px; background: #E2E8F0; }
.mock-biz-lines i:first-child { width: 90%; }
.mock-biz-lines i:last-child { width: 60%; }
.mock-canvas {
  display: grid; place-items: center; padding: 1rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(59,130,246,.12), transparent 50%),
    #EEF4FF;
}
.poster {
  width: 78%; aspect-ratio: 4/5; border-radius: 14px;
  background: linear-gradient(160deg, #1E3A8A, #1976D2 45%, #60A5FA);
  box-shadow: 0 16px 40px rgba(25, 118, 210, 0.35);
  padding: 12%; display: flex; flex-direction: column; gap: 8%;
  position: relative; overflow: hidden;
}
.poster::after {
  content: ""; position: absolute; inset: auto -20% -20% auto;
  width: 70%; height: 50%; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.poster-brand {
  width: 28%; aspect-ratio: 1; border-radius: 10px; background: rgba(255,255,255,.9);
}
.poster-title { height: 12%; width: 80%; border-radius: 6px; background: rgba(255,255,255,.85); }
.poster-sub { height: 8%; width: 55%; border-radius: 6px; background: rgba(255,255,255,.45); margin-top: auto; }
.tool-chip {
  height: 18px; border-radius: 6px; background: #E2E8F0; margin-bottom: .45rem;
}
.tool-chip.wide { height: 40px; }
.tool-btn {
  margin-top: 1rem; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}

.mock-phone {
  position: absolute; right: 0; bottom: 30px; width: 128px;
  background: #0F172A; border-radius: 22px; padding: 8px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.35);
  animation: floatSoft 6s ease-in-out infinite reverse;
  z-index: 3;
}
.phone-notch {
  width: 40%; height: 8px; margin: 4px auto 8px; border-radius: 8px; background: #1E293B;
}
.phone-screen {
  border-radius: 14px; overflow: hidden; background: #fff; aspect-ratio: 9/16;
  display: flex; flex-direction: column;
}
.phone-poster {
  flex: 1;
  background: linear-gradient(145deg, #F59E0B, #EF4444 50%, #EC4899);
}
.phone-bar { height: 28px; background: #F1F5F9; }

.mock-mini {
  position: absolute; width: 72px; height: 90px; border-radius: 12px;
  border: 2px solid #fff; box-shadow: var(--shadow);
  z-index: 2; animation: floatSoft 8s ease-in-out infinite;
}
.m1 { left: -10px; top: 80px; background: linear-gradient(135deg, #34D399, #059669); animation-delay: -1s; }
.m2 { left: 30px; bottom: 50px; background: linear-gradient(135deg, #A78BFA, #7C3AED); animation-delay: -3s; width: 64px; height: 80px; }
.m3 { right: 110px; top: 20px; background: linear-gradient(135deg, #FB923C, #EA580C); width: 58px; height: 72px; animation-delay: -5s; }

.float-badge {
  position: absolute; z-index: 4;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 999px;
  padding: .45rem .85rem; font-size: .75rem; font-weight: 600;
  box-shadow: var(--shadow); color: var(--secondary);
  animation: floatSoft 5.5s ease-in-out infinite;
}
.fb-1 { top: 12px; left: 20%; color: var(--primary); }
.fb-2 { top: 55%; left: -18px; animation-delay: -2s; }
.fb-3 { bottom: 100px; right: 8px; animation-delay: -3.5s; }

/* PROOF */
.proof {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.proof-title {
  text-align: center; font-size: .9rem; font-weight: 600;
  color: var(--muted); letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.proof-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.proof-track {
  display: flex; gap: 2.5rem; width: max-content;
  animation: marquee 32s linear infinite;
  font-weight: 600; font-size: 1rem; color: var(--secondary);
}
.proof-track span { opacity: .55; white-space: nowrap; }
.proof-track span::before {
  content: "◆"; color: var(--accent); margin-right: 2.5rem; font-size: .55rem; vertical-align: middle;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SECTIONS */
.section { padding: 5.5rem 0; }
.section-soft { background: linear-gradient(180deg, var(--bg-soft), #fff 80%); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700;
  color: var(--primary); letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: .75rem;
}
.section-head h2, .editor-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem); font-weight: 800;
}
.section-lede { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(25, 118, 210, 0.25);
}
.icon-box {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(25,118,210,.12), rgba(59,130,246,.18));
  color: var(--primary); margin-bottom: 1rem;
}
.icon-box svg { width: 22px; height: 22px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.feature-card p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Timeline */
.timeline {
  display: flex; align-items: flex-start; justify-content: center;
  flex-wrap: wrap; gap: .5rem 0;
}
.timeline > li:not(.tl-arrow) {
  flex: 1 1 140px; max-width: 170px; text-align: center; padding: 1rem .5rem;
}
.tl-num {
  width: 48px; height: 48px; margin: 0 auto .85rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; font-weight: 700; font-size: 1.1rem;
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(25, 118, 210, 0.3);
}
.timeline h3 { font-size: .98rem; margin-bottom: .35rem; }
.timeline p { font-size: .82rem; color: var(--muted); margin: 0; }
.tl-arrow {
  width: 28px; height: 48px; align-self: flex-start; margin-top: 1rem;
  position: relative;
}
.tl-arrow::before {
  content: ""; position: absolute; inset: 22px 0 auto;
  height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: .35;
}
.tl-arrow::after {
  content: ""; position: absolute; right: 0; top: 18px;
  border: 6px solid transparent; border-left-color: var(--accent); opacity: .5;
}

/* Business chips */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .85rem;
}
.biz-chip {
  text-align: center; font-weight: 600;
  padding: 1.15rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s, color .2s, background .2s;
}
.biz-chip:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 118, 210, 0.35);
  color: var(--primary);
  background: linear-gradient(180deg, #EFF6FF, #fff);
}
.biz-chip.more {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; border: none;
}

/* Editor showcase */
.editor-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center;
}
.editor-frame {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.editor-top {
  display: flex; align-items: center; gap: 1rem;
  padding: .85rem 1rem; border-bottom: 1px solid var(--border); background: #F8FAFC;
}
.dots { display: flex; gap: .35rem; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; }
.dots i:nth-child(1) { background: #F87171; }
.dots i:nth-child(2) { background: #FBBF24; }
.dots i:nth-child(3) { background: #34D399; }
.editor-tabs { display: flex; gap: .5rem; font-size: .75rem; font-weight: 600; color: var(--muted); }
.editor-tabs .on {
  color: var(--primary); background: rgba(25,118,210,.1);
  padding: .25rem .6rem; border-radius: 8px;
}
.editor-dl {
  margin-left: auto; font-size: .75rem; font-weight: 600; color: #fff;
  background: var(--primary); padding: .35rem .7rem; border-radius: 8px;
}
.editor-main { display: grid; grid-template-columns: 120px 1fr 110px; min-height: 320px; }
.ed-left, .ed-right { padding: .85rem; background: #FCFDFE; }
.ed-left { border-right: 1px solid var(--border); }
.ed-right { border-left: 1px solid var(--border); }
.ed-block {
  height: 28px; border-radius: 8px; background: #E2E8F0; margin-bottom: .5rem;
}
.ed-block.short { width: 70%; }
.ed-switch {
  margin-top: 1rem; display: flex; align-items: center; gap: .4rem;
  font-size: .65rem; font-weight: 600; padding: .4rem;
  border: 1px solid var(--border); border-radius: 10px; background: #fff;
}
.ed-avatar {
  width: 20px; height: 20px; border-radius: 6px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
}
.ed-canvas {
  display: grid; place-items: center; padding: 1.25rem;
  background: linear-gradient(160deg, #EEF4FF, #F8FBFF);
}
.ed-poster {
  width: 70%; aspect-ratio: 4/5; border-radius: 14px;
  background: linear-gradient(160deg, #0F172A, #1E40AF 50%, #3B82F6);
  padding: 12%; display: flex; flex-direction: column; gap: 8%;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
}
.ed-logo { width: 26%; aspect-ratio: 1; border-radius: 8px; background: #fff; }
.ed-h { height: 10%; width: 85%; border-radius: 5px; background: rgba(255,255,255,.9); }
.ed-p { height: 6%; width: 60%; border-radius: 5px; background: rgba(255,255,255,.4); }
.ed-foot { margin-top: auto; height: 14%; border-radius: 8px; background: rgba(255,255,255,.15); }
.ed-label { font-size: .65rem; font-weight: 600; color: var(--muted); margin: .5rem 0 .3rem; }
.ed-swatches { display: flex; gap: .35rem; margin-bottom: .5rem; }
.ed-swatches i {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff;
  box-shadow: 0 0 0 1px var(--border);
}
.ed-swatches i:nth-child(1) { background: #1976D2; }
.ed-swatches i:nth-child(2) { background: #0F172A; }
.ed-swatches i:nth-child(3) { background: #EF4444; }
.ed-swatches i:nth-child(4) { background: #22C55E; }

.check-list { margin: 1.5rem 0 1.75rem; display: grid; gap: .7rem; }
.check-list li {
  position: relative; padding-left: 1.7rem;
  font-weight: 500; font-size: .95rem;
}
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 8px;
  background: rgba(25, 118, 210, 0.12); color: var(--primary);
  font-size: .75rem; font-weight: 700;
  display: grid; place-items: center;
}

/* Masonry templates */
.masonry {
  columns: 4; column-gap: 1rem;
}
.masonry-card {
  break-inside: avoid; margin-bottom: 1rem;
  border-radius: var(--radius); overflow: hidden;
  min-height: 180px; position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex; align-items: flex-end;
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: default;
}
.masonry-card.tall { min-height: 280px; }
.masonry-card.mid { min-height: 220px; }
.masonry-card span {
  position: relative; z-index: 1;
  margin: 1rem; padding: .4rem .75rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-radius: 999px; font-size: .8rem; font-weight: 700;
  color: var(--secondary);
}
.masonry-card:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); z-index: 2; }
.t-fest { background: linear-gradient(145deg, #F59E0B, #B45309); }
.t-greet { background: linear-gradient(145deg, #EC4899, #BE185D); }
.t-quote { background: linear-gradient(145deg, #8B5CF6, #5B21B6); }
.t-biz { background: linear-gradient(145deg, #1976D2, #0F172A); }
.t-mkt { background: linear-gradient(145deg, #06B6D4, #0E7490); }
.t-promo { background: linear-gradient(145deg, #EF4444, #991B1B); }
.t-offer { background: linear-gradient(145deg, #22C55E, #166534); }
.t-anim { background: linear-gradient(145deg, #3B82F6, #1D4ED8); }

/* Platforms */
.platform-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.platform-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.platform-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.platform-card .icon-box { margin-bottom: 1rem; }
.platform-card h3 { font-size: 1.05rem; }
.platform-card p { color: var(--muted); font-size: .9rem; margin: 0; }

/* Compare */
.compare-wrap {
  overflow-x: auto; border-radius: var(--radius);
  border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow);
}
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td {
  padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border);
  font-size: .95rem;
}
.compare thead th {
  background: #F8FAFC; font-size: .8rem; text-transform: uppercase;
  letter-spacing: .04em; color: var(--muted);
}
.compare th.hi, .compare td.hi {
  background: linear-gradient(180deg, rgba(25,118,210,.08), rgba(59,130,246,.04));
  color: var(--primary); font-weight: 700;
}
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td:not(.hi) { background: #F8FAFC; }

/* Testimonials */
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
.testi-card {
  margin: 0; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.testi-card > p {
  font-size: 1rem; color: var(--secondary); margin-bottom: 1.4rem;
  line-height: 1.55;
}
.testi-card footer {
  display: flex; align-items: center; gap: .75rem;
}
.testi-card strong { display: block; font-size: .9rem; }
.testi-card span { font-size: .8rem; color: var(--muted); }
.avatar {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  font-weight: 700; font-size: .85rem; color: #fff;
}
.a1 { background: linear-gradient(135deg, #1976D2, #3B82F6); }
.a2 { background: linear-gradient(135deg, #0F172A, #475569); }
.a3 { background: linear-gradient(135deg, #F59E0B, #EA580C); }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq-item {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 0; box-shadow: var(--shadow); overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; font-weight: 600;
  padding: 1.1rem 1.25rem; position: relative;
  padding-right: 3rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 10px;
  background: rgba(25, 118, 210, 0.1); color: var(--primary);
  display: grid; place-items: center; font-size: 1.1rem; font-weight: 500;
  transition: transform .2s, background .2s;
}
.faq-item[open] summary::after {
  content: "–"; background: var(--primary); color: #fff;
}
.faq-item p {
  padding: 0 1.25rem 1.2rem; margin: 0; color: var(--muted); font-size: .95rem;
}

/* Final CTA */
.final-cta { padding: 2rem 0 5rem; }
.final-card {
  text-align: center;
  border-radius: 28px;
  padding: 4rem 2rem;
  background:
    radial-gradient(600px 240px at 20% 0%, rgba(255,255,255,.2), transparent),
    linear-gradient(135deg, #1565C0 0%, #1976D2 40%, #3B82F6 100%);
  color: #fff;
  box-shadow: 0 28px 64px rgba(25, 118, 210, 0.35);
  position: relative; overflow: hidden;
}
.final-card::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.final-card h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; position: relative;
}
.final-card p {
  color: rgba(255,255,255,.88); max-width: 420px; margin: 0 auto 1.75rem;
  position: relative; font-size: 1.05rem;
}
.final-card .hero-cta { position: relative; margin-bottom: 0; }

/* Footer */
.footer {
  background: var(--secondary); color: rgba(255,255,255,.75);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer .logo-text { color: #fff; }
.footer-brand p { font-size: .9rem; max-width: 280px; margin: 1rem 0 1.25rem; }
.footer h4 {
  color: #fff; font-size: .85rem; text-transform: uppercase;
  letter-spacing: .06em; margin-bottom: 1rem;
}
.footer a {
  display: block; font-size: .9rem; margin-bottom: .55rem;
  transition: color .2s;
}
.footer a:hover { color: #fff; }
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 38px; height: 38px; border-radius: 12px; margin: 0;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.1);
}
.socials a:hover { background: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.25rem;
}
.footer-bottom p { margin: 0; font-size: .85rem; }

/* Reveal animations */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .editor-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { min-height: 420px; max-width: 520px; margin-inline: auto; width: 100%; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-grid { grid-template-columns: repeat(3, 1fr); }
  .masonry { columns: 3; }
  .platform-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tl-arrow { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto; background: rgba(255,255,255,.96);
    backdrop-filter: blur(16px); flex-direction: column; align-items: stretch;
    padding: 1rem 1.25rem 1.25rem; gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
  }
  .nav-links.open {
    transform: none; opacity: 1; pointer-events: auto;
  }
  .nav-links a { padding: .85rem 0; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn-ghost { display: none; }
  .hero { padding-top: 1.5rem; }
  .feature-grid, .biz-grid, .platform-grid, .testi-grid { grid-template-columns: 1fr; }
  .masonry { columns: 2; }
  .editor-main { grid-template-columns: 1fr; }
  .ed-left, .ed-right { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .mock-phone { width: 100px; }
  .float-badge { font-size: .68rem; }
  .fb-2 { left: 0; }
}

@media (max-width: 480px) {
  .masonry { columns: 1; }
  .hero-cta .btn { width: 100%; }
  .trust-row { gap: .5rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .mock-desktop, .mock-phone, .mock-mini, .float-badge, .proof-track { animation: none; }
}
