@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Primary warm culinary palette */
  --primary: #ff5722;
  --primary-hover: #f44336;
  --primary-dark: #e64a19;
  --primary-gradient: linear-gradient(135deg, #ff5722 0%, #ff7a45 100%);
  --primary-glow: rgba(255, 87, 34, 0.28);
  --primary-tint: #fff1ec;
  --primary-border: #ffd7cb;

  /* Fresh accents */
  --accent: #10b981;
  --accent-light: #ecfdf5;
  --accent-border: #a7f3d0;
  --accent-glow: rgba(16, 185, 129, 0.25);

  /* Light theme surfaces */
  --bg: #fafbfc;
  --bg-alt: #f1f5f9;
  --card: #ffffff;
  --card-glass: rgba(255, 255, 255, 0.88);
  --text: #0f172a;
  --text-secondary: #334155;
  --muted: #64748b;
  --border: #e2e8f0;
  --border-subtle: #edf2f7;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 5px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.07), 0 3px 8px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -8px rgba(15, 23, 42, 0.1), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-phone: 0 30px 70px -15px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;

  --radius: 20px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --radius-pill: 9999px;
}

:root[data-theme="dark"] {
  --primary: #ff6b3d;
  --primary-hover: #ff855f;
  --primary-dark: #ff8a5c;
  --primary-gradient: linear-gradient(135deg, #ff6b3d 0%, #ff8e66 100%);
  --primary-glow: rgba(255, 107, 61, 0.35);
  --primary-tint: rgba(255, 107, 61, 0.12);
  --primary-border: rgba(255, 107, 61, 0.28);

  --accent: #34d399;
  --accent-light: rgba(52, 211, 153, 0.12);
  --accent-border: rgba(52, 211, 153, 0.3);
  --accent-glow: rgba(52, 211, 153, 0.3);

  --bg: #090d16;
  --bg-alt: #0e1626;
  --card: #131c2e;
  --card-glass: rgba(19, 28, 46, 0.85);
  --text: #f8fafc;
  --text-secondary: #cbd5e1;
  --muted: #94a3b8;
  --border: #1e293b;
  --border-subtle: #172338;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.4);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.6);
  --shadow-phone: 0 35px 80px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --primary: #ff6b3d;
    --primary-hover: #ff855f;
    --primary-dark: #ff8a5c;
    --primary-gradient: linear-gradient(135deg, #ff6b3d 0%, #ff8e66 100%);
    --primary-glow: rgba(255, 107, 61, 0.35);
    --primary-tint: rgba(255, 107, 61, 0.12);
    --primary-border: rgba(255, 107, 61, 0.28);

    --accent: #34d399;
    --accent-light: rgba(52, 211, 153, 0.12);
    --accent-border: rgba(52, 211, 153, 0.3);
    --accent-glow: rgba(52, 211, 153, 0.3);

    --bg: #090d16;
    --bg-alt: #0e1626;
    --card: #131c2e;
    --card-glass: rgba(19, 28, 46, 0.85);
    --text: #f8fafc;
    --text-secondary: #cbd5e1;
    --muted: #94a3b8;
    --border: #1e293b;
    --border-subtle: #172338;

    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.4);
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 24px 50px rgba(0, 0, 0, 0.6);
    --shadow-phone: 0 35px 80px -15px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--card-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 4px 12px var(--primary-glow);
  transition: transform 0.2s ease;
}

.brand:hover img {
  transform: scale(1.05) rotate(-3deg);
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar nav a.navlink {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 4px;
  position: relative;
  transition: color 0.2s ease;
}

.topbar nav a.navlink:hover {
  color: var(--text);
}

.topbar nav a.navlink::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.2s ease;
}

.topbar nav a.navlink:hover::after {
  width: 100%;
}

.topbar nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  background: var(--primary-gradient);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 14px var(--primary-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topbar nav a.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.topbar nav .controls {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-left: 6px;
  border-left: 1px solid var(--border);
}

.lang-switch {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  transition: all 0.2s ease;
}

.lang-switch:hover {
  color: var(--text);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--primary);
  transform: rotate(15deg);
}

.theme-toggle .ico-sun { display: none; }
.theme-toggle .ico-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .ico-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .ico-moon { display: none; }
}

/* ==========================================================================
   Buttons & Micro-Components
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary-gradient);
  color: #fff !important;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 10px 24px var(--primary-glow);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px var(--primary-glow);
}

.btn.ghost {
  background: var(--card);
  color: var(--text) !important;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
}

.btn.ghost:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 7px 16px 7px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-xs);
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.pill i {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light);
  animation: pulse-dot 2.5s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 100px;
}

/* Ambient glow backdrops */
.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 680px;
  height: 680px;
  background: radial-gradient(circle, var(--primary-tint) 0%, transparent 68%);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.5vw, 3.9rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 22px;
  color: var(--text);
}

h1 em {
  font-style: normal;
  background: linear-gradient(125deg, var(--primary) 0%, #ff8a45 60%, #ffa366 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.lead {
  font-size: 1.22rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 32em;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note::before {
  content: "✨";
  font-size: 0.95rem;
}

/* ==========================================================================
   Hero Phone Mockup & Floating Badges
   ========================================================================== */
.stage {
  display: flex;
  justify-content: center;
  position: relative;
  perspective: 1200px;
}

.stage::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 560px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(255, 122, 69, 0.1) 40%, transparent 70%);
  filter: blur(48px);
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

/* Smartphone frame */
.phone {
  position: relative;
  z-index: 2;
  width: 298px;
  border-radius: 46px;
  padding: 10px;
  background: #0f172a;
  box-shadow: var(--shadow-phone);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: rotate(2.5deg);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.phone:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 0 40px 90px -15px rgba(15, 23, 42, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.22) inset;
}

/* Screen glass specular shine */
.phone::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 36px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 42%, transparent 60%);
  pointer-events: none;
  z-index: 5;
}

.phone .shot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 36px;
  background: #f8fafc;
  vertical-align: top;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* Screenshots follow light/dark */
.shot-dark { display: none !important; }
.shot-light { display: block !important; }

:root[data-theme="dark"] .shot-light { display: none !important; }
:root[data-theme="dark"] .shot-dark { display: block !important; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot-light { display: none !important; }
  :root:not([data-theme="light"]) .shot-dark { display: block !important; }
}

/* Floating context badges */
.floating-badge {
  position: absolute;
  z-index: 6;
  background: var(--card-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none;
  animation: float-badge 6s ease-in-out infinite;
}

.floating-badge.ai-badge {
  top: 14%;
  left: -48px;
}

.floating-badge.sync-badge {
  bottom: 12%;
  right: -36px;
  animation-delay: -3s;
}

@keyframes float-badge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-badge .badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary-tint);
  color: var(--primary);
  flex-shrink: 0;
}

.floating-badge.sync-badge .badge-icon {
  background: var(--accent-light);
  color: var(--accent);
}

.floating-badge .badge-text {
  font-size: 0.8rem;
  line-height: 1.3;
}

.floating-badge .badge-title {
  font-weight: 700;
  color: var(--text);
  display: block;
}

.floating-badge .badge-sub {
  color: var(--muted);
  font-size: 0.74rem;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
section {
  padding: 100px 0;
  position: relative;
}

section.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.eyebrow {
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 12px;
  display: inline-block;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  color: var(--text);
}

.sub {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0 0 48px;
  max-width: 38em;
}

/* ==========================================================================
   Bento Grid (Features)
   ========================================================================== */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}

.tile {
  grid-column: span 2;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 87, 34, 0.3);
}

.tile.wide {
  grid-column: span 3;
}

/* Highlighted Gemini AI card */
.tile.hero-tile {
  grid-column: span 4;
  background: linear-gradient(135deg, #ff5722 0%, #f44336 50%, #e64a19 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: 0 16px 36px var(--primary-glow);
  padding: 32px;
}

.hero-tile-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.tile.hero-tile h3 {
  color: #fff;
  font-size: 1.45rem;
}

.tile.hero-tile p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
}

.tile.hero-tile .ico {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.tile.hero-tile .feature-visual {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* AI Camera Scan Mockup Card */
.ai-scan-mockup {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.32);
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: #000;
  transform: rotate(1deg);
  transition: transform 0.3s ease;
}

.tile.hero-tile:hover .ai-scan-mockup {
  transform: rotate(0deg) scale(1.02);
}

.ai-scan-mockup img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  filter: brightness(0.95);
}

.ai-scan-overlay {
  position: absolute;
  inset: 0;
  border: 2px dashed rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  margin: 10px;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.75) 0%, transparent 60%);
}

.ai-scan-chip {
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 7px 12px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ai-scan-chip .kcal-badge {
  color: #34d399;
  font-weight: 800;
  font-size: 0.84rem;
}

.ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-tint);
  color: var(--primary);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  transition: transform 0.25s ease;
  border: 1px solid var(--primary-border);
}

.tile:hover .ico {
  transform: scale(1.08) rotate(-4deg);
}

.tile.mint .ico {
  background: var(--accent-light);
  color: var(--accent);
  border-color: var(--accent-border);
}

.tile h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--text);
}

.tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ==========================================================================
   Screenshots Showcase (Gallery)
   ========================================================================== */
#screens {
  background: var(--bg);
}

.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  scrollbar-width: none;
}

.gallery-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

.gallery-nav-arrows {
  display: flex;
  gap: 8px;
}

.gallery-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s ease;
}

.gallery-arrow:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.gallery {
  display: flex;
  gap: 32px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 16px max(24px, calc((100vw - 1160px) / 2)) 40px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery::-webkit-scrollbar {
  display: none;
}

.gallery figure {
  margin: 0;
  scroll-snap-align: center;
  text-align: center;
  flex: none;
}

.phone.small {
  width: 250px;
  padding: 9px;
  border-radius: 40px;
  background: #0f172a;
  box-shadow: var(--shadow-phone);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone.small:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 35px 80px -10px rgba(15, 23, 42, 0.35);
}

.phone.small .shot {
  border-radius: 32px;
}

.gallery figcaption {
  margin-top: 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   How It Works (Steps)
   ========================================================================== */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step-counter;
  position: relative;
}

.steps li {
  counter-increment: step-counter;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.steps li:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-border);
}

.steps li::before {
  content: counter(step-counter, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--primary-gradient);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px var(--primary-glow);
}

.steps strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text);
}

.steps span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ==========================================================================
   Privacy & Trust
   ========================================================================== */
.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-light);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid var(--accent-border);
}

.checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 18px;
}

.checks li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.checks li:hover {
  border-color: var(--accent-border);
  transform: translateX(4px);
}

.checks .tick {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.checks strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.checks span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
  max-width: 800px;
  margin-top: 32px;
}

details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 24px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-xs);
  transition: all 0.25s ease;
}

details[open] {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-sm);
}

summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  padding: 20px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  margin-right: 4px;
}

details[open] summary::after {
  transform: rotate(-135deg);
}

details p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

/* ==========================================================================
   CTA Card Section
   ========================================================================== */
.cta {
  background: linear-gradient(135deg, rgba(230, 74, 25, 0.93) 0%, rgba(244, 67, 54, 0.90) 50%, rgba(255, 87, 34, 0.93) 100%), url('kitchen-banner.jpg') center/cover no-repeat;
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px var(--primary-glow);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.cta::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta p {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.15rem;
  margin: 0 auto 32px;
  max-width: 34em;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.cta .btn {
  background: #ffffff;
  color: var(--primary-dark) !important;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.cta .btn:hover {
  background: #fdfdfd;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.25);
}

.cta-perks {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cta-perks span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 44px;
  background: var(--card);
}

.footer .cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer h4 {
  font-family: var(--font-heading);
  margin: 0 0 16px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}

.footer a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer a:hover {
  color: var(--primary);
  transform: translateX(2px);
}

.footer p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 28em;
  margin: 14px 0 0;
  line-height: 1.6;
}

.footer .legal {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Documentation / Legal Pages (privacy.html)
   ========================================================================== */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 0 48px;
}

.doc h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  margin-top: 0;
  letter-spacing: -0.03em;
}

.doc h2 {
  font-size: 1.45rem;
  margin: 40px 0 14px;
  letter-spacing: -0.02em;
}

.doc p, .doc li {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
}

.doc ul {
  padding-left: 22px;
  margin-bottom: 24px;
}

.doc li {
  margin-bottom: 10px;
}

.doc strong {
  color: var(--text);
}

.doc .updated {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 32px;
  display: inline-block;
  background: var(--bg-alt);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 960px) {
  .hero .wrap, .trust {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero {
    padding-top: 40px;
    padding-bottom: 70px;
    text-align: center;
  }
  .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-note {
    justify-content: center;
  }
  .phone {
    transform: none !important;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .tile, .tile.wide, .tile.hero-tile {
    grid-column: span 2;
  }
  .hero-tile-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .footer .cols {
    grid-template-columns: 1fr 1fr;
  }
  .topbar nav a.navlink {
    display: none;
  }
  .floating-badge.ai-badge {
    left: -10px;
  }
  .floating-badge.sync-badge {
    right: -10px;
  }
}

@media (max-width: 600px) {
  .steps, .footer .cols {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
  }
  .wrap {
    padding: 0 20px;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .cta {
    padding: 48px 24px;
  }
  .floating-badge {
    display: none; /* Hide floating chips on small mobile to keep layout clean */
  }
  .gallery-controls {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn, .phone, .tile, .floating-badge, .pill i {
    transition: none !important;
    animation: none !important;
  }
}
