/* ============================================================
   ReelCap — main.css  (landing page + auth shared design system)
   Accent: coral #FF5A33 · Fonts: Archivo / DM Sans / JetBrains Mono
   ============================================================ */
:root {
  --ink: #1d1512;
  --hot: #FF5A33;
  --hot-deep: #E84B24;
  --cream: #FFF6EE;
  --cream-2: #FFF9F4;
  --line: #F1E7DE;
  --muted: #7a6e64;
  --radius: 1.25rem;
  --shadow-sm: 0 1px 2px oklch(0.2 0.02 30 / .05);
  --shadow-card: 0 8px 30px -12px oklch(0.3 0.03 30 / .16);
  --ease: cubic-bezier(.23,1,.32,1);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,.font-display {
  font-family: 'Archivo', ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -.02em;
  line-height: 1.08;
}
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: 'Archivo', sans-serif; font-weight: 700; font-size: .75rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--hot);
  display: inline-flex; align-items: center; gap: .5rem;
}
.eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--hot);
  box-shadow: 0 0 0 4px oklch(.66 .215 32 / .15);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; border: 0; cursor: pointer;
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .2s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--hot); color: #fff; border-radius: 999px;
  font-size: 1rem; padding: .95rem 1.8rem;
  box-shadow: 0 10px 26px -8px oklch(.66 .215 32 / .55);
}
.btn-primary:hover { background: var(--hot-deep); box-shadow: 0 14px 32px -8px oklch(.66 .215 32 / .65); }
.btn-ghost {
  background: #fff; color: var(--ink); border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .9rem; padding: .55rem 1.2rem;
}
.btn-ghost:hover { border-color: var(--hot); color: var(--hot-deep); }
.arrow-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 600; color: var(--hot-deep); font-size: .95rem;
  transition: gap .18s var(--ease), color .18s;
}
.arrow-link:hover { gap: .7rem; color: var(--hot); }
.arrow-link .arr { transition: transform .2s var(--ease); }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: oklch(1 0 0 / .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), background .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em;
}
.brand img { width: 40px; height: 40px; border-radius: 12px; }
.rec-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #1d1512; color: #fff; font-family: 'JetBrains Mono', monospace;
  font-size: .6rem; font-weight: 700; letter-spacing: .12em;
  padding: .22rem .5rem; border-radius: 6px;
}
.rec-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: #ff4033;
  animation: rec-blink 1.4s ease-in-out infinite;
}
.nav-links { display: flex; align-items: center; gap: 2rem; font-weight: 500; font-size: .95rem; color: #4a4039; }
.nav-links a { position: relative; }
.nav-links a:hover { color: var(--hot-deep); }
.nav-links .dd::after { content: ' ▾'; font-size: .7rem; color: var(--muted); }
.nav-cta { display: flex; align-items: center; gap: .9rem; }
.nav-cta .login { font-weight: 600; font-size: .95rem; color: #4a4039; }
.nav-cta .login:hover { color: var(--hot-deep); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(60% 55% at 50% 0%, oklch(.99 .02 50 / .9), #fff 65%), #fff;
  padding: 150px 0 70px;
  text-align: center;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 999px; padding: .4rem 1rem .4rem .6rem;
  font-size: .85rem; font-weight: 600; color: #7a5c3d; margin-bottom: 1.6rem;
}
.hero-kicker .chip { background: var(--hot); color: #fff; border-radius: 999px; padding: .15rem .55rem; font-size: .75rem; font-weight: 700; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 900; max-width: 22ch; margin: 0 auto 1.2rem; }
.hero h1 .hot { color: var(--hot); }
.hero p.lead { max-width: 56ch; margin: 0 auto 2.2rem; font-size: 1.15rem; color: var(--muted); }
.cta-wrap { display: inline-flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-visual { margin: 3.5rem auto 0; max-width: 760px; }
.hero-visual img { border-radius: 1.5rem; box-shadow: var(--shadow-card); width: 100%; }

/* ---------- Marquee ---------- */
.marquee-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream-2); padding: .9rem 0; overflow: hidden; }
.marquee { display: flex; width: max-content; gap: 3.2rem; animation: marquee-x 26s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; color: #8c7f73; font-size: .95rem; white-space: nowrap; }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.sec-head { text-align: center; max-width: 620px; margin: 0 auto 3.5rem; }
.sec-head .eyebrow { margin-bottom: .9rem; }
.sec-head h2 { font-size: clamp(2rem,4vw,2.9rem); font-weight: 800; margin-bottom: .9rem; }
.sec-head p { color: var(--muted); font-size: 1.08rem; }

/* feature cards */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.f-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.f-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.f-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: .5rem; }
.f-card p { color: var(--muted); font-size: .96rem; margin-bottom: 1.4rem; }
.f-card .visual { border-radius: 1rem; overflow: hidden; border: 1px solid var(--line); background: var(--cream-2); }
.f-card .visual img { width: 100%; border-radius: 1rem; }
.f-card .more { margin-top: 1.2rem; }
.feature-list { margin-top: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 3rem; }
.f-item { display: flex; gap: .9rem; align-items: flex-start; }
.f-item .dot {
  flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--cream);
  display: grid; place-items: center; color: var(--hot); font-size: 1rem; margin-top: 2px;
}
.f-item h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: .2rem; }
.f-item p { color: var(--muted); font-size: .9rem; }

/* how it works */
.how { background: var(--cream-2); }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem; position: relative; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; box-shadow: var(--shadow-sm); position: relative;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.step .num {
  font-family: 'JetBrains Mono', monospace; font-weight: 700; font-size: .75rem;
  color: var(--hot); background: var(--cream); border: 1px solid var(--line);
  border-radius: 8px; padding: .25rem .6rem; display: inline-block; margin-bottom: 1rem;
}
.step h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .95rem; }
.step .mini { margin-top: 1.4rem; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); padding: .7rem; }

/* tools */
.tools { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.tool {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.tool:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.tool .thumb { aspect-ratio: 3/2; background: linear-gradient(135deg,var(--cream),#ffe8da); display: grid; place-items: center; position: relative; overflow: hidden; }
.tool .thumb img { width: 100%; height: 100%; object-fit: cover; }
.tool .body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.tool .badge {
  align-self: flex-start; font-family: 'JetBrains Mono', monospace; font-size: .68rem; font-weight: 700;
  color: var(--hot-deep); background: var(--cream); border: 1px solid var(--line);
  border-radius: 999px; padding: .15rem .55rem; letter-spacing: .06em;
}
.tool h3 { font-size: 1.1rem; font-weight: 800; }
.tool p { color: var(--muted); font-size: .9rem; flex: 1; }
.tool .try { color: var(--hot-deep); font-weight: 600; font-size: .9rem; display: inline-flex; gap: .35rem; align-items: center; }
.tool .try:hover { gap: .6rem; }

/* before / after */
.b4 { background: #161210; color: #f3ece5; position: relative; overflow: hidden; }
.b4::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(55% 45% at 70% 20%, oklch(.66 .215 32 / .18), transparent 65%);
  pointer-events: none;
}
.b4 .sec-head h2 { color: #fff; }
.b4 .sec-head p { color: #b7aaa0; }
.b4-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; position: relative; }
.b4-col { border-radius: var(--radius); padding: 2.2rem; }
.b4-col.before { background: oklch(.22 .01 40); border: 1px solid oklch(.3 .015 40); }
.b4-col.after { background: linear-gradient(160deg,#2a1a14,#3a2018); border: 1px solid oklch(.66 .215 32 / .4); }
.b4-col .label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'JetBrains Mono', monospace; font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; border-radius: 999px; padding: .3rem .8rem; margin-bottom: 1.4rem;
}
.b4-col.before .label { background: oklch(.3 .012 40); color: #b7aaa0; }
.b4-col.after .label { background: oklch(.66 .215 32 / .9); color: #fff; }
.b4-col ul { list-style: none; display: flex; flex-direction: column; gap: .9rem; }
.b4-col li { display: flex; gap: .75rem; align-items: flex-start; font-size: 1rem; color: #e8ddd4; }
.b4-col li .mark { flex: none; font-weight: 800; }
.b4-col.before li .mark { color: #a09085; }
.b4-col.after li .mark { color: var(--hot); }

/* pricing */
.pricing { background: var(--cream-2); }
.toggle-row { display: flex; justify-content: center; align-items: center; gap: .9rem; margin: -1.5rem 0 3.2rem; }
.switch {
  position: relative; width: 54px; height: 30px; background: #d9c9bd; border-radius: 999px; cursor: pointer;
  transition: background .25s var(--ease);
}
.switch.on { background: var(--hot); }
.switch::after {
  content: ''; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff;
  transition: transform .25s var(--ease); box-shadow: 0 2px 6px oklch(.3 .03 30 / .25);
}
.switch.on::after { transform: translateX(24px); }
.save-chip { background: var(--cream); border: 1px solid var(--line); color: var(--hot-deep); font-weight: 700; font-size: .78rem; border-radius: 999px; padding: .2rem .65rem; }
.plans { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; align-items: stretch; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.2rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform .22s var(--ease);
}
.plan:hover { transform: translateY(-5px); }
.plan.featured { border: 2px solid var(--hot); box-shadow: 0 20px 46px -18px oklch(.66 .215 32 / .35); position: relative; }
.plan.featured .popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--hot); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 999px; padding: .3rem .9rem;
}
.plan h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: .3rem; }
.plan .tag { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.price { display: flex; align-items: baseline; gap: .35rem; margin-bottom: .2rem; }
.price .amt { font-family: 'Archivo', sans-serif; font-size: 2.6rem; font-weight: 900; letter-spacing: -.03em; }
.price .per { color: var(--muted); font-size: .9rem; }
.bill { font-size: .82rem; color: var(--muted); margin-bottom: 1.4rem; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin: 1rem 0 1.6rem; flex: 1; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; color: #3d342e; }
.plan li::before { content: '✓'; color: var(--hot); font-weight: 800; }
.plan .choose {
  display: block; text-align: center; border-radius: 999px; padding: .85rem; font-weight: 700; font-size: .95rem;
  border: 1.5px solid var(--ink); background: #fff; color: var(--ink);
  transition: all .16s var(--ease);
}
.plan .choose:hover { background: var(--ink); color: #fff; }
.plan.featured .choose { background: var(--hot); border-color: var(--hot); color: #fff; }
.plan.featured .choose:hover { background: var(--hot-deep); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
details {
  border: 1px solid var(--line); border-radius: 1rem; background: #fff; margin-bottom: .8rem;
  transition: box-shadow .2s var(--ease);
}
details[open] { box-shadow: var(--shadow-card); }
summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.2rem 1.4rem; font-weight: 700; font-size: 1.02rem;
}
summary::-webkit-details-marker { display: none; }
summary .plus {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--cream);
  display: grid; place-items: center; color: var(--hot); font-size: 1.1rem; font-weight: 700;
  transition: transform .25s var(--ease);
}
details[open] summary .plus { transform: rotate(45deg); }
details .ans { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: .96rem; }

/* final CTA */
.final {
  background: linear-gradient(180deg, var(--cream), var(--cream-2));
  text-align: center; padding: 96px 0 110px;
}
.final h2 { font-size: clamp(2.1rem,4.5vw,3.1rem); font-weight: 900; max-width: 18ch; margin: 0 auto 1rem; }
.final h2 .hot { color: var(--hot); }
.final p { color: var(--muted); font-size: 1.1rem; max-width: 52ch; margin: 0 auto 2.2rem; }

/* footer */
footer { background: #161210; color: #d8cdc4; padding: 64px 0 36px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3.5rem; }
.foot-brand p { color: #a99b90; font-size: .9rem; margin-top: 1rem; max-width: 32ch; }
.foot-grid h5 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; font-weight: 700; }
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.foot-grid a { font-size: .92rem; color: #a99b90; }
.foot-grid a:hover { color: #fff; }
.foot-bottom {
  border-top: 1px solid oklch(.3 .015 40); padding-top: 1.6rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: #8c7f73;
}
.foot-cta {
  display: inline-flex; align-items: center; gap: .6rem; background: var(--hot); color: #fff;
  font-weight: 700; border-radius: 999px; padding: .75rem 1.5rem; font-size: .95rem;
  transition: background .16s var(--ease);
}
.foot-cta:hover { background: var(--hot-deep); }

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

/* ---- Auth pages ---- */
.auth-page {
  min-height: 100vh; background: var(--cream-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2rem 1rem;
}
.auth-card {
  background: #fff; border: 1px solid var(--line); border-radius: 1.5rem;
  padding: 2.5rem 2.8rem; width: 100%; max-width: 440px;
  box-shadow: 0 16px 48px -16px oklch(.3 .03 30 / .14);
}
.auth-brand {
  display: flex; align-items: center; gap: .65rem;
  font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em;
  margin-bottom: 2rem; justify-content: center;
}
.auth-brand img { width: 38px; height: 38px; border-radius: 11px; }
.auth-card h1 { font-size: 1.7rem; font-weight: 800; margin-bottom: .35rem; }
.auth-card .sub { color: var(--muted); font-size: .97rem; margin-bottom: 1.8rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: .4rem; color: var(--ink); }
.form-group input {
  width: 100%; padding: .8rem 1rem;
  border: 1.5px solid var(--line); border-radius: .9rem;
  font-family: inherit; font-size: .97rem; color: var(--ink);
  background: var(--cream-2);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
  outline: none;
}
.form-group input:focus { border-color: var(--hot); box-shadow: 0 0 0 3px oklch(.66 .215 32 / .12); }
.form-check { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--muted); margin-bottom: 1.4rem; }
.form-check input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--hot); margin-top: 2px; flex: none; }
.auth-submit {
  width: 100%; padding: .95rem; border-radius: 999px; border: 0;
  background: var(--hot); color: #fff; font-weight: 700; font-size: 1rem;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 10px 22px -8px oklch(.66 .215 32 / .5);
  transition: background .18s var(--ease), transform .16s var(--ease);
}
.auth-submit:hover { background: var(--hot-deep); }
.auth-submit:active { transform: scale(.98); }
.auth-divider { display: flex; align-items: center; gap: .8rem; margin: 1.2rem 0; color: var(--muted); font-size: .85rem; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.social-btn {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: .7rem;
  padding: .8rem; border-radius: 999px; border: 1.5px solid var(--line);
  background: #fff; font-weight: 600; font-size: .95rem; color: var(--ink);
  cursor: pointer; font-family: inherit; margin-bottom: .7rem;
  transition: border-color .16s, background .16s;
}
.social-btn:hover { border-color: var(--hot); background: var(--cream-2); }
.auth-footer { text-align: center; margin-top: 1.4rem; font-size: .92rem; color: var(--muted); }
.auth-footer a { color: var(--hot-deep); font-weight: 600; }
.auth-footer a:hover { color: var(--hot); }
.forgot-link { text-align: right; margin-top: -.6rem; margin-bottom: 1.2rem; }
.forgot-link a { font-size: .87rem; color: var(--muted); }
.forgot-link a:hover { color: var(--hot-deep); }
.error-msg { background: #fff0ed; border: 1px solid #ffc8bb; color: #b53a20; border-radius: .75rem; padding: .75rem 1rem; margin-bottom: 1.2rem; font-size: .91rem; }
.coming-soon-badge {
  position: absolute; top: -7px; right: 12px;
  background: #1d1512; color: #fff;
  font-family: 'JetBrains Mono', monospace; font-size: .64rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  padding: .18rem .55rem; border-radius: 999px; z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.tiktok-btn-disabled {
  opacity: .55; cursor: not-allowed !important;
  background: var(--cream-2) !important; border-color: var(--line) !important;
}
.tiktok-btn-disabled:hover { border-color: var(--line) !important; background: var(--cream-2) !important; }

/* ---- Keyframes ---- */
@keyframes marquee-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes rec-blink { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .marquee, .rec-badge::before { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .features, .feature-list, .steps, .tools, .b4-grid, .plans { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta .login { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu {
    display: none; position: fixed; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 1rem 1.5rem 1.5rem;
    flex-direction: column; gap: 1rem; font-weight: 600; font-size: 1.05rem; z-index: 49;
  }
  .mobile-menu.open { display: flex; }
  section { padding: 64px 0; }
  .hero { padding: 120px 0 56px; }
  .auth-card { padding: 2rem 1.5rem; }
}
