@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  color-scheme: dark;

  /* Primary HSL Design Palette (Lush Obsidian Kitchen) */
  --bg-dark: hsl(162, 50%, 4%);
  --bg-dark-alt: hsl(162, 40%, 7%);
  --bg-surface: hsl(162, 28%, 10%);
  --bg-surface-strong: hsl(162, 24%, 13%);

  --border-muted: hsla(162, 20%, 20%, 0.4);
  --border-focus: hsla(158, 65%, 52%, 0.5);

  --text-main: hsl(162, 18%, 95%);
  --text-body: hsl(162, 10%, 82%);
  --text-muted: hsl(162, 8%, 64%);

  --mint: hsl(158, 65%, 52%);
  --mint-glow: hsla(158, 65%, 52%, 0.2);
  --forest: hsl(162, 45%, 18%);
  --forest-strong: hsl(162, 55%, 9%);
  --sage: hsl(156, 18%, 52%);
  --tomato: hsl(8, 70%, 54%);
  --gold: hsl(42, 85%, 55%);
  --gold-glow: hsla(42, 85%, 55%, 0.15);

  /* Shadows and Timings */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px hsla(158, 65%, 52%, 0.15);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  letter-spacing: -0.011em;
}

/* Base resets & typography */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-dark);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-strong);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--sage);
}

/* Header & Sticky Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: hsla(162, 50%, 4%, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-muted);
  animation: headerDrop 800ms var(--ease-out) both;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  gap: 12px;
  color: #ffffff;
}

.brand img {
  border-radius: 10px;
  height: 38px;
  width: 38px;
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
  box-shadow: 0 0 15px rgba(44, 232, 163, 0.2);
}

.brand:hover img,
.brand:focus-visible img {
  transform: rotate(-6deg) scale(1.1);
  box-shadow: 0 0 25px rgba(44, 232, 163, 0.4);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text-body);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 8px 16px;
  transition: all var(--transition-fast);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(44, 232, 163, 0.08);
  border-color: rgba(44, 232, 163, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
  outline: none;
}

/* Blur Blobs in Background */
.blur-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.15;
  pointer-events: none;
}

.blob-primary {
  background: var(--mint);
  width: min(35vw, 400px);
  height: min(35vw, 400px);
  top: 10%;
  right: 5%;
}

.blob-secondary {
  background: var(--gold);
  width: min(30vw, 350px);
  height: min(30vw, 350px);
  bottom: 20%;
  left: 5%;
}

/* Hero Section */
.hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(
      circle at 70% 30%,
      hsla(158, 65%, 52%, 0.06),
      transparent 50%
    ),
    radial-gradient(
      circle at 10% 80%,
      hsla(42, 85%, 55%, 0.04),
      transparent 45%
    ),
    linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-alt) 100%);
  overflow: hidden;
  padding: 100px 24px 120px;
}

.hero-motion {
  display: none; /* Replaced by modern blur blobs and floating items */
}

.hero-visual {
  position: absolute;
  right: clamp(24px, 5vw, 120px);
  bottom: 80px;
  z-index: 2;
  width: min(44vw, 520px);
  pointer-events: none;
}

.hero-visual-wrapper {
  position: relative;
  width: 100%;
}

.hero-visual img {
  animation: heroFloat 6s ease-in-out infinite;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.7));
  width: 100%;
  height: auto;
  transform: rotateX(var(--hero-tilt-x, 0deg)) rotateY(var(--hero-tilt-y, 0deg));
  transition: transform var(--transition-slow);
}

/* Floating Ingredient Badges in Hero */
.floating-ingredient {
  position: absolute;
  background: rgba(16, 34, 28, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-muted);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-md), var(--shadow-glow);
  z-index: 3;
  animation: floatOrb 5s ease-in-out infinite;
  white-space: nowrap;
  pointer-events: auto;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast);
}

.floating-ingredient:hover {
  transform: scale(1.08) translateY(-4px) !important;
  border-color: var(--mint);
}

.fi-1 {
  top: 15%;
  left: -20px;
  animation-delay: 0s;
}

.fi-2 {
  top: 45%;
  right: -40px;
  animation-delay: -1.5s;
}

.fi-3 {
  bottom: 20%;
  left: 20px;
  animation-delay: -3s;
}

.hero-content {
  margin: 0 auto;
  max-width: 1120px;
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: 3.6rem;
  line-height: 1.05;
  margin: 0;
  max-width: 680px;
  background: linear-gradient(135deg, #ffffff 30%, var(--sage) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.hero-copy {
  color: var(--text-body);
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 24px 0 0;
  max-width: 580px;
}

.hero-actions,
.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.button-group .button {
  width: 100%;
}

.web-app-actions {
  flex-wrap: wrap;
  margin-top: 24px;
}

.web-app-actions .button {
  white-space: nowrap;
}

.web-app-status {
  margin-top: 14px;
  overflow-wrap: anywhere;
}

@media (min-width: 480px) {
  .button-group {
    flex-direction: row;
    width: auto;
  }
  .button-group .button {
    width: auto;
  }
}

/* Button UI Components */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.button.primary {
  background: var(--mint);
  color: var(--forest-strong);
  box-shadow: 0 8px 24px hsla(158, 65%, 52%, 0.25);
}

.button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px hsla(158, 65%, 52%, 0.4);
  background: #39ecac;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.button.dark {
  background: var(--forest);
  border-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.button.dark:hover {
  background: hsl(162, 45%, 23%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.button.light {
  background: #ffffff;
  color: var(--forest-strong);
}

.button.light:hover {
  background: #f3fdf9;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Sections & Content Bands */
.content-band {
  padding: 80px 24px;
  position: relative;
  isolation: isolate;
  scroll-margin-top: 84px;
}

.content-band.alt {
  background: var(--bg-dark-alt);
}

.content-band.deep {
  background: linear-gradient(
    180deg,
    var(--forest-strong) 0%,
    var(--bg-dark) 100%
  );
  border-top: 1px solid var(--border-muted);
  border-bottom: 1px solid var(--border-muted);
}

.section-inner {
  margin: 0 auto;
  max-width: 1120px;
  position: relative;
  z-index: 2;
}

.section-heading {
  font-size: 2.25rem;
  line-height: 1.15;
  margin: 0;
  max-width: 720px;
  background: linear-gradient(135deg, #ffffff 40%, var(--sage) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-copy {
  color: var(--text-body);
  font-size: 1.125rem;
  margin: 18px 0 0;
  max-width: 720px;
}

/* Cards (Glassmorphic) */
.feature-card,
.plan-card,
.signup-card,
.info-link {
  background: rgba(16, 34, 28, 0.4);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-muted);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow);
}

.feature-card::before,
.plan-card::before,
.signup-card::before,
.info-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--tomato), var(--gold), var(--mint));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow) var(--ease-out);
}

.feature-card:hover,
.plan-card:hover,
.signup-card:hover,
.info-link:hover {
  transform: translateY(-6px);
  border-color: var(--border-focus);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(44, 232, 163, 0.05);
}

.feature-card:hover::before,
.plan-card:hover::before,
.signup-card:hover::before,
.info-link:hover::before {
  transform: scaleX(1);
}

/* Feature Grid Styling */
.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 48px;
}

.feature-card h3 {
  font-size: 1.35rem;
  margin: 0 0 12px;
  color: #ffffff;
}

.feature-card p {
  color: var(--text-body);
  margin: 0;
  font-size: 1rem;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-strong);
  border: 1px solid var(--border-muted);
  color: var(--mint);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  height: 40px;
  width: 40px;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: all var(--transition-normal);
}

.feature-card:hover .feature-number {
  background: var(--mint);
  color: var(--forest-strong);
  transform: rotate(-6deg) scale(1.1);
  box-shadow: 0 0 15px var(--mint-glow);
}

/* Interactive Recipe Simulator */
.simulator-band {
  background: linear-gradient(
    180deg,
    var(--bg-dark-alt) 0%,
    var(--bg-dark) 100%
  );
  border-top: 1px solid var(--border-muted);
  overflow: hidden;
}

.simulator-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.simulator-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.simulator-presets {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.simulator-preset-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-muted);
  color: var(--text-body);
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.simulator-preset-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--sage);
  color: #ffffff;
}

.simulator-preset-btn.active {
  background: var(--mint-glow);
  border-color: var(--mint);
  color: var(--mint);
  box-shadow: 0 0 15px rgba(44, 232, 163, 0.15);
}

.simulator-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  background: rgba(16, 34, 28, 0.2);
  border: 1px solid var(--border-muted);
  border-radius: 24px;
  padding: clamp(20px, 4vw, 40px);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  max-width: 1080px;
  margin: 0 auto;
}

@media (min-width: 860px) {
  .simulator-wrapper {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

/* Mock Browser Frame (Messy Blog) */
.mock-browser {
  background: #ffffff;
  color: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  height: 480px;
  position: relative;
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

.mock-browser-header {
  background: #f1f3f4;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5f56;
}
.browser-dots span:nth-child(2) {
  background: #ffbd2e;
}
.browser-dots span:nth-child(3) {
  background: #27c93f;
}

.browser-bar {
  background: #ffffff;
  border-radius: 40px;
  flex: 1;
  height: 24px;
  padding: 0 12px;
  font-size: 0.75rem;
  color: #757575;
  border: 1px solid #dadce0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 22px;
}

.mock-browser-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

/* Messy Blog Elements */
.mock-browser-ad-top {
  background: linear-gradient(90deg, #ff5e62 0%, #ff9966 100%);
  color: #ffffff;
  padding: 12px;
  text-align: center;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: pulseAd 2s infinite alternate;
}

.mock-browser-title {
  font-family: serif;
  font-size: 1.8rem;
  color: #111111;
  margin: 0;
  line-height: 1.2;
}

.mock-browser-meta {
  display: flex;
  gap: 8px;
  font-size: 0.75rem;
  color: #666;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.mock-browser-author {
  font-weight: bold;
}

.mock-browser-image {
  width: 100%;
  height: 140px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.mock-browser-backstory {
  font-family: Georgia, serif;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
}

.mock-browser-backstory p {
  margin: 0 0 12px 0;
}

.mock-browser-ad-inline {
  background: #f9f9f9;
  border: 2px dashed #e0e0e0;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  color: #666;
  font-size: 0.8rem;
}

.ad-heading {
  font-weight: bold;
  color: #d64531;
  margin-bottom: 4px;
}

/* Cookie consent overlay in simulator browser */
.mock-browser-popup {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: #ffffff;
  border: 1px solid #ddd;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 16px;
  z-index: 10;
  animation: popupSlideIn 0.5s ease-out 1s both;
}

.popup-text {
  font-size: 0.75rem;
  color: #333;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.popup-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: bold;
  cursor: pointer;
  float: right;
}

/* Simulator Scanning Beam */
.scanning-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 21, 17, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  z-index: 15;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}

.scanning-overlay.active {
  opacity: 1;
}

.scanning-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(180deg, transparent, var(--mint), transparent);
  box-shadow: 0 0 20px var(--mint);
  animation: scanMotion 2s linear infinite;
}

.scanning-text {
  background: rgba(16, 34, 28, 0.95);
  border: 1px solid var(--border-focus);
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  display: flex;
  align-items: center;
  gap: 10px;
}

.scanning-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--mint);
  border-radius: 50%;
  animation: rotateSpinner 0.8s linear infinite;
}

/* Mock Phone Frame (LinkDish Clean App) */
.mock-phone {
  width: 100%;
  max-width: 330px;
  height: 480px;
  background: #000000;
  border-radius: 36px;
  padding: 10px;
  border: 4px solid var(--border-muted);
  box-shadow:
    var(--shadow-lg),
    0 0 40px rgba(44, 232, 163, 0.05);
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.mock-phone-bezel {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 20px;
  background: #000000;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 20;
}

.mock-phone-screen {
  flex: 1;
  border-radius: 28px;
  background: var(--bg-dark-alt);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.mock-phone-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-muted);
  padding: 22px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone-app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: #ffffff;
}

.phone-app-brand img {
  border-radius: 6px;
}

.mock-phone-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-dark);
  padding: 3px;
  border-radius: 8px;
  border: 1px solid var(--border-muted);
}

.mock-phone-tab-btn {
  background: transparent;
  border: none;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mock-phone-tab-btn.active {
  background: var(--bg-surface-strong);
  color: var(--mint);
  box-shadow: var(--shadow-sm);
}

.mock-phone-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}

/* App Cleaned Recipe Layout */
.clean-recipe-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.clean-recipe-title {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.15rem;
  margin: 0;
  line-height: 1.25;
  color: #ffffff;
}

.clean-recipe-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.clean-meta-badge {
  background: var(--bg-surface);
  border: 1px solid var(--border-muted);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.7rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 4px;
}

.clean-recipe-content {
  margin-top: 4px;
}

.clean-recipe-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Ingredients checklist with tap states */
.ingredient-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-body);
  cursor: pointer;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.ingredient-item:hover {
  background: rgba(44, 232, 163, 0.04);
  border-color: rgba(44, 232, 163, 0.15);
}

.checkbox-custom {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 1.5px solid var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition-fast);
}

.checkbox-custom::after {
  content: "✓";
  color: var(--forest-strong);
  font-size: 0.65rem;
  font-weight: bold;
  opacity: 0;
  transform: scale(0.6);
  transition: all var(--transition-fast);
}

.ingredient-item.checked {
  color: var(--text-muted);
}

.ingredient-item.checked .checkbox-custom {
  background: var(--mint);
  border-color: var(--mint);
}

.ingredient-item.checked .checkbox-custom::after {
  opacity: 1;
  transform: scale(1);
}

.ingredient-item.checked .ingredient-text {
  text-decoration: line-through;
  opacity: 0.7;
}

/* Steps list */
.instruction-step {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-muted);
}

.instruction-step:last-child {
  border-bottom: none;
}

.step-num {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  color: var(--mint);
  flex-shrink: 0;
}

.step-text {
  line-height: 1.45;
}

/* Simulator Call to Action Overlay */
.simulator-cta-panel {
  text-align: center;
  padding-top: 10px;
}

/* Split Column / Two Column */
.two-column {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}

.device-art {
  animation: deviceFloat 7.5s ease-in-out infinite;
  background: var(--bg-dark-alt);
  border-radius: 16px;
  box-shadow:
    var(--shadow-lg),
    0 0 50px rgba(44, 232, 163, 0.05);
  border: 1px solid var(--border-muted);
  height: auto;
  justify-self: center;
  overflow: hidden;
  transition: all var(--transition-slow);
  width: min(100%, 520px);
}

.device-art:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(44, 232, 163, 0.1);
  border-color: var(--border-focus);
}

/* Privacy Checklist */
.check-list {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.check-list li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-muted);
  border-radius: 12px;
  color: var(--text-body);
  padding: 16px 20px;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 12px;
}

.check-list li::before {
  content: "✓";
  color: var(--mint);
  font-weight: 900;
  font-size: 1.1rem;
}

.check-list li:hover {
  background: rgba(44, 232, 163, 0.05);
  border-color: var(--mint);
  transform: translateX(6px);
  color: #ffffff;
}

/* Pricing Grid */
.plan-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-top: 48px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  background: rgba(16, 34, 28, 0.4);
}

.plan-card h3 {
  font-size: 1.5rem;
  margin: 0 0 6px;
  color: #ffffff;
}

.plan-card-price {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--mint);
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.plan-card-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-note {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: -16px;
}

.plan-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.plan-card-features li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.plan-card-features li::before {
  content: "✦";
  color: var(--gold);
}

.plan-card .button {
  margin-top: auto;
  width: 100%;
}

/* Featured Premium Plan Card */
.plan-card.recommended {
  border-color: rgba(232, 175, 48, 0.4);
  background: linear-gradient(
    180deg,
    rgba(24, 46, 38, 0.6) 0%,
    rgba(16, 34, 28, 0.4) 100%
  );
  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.5),
    0 0 25px var(--gold-glow);
}

.plan-card.recommended::before {
  transform: scaleX(1);
}

.plan-card.recommended h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.plan-card.recommended h3::after {
  content: "Popular";
  font-size: 0.75rem;
  font-family: "Inter", sans-serif;
  background: var(--gold);
  color: var(--forest-strong);
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 800;
}

/* Platform Split */
.split-panel {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: stretch;
}

.signup-card {
  background: rgba(16, 34, 28, 0.5);
  border: 1px solid var(--border-muted);
}

.signup-heading {
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 0;
}

.signup-card p:not(.form-status) {
  color: var(--text-body);
  margin: 16px 0 0;
  font-size: 1rem;
}

.web-app-steps {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.web-app-steps li {
  align-items: start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-muted);
  border-radius: 14px;
  color: var(--text-body);
  display: grid;
  gap: 12px;
  grid-template-columns: 28px 1fr;
  padding: 14px;
}

.web-app-steps li::before {
  align-items: center;
  background: var(--mint);
  border-radius: 50%;
  color: var(--forest-strong);
  content: counter(list-item);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  height: 28px;
  justify-content: center;
  line-height: 1;
  width: 28px;
}

.form-status {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 14px 0 0;
  min-height: 1.5em;
  transition: color var(--transition-fast);
}

.form-status.success {
  color: var(--mint);
}

.form-status.error {
  color: var(--tomato);
}

/* Info Links & Footer */
.info-links {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: 36px;
}

.info-link {
  color: var(--mint);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
}

.info-link::after {
  content: "→";
  font-size: 1.2rem;
  transition: transform var(--transition-normal);
}

.info-link:hover {
  border-color: var(--mint);
}

.info-link:hover::after {
  transform: translateX(6px);
}

.site-footer {
  background: var(--bg-dark-alt);
  color: var(--text-muted);
  padding: 40px 24px;
  border-top: 1px solid var(--border-muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1120px;
}

@media (min-width: 600px) {
  .footer-inner {
    flex-direction: row;
  }
}

.footer-inner span {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  color: #ffffff;
  font-size: 1.1rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--text-body);
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--mint);
}

/* Info Page Layout (Privacy, Support, 404) */
.info-page {
  background: var(--bg-dark);
}

.info-page .site-header {
  position: static;
  background: var(--bg-dark-alt);
}

.legal {
  margin: 0 auto;
  max-width: 800px;
  padding: 60px 24px 100px;
}

.legal h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin: 0 0 16px;
}

.legal h2 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 40px 0 16px;
  border-bottom: 1px solid var(--border-muted);
  padding-bottom: 8px;
}

.legal p,
.legal li {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.7;
}

.legal ul,
.legal ol {
  padding-left: 20px;
  margin-bottom: 24px;
}

.legal li {
  margin-bottom: 8px;
}

.legal .muted {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal a {
  color: var(--mint);
  font-weight: 600;
}

.legal a:hover {
  text-decoration: underline;
}

.support-page {
  max-width: 980px;
}

.support-intro {
  margin: 28px 0 34px;
  max-width: 720px;
}

.support-intro h2 {
  border-bottom: 0;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.1;
  margin: 0 0 14px;
  padding-bottom: 0;
}

.support-layout {
  display: grid;
  gap: 24px;
  margin: 0 0 56px;
}

.support-form,
.support-side {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border-muted);
  border-radius: 12px;
}

.support-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 30px);
}

.support-form-header {
  margin-bottom: 4px;
}

.support-form h2,
.support-side h2,
.support-faq h2 {
  border-bottom: 0;
  margin: 0 0 10px;
  padding-bottom: 0;
}

.support-form p,
.support-side p {
  margin: 0;
}

.support-form label {
  color: var(--text-main);
  display: grid;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 8px;
}

.support-form input,
.support-form select,
.support-form textarea {
  appearance: none;
  background: rgba(1, 18, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: var(--text-main);
  font: inherit;
  font-weight: 500;
  line-height: 1.45;
  min-height: 48px;
  padding: 12px 14px;
  resize: vertical;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
  width: 100%;
}

.support-form select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--mint) 50%),
    linear-gradient(135deg, var(--mint) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 12px) 21px;
  background-repeat: no-repeat;
  background-size: 6px 6px;
  padding-right: 40px;
}

.support-form textarea {
  min-height: 140px;
}

.support-form input::placeholder,
.support-form textarea::placeholder {
  color: hsla(162, 8%, 64%, 0.72);
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
  background: rgba(4, 27, 22, 0.95);
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(44, 232, 163, 0.14);
  outline: none;
}

.support-submit {
  align-items: center;
  background: var(--mint);
  border: 0;
  border-radius: 10px;
  color: var(--forest-strong);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  transition:
    background var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast);
}

.support-submit:hover,
.support-submit:focus-visible {
  background: #39ecac;
  box-shadow: 0 12px 30px hsla(158, 65%, 52%, 0.24);
  outline: none;
  transform: translateY(-1px);
}

.support-submit:disabled {
  cursor: progress;
  opacity: 0.68;
  transform: none;
}

.support-form .form-status {
  margin: -4px 0 0;
}

.support-form .support-honeypot {
  display: none;
}

.support-side {
  align-self: start;
  padding: clamp(20px, 4vw, 26px);
}

.support-side ul {
  margin: 18px 0 24px;
}

.support-side .button {
  width: 100%;
}

.support-faq {
  border-top: 1px solid var(--border-muted);
  padding-top: 36px;
}

.support-faq h2 {
  font-size: 1.75rem;
  margin-bottom: 18px;
}

.support-faq details {
  border-bottom: 1px solid var(--border-muted);
  padding: 0;
}

.support-faq summary {
  color: var(--text-main);
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  list-style: none;
  padding: 18px 34px 18px 0;
  position: relative;
}

.support-faq summary::-webkit-details-marker {
  display: none;
}

.support-faq summary::after {
  color: var(--mint);
  content: "+";
  font-size: 1.35rem;
  font-weight: 700;
  position: absolute;
  right: 2px;
  top: 16px;
}

.support-faq details[open] summary::after {
  content: "-";
}

.support-faq summary:focus-visible {
  color: var(--mint);
  outline: none;
}

.support-faq details p {
  margin: 0;
  max-width: 760px;
  padding: 0 34px 20px 0;
}

@media (min-width: 820px) {
  .support-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
    align-items: start;
  }
}

/* Intersection Observer Reveals (Fade-In Effects) */
.js .reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition:
    opacity 800ms var(--ease-out),
    transform 800ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .hero .reveal {
  opacity: 1;
  transform: none;
}

.js .hero + .content-band .reveal {
  opacity: 1;
  transform: none;
}

.js .device-art.reveal.is-visible {
  animation: deviceFloat 7.5s ease-in-out infinite;
}

/* Keyframes animations */
@keyframes headerDrop {
  from {
    transform: translateY(-12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes deviceFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

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

@keyframes scanMotion {
  0% {
    top: 0;
  }
  50% {
    top: 100%;
  }
  100% {
    top: 0;
  }
}

@keyframes rotateSpinner {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulseAd {
  from {
    filter: brightness(1);
  }
  to {
    filter: brightness(1.1);
  }
}

@keyframes popupSlideIn {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Overrides */
@media (max-width: 860px) {
  .site-header {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding: 16px;
  }

  .content-band {
    scroll-margin-top: 148px;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 280px;
  }

  .hero h1 {
    font-size: 2.8rem;
    text-align: center;
  }

  .hero-copy {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    bottom: -40px;
    right: 50%;
    transform: translateX(50%);
    width: min(80vw, 360px);
  }

  .fi-1 {
    top: 5%;
    left: -10px;
  }

  .fi-2 {
    top: 35%;
    right: -20px;
  }

  .fi-3 {
    bottom: 25%;
    left: 10px;
  }
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }

  .section-heading {
    font-size: 2.8rem;
  }

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .plan-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .two-column {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .device-art {
    justify-self: end;
  }

  .split-panel {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  }

  .info-links {
    grid-template-columns: repeat(3, 1fr);
  }
}
