/* ============================================================
   BellaJournal — marketing site
   Warm espresso + amber, editorial serif display, glass + glow
   ============================================================ */
:root {
  --espresso: #14110e;
  --espresso-2: #1a1511;
  --cream: #f6f1e9;
  --cream-dim: #cabfb0;
  --muted: #948979;
  --line: rgba(246, 241, 233, 0.10);
  --line-2: rgba(246, 241, 233, 0.16);
  --amber: #f59e0b;
  --gold: #fbbf24;
  --copper: #b45309;
  --ember: #9a3412;
  --good: #4ade80;
  --warn: #fbbf24;
  --accent-grad: linear-gradient(135deg, #fde9c8 0%, #fbbf24 35%, #f59e0b 70%, #b45309 100%);
  --glass: rgba(28, 22, 17, 0.55);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --maxw: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--espresso);
  color: var(--cream);
  line-height: 1.6;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 500; line-height: 1.04; letter-spacing: -0.02em; }
em { font-style: italic; font-weight: 500; color: transparent; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; }
a { color: inherit; text-decoration: none; }
b { font-weight: 600; }

/* ---------- ambient background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background:
    radial-gradient(120% 90% at 50% -10%, #20180f 0%, var(--espresso) 55%, #0e0b08 100%); }
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; }
.glow-1 { width: 620px; height: 620px; top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(245,158,11,0.55), transparent 65%); animation: drift1 22s var(--ease) infinite alternate; }
.glow-2 { width: 560px; height: 560px; top: 220px; right: -160px;
  background: radial-gradient(circle, rgba(154,52,18,0.55), transparent 65%); animation: drift2 26s var(--ease) infinite alternate; }
.glow-3 { width: 720px; height: 720px; bottom: -300px; left: 35%;
  background: radial-gradient(circle, rgba(251,191,36,0.28), transparent 70%); animation: drift1 30s var(--ease) infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(80px, 60px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-70px, 40px) scale(1.08); } }
.grain { position: absolute; inset: -50%; opacity: 0.04; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px;
  max-width: var(--maxw); margin: 0 auto; padding: 16px 24px;
  transition: padding 0.3s var(--ease); }
.nav.scrolled { padding: 10px 24px; }
.nav.scrolled::before { content: ""; position: absolute; inset: 0; background: rgba(16,12,9,0.7);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); z-index: -1; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; box-shadow: 0 4px 14px -4px rgba(245,158,11,0.6); }
.brand-mark.sm { width: 34px; height: 34px; }
.brand-accent { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 0.92rem; }
.nav-links a { color: var(--cream-dim); transition: color 0.2s; }
.nav-links a:hover { color: var(--cream); }
.nav-cta { margin-left: 4px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-weight: 600;
  font-size: 0.95rem; padding: 11px 20px; cursor: pointer; transition: transform 0.2s var(--ease), box-shadow 0.3s, background 0.3s; white-space: nowrap; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-primary { background: var(--accent-grad); color: #2a1606; box-shadow: 0 10px 30px -8px rgba(245,158,11,0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(245,158,11,0.7); }
.btn-outline { border: 1px solid var(--line-2); color: var(--cream); background: rgba(246,241,233,0.02); }
.btn-outline:hover { border-color: var(--amber); background: rgba(245,158,11,0.08); transform: translateY(-2px); }
.btn-ghost { color: var(--cream); padding: 9px 16px; border: 1px solid var(--line); background: rgba(246,241,233,0.03); }
.btn-ghost:hover { border-color: var(--line-2); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.dl { font-weight: 700; }

/* ---------- hero ---------- */
.hero { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px, 9vw, 96px) 24px clamp(30px, 6vw, 70px);
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600;
  color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(251,191,36,0.25); background: rgba(251,191,36,0.06); margin-bottom: 26px; }
.spark { animation: spin 6s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
h1 { font-size: clamp(2.7rem, 6.4vw, 4.7rem); }
.lede { margin: 26px 0 32px; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--cream-dim); max-width: 33ch; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 16px; margin-top: 34px; color: var(--muted); font-size: 0.9rem; flex-wrap: wrap; }
.hero-meta b { color: var(--cream); }
.hero-meta i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); opacity: 0.5; }

/* ---------- hero art ---------- */
.hero-art { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; }
.card { background: var(--glass); border: 1px solid var(--line-2); border-radius: 20px; padding: 20px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); width: 100%; }
.log-card { max-width: 400px; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 0.85rem; }
.chip-domain { font-weight: 600; }
.ts { color: var(--muted); font-size: 0.8rem; }
.log-text { font-size: 1.02rem; color: var(--cream); margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 0.8rem; color: var(--cream-dim); background: rgba(246,241,233,0.05); border: 1px solid var(--line);
  border-radius: 9px; padding: 5px 10px; }
.chip b { color: var(--cream); }
.chip.score { border-color: rgba(74,222,128,0.35); background: rgba(74,222,128,0.08); color: var(--good); }
.chip.score b { color: var(--good); }
.flow-line { width: 2px; height: 46px; background: linear-gradient(var(--amber), transparent); position: relative; margin: 6px 0; opacity: 0.8; }
.flow-line span { position: absolute; left: 50%; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--amber);
  transform: translateX(-50%); box-shadow: 0 0 14px var(--amber); animation: fall 2.4s var(--ease) infinite; }
@keyframes fall { 0% { top: -2px; opacity: 0; } 30% { opacity: 1; } 100% { top: 44px; opacity: 0; } }
.insight-card { max-width: 410px; position: relative; overflow: hidden; border-color: rgba(245,158,11,0.3); }
.insight-glow { position: absolute; inset: 0; background: radial-gradient(120% 100% at 0% 0%, rgba(245,158,11,0.14), transparent 60%); pointer-events: none; }
.insight-row { display: flex; gap: 12px; align-items: flex-start; }
.bulb { font-size: 1.25rem; line-height: 1.2; filter: drop-shadow(0 0 10px rgba(251,191,36,0.5)); }
.insight-row p { font-size: 0.98rem; color: var(--cream); }
.insight-row .good { color: var(--good); }
.insight-row .warn { color: var(--warn); }
.insight-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 0.78rem; }
.insight-foot .n { color: var(--muted); }
.insight-foot .tag { color: var(--gold); border: 1px solid rgba(251,191,36,0.3); border-radius: 999px; padding: 3px 10px; }
.float { animation: floaty 7s ease-in-out infinite; }
.float-slow { animation: floaty 9s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- marquee ---------- */
.marquee-wrap { margin: clamp(20px,5vw,46px) 0; text-align: center; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); border-block: 1px solid var(--line); padding: 18px 0; }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: scrollx 38s linear infinite; }
.marquee-track span { font-size: 1.15rem; font-weight: 500; color: var(--cream-dim); white-space: nowrap; }
@keyframes scrollx { to { transform: translateX(-50%); } }
.marquee-note { margin-top: 18px; color: var(--muted); font-size: 0.95rem; }

/* ---------- sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 9vw, 110px) 24px; }
.section-head { margin-bottom: clamp(34px, 5vw, 60px); }
.kicker { display: inline-block; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: var(--amber); margin-bottom: 16px; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 28px 24px; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(180deg, rgba(246,241,233,0.035), rgba(246,241,233,0.01)); transition: border-color 0.3s, transform 0.3s var(--ease); }
.step:hover { border-color: var(--line-2); transform: translateY(-4px); }
.step-n { font-family: "Fraunces", serif; font-size: 0.95rem; color: var(--amber); letter-spacing: 0.1em; }
.step h3 { font-size: 1.5rem; margin: 14px 0 12px; display: flex; align-items: center; gap: 10px; }
.step-ico { font-size: 1.2rem; }
.step p { color: var(--cream-dim); font-size: 0.98rem; }

/* bento features */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 26px 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(246,241,233,0.025);
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s; }
.feat:hover { border-color: var(--line-2); transform: translateY(-4px); background: rgba(246,241,233,0.04); }
.feat-lg { grid-column: span 1; grid-row: span 2; display: flex; flex-direction: column; }
.feat-ico { font-size: 1.6rem; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 13px;
  background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.2); margin-bottom: 16px; }
.feat h3 { font-size: 1.3rem; margin-bottom: 8px; }
.feat p { color: var(--cream-dim); font-size: 0.95rem; }
.mini-bars { margin-top: auto; padding-top: 22px; display: flex; align-items: flex-end; gap: 7px; height: 90px; }
.mini-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 0 0; background: linear-gradient(var(--gold), var(--copper)); opacity: 0.85;
  animation: grow 1s var(--ease) both; }
@keyframes grow { from { height: 0; } }

/* showcase */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,64px); align-items: center; }
.show-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.show-copy p { color: var(--cream-dim); margin-bottom: 26px; max-width: 42ch; }
.show-card { max-width: 440px; margin-left: auto; }
.show-line { display: flex; align-items: flex-start; gap: 11px; font-size: 0.98rem; color: var(--cream); padding: 9px 0; border-bottom: 1px solid var(--line); }
.show-line .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); margin-top: 8px; flex-shrink: 0; }
.show-line .dot.good { background: var(--good); box-shadow: 0 0 10px rgba(74,222,128,0.6); }
.show-line .dot.warn { background: var(--warn); box-shadow: 0 0 10px rgba(251,191,36,0.6); }
.takeaway { margin-top: 16px; padding: 14px 16px; border-radius: 13px; background: rgba(245,158,11,0.08);
  border: 1px solid rgba(245,158,11,0.22); font-size: 0.96rem; }
.takeaway b { color: var(--gold); margin-right: 6px; }

/* download */
.get-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.get-card { display: flex; flex-direction: column; padding: 28px 26px; border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(180deg, rgba(246,241,233,0.04), rgba(246,241,233,0.01)); transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s; }
.get-card:not(.is-soon):hover { border-color: var(--amber); transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(245,158,11,0.45); }
.get-ico { font-size: 2rem; margin-bottom: 16px; }
.get-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.get-card p { color: var(--cream-dim); font-size: 0.95rem; margin-bottom: 22px; flex: 1; }
.get-act { font-weight: 600; color: var(--amber); display: inline-flex; align-items: center; gap: 7px; }
.get-act .size { color: var(--muted); font-weight: 400; }
.get-act.muted { color: var(--muted); }
.is-soon { opacity: 0.72; }

/* cta */
.cta { max-width: var(--maxw); margin: 0 auto clamp(40px,7vw,90px); padding: 0 24px; }
.cta-inner { position: relative; overflow: hidden; text-align: center; padding: clamp(48px,7vw,84px) 24px; border-radius: 28px;
  border: 1px solid rgba(245,158,11,0.25); background: radial-gradient(120% 140% at 50% 0%, rgba(245,158,11,0.16), rgba(154,52,18,0.06) 50%, transparent 75%); }
.cta-inner h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin-bottom: 18px; }
.cta-inner p { color: var(--cream-dim); max-width: 46ch; margin: 0 auto 30px; font-size: 1.08rem; }

/* footer */
.footer { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px 60px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 12px; }
.foot-brand strong { display: block; font-size: 1rem; }
.foot-brand span { color: var(--muted); font-size: 0.85rem; }
.foot-links { display: flex; gap: 22px; margin-left: auto; font-size: 0.9rem; flex-wrap: wrap; }
.foot-links a { color: var(--cream-dim); transition: color 0.2s; }
.foot-links a:hover { color: var(--amber); }
.foot-copy { width: 100%; color: var(--muted); font-size: 0.82rem; padding-top: 8px; }

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

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { margin-top: 12px; }
  .steps, .bento, .get-grid { grid-template-columns: 1fr; }
  .feat-lg { grid-row: span 1; }
  .showcase { grid-template-columns: 1fr; }
  .show-card { margin: 0 auto; }
}
@media (max-width: 560px) {
  .nav { gap: 12px; }
  .hero-meta { gap: 10px; }
  .btn { font-size: 0.9rem; }
}
