/* Bharat Restaurant OS — marketing + signup site
   Mirrors the Flutter app's quiet, premium India-rooted palette
   (deep saffron seed #B8412B, cream surfaces, warm gold accent).
*/

:root {
  /* Brand */
  --saffron:        #B8412B;
  --saffron-deep:   #8E2F1F;
  --saffron-soft:   #D86A52;
  --saffron-tint:   #FBE9E2;
  --gold:           #C18A2D;
  --gold-soft:      #D9A95A;
  --gold-tint:      #F8ECD2;
  --teal:           #4F6D7A;
  --teal-deep:      #2F4651;
  --teal-tint:      #E5ECEF;

  /* Surfaces (light, app-matching) */
  --bg:        #FAF9F7;        /* page background — warm cream */
  --bg-2:      #F2EEE8;        /* alt section bg */
  --surface:   #FFFFFF;        /* card surface */
  --surface-2: #F4F2EF;        /* sub-card */
  --ink:       #1A1C1E;        /* primary text */
  --ink-2:     #5F6368;        /* body text */
  --ink-3:     #9AA0A6;        /* muted */
  --hairline:  #E3E2DF;        /* dividers */

  /* Semantic */
  --success: #2E7D5B;
  --warning: #C07B12;
  --error:   #B3261E;

  /* Geometry */
  --r-xs: 8px;
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Soft, layered shadows (no hard drop) */
  --shadow-1: 0 1px 2px rgba(26,28,30,.04), 0 4px 16px rgba(26,28,30,.05);
  --shadow-2: 0 2px 6px rgba(26,28,30,.05), 0 16px 48px rgba(26,28,30,.08);
  --shadow-saffron: 0 14px 40px -8px rgba(184,65,43,.32);

  --container: 1180px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          Helvetica, Arial, sans-serif, 'Apple Color Emoji';

  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--saffron); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--saffron-deep); }

h1, h2, h3, h4 {
  color: var(--ink);
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 16px;
}
h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; }
h3 { font-size: 20px; line-height: 1.35; }
p  { color: var(--ink-2); margin: 0 0 12px; }

::selection { background: var(--saffron-tint); color: var(--saffron-deep); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.muted   { color: var(--ink-3); }
.center  { text-align: center; }
.grad-text {
  background: linear-gradient(120deg, var(--saffron) 10%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Nav ───────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 247, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(227, 226, 223, .7);
}
.nav .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 17px; color: var(--ink);
  letter-spacing: -0.01em;
}
.logo .mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 15px;
  box-shadow: var(--shadow-saffron);
  position: relative; overflow: hidden;
}
.logo .mark::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.5), transparent 60%);
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-weight: 600; font-size: 15px; font-family: inherit; line-height: 1;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease),
              background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: #fff;
  box-shadow: var(--shadow-saffron);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 48px -8px rgba(184,65,43,.45);
  color: #fff;
}
.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-ghost:hover {
  border-color: var(--ink-3);
  color: var(--ink);
}
.btn-block { width: 100%; padding: 14px 22px; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ── Hero ──────────────────────────────────── */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero::before {
  /* warm cream radial wash */
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 80% 0%,  rgba(184,65,43,.08), transparent 70%),
    radial-gradient(50% 40% at 10% 30%, rgba(193,138,45,.06), transparent 70%);
  pointer-events: none;
}
.hero::after {
  /* floating mandala accents */
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><circle cx='20' cy='20' r='1' fill='%23B8412B' fill-opacity='.12'/></svg>");
  background-size: 28px 28px;
  opacity: .4;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-text { max-width: 580px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--saffron-tint);
  color: var(--saffron-deep);
  border: 1px solid rgba(184,65,43,.18);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 22px;
}
.pill-dot {
  width: 7px; height: 7px;
  background: var(--saffron);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(184,65,43,.18);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(184,65,43,.35); }
  50%      { box-shadow: 0 0 0 8px rgba(184,65,43,0); }
}
.hero-sub {
  font-size: 19px;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 520px;
  line-height: 1.55;
}
.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.hero-trust {
  display: flex; align-items: center; gap: 16px;
  color: var(--ink-3); font-size: 13px;
}
.avatar-stack { display: flex; }
.avatar-stack span {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  background: linear-gradient(135deg, var(--saffron-soft), var(--gold-soft));
  margin-left: -8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 12px; font-weight: 700;
}
.avatar-stack span:first-child { margin-left: 0; }

/* hero stage = animated chef + floating POS card */
.hero-stage {
  position: relative;
  height: 460px;
  display: flex; align-items: center; justify-content: center;
}
.stage-glow {
  position: absolute; inset: 0;
  background: radial-gradient(50% 50% at 50% 60%,
              rgba(184,65,43,.18), transparent 70%);
  filter: blur(10px);
}
.chef {
  position: relative;
  width: 320px; height: 360px;
  filter: drop-shadow(0 30px 30px rgba(26,28,30,.15));
}
.chef .body { animation: bob 4s var(--ease) infinite; transform-origin: 50% 100%; }
.chef .arm-r { animation: toss 2.6s var(--ease) infinite; transform-origin: 168px 168px; }
.chef .pan   { animation: pan-toss 2.6s var(--ease) infinite; transform-origin: 220px 175px; }
.chef .dosa  { animation: dosa-flip 2.6s var(--ease) infinite; transform-origin: 240px 165px; }
.chef .steam { animation: steam 3.2s ease-in infinite; opacity: 0; }
.chef .steam:nth-of-type(2) { animation-delay: 1s; }
.chef .steam:nth-of-type(3) { animation-delay: 2s; }
.chef .eye   { animation: blink 5.6s steps(1,end) infinite; transform-origin: center; }

@keyframes bob   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes toss  { 0%,100% { transform: rotate(0deg); }  45% { transform: rotate(-14deg); } 60% { transform: rotate(0deg); } }
@keyframes pan-toss {
  0%,40% { transform: translate(0,0) rotate(0); }
  55%    { transform: translate(0,-12px) rotate(-12deg); }
  100%   { transform: translate(0,0) rotate(0); }
}
@keyframes dosa-flip {
  0%, 35% { transform: translate(0, 0) rotate(0); }
  55%     { transform: translate(0, -52px) rotate(180deg); }
  85%     { transform: translate(0, -12px) rotate(360deg); }
  100%    { transform: translate(0, 0) rotate(360deg); }
}
@keyframes steam {
  0%   { transform: translateY(0)   scale(.9); opacity: 0; }
  20%  { opacity: .55; }
  100% { transform: translateY(-90px) scale(1.4); opacity: 0; }
}
@keyframes blink { 0%,96%,100%{ transform: scaleY(1); } 98%{ transform: scaleY(.1); } }

/* Floating POS mock card */
.pos-card {
  position: absolute;
  right: -8px; top: 30px;
  width: 240px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  box-shadow: var(--shadow-2);
  padding: 14px;
  animation: floatCard 6s var(--ease) infinite;
}
@keyframes floatCard {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}
.pos-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--ink-3);
  margin-bottom: 10px;
}
.pos-head .live {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--success); font-weight: 600;
}
.pos-head .live::before {
  content: ''; width: 6px; height: 6px;
  background: var(--success); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(46,125,91,.18);
  animation: pulse 1.6s ease infinite;
}
.pos-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 6px;
  border-radius: 8px;
  font-size: 13px;
}
.pos-row + .pos-row { border-top: 1px dashed var(--hairline); }
.pos-row .name { color: var(--ink); font-weight: 500; }
.pos-row .qty  { color: var(--ink-3); font-size: 11px; margin-left: 4px; }
.pos-row .amt  { color: var(--ink); font-weight: 600; }
.pos-total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; align-items: baseline;
}
.pos-total .label { color: var(--ink-3); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.pos-total .val   { color: var(--ink); font-weight: 800; font-size: 22px; }
.pos-pay {
  margin-top: 12px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: #fff;
  text-align: center;
  border-radius: 10px;
  padding: 10px;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 10px 24px -10px rgba(184,65,43,.6);
}

/* Tiny KOT card peeking from behind */
.kot-card {
  position: absolute;
  left: 8px; bottom: 24px;
  width: 180px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  padding: 12px;
  box-shadow: var(--shadow-1);
  animation: floatCard 7s var(--ease) infinite;
  animation-delay: 1.5s;
  transform: rotate(-4deg);
}
.kot-card .label {
  font-size: 11px; color: var(--gold); letter-spacing: .12em;
  font-weight: 700; text-transform: uppercase; margin-bottom: 6px;
}
.kot-card .num { font-size: 22px; font-weight: 800; color: var(--ink); }
.kot-card .timer { display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; font-size: 12px; color: var(--success); font-weight: 600;
}
.kot-card .timer::before {
  content: ''; width: 6px; height: 6px; background: var(--success); border-radius: 50%;
}

/* Hero stats bar */
.hero-stats {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
}
.hero-stats > div {
  padding: 0 18px;
  border-right: 1px solid var(--hairline);
}
.hero-stats > div:last-child { border-right: 0; }
.hero-stats .stat-num {
  font-size: 28px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.01em;
}
.hero-stats .stat-label {
  font-size: 13px; color: var(--ink-3); margin-top: 4px;
}

/* ── Sections ──────────────────────────────── */
.section { padding: 96px 0; position: relative; }
.section.alt { background: var(--bg-2); }
.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 56px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--saffron);
  font-weight: 700; font-size: 12px;
  text-transform: uppercase; letter-spacing: .14em;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ''; width: 22px; height: 2px;
  background: var(--saffron); border-radius: 2px;
}
.section-head p { font-size: 17px; color: var(--ink-2); }

/* ── Trust strip (logos + facts) ───────────── */
.trust {
  padding: 28px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}
.trust .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.trust-label {
  font-size: 12px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-3); font-weight: 700;
}
.trust-items {
  display: flex; align-items: center; flex-wrap: wrap; gap: 28px;
  color: var(--ink-2); font-size: 15px;
}
.trust-items b { color: var(--ink); font-weight: 700; }

/* ── How it works ──────────────────────────── */
.how-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.step-card {
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--saffron-tint), var(--gold-tint));
  color: var(--saffron);
  font-size: 18px; font-weight: 800;
  margin-bottom: 18px;
}
.step-card h3 { margin-bottom: 8px; }
.step-card p  { font-size: 14px; }
.step-svg {
  margin-top: 18px;
  height: 110px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  border-radius: var(--r-sm);
  color: var(--saffron);
}

/* ── Features grid ─────────────────────────── */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  padding: 28px;
  position: relative;
  transition: transform .25s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184,65,43,.35);
  box-shadow: var(--shadow-2);
}
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--saffron);
  background: var(--saffron-tint);
}
.feature-card.t-gold .feature-icon { background: var(--gold-tint); color: var(--gold); }
.feature-card.t-teal .feature-icon { background: var(--teal-tint); color: var(--teal); }
.feature-card h3 { margin-bottom: 8px; }
.feature-card p  { font-size: 14px; margin: 0; }

/* ── Pricing ───────────────────────────────── */
.pricing {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.plan {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  padding: 32px;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.plan-recommended {
  border-color: rgba(184,65,43,.45);
  position: relative;
  background:
    linear-gradient(180deg, rgba(184,65,43,.04), transparent 30%),
    var(--surface);
}
.plan-recommended::before {
  content: 'Most popular';
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: #fff;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 11px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  box-shadow: var(--shadow-saffron);
}
.plan-name {
  font-size: 13px; color: var(--ink-2);
  text-transform: uppercase; letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: 4px;
}
.plan-tagline { font-size: 14px; color: var(--ink-3); margin-bottom: 24px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.plan-price .amt {
  font-size: 44px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.02em;
}
.plan-price .per { font-size: 14px; color: var(--ink-3); }
.plan-yearly {
  color: var(--success); font-size: 13px; font-weight: 600;
  margin-bottom: 24px;
}
.plan-features { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan-features li {
  padding: 10px 0;
  color: var(--ink-2); font-size: 14px;
  display: flex; align-items: flex-start; gap: 10px;
  border-bottom: 1px solid var(--hairline);
}
.plan-features li:last-child { border-bottom: 0; }
.plan-features li::before {
  content: '';
  width: 18px; height: 18px;
  background: var(--saffron-tint);
  color: var(--saffron);
  border-radius: 50%;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23B8412B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'></polyline></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.plan-features li.off { color: var(--ink-3); }
.plan-features li.off::before {
  background: var(--surface-2);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%239AA0A6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><line x1='5' y1='12' x2='19' y2='12'/></svg>");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ── CTA strip ─────────────────────────────── */
.cta-strip {
  margin: 0 24px;
  padding: 56px 32px;
  border-radius: var(--r-xl);
  background:
    radial-gradient(60% 80% at 80% 0%, rgba(193,138,45,.16), transparent 70%),
    linear-gradient(135deg, var(--saffron) 10%, var(--saffron-deep) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-2);
}
.cta-strip::after {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><circle cx='20' cy='20' r='1' fill='%23ffffff' fill-opacity='.18'/></svg>");
  background-size: 24px 24px;
  opacity: .35;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.cta-strip h2 { color: #fff; margin-bottom: 8px; }
.cta-strip p  { color: rgba(255,255,255,.86); font-size: 17px; margin-bottom: 28px; }
.cta-strip .btn-primary {
  background: #fff;
  color: var(--saffron-deep);
  box-shadow: 0 14px 40px -8px rgba(0,0,0,.25);
}
.cta-strip .btn-primary:hover { background: #fff; color: var(--saffron-deep); }
.cta-strip .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.cta-strip .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ── Form pages ────────────────────────────── */
.auth-wrap {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 56px 24px;
  background:
    radial-gradient(50% 40% at 80% 0%,  rgba(184,65,43,.10), transparent 70%),
    radial-gradient(50% 40% at 10% 30%, rgba(193,138,45,.08), transparent 70%),
    var(--bg);
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r);
  padding: 40px;
  width: 100%; max-width: 480px;
  box-shadow: var(--shadow-2);
}
.auth-card.wide { max-width: 720px; }
.auth-header { text-align: center; margin-bottom: 28px; }
.auth-header h1 { font-size: 28px; margin-bottom: 6px; }
.auth-header p { color: var(--ink-3); }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--ink-2); margin-bottom: 6px;
}
.input {
  width: 100%;
  padding: 13px 14px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  color: var(--ink);
  font-size: 15px; font-family: inherit;
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.input:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 0 3px rgba(184,65,43,.14);
}
.input::placeholder { color: var(--ink-3); }
.input.error { border-color: var(--error); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 16px;
}
.alert-error {
  background: rgba(179,38,30,.08);
  border: 1px solid rgba(179,38,30,.25);
  color: var(--error);
}
.alert-success {
  background: rgba(46,125,91,.08);
  border: 1px solid rgba(46,125,91,.25);
  color: var(--success);
}

.auth-foot {
  text-align: center;
  color: var(--ink-3); font-size: 13px;
  margin-top: 22px;
}

/* Plan picker (signup) */
.plan-picker {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-bottom: 20px;
}
.plan-pick-item {
  position: relative;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color .15s var(--ease), background .15s var(--ease),
              transform .12s var(--ease);
}
.plan-pick-item:hover { border-color: var(--ink-3); transform: translateY(-1px); }
.plan-pick-item input {
  position: absolute; opacity: 0; pointer-events: none;
}
.plan-pick-item.active {
  border-color: var(--saffron);
  background: linear-gradient(180deg, var(--saffron-tint), transparent 80%);
  box-shadow: 0 0 0 3px rgba(184,65,43,.12);
}
.plan-pick-item .pp-name {
  font-weight: 700; font-size: 14px; color: var(--ink);
}
.plan-pick-item .pp-price {
  font-size: 20px; font-weight: 800; color: var(--saffron);
  margin-top: 6px;
}
.plan-pick-item .pp-sub {
  font-size: 12px; color: var(--ink-3); margin-top: 2px;
}

/* ── Success page ──────────────────────────── */
.success-mark {
  width: 80px; height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(46,125,91,.12), rgba(46,125,91,.04));
  border: 2px solid rgba(46,125,91,.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--success); font-size: 38px; font-weight: 800;
  position: relative;
}
.success-mark::after {
  content: ''; position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(46,125,91,.18);
  animation: ringExpand 2s var(--ease) infinite;
}
@keyframes ringExpand {
  0%   { transform: scale(.95); opacity: .6; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ── Footer ────────────────────────────────── */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 0 32px;
  color: var(--ink-3);
  font-size: 14px;
  background: var(--surface);
}
.footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer .brand-col p { color: var(--ink-3); margin-top: 12px; max-width: 280px; font-size: 14px; }
.footer h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink); margin: 6px 0 14px;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { padding: 5px 0; }
.footer a { color: var(--ink-2); }
.footer a:hover { color: var(--saffron); }
.footer .legal {
  grid-column: 1 / -1;
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  color: var(--ink-3);
}

/* ── Reveal on scroll ──────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: transform, opacity;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .chef *, .pos-card, .kot-card, .pill-dot, .success-mark::after { animation: none !important; }
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 1000px) {
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { height: 380px; max-width: 380px; margin: 0 auto; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px; }
  .hero-stats > div { border-right: 0; padding: 8px 12px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  .plan-picker { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .nav-links .hide-sm { display: none; }
  .section { padding: 64px 0; }
  .footer .container { grid-template-columns: 1fr 1fr; }
  .footer .brand-col { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .footer .container { grid-template-columns: 1fr; }
  .cta-strip { padding: 40px 24px; margin: 0 16px; }
  .auth-card { padding: 28px 22px; }
}
