/* ============================================================
   ChefCore — style.css  v1.1
   Dark premium hospitality design — shorter homepage
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:       #0a0a0a;
  --surface:     #111111;
  --surface-2:   #161616;
  --surface-3:   #1e1e1e;
  --border:      #252525;
  --gold:        #c9963a;
  --gold-light:  #e8b96a;
  --gold-dim:    rgba(201,150,58,0.12);
  --gold-line:   rgba(201,150,58,0.32);
  --text:        #e8e4de;
  --text-muted:  #8a8580;
  --text-dim:    #4a4540;
  --white:       #f5f0e8;
  --radius:      6px;
  --radius-lg:   12px;
  --max-w:       1100px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── UTILITIES ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.section-label {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section-label::before { content: '—  '; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 50px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 14px;
}
h2 em { font-style: normal; color: var(--gold); }

.section-intro {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.7;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: #0a0a0a;
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201,150,58,0.25);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-line);
}
.btn-outline:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

/* ── NAV ──────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 28px;
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}
.nav-logo span { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--white); }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 9px 20px; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ── MOBILE MENU ──────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 24px 28px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  display: block;
}
.mobile-menu .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  border-bottom: none;
}

/* ── HERO ─────────────────────────────────────────────────── */
#hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 65% 38%, rgba(201,150,58,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 5% 85%, rgba(201,150,58,0.04) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,150,58,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,150,58,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, black 20%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.hero-eyebrow-line { width: 36px; height: 1px; background: var(--gold); }
.hero-eyebrow span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
  max-width: 520px;
}
.hero-headline em { font-style: normal; color: var(--gold); }

.hero-sub {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-muted);
  max-width: 460px;
  line-height: 1.65;
  margin-bottom: 38px;
  font-weight: 300;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── HERO TWO-COLUMN LAYOUT ───────────────────────────────── */
.hero-inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  gap: 32px;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
}
.hero-image {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 24px 0;
}
.hero-mockup-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}

/* ── SECTION BASE ─────────────────────────────────────────── */
section { padding: 88px 0; }

/* ── PROBLEM → SOLUTION ───────────────────────────────────── */
#problem { background: var(--surface); }

.ps-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  margin-top: 52px;
  border: 1px solid var(--border);
  border-bottom: none;
}
.ps-col-label {
  padding: 13px 28px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ps-col-label.pain { background: var(--surface-3); color: var(--text-dim); }
.ps-col-label.fix  { background: var(--surface-2); color: var(--gold); border-left: 2px solid var(--gold-dim); }

.ps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--border);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
}
.ps-pain {
  background: var(--surface-2);
  padding: 28px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: background 0.2s;
}
.ps-pain:hover { background: var(--surface-3); }
.ps-solution {
  background: var(--black);
  padding: 28px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  border-left: 2px solid var(--gold-dim);
  transition: background 0.2s;
}
.ps-solution:hover { background: #0d0d0d; }

.ps-icon { display: block; flex-shrink: 0; margin-top: 2px; line-height: 1; }

.ps-pain h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 5px;
}
.ps-pain p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.ps-solution h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 5px;
}
.ps-solution p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── FEATURES ─────────────────────────────────────────────── */
#features { background: var(--black); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
}
.feature-card {
  padding: 30px 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.22s;
}
.feature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.feature-card:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.feature-card:hover::after { opacity: 1; }

.feature-icon { display: block; margin-bottom: 18px; line-height: 1; }
.feature-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.feature-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.65; }

/* ── WHO IT'S FOR ─────────────────────────────────────────── */
#who { background: var(--surface); }

.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 52px;
}
.who-card {
  padding: 24px 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.22s, background 0.22s;
}
.who-card:hover { border-color: var(--gold-line); background: var(--surface-3); }
.who-card h3 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.who-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.55; }

/* ── PILOT / DEMO ─────────────────────────────────────────── */
#pilot { background: var(--black); position: relative; overflow: hidden; }
#pilot::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(201,150,58,0.05) 0%, transparent 70%);
}
.pilot-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.pilot-left .section-label { margin-bottom: 18px; }
.pilot-left h2 { margin-bottom: 16px; }
.pilot-left > p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 28px;
  max-width: 400px;
}
.pilot-bullets { display: flex; flex-direction: column; gap: 11px; }
.pilot-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.pilot-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}
.pilot-bullet strong { color: var(--text); }

.pilot-form {
  padding: 36px 34px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.pilot-form h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 5px;
}
.pilot-form > p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 26px;
}
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--gold-line); }
.form-group select option { background: var(--surface-2); }

.form-submit {
  width: 100%;
  justify-content: center;
  font-size: 15px;
  padding: 15px;
  margin-top: 8px;
  border-radius: var(--radius);
}
.form-note {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 11px;
  line-height: 1.5;
  text-align: center;
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 36px;
}
.footer-logo {
  margin-bottom: 14px;
}
.footer-logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
}
.footer-logo span { display: none; }
.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 18px;
}
.footer-emails a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 5px;
  transition: color 0.2s;
}
.footer-emails a:hover { color: var(--gold); }

.footer-col h4 {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 13px; color: var(--text-muted); transition: color 0.2s; }
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 11.5px; color: var(--text-dim); }
.footer-domain { font-size: 11.5px; color: var(--text-dim); font-family: monospace; }

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-cta .btn-outline { display: none; }
  .nav-hamburger { display: flex; }
  .nav-cta .btn-primary { padding: 7px 12px; font-size: 12px; }

  #hero { min-height: unset; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .hero-content { padding: 44px 0 0; }
  .hero-image { padding: 0 0 30px; justify-content: center; }
  .hero-mockup-img { max-width: 300px; }

  .features-grid { grid-template-columns: 1fr 1fr; }
  .who-grid { grid-template-columns: 1fr 1fr; }
  .pilot-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  .ps-header,
  .ps-grid { grid-template-columns: 1fr; }
  .ps-col-label.fix { border-left: none; border-top: 2px solid var(--gold-dim); }
  .ps-solution { border-left: none; border-top: 2px solid var(--gold-dim); }
}

@media (max-width: 600px) {
  section { padding: 64px 0; }
  .container { padding: 0 20px; }
  .features-grid { grid-template-columns: 1fr; }
  .pilot-form { padding: 26px 20px; }
  .nav-logo-img { height: 34px; }
  .footer-logo-img { height: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-top: 28px; }
  .hero-headline { font-size: 34px; line-height: 1.12; }
  .hero-image { padding: 0 0 24px; }
  .hero-mockup-img { max-width: min(280px, 85vw); }
}

@media (max-width: 420px) {
  .who-grid { grid-template-columns: 1fr; }
}
