/* ============================================================
   Rev Room — Marketing site
   Design system mirrors the app (src/app/globals.css):
   coral #ff5969, aurora background, white glassmorphism.
   ============================================================ */

/* Brand display font — "Code" by Fontfabric, the geometric face used in the
   REV/ROOM logo. Self-hosted so there's no external dependency. */
@font-face {
  font-family: 'Code';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/fonts/Code-Light.woff') format('woff');
}
@font-face {
  font-family: 'Code';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/Code-Bold.woff') format('woff');
}

:root {
  /* Brand */
  --coral: #ff5969;
  --coral-dark: #f43d50;
  --coral-deep: #d92d40;
  --ink: #14142b;
  --ink-soft: rgba(20, 20, 43, 0.66);
  --ink-faint: rgba(20, 20, 43, 0.48);

  /* Aurora background */
  --bg: #eef0f8;
  --orb-1: rgba(139, 92, 246, 0.20);
  --orb-2: rgba(59, 130, 246, 0.16);
  --orb-3: rgba(255, 89, 105, 0.14);
  --orb-4: rgba(255, 89, 105, 0.09);

  /* Glass surfaces */
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-bg-strong: rgba(255, 255, 255, 0.82);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-shadow: 0 8px 32px rgba(99, 102, 241, 0.08), 0 2px 8px rgba(0, 0, 0, 0.06);
  --glass-shadow-lg: 0 20px 60px rgba(99, 102, 241, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
  --glass-blur: blur(20px);

  --radius: 20px;
  --radius-lg: 28px;
  --maxw: 1160px;
  /* "Code" is the REV/ROOM logo face (headings); Inter carries body copy */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Code', 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 60% at 15% 5%, var(--orb-1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 15%, var(--orb-2) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 5% 75%, var(--orb-3) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 95% 90%, var(--orb-4) 0%, transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 45%, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
  overflow-x: hidden;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

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

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.14; letter-spacing: 0.05em; font-weight: 700; }
.kpi .val, .price-amt .amount, .step .num, .donut .center .n { font-family: var(--font-display); }
.eyebrow { font-family: var(--font-display); }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
p { color: var(--ink-soft); font-size: 1.05rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--coral-deep);
  background: rgba(255, 89, 105, 0.10);
  border: 1px solid rgba(255, 89, 105, 0.22);
  padding: 7px 14px; border-radius: 100px; margin-bottom: 22px;
}

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { margin-top: 18px; font-size: 1.15rem; }
.grad { color: var(--coral); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.04em;
  padding: 15px 28px; border-radius: 14px; cursor: pointer;
  text-decoration: none; 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(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(255, 89, 105, 0.34), 0 2px 6px rgba(217, 45, 64, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255, 89, 105, 0.42); }
.btn-ghost {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); color: var(--ink);
  box-shadow: var(--glass-shadow);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--glass-shadow-lg); }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 24px rgba(99, 102, 241, 0.06);
}
/* full-width header so the logo sits hard against the left edge */
.nav .nav-inner { max-width: none; padding: 0 40px; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 26px; display: block; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.96rem; transition: color 0.15s; }
.nav-links a:hover { color: var(--coral); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.94rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero { padding: 88px 0 72px; text-align: center; position: relative; }
.hero-mascot { position: absolute; z-index: 0; pointer-events: none; filter: drop-shadow(0 14px 26px rgba(217,45,64,0.18)); }
.hero-mascot-l { width: 122px; left: 2.5%; top: 210px; animation: floatL 6s ease-in-out infinite; }
.hero-mascot-r { width: 138px; right: 2.5%; top: 150px; animation: floatR 7s ease-in-out infinite; }
@keyframes floatL { 0%,100% { transform: rotate(-9deg) translateY(0); } 50% { transform: rotate(-9deg) translateY(-15px); } }
@keyframes floatR { 0%,100% { transform: rotate(7deg) translateY(0); } 50% { transform: rotate(7deg) translateY(-17px); } }
/* mascots shown inline on mobile (floating ones hide on small screens) */
.hero-mascots-mobile { display: none; justify-content: center; align-items: flex-end; gap: 40px; margin-top: 40px; }
.hero-mascots-mobile img { height: 84px; width: auto; filter: drop-shadow(0 10px 20px rgba(217,45,64,0.18)); }
.hero-mascots-mobile img:first-child { transform: rotate(-8deg); }
.hero-mascots-mobile img:last-child { transform: rotate(7deg); }
.hero .eyebrow { animation: fadeUp 0.6s ease both; }
.hero h1 { max-width: 900px; margin: 0 auto; animation: fadeUp 0.6s 0.05s ease both; }
.hero h1 .grad { display: inline; }
.hero-sub { max-width: 620px; margin: 26px auto 0; font-size: 1.22rem; animation: fadeUp 0.6s 0.1s ease both; }
.hero-cta { display: flex; gap: 16px; justify-content: center; margin-top: 38px; flex-wrap: wrap; animation: fadeUp 0.6s 0.15s ease both; }
.hero-trust { margin-top: 26px; display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; animation: fadeUp 0.6s 0.2s ease both; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 0.92rem; color: var(--ink-faint); font-weight: 600; }
.hero-trust svg { width: 16px; height: 16px; color: var(--coral); }

.hero-visual { margin-top: 64px; position: relative; animation: fadeUp 0.8s 0.25s ease both; }

/* ---------- Product preview (glass mock) ---------- */
.preview {
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow-lg);
  border-radius: var(--radius-lg);
  padding: 22px; text-align: left; overflow: hidden;
}
.preview-topbar { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(20,20,43,0.07); }
.preview-topbar .dot { width: 11px; height: 11px; border-radius: 50%; }
.preview-topbar .dot:nth-child(1) { background: #ff5f57; }
.preview-topbar .dot:nth-child(2) { background: #febc2e; }
.preview-topbar .dot:nth-child(3) { background: #28c840; }
.preview-topbar .addr { margin-left: 14px; font-size: 0.82rem; color: var(--ink-faint); font-weight: 600; }

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kpi {
  background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.8);
  border-radius: 16px; padding: 18px; box-shadow: var(--glass-shadow);
}
.kpi .label { font-size: 0.78rem; color: var(--ink-faint); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 10px; }
.kpi .val { font-size: 1.65rem; font-weight: 800; letter-spacing: -0.02em; }
.kpi .delta { font-size: 0.82rem; font-weight: 700; margin-top: 6px; display: inline-flex; align-items: center; gap: 4px; }
.kpi .delta.up { color: #12a150; }
.kpi .delta.down { color: var(--coral-deep); }
.kpi.brand .val { color: var(--coral); }

.preview-lower { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; margin-top: 16px; }
.panel {
  background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.8);
  border-radius: 16px; padding: 18px; box-shadow: var(--glass-shadow);
}
.panel h4 { font-size: 0.92rem; font-weight: 700; margin-bottom: 16px; }
.bar-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.bar-row .plat { width: 74px; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.bar-track { flex: 1; height: 9px; background: rgba(20,20,43,0.06); border-radius: 100px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--coral), var(--coral-dark)); }
.bar-row .amt { width: 58px; text-align: right; font-size: 0.82rem; font-weight: 700; }
.donut-wrap { display: flex; align-items: center; gap: 18px; }
.donut { width: 108px; height: 108px; border-radius: 50%;
  background: conic-gradient(var(--coral) 0 62%, #8b5cf6 62% 84%, rgba(20,20,43,0.12) 84% 100%);
  display: grid; place-items: center; position: relative; flex-shrink: 0; }
.donut::after { content: ""; width: 68px; height: 68px; background: #fff; border-radius: 50%; }
.donut .center { position: absolute; text-align: center; }
.donut .center .n { font-size: 1.15rem; font-weight: 800; }
.donut .center .t { font-size: 0.62rem; color: var(--ink-faint); font-weight: 700; text-transform: uppercase; }
.legend { list-style: none; font-size: 0.82rem; }
.legend li { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; font-weight: 600; color: var(--ink-soft); }
.legend .sw { width: 10px; height: 10px; border-radius: 3px; }

/* ---------- Logos strip ---------- */
.logos { padding: 44px 0 8px; }
.logos p { text-align: center; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 26px; }
.logos-row { display: flex; flex-wrap: wrap; gap: 40px 56px; justify-content: center; align-items: center; }
.logos-row .lg { font-weight: 800; font-size: 1.15rem; color: var(--ink); opacity: 0.55; letter-spacing: -0.02em; transition: opacity 0.2s; display: inline-flex; align-items: center; gap: 9px; }
.logos-row .lg:hover { opacity: 0.9; }
.logos-row .lg svg { width: 22px; height: 22px; }

/* ---------- Problem ---------- */
.problem { text-align: center; }
.problem .lead { max-width: 640px; margin: 0 auto; font-size: 1.35rem; color: var(--ink); font-weight: 600; line-height: 1.4; }
.problem .lead .grad { font-weight: 800; }
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 52px; text-align: left; }
.pain {
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 26px; box-shadow: var(--glass-shadow);
}
.pain .q { font-size: 1.12rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.pain p { font-size: 0.98rem; }
.pain .mark { font-size: 1.4rem; color: var(--coral); margin-bottom: 12px; display: block; font-weight: 800; }

/* ---------- Features grid ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--glass-shadow); transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.card:hover { transform: translateY(-3px); background: var(--glass-bg-strong); box-shadow: var(--glass-shadow-lg); }
.card .ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(255,89,105,0.14), rgba(255,89,105,0.07));
  border: 1px solid rgba(255,89,105,0.18);
}
.card .ico svg { width: 26px; height: 26px; color: var(--coral); }
/* app mascot illustrations in place of line icons */
.card .ico.ico-mascot { width: auto; height: 76px; background: none; border: none; border-radius: 0; justify-items: start; margin-bottom: 18px; }
.ico-mascot img { height: 76px; width: auto; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(217,45,64,0.16)); transition: transform 0.3s ease; }
.card:hover .ico-mascot img { transform: translateY(-3px) rotate(-2deg); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.98rem; }

/* ---------- Feature spotlight (alternating) ---------- */
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 40px; }
.spot:last-child { margin-bottom: 0; }
.spot.reverse .spot-text { order: 2; }
.spot-text .eyebrow { margin-bottom: 18px; }
.spot-text h3 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
.spot-text p { margin-top: 16px; font-size: 1.08rem; }
.spot-list { list-style: none; margin-top: 22px; }
.spot-list li { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 12px; font-weight: 600; color: var(--ink); font-size: 1rem; }
.spot-list svg { width: 20px; height: 20px; color: var(--coral); flex-shrink: 0; margin-top: 1px; }
.spot-visual .preview { padding: 20px; }

/* screenshot slot */
.shot {
  border-radius: 14px; overflow: hidden; border: 1px solid rgba(20,20,43,0.06);
  box-shadow: var(--glass-shadow-lg); background: var(--glass-bg-strong);
}
.shot img { width: 100%; display: block; }

/* hero browser frame wrapping a real screenshot */
.browser-frame { padding: 14px; }
.browser-frame .preview-topbar { margin-bottom: 14px; padding-bottom: 12px; }
.browser-frame .shot { border-radius: 12px; box-shadow: 0 8px 24px rgba(99,102,241,0.08); }

/* inline Shopify wordmark (green) inside headings */
.shopify-word { display: inline-flex; align-items: center; gap: 5px; color: #5E8E3E; white-space: nowrap; }
.shopify-word img { height: 1em; width: auto; flex-shrink: 0; }
/* Shopify logo inside the hero eyebrow pill */
.eyebrow-logo { height: 16px; width: auto; margin-right: 2px; display: inline-block; vertical-align: middle; }
.lg-logo { opacity: 0.92; color: var(--ink); }
.lg-logo:hover { opacity: 1; }
.lg-logo svg { width: 21px; height: 21px; }
.lg-logo img { width: 21px; height: 21px; object-fit: contain; display: block; border-radius: 4px; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step {
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 28px; box-shadow: var(--glass-shadow);
  position: relative;
}
.step .num {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--coral), var(--coral-dark)); color: #fff; font-weight: 800; font-size: 1.15rem;
  margin-bottom: 18px; box-shadow: 0 6px 16px rgba(255,89,105,0.3);
}
.step h3 { font-size: 1.12rem; margin-bottom: 9px; }
.step p { font-size: 0.96rem; }
.step-logos { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.step-logos svg { width: 20px; height: 20px; }

/* ---------- Pricing ---------- */
.pricing { text-align: center; }
.price-card {
  max-width: 460px; margin: 0 auto; text-align: left;
  background: var(--glass-bg-strong); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,89,105,0.3); border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--glass-shadow-lg), 0 0 0 1px rgba(255,89,105,0.06); position: relative;
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--coral), var(--coral-dark)); color: #fff;
  font-size: 0.8rem; font-weight: 700; padding: 7px 18px; border-radius: 100px;
  box-shadow: 0 8px 20px rgba(255,89,105,0.35); white-space: nowrap;
}
.price-card .plan { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--coral-deep); }
.price-amt { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 4px; }
.price-amt .amount { font-size: 3.4rem; font-weight: 800; letter-spacing: -0.03em; }
.price-amt .per { font-size: 1.05rem; color: var(--ink-faint); font-weight: 600; }
.price-card .cur { font-size: 0.9rem; color: var(--ink-faint); font-weight: 600; }
.price-list { list-style: none; margin: 26px 0; }
.price-list li { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 14px; font-weight: 600; color: var(--ink); }
.price-list svg { width: 20px; height: 20px; color: var(--coral); flex-shrink: 0; margin-top: 1px; }
.price-card .btn { width: 100%; }
.price-note { text-align: center; margin-top: 18px; font-size: 0.9rem; color: var(--ink-faint); }

/* ---------- Why / differentiators ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why {
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 26px; box-shadow: var(--glass-shadow);
}
.why .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(255,89,105,0.14), rgba(255,89,105,0.07)); border: 1px solid rgba(255,89,105,0.18); }
.why .ico svg { width: 24px; height: 24px; color: var(--coral); }
.why .ico.ico-shopify { background: #fff; border-color: rgba(20,20,43,0.06); }
.why .ico img { width: 24px; height: 26px; object-fit: contain; }
.why h3 { font-size: 1.1rem; margin-bottom: 8px; }
.why p { font-size: 0.94rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item {
  background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border); border-radius: 16px; margin-bottom: 14px; box-shadow: var(--glass-shadow);
  overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 26px; font-family: var(--font); font-size: 1.08rem; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq-q .chev { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.25s; color: var(--coral); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 26px 24px; font-size: 1rem; }

/* ---------- Final CTA ---------- */
.final { text-align: center; }
.final-card {
  background: linear-gradient(135deg, rgba(255,89,105,0.95), rgba(217,45,64,0.95));
  border-radius: var(--radius-lg); padding: 72px 40px; box-shadow: 0 30px 80px rgba(255,89,105,0.35);
  position: relative; overflow: hidden;
}
.final-card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 20%, rgba(255,255,255,0.22), transparent 60%);
}
.final-card > * { position: relative; }
.final-mascot { position: absolute; z-index: 1; width: 128px; right: 40px; bottom: 24px; pointer-events: none;
  filter: drop-shadow(0 12px 22px rgba(0,0,0,0.18)); transform: rotate(6deg); }
.final-card h2 { color: #fff; max-width: 640px; margin: 0 auto; }
.final-card p { color: rgba(255,255,255,0.92); font-size: 1.18rem; margin: 20px auto 0; max-width: 520px; }
.final-card .hero-cta { margin-top: 36px; }
.final-card .btn-primary { background: #fff; color: var(--coral-deep); box-shadow: 0 12px 32px rgba(0,0,0,0.18); }
.final-card .btn-primary:hover { box-shadow: 0 18px 44px rgba(0,0,0,0.24); }
.final-card .btn-ghost { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.4); color: #fff; }
.final-card .price-note { color: rgba(255,255,255,0.85); margin-top: 20px; }

/* ---------- Footer ---------- */
footer { padding: 64px 0 40px; border-top: 1px solid var(--glass-border); margin-top: 40px; }
.foot-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.foot-brand { max-width: 300px; }
.foot-brand img { height: 24px; margin-bottom: 16px; }
.foot-brand p { font-size: 0.95rem; }
.foot-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.foot-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 16px; font-weight: 700; }
.foot-col a { display: block; color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.95rem; margin-bottom: 11px; transition: color 0.15s; }
.foot-col a:hover { color: var(--coral); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(20,20,43,0.08); }
.foot-bottom p { font-size: 0.88rem; color: var(--ink-faint); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- "Launching soon" popup ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(20, 20, 43, 0.45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: modalFade 0.2s ease;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative; max-width: 430px; width: 100%; text-align: center;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border); border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow-lg); padding: 40px 32px 34px;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-mascot { height: 92px; width: auto; margin: 0 auto 8px; display: block; filter: drop-shadow(0 12px 22px rgba(217,45,64,0.22)); }
.modal h3 { font-size: 1.5rem; margin-bottom: 12px; }
.modal p { font-size: 1rem; margin-bottom: 26px; }
.modal .modal-ok { width: 100%; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  display: grid; place-items: center; border-radius: 10px; cursor: pointer;
  background: rgba(20,20,43,0.05); border: 1px solid rgba(20,20,43,0.08);
  font-size: 1.5rem; line-height: 1; color: var(--ink-soft); transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: rgba(255,89,105,0.12); color: var(--coral-deep); }
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPop { from { opacity: 0; transform: translateY(12px) scale(0.97); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) { .hero-mascot { display: none; } .hero-mascots-mobile { display: flex; } }
@media (max-width: 960px) {
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .preview-lower { grid-template-columns: 1fr; }
  .pain-grid, .feat-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .spot { grid-template-columns: 1fr; gap: 36px; }
  .spot.reverse .spot-text { order: 0; }
  /* let grid items shrink so a wide screenshot scrolls instead of blowing out the row */
  .spot > * { min-width: 0; }
}
@media (max-width: 720px) {
  section { padding: 68px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav .nav-inner { padding: 0 18px; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: var(--glass-bg-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
    padding: 24px; gap: 20px; border-bottom: 1px solid var(--glass-border); box-shadow: var(--glass-shadow-lg);
  }
  .pain-grid, .feat-grid, .why-grid, .steps { grid-template-columns: 1fr; }
  .hero-sub { font-size: 1.08rem; }
  .hero-cta .btn { width: 100%; }
  .foot-cols { gap: 36px; }
  .price-card { padding: 32px 24px; }
  .final-card { padding: 52px 26px; }
  .final-mascot { width: 84px; right: 14px; bottom: 12px; }
  .card .ico.ico-mascot { height: 64px; }
  .ico-mascot img { height: 64px; }

  /* Dense dashboards are unreadable when scaled to a phone — let them swipe
     horizontally at a legible size instead. */
  .shot { overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100%; max-width: 100%; }
  .shot img { width: 760px; min-width: 760px; max-width: none; }
  .spot-visual, .browser-frame { position: relative; }
  .spot-visual::after, .browser-frame::after {
    content: "Swipe to explore →";
    display: block; text-align: right; font-size: 0.76rem; font-weight: 600;
    color: var(--ink-faint); margin-top: 9px; padding-right: 2px;
  }
  /* fade the right edge to hint there's more to swipe */
  .shot { -webkit-mask-image: linear-gradient(90deg, #000 88%, rgba(0,0,0,0.55) 100%);
          mask-image: linear-gradient(90deg, #000 88%, rgba(0,0,0,0.55) 100%); }
}
@media (max-width: 420px) {
  .nav-inner { height: 64px; }
  .nav-logo img { height: 22px; }
  .nav-cta .btn { padding: 9px 15px; font-size: 0.86rem; }
  .nav.open .nav-links { top: 64px; }
  h1 { font-size: 2.35rem; }
  .hero { padding: 60px 0 56px; }
  .section-head p, .problem .lead { font-size: 1.02rem; }
}
