/* Cookie consent banner */
.oc-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
  padding: 1rem 1.25rem;
}

.oc-cookie-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.oc-cookie-text {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-600);
  flex: 1;
  min-width: 220px;
}

.oc-cookie-text a {
  color: var(--red);
  font-weight: 600;
}

.oc-cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.oc-cookie-actions .btn {
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
}

:root {
  --red: #dc2626;
  --red-dark: #b91c1c;
  --gold: #d97706;
  --green: #16a34a;
  --green-bright: #22c55e;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 10px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: min(1100px, 100% - 3rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

/* Header — matches AppHeader light bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  min-height: 72px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.logo-wordmark {
  height: 52px;
  width: auto;
  max-width: min(420px, 55vw);
  object-fit: contain;
  object-position: left center;
}

.logo-hat {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
}

.nav a:hover {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.lang-switcher-select {
  appearance: none;
  border: 1px solid var(--gray-200);
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 0.55rem center;
  color: var(--gray-700);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 1.65rem 0.4rem 0.55rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  max-width: 9.5rem;
}

.lang-switcher-select:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}

html.is-rtl body {
  direction: rtl;
}

html.is-rtl .header-actions,
html.is-rtl .app-topbar-actions,
html.is-rtl .auth-footer-link {
  direction: rtl;
}

html.is-rtl .lang-switcher-select {
  background-position: left 0.55rem center;
  padding: 0.4rem 0.55rem 0.4rem 1.65rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.12s ease, opacity 0.12s ease, background 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover:not(:disabled) {
  background: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

.btn-green-solid {
  background: var(--green-bright);
  color: var(--white);
  box-shadow: 0 3px 12px rgba(34, 197, 94, 0.35);
}

.btn-green-solid:hover:not(:disabled) {
  filter: brightness(1.05);
}

.btn-register-chef {
  background: var(--red);
  color: var(--white);
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
}

.btn-register-learner {
  background: var(--green);
  color: var(--white);
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
}

/* Promo banner — full-width image on top, copy below */
.banner {
  padding: 0 0 2rem;
  background: var(--white);
}

.banner-visual {
  width: 100%;
  line-height: 0;
  overflow: hidden;
}

.banner-visual img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-body {
  padding-top: 1.75rem;
}

.banner-copy {
  text-align: center;
  max-width: 36rem;
  margin-inline: auto;
}

.banner-headline {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 900;
  line-height: 1.2;
  margin: 0 0 0.35rem;
  color: #1a1a1a;
}

.banner-headline .red {
  color: var(--red);
}

.banner-headline .gold {
  color: var(--gold);
}

.banner-sub {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.45;
  margin: 0 auto 1rem;
}

.banner-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.banner-bullet {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  line-height: 1.35;
}

.banner-bullet-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--red);
  font-size: 1rem;
}


.icon-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0.35rem 0;
  color: var(--gray-200);
  font-size: 1.25rem;
}

/* Hero */
.hero {
  text-align: center;
  padding: 2rem 0 2.25rem;
  background: var(--white);
}

.hero-logo {
  width: min(760px, 100%);
  height: auto;
  max-height: 144px;
  object-fit: contain;
  margin: 0.75rem auto 0;
}

.hero-tagline {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  letter-spacing: 0.06em;
  margin: 0.5rem 0 0;
  text-transform: uppercase;
}

.hero-desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  max-width: 32rem;
  margin: 0.75rem auto 1.5rem;
  line-height: 1.55;
}

.countdown-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--gray-400);
  margin-bottom: 0.65rem;
}

.countdown {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  flex-wrap: wrap;
}

.countdown-box {
  width: 64px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.countdown-box .num {
  font-size: 1.5rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown-box .unit {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-top: 0.25rem;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section.alt-gray {
  background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
}

.section.alt-green {
  background: linear-gradient(180deg, #f0fdf4, #ecfdf5);
}

.section-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 1.35rem;
}

.section-icon.red {
  color: var(--red);
}

.section-icon.gold {
  color: var(--gold);
}

.section-icon.green {
  color: var(--green);
}

.section-title {
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 900;
  margin: 0 0 0.75rem;
}

.section-body {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
  max-width: 40rem;
  margin: 0 auto 0.5rem;
}

.mission-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.mission-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.1rem;
}

.cards-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.35rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  color: var(--red);
  font-size: 1.5rem;
}

.feature-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.5;
}

.why-list {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.why-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.why-item p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.4;
}

.biz-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .biz-row {
    grid-template-columns: 1fr 1fr;
  }
}

.biz-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.biz-card ion-icon {
  font-size: 1.5rem;
  color: var(--red);
  margin-bottom: 0.35rem;
}

.biz-card.gold ion-icon {
  color: var(--gold);
}

.biz-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
}

.biz-card p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--gray-500);
  line-height: 1.45;
}

.decor-strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  padding: 1rem 0;
  color: var(--gray-200);
  font-size: 1.15rem;
}

/* Pre-register */
.preregister {
  text-align: center;
}

.role-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.25rem 0;
  max-width: 28rem;
  margin-inline: auto;
}

.role-btn {
  flex: 1;
  min-width: 140px;
  padding: 1.1rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.role-btn img.hat {
  width: 26px;
  height: 26px;
  margin: 0 auto 0.35rem;
  display: block;
  object-fit: contain;
}

.role-btn ion-icon {
  font-size: 1.6rem;
  display: block;
  margin: 0 auto 0.35rem;
  color: var(--green);
}

.role-btn .title {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray-900);
}

.role-btn .sub {
  display: block;
  font-size: 0.72rem;
  color: var(--gray-600);
  margin-top: 0.15rem;
}

.role-btn.active-chef {
  background: var(--red);
  border-color: var(--red);
}

.role-btn.active-chef .title,
.role-btn.active-chef .sub {
  color: var(--white);
}

.role-btn.active-learner {
  background: var(--green);
  border-color: var(--green);
}

.role-btn.active-learner .title,
.role-btn.active-learner .sub,
.role-btn.active-learner ion-icon {
  color: var(--white);
}

.form-card {
  max-width: 28rem;
  margin: 0 auto;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: none;
}

.form-card.visible {
  display: block;
}

.form-card h3 {
  margin: 0 0 0.25rem;
  text-align: center;
  font-size: 1.1rem;
}

.form-subtitle {
  text-align: center;
  font-size: 0.75rem;
  color: var(--gray-400);
  margin: 0 0 1rem;
  line-height: 1.4;
}

.field {
  margin-bottom: 0.85rem;
}

.field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 0.35rem;
}

.field label .opt {
  color: var(--gray-300);
  font-weight: 500;
}

.field input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: inherit;
}

.field input:focus {
  outline: 2px solid rgba(220, 38, 38, 0.25);
  border-color: var(--red);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
  background: var(--gray-50);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.12s;
}

.chip.active-red {
  border-color: var(--red);
  background: #fee2e2;
  color: var(--red);
}

.chip.active-green {
  border-color: var(--green);
  background: #ecfdf5;
  color: var(--green);
}

.form-error {
  color: var(--red);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  margin: 0.5rem 0 0;
}

.form-terms {
  font-size: 0.62rem;
  color: var(--gray-300);
  text-align: center;
  margin-top: 0.75rem;
  line-height: 1.45;
}

.success-panel {
  display: none;
  text-align: center;
  padding: 1.5rem 0;
  max-width: 24rem;
  margin-inline: auto;
}

.success-panel.visible {
  display: block;
}

.success-panel ion-icon {
  font-size: 3rem;
  color: var(--green);
}

.success-panel h3 {
  margin: 0.75rem 0 0.35rem;
  font-size: 1.25rem;
}

.success-panel p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--gray-400);
}

#role-picker.submitted .role-row,
#role-picker.submitted .form-card {
  display: none !important;
}

.sign-in-row {
  text-align: center;
  padding: 0 0 1.5rem;
}

.sign-in-btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.sign-in-btn:hover {
  border-color: var(--gray-300);
  color: var(--gray-900);
}

.site-footer {
  border-top: 1px solid var(--gray-200);
  padding: 1.5rem 0 2rem;
  text-align: center;
}

.site-footer .icon-row {
  margin-bottom: 0.5rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.7rem;
  color: var(--gray-300);
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }
}
