:root {
  --green: #00bf6b;
  --green-deep: #007a45;
  --green-soft: #e9fff4;
  --mint: #ddfbea;
  --cream: #fff8ef;
  --orange: #ff8a3b;
  --orange-soft: #fff0e3;
  --ink: #111111;
  --text: #242424;
  --text-2: #555555;
  --muted: #777777;
  --line: rgba(0, 0, 0, 0.08);
  --card: #ffffff;
  --section: #f7f8f5;
  --shadow: 0 24px 70px rgba(22, 49, 38, 0.12);
  --shadow-soft: 0 14px 38px rgba(22, 49, 38, 0.09);
  --radius-xl: 38px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  color-scheme: light;
}

.language-switcher {
  position: fixed;
  z-index: 1000;
  top: 16px;
  inset-inline-end: 16px;
  min-width: 88px;
  padding: 9px 14px;
  border: 1px solid rgba(0, 60, 43, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-deep);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0, 60, 43, 0.12);
  cursor: pointer;
}

.is-rtl .landing-nav {
  direction: ltr;
}

.is-rtl .landing + .language-switcher {
  right: 16px;
  left: auto;
}

.is-rtl .screen,
.is-rtl .loading-panel,
.is-rtl .confirmation-card,
.is-rtl .modal-card {
  text-align: right;
}

.is-rtl input,
.is-rtl select,
.is-rtl textarea {
  text-align: right;
}

@font-face {
  font-family: "Pilcrow Rounded";
  font-style: normal;
  font-weight: 100 1000;
  font-display: swap;
  src: local("Pilcrow Rounded"), local("PilcrowRounded");
}

@font-face {
  font-family: "Noto Sans Arabic";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/NotoSansArabic-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Noto Sans Arabic";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/NotoSansArabic-Bold.ttf") format("truetype");
}

.is-rtl {
  font-family: "Noto Sans Arabic", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fafaf6;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 12% 6%, rgba(0, 191, 107, 0.16), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(255, 138, 59, 0.14), transparent 26%),
    #fafaf6;
  color: var(--text);
  font-family: "Pilcrow Rounded", Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(0, 191, 107, 0.25);
  outline-offset: 3px;
}

.landing {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  background: linear-gradient(180deg, #fffdf8 0%, #f7f8f5 52%, #ffffff 100%);
}

.landing-orb {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(6px);
}

.landing-orb-a {
  top: 110px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: var(--mint);
}

.landing-orb-b {
  bottom: 22%;
  left: -120px;
  width: 280px;
  height: 280px;
  background: var(--orange-soft);
}

.landing-nav,
.landing-content,
.landing-section {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.landing-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  min-height: calc(100vh - 84px);
  padding: 44px 0 86px;
}

.hero-copy {
  max-width: 680px;
}

.hero-copy h1,
.screen h1,
.loading-screen h1,
.confirmation-card h1,
.section-heading h2,
.cta-section h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero-copy h1 {
  max-width: 720px;
  font-size: clamp(54px, 8.2vw, 104px);
}

.hero-copy p {
  max-width: 580px;
  margin: 24px 0 0;
  color: var(--text-2);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 34px;
}

.hero-button {
  width: auto;
  min-width: 230px;
  padding: 0 28px;
}

.fitnet-logo {
  display: inline-flex;
  align-items: center;
  height: 48px;
}

.fitnet-logo img {
  display: block;
  width: 146px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.fitnet-logo.compact {
  height: 34px;
}

.fitnet-logo.compact img {
  width: 108px;
  height: 34px;
}

.status-pill,
.nav-pill,
.progress-pill,
.lock-badge,
.eyebrow,
.no-account {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 900;
}

.status-pill {
  margin-bottom: 20px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 191, 107, 0.22);
  background: var(--green-soft);
  color: var(--green-deep);
}

.no-account {
  padding: 11px 14px;
  background: #ffffff;
  color: var(--text-2);
  box-shadow: var(--shadow-soft);
}

.nav-cta {
  width: auto;
  min-height: 46px;
  padding: 0 18px;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
  margin-top: 34px;
}

.stat-card {
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.stat-card strong {
  display: block;
  color: var(--ink);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.fitness-photo {
  position: absolute;
  inset: 0 22px 42px 0;
  overflow: hidden;
  border: 10px solid #ffffff;
  border-radius: 46px;
  background:
    linear-gradient(180deg, rgba(0, 122, 69, 0.05), rgba(0, 122, 69, 0.22)),
    url("https://images.unsplash.com/photo-1518611012118-696072aa579a?auto=format&fit=crop&w=1200&q=82");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.hero-plan-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(88%, 370px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.device-top,
.preview-card-header,
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.device-top span {
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 950;
}

.plan-meter {
  display: grid;
  gap: 6px;
  margin: 22px 0;
  padding: 22px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: #ffffff;
}

.plan-meter strong {
  font-size: 24px;
}

.plan-meter span {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}

.floating-card {
  position: absolute;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: 190px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-weight: 950;
}

.card-a {
  top: 82px;
  left: -18px;
}

.card-b {
  right: -4px;
  top: 255px;
  background: var(--orange-soft);
}

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

.device-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 18px;
  background: #f7f8f5;
  color: var(--text);
  font-weight: 850;
}

.landing-section {
  padding: 70px 0;
}

.how-section {
  display: grid;
  gap: 28px;
}

.section-heading h2,
.cta-section h2 {
  margin-top: 12px;
  font-size: clamp(38px, 5.8vw, 72px);
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.benefit-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.benefit-card span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 950;
}

.benefit-card h3 {
  margin: 24px 0 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.05;
}

.benefit-card p {
  margin: 0;
  color: var(--text-2);
  line-height: 1.55;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 28px;
  align-items: center;
  margin-bottom: 54px;
  padding: 42px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 138, 59, 0.18), transparent 30%),
    var(--green-soft);
}

.cta-actions {
  display: grid;
  gap: 12px;
}

.cta-actions .primary-button {
  width: 100%;
}

.cta-actions .store-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

.cta-actions .store-badge {
  min-height: 52px;
  padding: 6px 10px;
  border-radius: 16px;
}

.ui-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 1.25em;
  line-height: 1;
  font-size: 1.05em;
  color: currentColor;
}

.app-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  padding: 22px 14px;
  background:
    radial-gradient(circle at 10% 5%, rgba(0, 191, 107, 0.16), transparent 32%),
    radial-gradient(circle at 90% 0%, rgba(255, 138, 59, 0.14), transparent 28%),
    #f7f8f5;
}

.ambient {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: var(--mint);
  filter: blur(70px);
  pointer-events: none;
}

.ambient-left {
  left: -170px;
  top: 12%;
}

.ambient-right {
  right: -190px;
  bottom: 4%;
  background: var(--orange-soft);
}

.phone-frame {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(100%, 560px);
  min-height: min(850px, calc(100vh - 44px));
  max-height: calc(100vh - 44px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.funnel-header {
  flex: 0 0 auto;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
}

.back-button,
.modal-close,
.text-link {
  border: 0;
  background: transparent;
  color: var(--ink);
}

.back-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.progress-pill {
  padding: 8px 12px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 12px;
}

.progress-track,
.loading-track {
  height: 8px;
  margin-top: 16px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf0e9;
}

.progress-fill,
.loading-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--green-deep));
  transition: width 650ms linear;
}

.screen {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 30px 22px 118px;
}

.screen h1 {
  margin-top: 14px;
  font-size: clamp(40px, 9vw, 54px);
}

.screen p {
  margin: 14px 0 0;
  color: var(--text-2);
  line-height: 1.6;
  font-weight: 600;
}

.eyebrow {
  padding: 8px 12px;
  border: 1px solid rgba(0, 191, 107, 0.2);
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow.success {
  border-color: rgba(255, 138, 59, 0.2);
  background: var(--orange-soft);
  color: #b95616;
}

.screen-stack {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.field-group {
  display: grid;
  gap: 12px;
}

.field-group h2 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.option-grid {
  display: grid;
  gap: 12px;
}

.option-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.plan-type-grid {
  display: grid;
  gap: 14px;
}

.select-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  gap: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(22, 49, 38, 0.04);
  font-weight: 900;
  text-align: center;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease,
    box-shadow 160ms ease;
}

.select-option:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 191, 107, 0.38);
  box-shadow: var(--shadow-soft);
}

.select-option.large {
  justify-content: flex-start;
  min-height: 88px;
  border-radius: 28px;
  font-size: 18px;
}

.select-option.selected {
  border-color: rgba(0, 191, 107, 0.62);
  background: var(--green-soft);
  box-shadow: 0 14px 34px rgba(0, 191, 107, 0.14);
  color: var(--green-deep);
}

.sticky-action {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 34%);
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  gap: 10px;
  border-radius: 999px;
  font-weight: 950;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.primary-button {
  border: 0;
  background: var(--green);
  box-shadow: 0 15px 34px rgba(0, 191, 107, 0.24);
  color: #ffffff;
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled {
  cursor: not-allowed;
  background: #d9ded5;
  box-shadow: none;
  color: #8b9388;
}

.secondary-button {
  border: 1px solid rgba(0, 191, 107, 0.35);
  background: #ffffff;
  color: var(--green-deep);
}

.search-box,
.number-input,
.input-field input {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 14px;
  color: var(--green-deep);
}

.number-input {
  display: flex;
  align-items: center;
  min-height: 60px;
  gap: 10px;
  padding: 0 14px;
}

.date-wheel {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 10px;
}

.wheel-column {
  display: grid;
  gap: 8px;
}

.wheel-column span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.wheel-column select {
  width: 100%;
  min-height: 60px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 900;
  appearance: none;
}

.search-box:focus-within,
.number-input:focus-within,
.wheel-column select:focus,
.input-field input:focus {
  border-color: rgba(0, 191, 107, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 191, 107, 0.12);
}

.search-box input,
.input-field input,
.number-input input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.search-box input::placeholder,
.input-field input::placeholder,
.number-input input::placeholder {
  color: var(--muted);
}

.number-input span {
  color: var(--green-deep);
  font-weight: 950;
}

.exercise-results,
.selected-stack {
  display: grid;
  gap: 8px;
}

.exercise-result,
.selected-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  border-radius: 18px;
  text-align: left;
}

.exercise-result {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  padding: 12px;
}

.exercise-result small,
.selected-chip span {
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 850;
}

.selected-chip {
  border: 1px solid rgba(0, 191, 107, 0.25);
  background: var(--green-soft);
  color: var(--green-deep);
  padding: 11px 12px;
}

.preview-screen {
  padding-bottom: 30px;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.summary-card,
.preview-card,
.confirmation-card,
.modal-card {
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.summary-card {
  min-height: 132px;
  border-radius: 26px;
  padding: 18px;
}

.summary-icon,
.modal-icon,
.confirmation-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(0, 191, 107, 0.16);
  border-radius: 18px;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(145deg, #e7fbf2, #d8f7e9);
  color: var(--green-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 8px 18px rgba(0, 133, 76, 0.08);
}

.summary-icon .ui-icon {
  min-width: auto;
  font-size: 25px;
  filter: saturate(1.08) drop-shadow(0 2px 3px rgba(17, 17, 17, 0.1));
}

.summary-icon.zap {
  background: linear-gradient(145deg, #fff8df, #fff0bd);
  border-color: rgba(255, 180, 34, 0.24);
}

.summary-icon.target {
  background: linear-gradient(145deg, #fff0eb, #ffe0d6);
  border-color: rgba(255, 106, 61, 0.2);
}

.summary-icon.utensils {
  background: linear-gradient(145deg, #eefbea, #dff6d7);
}

.summary-card span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.summary-card strong {
  display: block;
  margin-top: 6px;
  color: var(--ink);
  font-size: 18px;
}

.preview-card {
  position: relative;
  overflow: hidden;
  margin: 18px 0 20px;
  border-radius: 30px;
  padding: 20px;
}

.preview-card-header span {
  display: block;
  color: var(--green-deep);
  font-size: 13px;
  font-weight: 950;
}

.preview-card-header strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 24px;
}

.lock-badge {
  padding: 9px 11px;
  background: var(--orange-soft);
  color: #b95616;
  font-size: 12px;
}

.preview-lines {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.preview-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: #f7f8f5;
}

.preview-line span {
  color: var(--muted);
  font-weight: 800;
}

.preview-line strong {
  color: var(--ink);
  text-align: right;
}

.macro-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.macro-strip span {
  padding: 13px;
  border-radius: 16px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 950;
  text-align: center;
}

.locked-fade {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 54px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff);
  pointer-events: none;
}

.results-stack {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.result-plan-card {
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.result-plan-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.result-plan-top span {
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.result-plan-top h2 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.result-plan-card p {
  margin: 16px 0 0;
  color: var(--text-2);
  line-height: 1.55;
}

.result-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.result-facts span {
  padding: 9px 11px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 900;
}

.result-plan-card .primary-button {
  width: 100%;
}

.app-download-panel {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(0, 191, 107, 0.24);
  border-radius: 30px;
  background:
    radial-gradient(circle at 12% 12%, rgba(0, 191, 107, 0.28), transparent 32%),
    linear-gradient(135deg, #101312, #113323);
  color: #ffffff;
  box-shadow: 0 22px 54px rgba(17, 17, 17, 0.12);
}

.app-download-panel h2 {
  margin: 0;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
}

.app-download-panel p {
  margin: 10px 0 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.55;
}

.app-download-panel .store-row {
  margin-top: 16px;
}

.modal-overlay,
.loading-screen,
.confirmation-screen {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-overlay {
  background: rgba(17, 17, 17, 0.36);
  backdrop-filter: blur(12px);
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  padding: 28px;
  border-radius: 34px;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #f7f8f5;
  color: var(--ink);
  font-weight: 950;
}

.modal-card h2 {
  margin: 18px 0 8px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.modal-card p {
  margin: 0;
  color: var(--text-2);
  line-height: 1.55;
}

.lead-form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.input-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.input-field input {
  min-height: 56px;
  padding: 0 14px;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.security-notice {
  margin: 14px 18px 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 138, 59, 0.35);
  border-radius: 18px;
  background: var(--orange-soft);
  color: #9e470f;
  font-weight: 850;
}

.turnstile-challenge,
.turnstile-verified {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(0, 191, 107, 0.2);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.turnstile-challenge small {
  color: #9e470f;
}

.turnstile-verified {
  display: flex;
  justify-content: center;
}

.loading-screen,
.confirmation-screen {
  background:
    radial-gradient(circle at 18% 8%, rgba(0, 191, 107, 0.18), transparent 30%),
    radial-gradient(circle at 85% 20%, rgba(255, 138, 59, 0.15), transparent 28%),
    #fafaf6;
}

.loading-screen {
  display: block;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.loading-panel {
  display: grid;
  justify-items: center;
  width: min(100%, 720px);
  min-height: 100%;
  margin: 0 auto;
  padding: 20px 0 28px;
}

.pulse-orbit {
  display: grid;
  place-items: center;
  width: 150px;
  margin-bottom: 4px;
}

.loading-plan-type {
  padding: 7px 12px;
  border: 1px solid rgba(0, 133, 76, 0.14);
  border-radius: 999px;
  background: rgba(225, 250, 239, 0.76);
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.loading-screen h1 {
  max-width: 620px;
  margin: 10px 0 0;
  text-align: center;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.08;
}

.loading-time-message {
  max-width: 600px;
  margin: 10px 0 0;
  color: var(--text-2);
  text-align: center;
  line-height: 1.45;
}

.loading-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.loading-facts span {
  padding: 7px 11px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(22, 49, 38, 0.05);
  font-size: 13px;
  font-weight: 850;
}

.loading-progress-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  width: min(100%, 620px);
  gap: 20px;
  margin-top: 24px;
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 900;
}

.loading-progress-meta strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.loading-track {
  width: min(100%, 620px);
  height: 12px;
  margin-top: 9px;
  background: #e4eadf;
  overflow: hidden;
}

.loading-fill {
  transition: width 420ms linear;
}

.loading-plan-progress {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 620px);
  gap: 10px;
  margin-top: 14px;
}

.loading-plan-progress > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(22, 49, 38, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.loading-plan-progress strong {
  color: var(--ink);
  font-size: 14px;
}

.loading-plan-progress small {
  grid-column: 2;
  color: var(--text-2);
  font-size: 12px;
}

.loading-status-dot {
  grid-row: 1 / span 2;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c8cec5;
}

.loading-status-dot.building {
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(255, 138, 59, 0.13);
}

.loading-status-dot.ready {
  background: var(--green);
}

.loading-status-dot.failed {
  background: #c34b3b;
}

.loading-list {
  display: grid;
  width: min(100%, 620px);
  gap: 8px;
  margin-top: 14px;
}

.loading-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #ffffff;
  color: var(--muted);
  box-shadow: 0 8px 20px rgba(22, 49, 38, 0.05);
  font-weight: 850;
}

.loading-item span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #edf0e9;
}

.loading-item.completed,
.loading-item.current {
  color: var(--green-deep);
}

.loading-item.completed span,
.loading-item.current span {
  background: var(--green-soft);
}

.loading-item.current {
  border-color: rgba(0, 191, 107, 0.22);
  box-shadow: 0 9px 24px rgba(0, 133, 76, 0.08);
}

.loading-item.upcoming {
  background: rgba(255, 255, 255, 0.64);
  box-shadow: none;
}

@media (max-width: 640px) {
  .loading-screen {
    padding: 14px 18px;
  }

  .loading-panel {
    padding: 14px 0 22px;
  }

  .pulse-orbit {
    width: 130px;
    margin-bottom: 2px;
  }

  .loading-screen h1 {
    margin-top: 12px;
    font-size: 38px;
  }

  .loading-time-message {
    margin-top: 10px;
    font-size: 14px;
  }

  .loading-facts {
    margin-top: 12px;
  }

  .loading-progress-meta {
    margin-top: 18px;
  }

  .loading-plan-progress {
    grid-template-columns: 1fr;
  }

  .loading-item {
    min-height: 48px;
    padding: 8px 11px;
    font-size: 14px;
  }
}

.confirmation-card {
  width: min(100%, 520px);
  padding: 34px;
  border-radius: 38px;
  text-align: center;
}

.confirmation-card .fitnet-logo {
  justify-content: center;
  margin: 0 auto 22px;
}

.confirmation-icon {
  margin: 0 auto 18px;
}

.confirmation-card h1 {
  margin-top: 12px;
  font-size: clamp(42px, 9vw, 70px);
}

.confirmation-card p {
  color: var(--text-2);
  line-height: 1.55;
}

.store-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.store-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  gap: 10px;
  border-radius: 18px;
  background: var(--ink);
  color: #ffffff;
  text-align: left;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  background: #1d1d1d;
}

.store-badge:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}

.store-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
}

.apple-icon {
  fill: #ffffff;
}

.play-blue {
  fill: #5bbdff;
}

.play-green {
  fill: #00d084;
}

.play-yellow {
  fill: #ffd54a;
}

.play-red {
  fill: #ff5a5f;
}

.store-badge span {
  display: block;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.72);
}

.store-badge strong {
  display: block;
  font-size: 15px;
}

.text-link {
  margin-top: 16px;
  color: var(--green-deep);
  font-weight: 950;
}

@media (max-width: 900px) {
  .landing-nav,
  .landing-content,
  .landing-section {
    width: min(100% - 32px, 680px);
  }

  .landing-nav {
    justify-content: flex-start;
    padding: 16px 0 8px;
  }

  .landing-nav .fitnet-logo,
  .landing-nav .fitnet-logo img {
    width: 112px;
    height: 38px;
  }

  .landing-content {
    grid-template-columns: 1fr;
    gap: 30px;
    min-height: auto;
    padding: 22px 0 58px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .status-pill {
    margin-bottom: 16px;
    padding: 8px 11px;
    font-size: 13px;
  }

  .hero-copy h1 {
    max-width: 600px;
    font-size: clamp(48px, 11vw, 72px);
    line-height: 0.96;
  }

  .hero-copy p {
    max-width: 560px;
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.52;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    width: 100%;
    margin-top: 24px;
  }

  .hero-button {
    width: 100%;
    min-width: 0;
  }

  .no-account {
    justify-content: center;
    padding: 9px 12px;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
  }

  .stat-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: none;
    margin-top: 20px;
  }

  .stat-card {
    min-height: 82px;
    padding: 13px 10px;
    border-radius: 18px;
    text-align: center;
  }

  .stat-card strong {
    font-size: clamp(20px, 5vw, 28px);
  }

  .stat-card span {
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.2;
  }

  .hero-visual {
    width: min(100%, 560px);
    min-height: 520px;
    margin: 0 auto;
  }

  .fitness-photo {
    inset: 0 0 86px;
    border-width: 7px;
    border-radius: 34px;
  }

  .hero-plan-card {
    right: 3%;
    left: 3%;
    width: 94%;
    padding: 18px;
    border-radius: 28px;
  }

  .plan-meter {
    margin: 16px 0;
    padding: 17px;
    border-radius: 20px;
  }

  .plan-meter strong {
    font-size: 21px;
  }

  .device-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .device-list span {
    justify-content: center;
    padding: 10px 7px;
    font-size: 12px;
    text-align: center;
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    grid-template-columns: 1fr;
  }

  .cta-section .primary-button {
    width: 100%;
  }
}

@media (max-width: 620px) {
  .landing-nav {
    width: min(100% - 24px, 1160px);
  }

  .landing-content,
  .landing-section {
    width: min(100% - 24px, 1160px);
  }

  .hero-copy h1 {
    font-size: clamp(44px, 13.5vw, 62px);
  }

  .hero-copy p {
    font-size: 16px;
  }

  .stat-card {
    min-height: 76px;
    padding: 12px 6px;
  }

  .stat-card span {
    font-size: 10.5px;
  }

  .hero-visual {
    min-height: 430px;
  }

  .fitness-photo {
    inset: 0 0 76px;
    border-width: 6px;
    border-radius: 28px;
  }

  .hero-plan-card {
    padding: 15px;
    border-radius: 24px;
  }

  .hero-plan-card .fitnet-logo img {
    width: 92px;
  }

  .device-list {
    grid-template-columns: 1fr;
  }

  .device-list span {
    justify-content: flex-start;
    padding: 9px 11px;
  }

  .plan-meter {
    margin: 12px 0;
    padding: 14px;
  }

  .floating-card {
    min-width: auto;
    padding: 10px 12px;
    font-size: 14px;
  }

  .card-a {
    top: 22px;
    left: 8px;
  }

  .card-b {
    top: 128px;
    right: 8px;
  }

  .landing-section {
    padding: 44px 0;
  }

  .cta-section {
    padding: 28px;
    border-radius: 30px;
  }

  .app-shell {
    padding: 0;
  }

  .phone-frame {
    min-height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border-right: 0;
    border-left: 0;
  }

  .screen {
    padding: 26px 18px 112px;
  }

  .option-grid.compact,
  .summary-grid,
  .macro-strip,
  .store-row {
    grid-template-columns: 1fr;
  }

  .date-wheel {
    grid-template-columns: 1fr;
  }

  .modal-card,
  .confirmation-card {
    padding: 26px 20px;
    border-radius: 30px;
  }
}
