/* ==========================================
   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: 30px;
  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 */

.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);
}

/* TOP METRICS */

.hero-strip {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 0.72fr);
  gap: 14px;
  margin-bottom: 16px;
}

.hero-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 26px;
  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 {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.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 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 116px;
  padding: 20px;
  border-radius: 22px;
}

.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 */

.dashboard-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}

.left-panel,
.side-panel {
  position: sticky;
  top: 18px;
  padding: 18px;
}

.center-panel {
  padding: 20px;
}

/* LEFT NAV */

.nav-group {
  margin-bottom: 24px;
}

.nav-title {
  margin-bottom: 10px;
}

.nav-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
  padding: 10px 11px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(255,255,255,0.62);
  font-size: 13px;
}

.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 */

.goal-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.goal-card {
  min-height: 122px;
  padding: 18px;
  border-radius: 20px;
}

.goal-card,
.goal-card.green,
.goal-card.yellow,
.goal-card.red {
  background: rgba(255,255,255,0.04);
}

.goal-card span {
  color: rgba(255,255,255,0.48);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.goal-card strong {
  display: block;
  margin-top: 12px;
  font-size: 36px;
  letter-spacing: -0.05em;
}

.goal-card em {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.58);
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* INGREDIENT COLORS */

.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);
}

/* SECTION HEAD */

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  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 */

.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: 1px solid rgba(255,255,255,0.08);
  border-radius: 15px;
  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 {
  color: rgba(255,255,255,0.84);
  font-size: 14px;
}

.ingredient-row span {
  color: rgba(255,255,255,0.52);
  font-size: 12px;
}

.status {
  justify-self: end;
  color: rgba(255,255,255,0.75);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* EXPANDED INGREDIENT */

.expanded {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
}

.expanded .ingredient-row {
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
}

.expanded-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 16px;
}

.detail-box {
  padding: 15px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  background: rgba(0,0,0,0.20);
}

.detail-box h3 {
  margin-bottom: 12px;
  color: rgba(255,255,255,0.46);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.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);
}

/* TAGS */

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 7px 10px;
  border: 1px solid rgba(47,255,199,0.14);
  border-radius: 999px;
  background: rgba(47,255,199,0.075);
  color: rgba(255,255,255,0.76);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* AI INSIGHTS */

.side-card {
  margin-bottom: 12px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  background: rgba(255,255,255,0.04);
  text-align: left;
}

.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);
}

.insight-label {
  display: block;
  margin-bottom: 10px;
  color: rgba(255,255,255,0.48);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.side-card h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.side-card p {
  margin-top: 8px;
  color: rgba(255,255,255,0.58);
  font-size: 13px;
  line-height: 1.48;
}

.side-panel {
  text-align: left;
}

.insight-label,
.side-card h3,
.side-card p {
  text-align: left;
}

/* ==========================================
   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;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.58);
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}
.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;
}
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  max-width: 620px;
}

.trust-strip span {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.62);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================
   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: 56px;
}
.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;
}

/* ==========================================
   PERSONAL PROFILE PAGE
========================================== */
.personal-wrap {
  max-width: 1120px;
  padding-top: 76px;
}

.personal-section {
  margin-top: 34px;
  text-align: left;
}

.personal-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 14px;
}

.personal-section-head h2 {
  margin-top: 8px;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.personal-section-head p {
  max-width: 440px;
  color: rgba(255,255,255,0.52);
  font-size: 13px;
  line-height: 1.45;
  text-align: right;
}

.personal-card-grid {
  display: grid;
  gap: 16px;
}

.personal-card-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

.activity-grid {
  grid-template-columns: repeat(5, 1fr);
}

.select-personal-card {
  position: relative;
  min-height: 154px;
  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-personal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47,255,199,0.38);
  background: rgba(255,255,255,0.06);
}

.select-personal-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-personal-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-personal-card span {
  display: block;
  color: #2fffc7;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.select-personal-card h2 {
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.select-personal-card p {
  color: rgba(255,255,255,0.54);
  font-size: 14px;
  line-height: 1.45;
}

.dob-card {
  border-radius: 24px;
  padding: 24px;
  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);
}

.dob-card label {
  display: block;
  color: rgba(255,255,255,0.48);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 10px;
}

.dob-card input {
  max-width: 320px;
}

@media (max-width: 1100px) {
  .activity-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .personal-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .personal-section-head p {
    text-align: left;
  }

  .personal-card-grid.two-col,
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .dob-card input {
    max-width: none;
  }
}

/* ==========================================
   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 */

.search-card {
  max-width: 840px;
  margin: 0 auto;
  padding: 28px;
  border-radius: 30px;
  text-align: left;
}

/* INPUT */

.input-shell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 10px 10px 10px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 20px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.input-shell:focus-within {
  border-color: rgba(47,255,199,0.35);
  background: rgba(255,255,255,0.06);
}

.search-input {
  flex: 1;
  min-width: 0;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  color: #fff;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.search-input::placeholder {
  color: rgba(255,255,255,0.32);
}

.search-input:focus {
  border: none;
  box-shadow: none;
}

/* MIC */

.mic-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: #2fffc7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.mic-btn:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.mic-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #001014;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ACTION */

.search-row {
  margin-top: 18px;
}

.search-btn {
  width: 100%;
  min-height: 52px;
  padding: 0 28px;
}

/* MOBILE */

@media (max-width: 820px) {
  .add-wrap {
    padding-top: 58px;
  }
}

/* ==========================================
   VERIFY PRODUCT PAGE
========================================== */

.verify-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 24px 80px;
}

.verify-wrap h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.verify-wrap .subhead {
  max-width: 760px;
  margin-bottom: 34px;
}

/* LAYOUT */

.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 */

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px 26px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.panel-header h2 {
  font-size: 22px;
  letter-spacing: -0.04em;
}

.source-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #20ffd0, #19a9ff);
  color: #001014;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* FORM */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 26px;
}

.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;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.required {
  color: #2fffc7;
}

/* FACTS */

.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;
  margin-bottom: 8px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
}

.verify-ingredient-row input {
  padding: 10px 11px;
  border-radius: 12px;
  font-size: 14px;
}

.delete {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.58);
  cursor: pointer;
}

.add-line {
  display: inline-flex;
  margin-top: 12px;
  color: #2fffc7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* SIDE PANEL */

.verify-side-panel {
  padding: 24px;
}

.confidence {
  margin-bottom: 16px;
  padding: 20px;
  border: 1px solid rgba(47,255,199,0.16);
  border-radius: 22px;
  background: rgba(47,255,199,0.08);
}

.confidence span,
.side-section span {
  color: rgba(255,255,255,0.48);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.confidence strong {
  display: block;
  margin-top: 10px;
  font-size: 44px;
  letter-spacing: -0.05em;
}

.side-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.side-section p {
  margin-top: 10px;
  color: rgba(255,255,255,0.64);
  font-size: 14px;
  line-height: 1.5;
}

.verify-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.full-btn {
  width: 100%;
}

.warning {
  margin-top: 16px;
  color: rgba(255,255,255,0.38);
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

/* MOBILE */

@media (max-width: 900px) {
  .verify-layout {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .verify-ingredient-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   PRODUCT DETAIL PAGE
========================================== */

.product-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin: 38px 0 22px;
}

.product-hero h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.product-hero .subhead {
  max-width: 760px;
  margin-bottom: 0;
}

.product-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.danger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 1px solid rgba(255,77,97,0.35);
  border-radius: 999px;
  background: rgba(255,77,97,0.10);
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.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-side-panel .confidence strong {
  font-size: 56px;
}

.product-tags {
  margin-top: 14px;
}

.product-side-panel .warning {
  margin-top: 18px;
  color: rgba(255,255,255,0.42);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

/* ==========================================
   REPORT PAGE
========================================== */

.report-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 34px 24px 80px;
}

.report-document {
  padding: 34px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 28px;
  background: rgba(8, 12, 18, 0.86);
  box-shadow: 0 24px 70px rgba(0,0,0,0.42);
  backdrop-filter: blur(18px);
}

.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 {
  margin-bottom: 16px;
  color: #2fffc7;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

.report-header p {
  max-width: 720px;
  color: rgba(255,255,255,0.62);
  font-size: 16px;
  line-height: 1.55;
}

/* META */

.report-meta {
  display: grid;
  gap: 12px;
  align-content: start;
}

.report-meta div {
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
}

.report-meta span,
.report-summary span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.46);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.report-meta strong {
  color: rgba(255,255,255,0.84);
  font-size: 14px;
}

/* SUMMARY */

.report-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.report-summary div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
}

.report-summary strong {
  font-size: 28px;
  letter-spacing: -0.04em;
}

/* SECTIONS */

.report-section {
  margin-top: 30px;
}

.report-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  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;
}

/* REVIEW CARDS */

.review-list {
  display: grid;
  gap: 10px;
}

.review-list div {
  padding: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
}

.review-list strong {
  color: rgba(255,255,255,0.88);
  font-size: 15px;
}

.review-list p {
  margin-top: 6px;
  color: rgba(255,255,255,0.58);
  font-size: 13px;
  line-height: 1.45;
}

/* TABLES */

.report-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 18px;
}

.report-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.report-table th {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.045);
  color: rgba(255,255,255,0.48);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-align: left;
  text-transform: uppercase;
}

.report-table td {
  padding: 15px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.78);
  font-size: 14px;
}

.report-table tr:last-child td {
  border-bottom: none;
}

/* DISCLAIMER */

.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 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.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 {
  position: sticky;
  top: 18px;
  padding: 18px;
  text-align: left;
}

.history-head {
  margin-top: 0;
}

/* TIMELINE */

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.timeline-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 104px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.035);
  text-align: center;
}

.timeline-date span {
  color: rgba(255,255,255,0.46);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.timeline-date strong {
  display: block;
  margin-top: 4px;
  font-size: 30px;
  letter-spacing: -0.05em;
}

.timeline-card {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
}

.timeline-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.timeline-top small {
  color: rgba(255,255,255,0.42);
  font-size: 12px;
}

.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;
}

/* CHANGE PILLS */

.change-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.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);
}

/* ==========================================
   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: 1100px) {
  .activity-grid {
    grid-template-columns: repeat(3, 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,
  .personal-wrap {
    padding-top: 58px;
  }
}

@media (max-width: 900px) {
  .landing-hero {
    grid-template-columns: 1fr;
    padding-top: 64px;
  }

  .sections,
  .dashboard-story-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .mini-topbar,
  .goal-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .verify-layout,
  .product-layout,
  .history-layout {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .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;
  }

  .history-side-panel {
    position: static;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-date {
    min-height: auto;
    flex-direction: row;
    gap: 8px;
  }
}

@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;
  }
}

@media (max-width: 760px) {
  .personal-section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .personal-section-head p {
    text-align: left;
  }

  .personal-card-grid.two-col,
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .dob-card input {
    max-width: none;
  }
}

@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;
  }
}