/* ==========================================
   GLOBAL
========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background: #000;
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}
#how,
#dashboard-section,
#pricing {
  scroll-margin-top: 110px;
}
a {
  color: inherit;
  text-decoration: none;
}
.page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 10%, rgba(0, 190, 255, 0.13), transparent 34%),
    radial-gradient(circle at 22% 70%, rgba(37, 255, 189, 0.08), transparent 30%),
    #000;
  padding-bottom: 40px;
}
.header {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 26px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.standard-header {
  max-width: 1180px;
  padding: 28px 24px;
}
.logo {
  height: 40px;
  width: auto;
  display: block;
}
.shell {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 26px;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 86px 24px 80px;
}
.eyebrow {
  color: #2fffc7;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin-bottom: 24px;
}
.subhead {
  color: rgba(255,255,255,0.68);
  font-size: 19px;
  line-height: 1.55;
  max-width: 720px;
  margin-bottom: 46px;
}
.center-text {
  text-align: center;
}
.center-text .subhead {
  margin-left: auto;
  margin-right: auto;
}
.step,
.label,
.section-label,
.nav-title,
.side-label {
  display: block;
  color: rgba(255,255,255,0.46);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 850;
}
.side-label {
  margin-bottom: 16px;
}
/* ==========================================
   BUTTONS
========================================== */
.primary-btn,
.secondary-btn,
.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.primary-btn {
  background: linear-gradient(135deg, #20ffd0, #19a9ff);
  color: #001014;
  padding: 15px 24px;
  font-size: 13px;
  box-shadow: 0 0 32px rgba(31, 220, 255, 0.25);
}
.secondary-btn {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.68);
  padding: 14px 22px;
  font-size: 13px;
}
.pill-btn {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.045);
  color: rgba(255,255,255,0.72);
  padding: 10px 14px;
  font-size: 11px;
}
.actions,
.action-bar,
.bottom-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
/* ==========================================
   SHARED CARDS / PANELS
========================================== */
.panel,
.hero-card,
.metric-card,
.dashboard-card,
.info-card,
.goal-card,
.search-card,
.flow-card {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(8, 12, 18, 0.82);
  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
  backdrop-filter: blur(18px);
}
.panel {
  border-radius: 26px;
  overflow: hidden;
}
/* ==========================================
   DASHBOARD PAGE
========================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .primary-btn {
  background: rgba(255,255,255,0.045);
  color: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}
.header-actions .primary-btn:hover,
.header-actions .pill-btn:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.07);
}
.hero-strip {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 0.72fr);
  gap: 14px;
  margin-bottom: 16px;
}
.hero-card {
  border-radius: 26px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(47,255,199,0.11), rgba(25,169,255,0.055)),
    rgba(8,12,18,0.82);
}
.hero-card h1 {
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
  margin-bottom: 0;
  color: rgba(255,255,255,0.82);
}
.hero-score {
  text-align: right;
}
.hero-score strong {
  display: block;
  font-size: 58px;
  line-height: 0.9;
  letter-spacing: -0.07em;
}
.hero-score small {
  color: #2fffc7;
  font-size: 14px;
  font-weight: 800;
}
.metric-card {
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 116px;
}
.metric-card strong {
  display: block;
  margin-top: 12px;
  font-size: 34px;
  letter-spacing: -0.05em;
}
.metric-card small {
  margin-top: 6px;
  color: rgba(255,255,255,0.44);
  font-size: 12px;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}
.left-panel,
.side-panel {
  padding: 18px;
  position: sticky;
  top: 18px;
}
.center-panel {
  padding: 20px;
}
.nav-group {
  margin-bottom: 24px;
}
.nav-title {
  margin-bottom: 10px;
}
.nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 11px;
  border-radius: 12px;
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  margin-bottom: 4px;
  border: 1px solid transparent;
}
.nav-item.active {
  color: #fff;
  background: rgba(47,255,199,0.07);
  border-color: rgba(47,255,199,0.15);
}
.nav-item:hover {
  background: rgba(255,255,255,0.045);
}
.nav-item small {
  color: rgba(255,255,255,0.36);
  font-size: 11px;
}
.goal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.goal-card {
  border-radius: 20px;
  padding: 18px;
  min-height: 122px;
}
.goal-card.green {
  background: rgba(47,255,199,0.045);
}
.goal-card.yellow {
  background: rgba(255,204,77,0.055);
}
.goal-card.red {
  background: rgba(255,77,97,0.06);
}
.green {
  background: rgba(47,255,199,0.08);
}
.yellow {
  background: rgba(255,204,77,0.11);
}
.red {
  background: rgba(255,77,97,0.12);
}
.blue {
  background: rgba(58,166,255,0.11);
}
.goal-card span {
  color: rgba(255,255,255,0.48);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 850;
}
.goal-card strong {
  display: block;
  font-size: 36px;
  margin-top: 12px;
  letter-spacing: -0.05em;
}
.goal-card em {
  display: block;
  margin-top: 8px;
  font-style: normal;
  color: rgba(255,255,255,0.58);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 8px 2px 14px;
}
.section-head h2 {
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-head p {
  color: rgba(255,255,255,0.42);
  font-size: 12px;
}
.ingredient-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 680px;
  overflow-y: auto;
  padding-right: 4px;
}
.ingredient-list::-webkit-scrollbar {
  width: 8px;
}
.ingredient-list::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
}
.ingredient-list::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
}
.ingredient-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 0.6fr;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 14px 15px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
}
.ingredient-row:hover {
  border-color: rgba(255,255,255,0.15);
  filter: brightness(1.06);
}
.ingredient-row strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}
.ingredient-row div {
  font-size: 14px;
  color: rgba(255,255,255,0.84);
}
.ingredient-row span {
  font-size: 12px;
  color: rgba(255,255,255,0.52);
}
.status {
  justify-self: end;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.expanded {
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
.expanded .ingredient-row {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.expanded-body {
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.detail-box {
  background: rgba(0,0,0,0.20);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 15px;
}
.detail-box h3 {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.46);
  margin-bottom: 12px;
}
.source-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 13px;
}
.source-item:last-child {
  border-bottom: none;
}
.source-item span {
  color: rgba(255,255,255,0.56);
}
.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(47,255,199,0.075);
  border: 1px solid rgba(47,255,199,0.14);
  color: rgba(255,255,255,0.76);
}
.side-card,
.side-card.warning,
.side-card.danger,
.side-card.good {
  border-radius: 20px;
  padding: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 12px;
}
.side-card.warning {
  border-left: 3px solid rgba(255,204,77,0.62);
}
.side-card.danger {
  border-left: 3px solid rgba(255,77,97,0.62);
}
.side-card.good {
  border-left: 3px solid rgba(47,255,199,0.62);
}
.side-card h3 {
  font-size: 16px;
  letter-spacing: -0.03em;
  margin-top: 9px;
}
.side-card p {
  color: rgba(255,255,255,0.58);
  font-size: 13px;
  line-height: 1.48;
  margin-top: 8px;
}
.checkin {
  margin-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
}
.checkin h3 {
  font-size: 16px;
  letter-spacing: -0.03em;
  margin: 9px 0 12px;
}
.check-options {
  display: grid;
  gap: 8px;
}
.check-option {
  padding: 11px 12px;
  border-radius: 13px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.62);
  font-size: 13px;
}
/* ==========================================
   FORMS
========================================== */
input {
  width: 100%;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  color: #fff;
  font-size: 16px;
  padding: 14px 15px;
  outline: none;
}
input:focus {
  border-color: rgba(47,255,199,0.55);
  box-shadow: 0 0 0 3px rgba(47,255,199,0.08);
}
input::placeholder {
  color: rgba(255,255,255,0.32);
}
/* ==========================================
   LANDING PAGE
========================================== */
.landing-page {
  width: 100%;
  overflow: hidden;
}
.landing-header {
  max-width: 1180px;
  padding: 28px 24px;
}
.nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.68);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav a:hover {
  color: #fff;
}
.landing-hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 24px 72px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}
.landing-hero h1 {
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.07em;
  max-width: 760px;
  margin-bottom: 28px;
}
.hero-copy {
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 630px;
  margin-bottom: 36px;
}
.landing-demo-card {
  border-radius: 28px;
  padding: 22px;
}
.mini-topbar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.metric {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px;
}
.metric span {
  display: block;
  color: rgba(255,255,255,0.48);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}
.metric strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}
.metric small {
  color: #2fffc7;
  font-size: 12px;
  margin-left: 4px;
}
.goal-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.stack-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin: 4px 0 12px;
}
.stack-title h3 {
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.stack-title span {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.landing-list {
  max-height: none;
  overflow: visible;
}
.sections {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 86px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.info-card {
  border-radius: 24px;
  padding: 26px;
  min-height: 220px;
  background: rgba(255,255,255,0.035);
}
.info-card span {
  color: #2fffc7;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.info-card h2 {
  margin-top: 18px;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.info-card p {
  margin-top: 14px;
  color: rgba(255,255,255,0.62);
  line-height: 1.55;
  font-size: 15px;
}
.footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 28px 24px;
  color: rgba(255,255,255,0.42);
  font-size: 13px;
  text-align: center;
}
.landing-dashboard-sample {
  margin: 34px 0 28px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(8, 12, 18, 0.72);
  border-radius: 30px;
  padding: 18px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
}
.sample-hero-strip {
  margin-bottom: 16px;
}
.landing-sample-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 280px;
  gap: 14px;
  align-items: start;
}
.sample-left-panel,
.sample-side-panel {
  padding: 16px;
  position: static;
}
.sample-center-panel {
  padding: 18px;
}
.sample-goal-cards {
  margin-bottom: 16px;
}
.sample-ingredient-list {
  max-height: 520px;
}
.sample-side-panel .side-card h3 {
  font-size: 15px;
}
.sample-side-panel .side-card p {
  font-size: 12px;
}

/* ==========================================
   HOW IT WORKS SECTION
========================================== */

.how-header {
  max-width: 1180px;
  margin: 0 auto 34px;
  padding: 0 24px;
}

.how-header h2 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}

.how-header p {
  max-width: 760px;
  color: rgba(255,255,255,0.64);
  font-size: 18px;
  line-height: 1.55;
}

/* ==========================================
   GOAL SELECTION PAGE
========================================== */
.goals-wrap {
  padding-top: 86px;
}
.goal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
  text-align: left;
}
.select-goal-card {
  position: relative;
  min-height: 170px;
  border-radius: 24px;
  padding: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 60px rgba(0,0,0,0.28);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}
.select-goal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47,255,199,0.38);
  background: rgba(255,255,255,0.06);
}
.select-goal-card.selected {
  border-color: rgba(47,255,199,0.95);
  background:
    linear-gradient(135deg, rgba(47,255,199,0.13), rgba(25,169,255,0.08)),
    rgba(255,255,255,0.045);
  box-shadow: 0 0 34px rgba(47,255,199,0.14);
}
.select-goal-card.selected::after {
  content: "Selected";
  position: absolute;
  top: 16px;
  right: 16px;
  color: #001014;
  background: linear-gradient(135deg, #20ffd0, #19a9ff);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.select-goal-card span {
  display: block;
  color: #2fffc7;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.select-goal-card h2 {
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.select-goal-card p {
  color: rgba(255,255,255,0.54);
  font-size: 14px;
  line-height: 1.45;
}
.centered-actions {
  justify-content: center;
  margin-top: 16px;
}
.note {
  color: rgba(255,255,255,0.46);
  font-size: 13px;
}
.bottom-note {
  margin-top: 30px;
  text-align: center;
  color: rgba(255,255,255,0.36);
  font-size: 13px;
  line-height: 1.5;
}
/* ==========================================
   ADD SUPPLEMENT PAGE
========================================== */
.add-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 92px 24px 80px;
  text-align: center;
}
.add-wrap .subhead {
  margin-left: auto;
  margin-right: auto;
}
.search-card {
  max-width: 840px;
  margin: 0 auto;
  border-radius: 30px;
  padding: 28px;
  text-align: left;
}
.label-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
}
.label-row label {
  color: rgba(255,255,255,0.76);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
}
.hint {
  color: rgba(255,255,255,0.42);
  font-size: 12px;
}
.input-shell {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 22px;
  padding: 12px;
}
.search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 22px;
  padding: 13px 12px;
  letter-spacing: -0.02em;
}
.search-input:focus {
  border: none;
  box-shadow: none;
}
.mic-btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.search-btn {
  min-height: 52px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.examples {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.example-pill {
  color: rgba(255,255,255,0.62);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  padding: 9px 13px;
  font-size: 13px;
}
.scan-note {
  margin-top: 26px;
  border-radius: 20px;
  padding: 18px;
  background: rgba(47,255,199,0.07);
  border: 1px solid rgba(47,255,199,0.14);
  color: rgba(255,255,255,0.68);
  line-height: 1.55;
  font-size: 14px;
}
.flow {
  max-width: 840px;
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  text-align: left;
}
.flow-card {
  border-radius: 22px;
  padding: 20px;
  min-height: 150px;
  background: rgba(255,255,255,0.035);
}
.flow-card span {
  color: #2fffc7;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.flow-card h2 {
  margin-top: 16px;
  font-size: 23px;
  letter-spacing: -0.04em;
}
.flow-card p {
  margin-top: 10px;
  color: rgba(255,255,255,0.56);
  font-size: 14px;
  line-height: 1.45;
}
.bottom-actions {
  margin-top: 36px;
  justify-content: center;
}
.secondary-link {
  color: rgba(255,255,255,0.52);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* ==========================================
   VERIFY PRODUCT PAGE
========================================== */
.verify-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px 80px;
}
.verify-wrap h1 {
  font-size: clamp(40px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  max-width: 820px;
  margin-bottom: 18px;
}
.verify-wrap .subhead {
  max-width: 760px;
  margin-bottom: 34px;
}
.verify-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 22px;
  align-items: start;
}
.verify-main-panel,
.verify-side-panel {
  border-radius: 28px;
}
.panel-header {
  padding: 24px 26px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}
.panel-header h2 {
  font-size: 22px;
  letter-spacing: -0.04em;
}
.source-pill {
  color: #001014;
  background: linear-gradient(135deg, #20ffd0, #19a9ff);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.form-grid {
  padding: 26px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  color: rgba(255,255,255,0.48);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 800;
}
.required {
  color: #2fffc7;
}
.facts {
  padding: 0 26px 26px;
}
.facts-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 12px;
}
.facts-title h3 {
  font-size: 14px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.facts-title span {
  color: rgba(255,255,255,0.44);
  font-size: 12px;
}
.verify-ingredient-row {
  display: grid;
  grid-template-columns: 1.2fr 0.65fr 0.45fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
  border-radius: 14px;
  margin-bottom: 8px;
}
.verify-ingredient-row input {
  font-size: 14px;
  padding: 10px 11px;
  border-radius: 12px;
}
.delete {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.58);
  cursor: pointer;
}
.add-line {
  margin-top: 12px;
  display: inline-flex;
  color: #2fffc7;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 800;
}
.verify-side-panel {
  padding: 24px;
}
.confidence {
  border-radius: 22px;
  background: rgba(47,255,199,0.08);
  border: 1px solid rgba(47,255,199,0.16);
  padding: 20px;
  margin-bottom: 16px;
}
.confidence span,
.side-section span {
  color: rgba(255,255,255,0.48);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 800;
}
.confidence strong {
  display: block;
  font-size: 44px;
  margin-top: 10px;
  letter-spacing: -0.05em;
}
.side-section {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  margin-top: 18px;
}
.side-section p {
  color: rgba(255,255,255,0.64);
  font-size: 14px;
  line-height: 1.5;
  margin-top: 10px;
}
.verify-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.full-btn {
  width: 100%;
}
.warning {
  margin-top: 18px;
  color: rgba(255,255,255,0.42);
  font-size: 12px;
  line-height: 1.5;
}
/* ==========================================
   PRODUCT DETAIL PAGE
========================================== */
.product-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 38px 0 22px;
}
.product-hero h1 {
  font-size: clamp(40px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  max-width: 820px;
  margin-bottom: 18px;
}
.product-hero .subhead {
  max-width: 760px;
  margin-bottom: 0;
}
.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.danger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 14px 22px;
  font-size: 13px;
  color: rgba(255,255,255,0.74);
  background: rgba(255,77,97,0.08);
  border: 1px solid rgba(255,77,97,0.20);
}
.product-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 22px;
  align-items: start;
}
.product-main-panel,
.product-side-panel {
  border-radius: 28px;
}
.product-side-panel {
  padding: 24px;
}
.product-tags {
  margin-top: 14px;
}
/* ==========================================
   REPORT PAGE
========================================== */
.report-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 80px;
}
.report-document {
  background: rgba(8, 12, 18, 0.86);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
  backdrop-filter: blur(18px);
  padding: 34px;
}
.report-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.report-kicker {
  color: #2fffc7;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 850;
  margin-bottom: 16px;
}
.report-header h1 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}
.report-header p {
  max-width: 720px;
  color: rgba(255,255,255,0.62);
  font-size: 16px;
  line-height: 1.55;
}
.report-meta {
  display: grid;
  gap: 12px;
  align-content: start;
}
.report-meta div {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px;
}
.report-meta span,
.report-summary span {
  display: block;
  color: rgba(255,255,255,0.46);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 850;
  margin-bottom: 8px;
}
.report-meta strong {
  font-size: 14px;
  color: rgba(255,255,255,0.84);
}
.report-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}
.report-summary div {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 18px;
}
.report-summary strong {
  font-size: 28px;
  letter-spacing: -0.04em;
}
.report-section {
  margin-top: 30px;
}
.report-section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 14px;
}
.report-section-head h2 {
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.report-section-head p {
  color: rgba(255,255,255,0.42);
  font-size: 13px;
}
.report-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.09);
}
.report-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}
.report-table th {
  text-align: left;
  color: rgba(255,255,255,0.48);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 14px 16px;
  background: rgba(255,255,255,0.045);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.report-table td {
  padding: 15px 16px;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.report-table tr:last-child td {
  border-bottom: none;
}
.review-list {
  display: grid;
  gap: 10px;
}
.review-list div {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  padding: 16px;
}
.review-list strong {
  font-size: 15px;
}
.review-list p {
  margin-top: 6px;
  color: rgba(255,255,255,0.58);
  font-size: 13px;
  line-height: 1.45;
}
.report-disclaimer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.42);
  font-size: 12px;
  line-height: 1.5;
}
/* ==========================================
   HISTORY PAGE
========================================== */
.history-hero {
  margin: 38px 0 22px;
}
.history-hero h1 {
  font-size: clamp(40px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  max-width: 820px;
  margin-bottom: 18px;
}
.history-hero .subhead {
  max-width: 760px;
  margin-bottom: 0;
}
.history-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
  margin-top: 16px;
}
.history-main-panel {
  padding: 20px;
}
.history-side-panel {
  padding: 18px;
  position: sticky;
  top: 18px;
}
.history-head {
  margin-top: 0;
}
.timeline {
  display: grid;
  gap: 14px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.timeline-date {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
  border-radius: 18px;
  min-height: 104px;
  padding: 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.timeline-date span {
  color: rgba(255,255,255,0.46);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 850;
}
.timeline-date strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.05em;
  margin-top: 4px;
}
.timeline-card {
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  padding: 18px;
}
.timeline-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.timeline-top small {
  color: rgba(255,255,255,0.42);
  font-size: 12px;
}
.change-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.10);
}
.good-pill {
  color: rgba(255,255,255,0.82);
  background: rgba(47,255,199,0.08);
  border-color: rgba(47,255,199,0.16);
}
.warning-pill {
  color: rgba(255,255,255,0.82);
  background: rgba(255,204,77,0.08);
  border-color: rgba(255,204,77,0.16);
}
.danger-pill {
  color: rgba(255,255,255,0.82);
  background: rgba(255,77,97,0.08);
  border-color: rgba(255,77,97,0.16);
}
.neutral-pill {
  color: rgba(255,255,255,0.70);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.10);
}
.timeline-card h3 {
  font-size: 18px;
  letter-spacing: -0.035em;
}
.timeline-card p {
  margin-top: 8px;
  color: rgba(255,255,255,0.58);
  font-size: 13px;
  line-height: 1.5;
}
/* ==========================================
   LANDING DASHBOARD STORY
========================================== */
.dashboard-story {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 86px;
}
.dashboard-story-header,
.pricing-header {
  max-width: 760px;
  margin-bottom: 34px;
}
.dashboard-story-header h2,
.pricing-header h2 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}
.dashboard-story-header p,
.pricing-header p {
  color: rgba(255,255,255,0.64);
  font-size: 18px;
  line-height: 1.55;
}
.dashboard-story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
/* ==========================================
   PRICING SECTION
========================================== */
.pricing-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 90px;
}
.pricing-period {
  color: rgba(255,255,255,0.46);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 8px;
  margin-bottom: 18px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.pricing-card {
  position: relative;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(8, 12, 18, 0.82);
  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
  backdrop-filter: blur(18px);
  border-radius: 26px;
  padding: 28px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: rgba(47,255,199,0.34);
  background:
    linear-gradient(135deg, rgba(47,255,199,0.075), rgba(25,169,255,0.04)),
    rgba(8, 12, 18, 0.82);
}
.pricing-card span {
  color: #2fffc7;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 850;
}
.pricing-card h3 {
  margin-top: 20px;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -0.06em;
}
.pricing-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 28px 0;
  color: rgba(255,255,255,0.68);
  font-size: 15px;
  line-height: 1.4;
}
.pricing-card li {
  padding-left: 18px;
  position: relative;
}
.pricing-card li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2fffc7;
}
.pricing-card .primary-btn,
.pricing-card .secondary-btn {
  margin-top: auto;
  width: 100%;
}
.pricing-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  color: #001014;
  background: linear-gradient(135deg, #20ffd0, #19a9ff);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width: 1180px) {
  .dashboard-grid {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .side-panel {
    grid-column: 1 / -1;
    position: static;
  }
  .hero-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 1000px) {
  .landing-sample-grid {
    grid-template-columns: 1fr;
  }
  .sample-left-panel,
  .sample-side-panel {
    display: none;
  }
}
@media (max-width: 980px) {
  .goal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .goals-wrap {
    padding-top: 58px;
  }
}
@media (max-width: 900px) {
  .landing-hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }
  .sections {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
  .mini-topbar,
  .goal-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .verify-layout {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .verify-ingredient-row {
    grid-template-columns: 1fr;
  }
  .sample-hero-strip {
    grid-template-columns: 1fr;
  }
  .landing-dashboard-sample {
    padding: 14px;
  }
  .sample-center-panel {
    padding: 14px;
  }
  .product-hero {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-actions {
    justify-content: flex-start;
  }
  .product-layout {
    grid-template-columns: 1fr;
  }
  .history-layout {
    grid-template-columns: 1fr;
  }
  .history-side-panel {
    position: static;
  }
  .timeline-item {
    grid-template-columns: 1fr;
  }
  .timeline-date {
    min-height: auto;
    flex-direction: row;
    gap: 8px;
  }
  .dashboard-story-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 820px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .left-panel {
    position: static;
  }
  .hero-strip,
  .goal-cards {
    grid-template-columns: 1fr;
  }
  .ingredient-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .status {
    justify-self: start;
  }
  .expanded-body {
    grid-template-columns: 1fr;
  }
  .header-actions,
  .step {
    display: none;
  }
  .add-wrap {
    padding-top: 58px;
  }
  .input-shell {
    grid-template-columns: 1fr;
  }
  .mic-btn,
  .search-btn {
    width: 100%;
  }
  .flow {
    grid-template-columns: 1fr;
  }
  .label-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 580px) {
  .goal-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================================
   PRINT REPORT
========================================== */
@media print {
  body {
    background: #fff;
    color: #000;
  }
  .page {
    background: #fff;
    padding-bottom: 0;
  }
  .no-print,
  .header {
    display: none;
  }
  .report-shell {
    max-width: none;
    padding: 0;
  }
  .report-document {
    background: #fff;
    color: #000;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 28px;
  }
  .report-header,
  .report-section,
  .report-summary,
  .report-meta div,
  .review-list div,
  .report-table-wrap {
    border-color: #ddd;
  }
  .report-kicker {
    color: #111;
  }
  .report-header p,
  .report-section-head p,
  .report-meta span,
  .report-summary span,
  .report-table th,
  .review-list p,
  .report-disclaimer {
    color: #555;
  }
  .report-meta div,
  .report-summary div,
  .review-list div,
  .report-table th {
    background: #f6f6f6;
  }
  .report-meta strong,
  .report-summary strong,
  .report-table td,
  .review-list strong {
    color: #111;
  }
  .report-table td {
    border-color: #e5e5e5;
  }
}