/* ============================================================================
   Ideabolt — ideabolt.app
   Next-gen dark liquid-glass landing. Matches the app: deep violet space,
   violet→blue accent gradient, glass cards, drifting aurora orbs. The logo's
   gold appears only as tiny bolt accents — never UI chrome.
   ========================================================================== */

/* ---- Tokens -------------------------------------------------------------- */
:root {
  --bg: #0b0a14;
  --bg-2: #14101f;
  --ink: #f2effb;
  --ink-2: #b9b2d8;
  --ink-3: #776f99;
  --violet: #8c6cf6;
  --blue: #4d8cfa;
  --gold: #f8b506;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-brd: rgba(255, 255, 255, 0.12);
  --grad: linear-gradient(135deg, #a78bfa 0%, #8c6cf6 40%, #4d8cfa 100%);
  --radius: 24px;
  --wrap: 1080px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

/* ---- Base ---------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--violet); color: #fff; padding: 8px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 7.2vw, 4.6rem); line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); line-height: 1.12; font-weight: 800; margin-bottom: 12px; }
h3 { font-size: 1.06rem; font-weight: 700; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---- Aurora background --------------------------------------------------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; background:
  radial-gradient(1200px 800px at 70% -10%, #1c1433 0%, transparent 60%),
  radial-gradient(1000px 700px at -10% 40%, #131a30 0%, transparent 55%),
  var(--bg); }
.blob { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.5; }
.b1 { width: 480px; height: 480px; background: #5b3fd4; top: -160px; left: -100px; animation: drift1 26s ease-in-out infinite alternate; }
.b2 { width: 420px; height: 420px; background: #2a4fd0; top: 30%; right: -140px; animation: drift2 32s ease-in-out infinite alternate; }
.b3 { width: 380px; height: 380px; background: #7a2f86; bottom: -140px; left: 30%; animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(60px, 50px) scale(1.08); } }
@keyframes drift2 { to { transform: translate(-70px, -40px) scale(1.05); } }
@keyframes drift3 { to { transform: translate(40px, -60px) scale(1.1); } }

/* ---- Glass --------------------------------------------------------------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  border-radius: var(--radius);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), var(--shadow);
}

/* ---- Header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 10, 20, 0.65);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; }
.brand img { filter: drop-shadow(0 2px 10px rgba(248, 181, 6, 0.35)); }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 0.92rem; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 600; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 24px rgba(110, 90, 250, 0.45); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(110, 90, 250, 0.6); }
.btn-sm { padding: 8px 18px; font-size: 0.9rem; }

/* ---- Hero ---------------------------------------------------------------- */
.hero { padding: clamp(64px, 10vw, 110px) 0 40px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink-2);
  border: 1px solid var(--glass-brd); border-radius: 999px;
  padding: 7px 16px; margin-bottom: 26px;
  background: var(--glass);
}
.bolt-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.lede {
  max-width: 640px; margin: 22px auto 30px; font-size: clamp(1.02rem, 2.2vw, 1.18rem);
  color: var(--ink-2);
}
.lede em { color: var(--ink); font-style: normal; font-weight: 600; }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 46px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: #0b0a14;
  padding: 12px 26px; border-radius: 16px; font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 30px rgba(255,255,255,0.12);
}
.store-badge:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 40px rgba(255,255,255,0.2); }
.store-badge small { display: block; font-size: 0.68rem; font-weight: 500; opacity: 0.7; line-height: 1; text-align: left; }
.store-badge strong { display: block; font-size: 1.15rem; line-height: 1.15; letter-spacing: -0.01em; }
.cta-note { font-size: 0.82rem; color: var(--ink-3); }

/* ---- Demo ---------------------------------------------------------------- */
.demo { max-width: 620px; margin: 0 auto; padding: 26px; text-align: left; }
.demo-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.demo-title { font-weight: 700; }
.demo-badge {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3); border: 1px solid var(--glass-brd); padding: 3px 10px; border-radius: 999px;
}
.demo-input {
  min-height: 48px; border-radius: 14px; padding: 12px 16px; font-size: 1rem;
  background: rgba(255,255,255,0.04); border: 1px solid var(--glass-brd);
  display: flex; align-items: center;
}
.caret { width: 2px; height: 20px; background: var(--violet); margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.chip {
  font: inherit; font-size: 0.86rem; font-weight: 600; color: var(--ink-2);
  background: var(--glass); border: 1px solid var(--glass-brd); border-radius: 999px;
  padding: 8px 15px; cursor: pointer; transition: all 0.18s ease;
}
.chip:hover, .chip.active {
  color: #fff; border-color: rgba(140, 108, 246, 0.7);
  background: rgba(140, 108, 246, 0.22); box-shadow: 0 4px 18px rgba(140, 108, 246, 0.25);
}
.demo-results { display: grid; gap: 10px; margin-top: 12px; }
.idea-card {
  background: rgba(140, 108, 246, 0.1);
  border: 1px solid rgba(140, 108, 246, 0.28);
  border-radius: 14px; padding: 12px 16px; font-size: 0.94rem;
  opacity: 0; transform: translateY(10px);
  animation: ideaIn 0.45s ease forwards;
}
@keyframes ideaIn { to { opacity: 1; transform: none; } }
.demo-foot { margin-top: 14px; font-size: 0.75rem; color: var(--ink-3); }

/* ---- Sections ------------------------------------------------------------ */
.section { padding: clamp(56px, 9vw, 96px) 0; text-align: center; }
.section-lede { color: var(--ink-2); max-width: 560px; margin: 0 auto 36px; }

/* chip cloud */
.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 760px; margin: 0 auto; }
.chip-cloud span {
  font-size: 0.9rem; font-weight: 600; color: var(--ink-2);
  background: var(--glass); border: 1px solid var(--glass-brd);
  border-radius: 999px; padding: 9px 18px;
  transition: all 0.2s ease;
}
.chip-cloud span:hover { color: #fff; border-color: rgba(140,108,246,0.6); transform: translateY(-2px); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.step { padding: 28px 22px; text-align: left; }
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 0.94rem; }

/* screenshots */
.shots-section { padding-bottom: 30px; }
.shots {
  display: flex; gap: 26px; padding: 26px 26px 46px; overflow-x: auto;
  scroll-snap-type: x mandatory; justify-content: safe center;
  -webkit-overflow-scrolling: touch;
}
.shots img {
  width: min(300px, 74vw); height: auto; flex-shrink: 0; scroll-snap-align: center;
  border-radius: 26px; box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}
.shots img:hover { transform: translateY(-8px) scale(1.02); }

/* features grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 36px; }
.card { padding: 26px 22px; text-align: left; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: 0.94rem; }

/* pricing */
.price-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 20px; justify-content: center; margin-top: 36px; }
.price { padding: 32px 28px; text-align: left; position: relative; }
.price.pro { border-color: rgba(140, 108, 246, 0.55); box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 24px 90px rgba(110, 90, 250, 0.35); }
.pro-flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price h3 { font-size: 1.2rem; }
.price-num { font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 16px; }
.price-once { font-size: 1rem; font-weight: 600; color: var(--ink-2); margin-left: 8px; }
.price ul { list-style: none; }
.price li { padding: 7px 0 7px 26px; position: relative; color: var(--ink-2); font-size: 0.95rem; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--violet); font-weight: 800; }
.price-note { margin-top: 26px; font-size: 0.88rem; color: var(--ink-3); }

/* privacy */
.privacy { display: grid; grid-template-columns: 1.6fr 1fr; gap: 30px; padding: 40px; text-align: left; align-items: center; }
.privacy p { color: var(--ink-2); margin-top: 10px; }
.privacy .fine { font-size: 0.8rem; color: var(--ink-3); }
.privacy-list p { font-weight: 700; color: var(--ink); padding: 6px 0; margin: 0; font-size: 1.02rem; }

/* final CTA */
.final-cta .cta-logo { margin: 0 auto 20px; filter: drop-shadow(0 10px 38px rgba(248, 181, 6, 0.4)); }

/* ---- Footer --------------------------------------------------------------- */
.site-footer { border-top: 1px solid rgba(255,255,255,0.07); padding: 40px 0 60px; text-align: center; }
.foot-brand { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; margin-bottom: 14px; }
.site-footer nav { display: flex; gap: 22px; justify-content: center; margin-bottom: 16px; font-size: 0.9rem; color: var(--ink-2); }
.site-footer nav a:hover { color: var(--ink); }
.site-footer p { font-size: 0.78rem; color: var(--ink-3); }

/* ---- Docs pages (privacy/support) ----------------------------------------- */
.doc { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; text-align: left; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 8px; }
.doc h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 22px; margin: 10px 0; }
.doc .updated { font-size: 0.82rem; color: var(--ink-3); margin-bottom: 26px; }
.doc a { color: #a78bfa; }

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

/* ---- Responsive ------------------------------------------------------------ */
@media (max-width: 900px) {
  .steps, .grid { grid-template-columns: 1fr 1fr; }
  .privacy { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  /* nav-links carried the margin-left:auto that right-aligned the CTA — restore it */
  .site-header .wrap > .btn { margin-left: auto; }
  .steps, .grid, .price-cards { grid-template-columns: 1fr; }
}

/* ---- Reduced motion --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blob { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .idea-card { animation-duration: 0.01s; }
  .caret { animation: none; }
}
