/* =========================================
   THEME TOKENS
   ========================================= */
:root {
  color-scheme: dark; /* default */

  /* Brand palette (same for both themes) */
  --shade1: #85f3bf;
  --shade2: #0fbe92;
  --shade3: #99d98c;
  --shade4: #10b88c;
  --shade5: #52b69a;
  --shade6: #09866d;

  --primary-color: var(--shade6);
  --accent-color: var(--shade4);
  --secondary-color: var(--accent-color);

  /* Dark theme base */
  --bg-dark: #020b10;
  --bg-page-top: #063b3a;
  --bg-card: #041920;

  --text-main: #f9fdfc;
  --text-muted: #a7c9c0;
  --text-inverse: #020617;

  /* Semantic surfaces */
  --surface-nav: rgba(2, 11, 16, 0.65);
  --surface-nav-mobile: rgba(4, 25, 32, 0.95);
  --surface-footer: rgba(2, 11, 16, 0.8);
  --surface-card: rgba(4, 25, 32, 0.75);
  --surface-card-soft: rgba(4, 25, 32, 0.55);
  --surface-chip: rgba(255, 255, 255, 0.05);
  --surface-chip-strong: rgba(4, 25, 32, 0.9);
  --surface-dropdown: rgba(4, 25, 32, 0.98);

  /* Borders & shadows */
  --border-hairline: rgba(255, 255, 255, 0.03);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-strong: rgba(255, 255, 255, 0.12);

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.45);
  --shadow-strong: 0 18px 40px rgba(0, 0, 0, 0.55);

  /* Inputs */
  --input-bg: rgba(255, 255, 255, 0.06);
  --input-border: rgba(255, 255, 255, 0.08);
  --input-placeholder: rgba(167, 201, 192, 0.7);

  /* Special */
  --slider-track: rgba(255, 255, 255, 0.2);
  --dual-bar-bg: rgba(255, 255, 255, 0.06);

  --radius-lg: 18px;
}

/* Light theme overrides */
:root[data-theme='light'] {
  --shade1: #063b3a;    
  color-scheme: light;

  --bg-dark: #f4f7fb;
  --bg-page-top: #e1fbf4; /* soft mint / light teal at top */
  --bg-card: #ffffff;

  --text-main: #020617;
  --text-muted: #4b5563;
  --text-inverse: #f9fdfc;

  --surface-nav: rgba(255, 255, 255, 0.9);
  --surface-nav-mobile: #ffffff;
  --surface-footer: #ffffff;
  --surface-card: #ffffff;
  --surface-card-soft: #f9fafb;
  --surface-chip: #ecfdf5;
  --surface-chip-strong: #0f172a0f; /* very subtle dark overlay */
  --surface-dropdown: #ffffff;

  --border-hairline: rgba(15, 23, 42, 0.04);
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.16);

  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 18px 40px rgba(15, 23, 42, 0.12);

  --input-bg: #ffffff;
  --input-border: rgba(15, 23, 42, 0.16);
  --input-placeholder: rgba(148, 163, 184, 0.9);

  --slider-track: rgba(15, 23, 42, 0.12);
  --dual-bar-bg: rgba(15, 23, 42, 0.06);
}

/* =========================================
   GLOBAL RESET & BASE
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body.page {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: radial-gradient(circle at top, var(--bg-page-top) 0, var(--bg-dark) 55%);
  color: var(--text-main);
}

.section {
  padding: 64px 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.section-hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.2;
}

p {
  margin: 0 0 12px;
  color: var(--text-muted);
}

/* Subtle divider between sections */
.section:not(.section-hero) {
  border-top: 1px solid var(--border-hairline);
}

/* =========================================
   BUTTONS & LOADING STATES
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 20px 40px rgba(16, 184, 140, 0.25);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  box-shadow: none;
}

/* Loading state */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
}

.btn-loading > * {
  visibility: hidden;
}

.btn-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: btn-spin 0.65s linear infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes btn-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.loading-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* =========================================
   THEME TOGGLE
   ========================================= */
.theme-toggle {
  margin-left: 12px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-chip-strong);
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--shade1);
  cursor: pointer;
  font-size: 1rem;
  transition: 0.25s ease;
}

.theme-toggle:hover {
  background: rgba(4, 25, 32, 0.95);
  box-shadow: 0 0 14px rgba(16, 184, 140, 0.45);
}

/* Adjust toggle in light mode */
:root[data-theme='light'] .theme-toggle {
  background: #ffffff;
  color: var(--shade6);
}

:root[data-theme='light'] .theme-toggle:hover {
  box-shadow: 0 0 14px rgba(16, 184, 140, 0.25);
}

/* =========================================
   FORM ERROR STATES
   ========================================= */
.form-field--error input {
  border-color: #ff8080 !important;
  box-shadow: 0 0 14px rgba(255, 128, 128, 0.35);
}

.input-error {
  border-color: #ff8080;
}

.field-error {
  margin-top: 6px;
  font-size: 0.85rem;
  color: #ff8080;
}

.field-hint {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.step2-sub.small {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* =========================================
   NAVIGATION BAR
   ========================================= */
.nav-container {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--surface-nav);
  backdrop-filter: blur(18px);
  z-index: 999;
  border-bottom: 1px solid var(--border-subtle);
}

/* Right side container: theme toggle + CTA + mobile menu */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto; /* pushes right side away from logo */
}

/* Optional: make the CTA feel tighter in the navbar */
.nav-cta .btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* Mobile behaviour remains the same */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: flex;
  }

  .nav-right {
    gap: 10px;
  }
}


.nav-inner {
  max-width: 1120px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-img {
  height: 40px;
}

.nav-cta .btn {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle .line {
  width: 24px;
  height: 2px;
  background: var(--shade1);
  transition: 0.3s;
}

.nav-mobile-menu {
  background: var(--surface-nav-mobile);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-mobile-item {
  display: block;
  padding: 14px 20px;
  color: var(--shade2);
  text-decoration: none;
  font-size: 0.95rem;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  .mobile-only {
    display: flex;
  }
}

/* =========================================
   HERO SECTION
   ========================================= */
.section-hero {
  padding-top: 130px;
  padding-bottom: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 700;
}

.highlight {
  color: var(--shade2);
}

.hero-subtitle {
  margin: 18px 0 28px;
  font-size: 1.15rem;
  max-width: 480px;
}

.hero-btn {
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.hero-trust {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* VIDEO SECTION */
.video-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #000;
}

.video-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
}

/* =========================================
   PROBLEM SECTION
   ========================================= */
.problems-header h2 {
  font-size: 2.4rem;
  line-height: 1.25;
  color: var(--shade1);
  margin-bottom: 12px;
  text-align: center;
}

.problems-header p {
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto 50px;
  color: var(--text-muted);
}

.problems-new-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

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

.p-box {
  background: linear-gradient(
      145deg,
      rgba(16, 184, 140, 0.08),
      transparent 70%
    ),
    var(--surface-card);
  border: 1px solid var(--border-subtle);
  padding: 32px 28px;
  border-radius: 20px;
  backdrop-filter: blur(14px);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
}

.p-box:hover {
  transform: translateY(-8px);
  border-color: var(--shade2);
  box-shadow: 0 0 28px rgba(16, 184, 140, 0.35);
}

.p-box-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.p-box h3 {
  margin-bottom: 14px;
  color: var(--shade1);
  font-size: 1.35rem;
}

.p-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-box ul li {
  margin-bottom: 10px;
  font-size: 0.97rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
}

.p-box ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--shade2);
}

.p-box::after {
  content: "";
  position: absolute;
  bottom: -40%;
  right: -30%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(16, 184, 140, 0.22), transparent 70%);
  transition: 0.4s ease;
}

.p-box:hover::after {
  transform: scale(1.2);
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.section-how {
  padding-top: 80px;
  padding-bottom: 80px;
}

.how-header {
  text-align: center;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.how-header.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.how-header h2 {
  font-size: 2.4rem;
  color: var(--shade1);
}

.how-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 10px auto 0;
}

.how-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

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

.how-accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.how-item {
  background: var(--surface-card-soft);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px 22px;
  transition: border 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.how-item:hover {
  border-color: var(--shade2);
  box-shadow: 0 0 22px rgba(16, 184, 140, 0.25);
  transform: translateY(-2px);
}

.how-title {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--shade1);
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.how-title span:last-child {
  transition: 0.3s ease;
}

.how-title .rotate {
  transform: rotate(180deg);
}

.how-content {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.how-content ul {
  padding-left: 18px;
  margin-top: 10px;
}

.how-content ul li {
  margin-bottom: 6px;
}

/* Right visual */
.how-visual img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: scale(0.9);
  transition: 0.6s ease;
}

.how-visual.pop-in img {
  opacity: 1;
  transform: scale(1);
}

.how-visual img[x-cloak] {
  opacity: 0;
}

.how-visual img:not([src]) {
  opacity: 0;
}

/* =========================================
   APP EXPERIENCE
   ========================================= */
.section-app {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
}

.app-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.app-header.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.app-header h2 {
  font-size: 2.4rem;
  color: var(--shade1);
  margin-bottom: 10px;
}

.app-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.app-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: center;
}

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

.app-left {
  position: relative;
  width: 100%;
  min-height: 380px;
}

.phone-stack {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.phone {
  position: absolute;
  width: 180px;
  transition: 0.5s ease;
  opacity: 0;
}

.phone img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 0 25px rgba(16, 184, 140, 0.35);
}

.phone-1 {
  top: 0;
  left: 0;
  transform: translateY(30px) rotate(-8deg);
}

.phone-2 {
  top: 41px;
  left: 123px;
  transform: translateY(40px) rotate(8deg);
}

.phone.pop-in {
  opacity: 1;
  transform: translateY(0) rotate(-6deg);
}

.phone.pop-in-delayed {
  opacity: 1;
  transform: translateY(0) rotate(6deg);
}

@media (max-width: 900px) {
  .app-left {
    min-height: 340px;
  }
  .phone-stack {
    max-width: 260px;
  }
  .phone {
    width: 160px;
  }
  .phone-2 {
    top: 130px;
    left: 90px;
  }
}

.app-right {
  opacity: 0;
  transform: translateX(40px);
  transition: 0.7s ease;
}

.app-right.slide-in {
  opacity: 1;
  transform: translateX(0);
}

.web-mockup {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 0 45px rgba(16, 184, 140, 0.25);
  margin: 0 auto;
  display: block;
}

@media (max-width: 600px) {
  .section-app {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .app-header h2 {
    font-size: 2rem;
  }
}

/* =========================================
   RESULTS / BEFORE AFTER
   ========================================= */
.section-results {
  padding-top: 90px;
  padding-bottom: 90px;
}

.results-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.results-header.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.results-header h2 {
  font-size: 2.4rem;
  color: var(--shade1);
}

.results-header p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.results-flex {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .results-flex {
    flex-direction: column;
  }
}

.slider-box {
  width: 350px;
  position: relative;
  margin-bottom: 40px;
}

.img-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 35px rgba(0, 255, 180, 0.2);
}

.img-before,
.img-after {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-after {
  clip-path: inset(0 50% 0 0);
}

.slider-range {
  width: 100%;
  margin-top: 16px;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 8px;
  background: var(--slider-track);
  outline: none;
}

.slider-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--shade2);
  cursor: pointer;
  box-shadow: 0 0 10px var(--shade2);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.label-before {
  color: #ff8080;
  font-weight: 600;
}

.label-after {
  color: var(--shade1);
  font-weight: 600;
}

.bars-box {
  flex: 1;
  width: 100%;
}

.skill-box {
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.7s;
}

.skill-box.pop {
  opacity: 1;
  transform: translateY(0);
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.skill-header h3 {
  margin: 0;
  color: var(--shade1);
}

.dual-bar {
  position: relative;
  background: var(--dual-bar-bg);
  height: 16px;
  border-radius: 12px;
  overflow: hidden;
}

.before-fill {
  height: 100%;
  background: rgba(49, 106, 94, 0.45);
  border-right: 2px solid rgba(255, 255, 255, 0.2);
}

.after-fill {
  position: absolute;
  top: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--shade4), var(--shade2));
  box-shadow: 0 0 15px rgba(16, 184, 140, 0.4);
  transform: scaleX(0);
  transform-origin: left;
  animation: grow 1.1s forwards ease-out;
}

@keyframes grow {
  to {
    transform: scaleX(1);
  }
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.section-testimonials {
  padding-top: 90px;
  padding-bottom: 90px;
  text-align: center;
}

.t-header h2 {
  font-size: 2.3rem;
  color: var(--shade1);
  margin-bottom: 10px;
}

.t-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 40px;
}

.t-wrapper {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.t-card {
  background: radial-gradient(circle at top left, rgba(16, 184, 140, 0.22), transparent 55%),
    var(--surface-card);
  border-radius: 22px;
  padding: 28px 26px 26px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-strong);
  text-align: left;
  position: relative;
  min-height: 190px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.t-card-visible {
  opacity: 1;
  transform: translateY(0);
}

.t-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-chip-strong);
  color: var(--shade1);
  border: 1px solid rgba(133, 243, 191, 0.35);
  margin-bottom: 10px;
}

.t-quote {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 18px;
}

.t-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.t-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.t-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.t-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(133, 243, 191, 0.4);
  background: var(--surface-chip-strong);
  color: var(--shade1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.25s ease;
}

.t-arrow:hover {
  background: linear-gradient(135deg, var(--shade4), var(--shade6));
  color: #fff;
  box-shadow: 0 0 18px rgba(16, 184, 140, 0.4);
}

.t-arrow-left {
  justify-self: end;
}

.t-arrow-right {
  justify-self: start;
}

.t-dots {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.t-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: 0.25s ease;
}

.t-dot--active {
  width: 22px;
  background: linear-gradient(90deg, var(--shade4), var(--shade2));
  box-shadow: 0 0 12px rgba(16, 184, 140, 0.45);
}

@media (max-width: 768px) {
  .t-wrapper {
    grid-template-columns: 1fr;
  }

  .t-arrow-left,
  .t-arrow-right {
    justify-self: center;
    order: -1;
  }
}

/* =========================================
   LEAD FORM
   ========================================= */
.section-lead {
  padding-top: 90px;
  padding-bottom: 90px;
  text-align: center;
}

.lead-header h2 {
  font-size: 2.4rem;
  color: var(--shade1);
  margin-bottom: 10px;
}

.lead-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.lead-card {
  background: var(--surface-card);
  backdrop-filter: blur(18px);
  padding: 32px;
  border-radius: 22px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 0 45px rgba(16, 184, 140, 0.25);
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.persona-toggle {
  display: inline-flex;
  margin-bottom: 20px;
  border-radius: 999px;
  padding: 4px;
  background: var(--surface-chip-strong);
  border: 1px solid rgba(133, 243, 191, 0.3);
}

:root[data-theme='light'] .persona-toggle {
  background: #ecfdf5;
  border-color: rgba(16, 185, 129, 0.5);
}

.persona-toggle button {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.92rem;
  transition: 0.25s ease;
}

.persona-toggle .persona-active {
  background: linear-gradient(135deg, var(--shade4), var(--shade6));
  color: #fff;
  box-shadow: 0 0 18px rgba(16, 184, 140, 0.4);
}

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

@media (max-width: 650px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.form-field input,
.form-field select {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--text-main);
  font-size: 1rem;
}

.form-field input::placeholder {
  color: var(--input-placeholder);
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--shade2);
  box-shadow: 0 0 12px rgba(16, 184, 140, 0.35);
}

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

.country-code {
  min-width: 90px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.9rem;
}

.checkbox-label input {
  margin-top: 4px;
}

.lead-btn {
  width: 100%;
  padding: 14px;
  margin-top: 22px;
  font-size: 1.05rem;
}

.lead-btn[disabled],
.resend-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.step2-title {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--shade1);
}

.step2-sub {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.lead-success {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.lead-success h3 {
  color: var(--shade1);
  margin-bottom: 10px;
}

.lead-success p {
  margin-bottom: 20px;
}

/* =========================================
   FOOTER
   ========================================= */
.section-footer {
  background: var(--surface-footer);
  padding: 80px 20px;
  border-top: 1px solid var(--border-subtle);
  backdrop-filter: blur(18px);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.trust-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-chip);
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 25px rgba(16, 184, 140, 0.15);
}

:root[data-theme='light'] .trust-item {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.trust-item img {
  width: 32px;
  height: 32px;
}

.trust-item span {
  color: var(--shade1);
  font-size: 0.95rem;
  font-weight: 600;
}

.footer-cta {
  text-align: center;
  margin-bottom: 60px;
}

.footer-cta h3 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--shade1);
}

.footer-cta p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-btn {
  padding: 12px 32px;
  font-size: 1.05rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--shade1);
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.2s ease;
}

.footer-col a:hover {
  color: var(--shade1);
}

.footer-copy {
  text-align: center;
  color: var(--text-muted);
  margin-top: 20px;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .trust-strip {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-links {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* =========================================
   SUBSCRIPTION PAGE
   ========================================= */
.section-subscription {
  padding-top: 100px;
  padding-bottom: 100px;
}

.subscription-page .section-subscription {
  max-width: 1120px;
  margin: 0 auto;
}

.sub-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.sub-wrapper h1 {
  font-size: 2.3rem;
  color: var(--shade1);
  margin-bottom: 8px;
}

.sub-lead-info {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1rem;
}

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

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

.plans-loading {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
}

.plan-card {
  background: radial-gradient(circle at top left, rgba(16, 184, 140, 0.18), transparent 60%),
    var(--surface-card);
  border-radius: 22px;
  padding: 24px 22px 22px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-strong);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

:root[data-theme='light'] .plan-card {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.plan-card.featured {
  border-color: var(--shade2);
  box-shadow: 0 0 35px rgba(16, 184, 140, 0.45);
}

.plan-label {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-chip-strong);
  color: var(--shade1);
  border: 1px solid rgba(133, 243, 191, 0.55);
}

.plan-card h2 {
  font-size: 1.4rem;
  margin: 0 0 4px;
}

.plan-desc {
  margin: 0 0 6px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0 10px;
}

.plan-price {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--shade1);
}

.plan-tag {
  font-size: 0.9rem;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

:root[data-theme='light'] .plan-tag {
  background: #ecfdf5;
  color: #047857;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 4px 0 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.plan-features li {
  margin-bottom: 6px;
  position: relative;
  padding-left: 18px;
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--shade2);
  font-size: 0.85rem;
}

.plan-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.plan-btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.plans-error {
  margin-top: 20px;
  color: #ff8080;
  font-size: 0.95rem;
}

.checkout-message {
  margin-top: 20px;
  font-size: 0.95rem;
  color: var(--shade1);
}

/* =========================================
   PAYMENT SUCCESS / FAILED
   ========================================= */
.success-wrapper,
.failed-wrapper {
  display: flex;
  justify-content: center;
  padding-top: 150px;
  padding-bottom: 150px;
}

.success-card,
.failed-card {
  background: var(--surface-card);
  backdrop-filter: blur(18px);
  padding: 40px;
  border-radius: 22px;
  text-align: center;
  max-width: 480px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 0 45px rgba(16, 184, 140, 0.25);
}

.failed-card {
  box-shadow: 0 0 45px rgba(255, 80, 80, 0.25);
}

.success-icon,
.failed-icon {
  font-size: 60px;
  margin-bottom: 20px;
}

.success-card h1 {
  font-size: 2rem;
  color: var(--shade1);
  margin-bottom: 10px;
}

.failed-card h1 {
  font-size: 2rem;
  color: #ff8080;
  margin-bottom: 10px;
}

.success-sub,
.failed-sub {
  margin: 10px 0 30px;
  color: var(--text-muted);
}

.success-btn,
.failed-btn {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.failed-btn2 {
  margin-top: 12px;
}

/* =========================================
   LOCATION SELECT (COUNTRY / STATE / CITY)
   ========================================= */
.location-select {
  position: relative;
}

.select-search-input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-main);
  font-size: 0.95rem;
}

.select-search-input::placeholder {
  color: var(--input-placeholder);
}

.select-search-input:focus {
  outline: none;
  border-color: var(--shade2);
  box-shadow: 0 0 12px rgba(16, 184, 140, 0.35);
}

.select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 230px;
  overflow-y: auto;
  background: var(--surface-dropdown);
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
  z-index: 30;
  padding: 4px 0;
  display: none;
}

:root[data-theme='light'] .select-dropdown {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
}

.select-option {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 7px 12px;
  font-size: 0.9rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.select-option:hover {
  background: rgba(255, 255, 255, 0.06);
}

:root[data-theme='light'] .select-option:hover {
  background: rgba(15, 23, 42, 0.04);
}

.select-option small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.select-dropdown::-webkit-scrollbar {
  width: 6px;
}

.select-dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}

@media (max-width: 650px) {
  .select-dropdown {
    max-height: 200px;
  }
}
/* =========================================
   FORM ALERTS (GLOBAL)
   ========================================= */
.form-alert {
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid transparent;
}

.form-alert--error {
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 0.5);
  color: #fecaca;
}

:root[data-theme='light'] .form-alert--error {
  background: #fef2f2;
  color: #b91c1c;
}

.form-alert--info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.5);
  color: #bfdbfe;
}

:root[data-theme='light'] .form-alert--info {
  background: #eff6ff;
  color: #1d4ed8;
}

.form-alert--success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.5);
  color: #bbf7d0;
}

:root[data-theme='light'] .form-alert--success {
  background: #ecfdf3;
  color: #15803d;
}

/* Optional little icon bullet inside alerts */
.form-alert::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  margin-top: 5px;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.7;
}

/* =========================================
   OTP PAGE
   ========================================= */
body.page.otp-page {
  /* keep same background as other pages */
}

.otp-section {
  padding-top: 130px;
  padding-bottom: 130px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.otp-wrapper {
  max-width: 520px;
  margin: 0 auto;
}

.otp-header {
  text-align: center;
  margin-bottom: 24px;
}

.otp-header h2 {
  font-size: 2rem;
  color: var(--shade1);
  margin-bottom: 8px;
}

.otp-header p {
  font-size: 1rem;
  color: var(--text-muted);
}

.otp-highlight {
  color: var(--shade2);
  font-weight: 600;
}

.otp-card {
  margin-top: 8px;
}

.otp-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.otp-meta-row span {
  opacity: 0.9;
}

.otp-meta-row button,
.otp-meta-row a {
  font-size: 0.85rem;
}

.otp-input-wrapper {
  margin-top: 16px;
}

.otp-input-wrapper input[type="text"] {
  letter-spacing: 0.35em;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
}

.otp-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.otp-resend-btn {
  width: 100%;
}

.otp-footer-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

/* Small timer / hint text under input */
.otp-hint {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Mobile tweaks */
@media (max-width: 650px) {
  .otp-section {
    padding-top: 110px;
    padding-bottom: 80px;
  }

  .otp-wrapper {
    max-width: 100%;
  }

  .otp-header h2 {
    font-size: 1.7rem;
  }

  .otp-input-wrapper input[type="text"] {
    font-size: 1.2rem;
  }
}
/* =========================================
   FORM ALERTS (GLOBAL)
   ========================================= */
.form-alert {
  border-radius: 14px;
  padding: 10px 14px;
  font-size: 0.9rem;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid transparent;
}

.form-alert--error {
  background: rgba(248, 113, 113, 0.08);
  border-color: rgba(248, 113, 113, 0.5);
  color: #fecaca;
}

:root[data-theme='light'] .form-alert--error {
  background: #fef2f2;
  color: #b91c1c;
}

.form-alert--info {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.5);
  color: #bfdbfe;
}

:root[data-theme='light'] .form-alert--info {
  background: #eff6ff;
  color: #1d4ed8;
}

.form-alert--success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.5);
  color: #bbf7d0;
}

:root[data-theme='light'] .form-alert--success {
  background: #ecfdf3;
  color: #15803d;
}

/* Optional little icon bullet inside alerts */
.form-alert::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  margin-top: 5px;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.7;
}

/* =========================================
   OTP PAGE
   ========================================= */
body.page.otp-page {
  /* keep same background as other pages */
}

.otp-section {
  padding-top: 130px;
  padding-bottom: 130px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.otp-wrapper {
  max-width: 520px;
  margin: 0 auto;
}

.otp-header {
  text-align: center;
  margin-bottom: 24px;
}

.otp-header h2 {
  font-size: 2rem;
  color: var(--shade1);
  margin-bottom: 8px;
}

.otp-header p {
  font-size: 1rem;
  color: var(--text-muted);
}

.otp-highlight {
  color: var(--shade2);
  font-weight: 600;
}

.otp-card {
  margin-top: 8px;
}

.otp-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.otp-meta-row span {
  opacity: 0.9;
}

.otp-meta-row button,
.otp-meta-row a {
  font-size: 0.85rem;
}

.otp-input-wrapper {
  margin-top: 16px;
}

.otp-input-wrapper input[type="text"] {
  letter-spacing: 0.35em;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
}

.otp-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.otp-resend-btn {
  width: 100%;
}

.otp-footer-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

/* Small timer / hint text under input */
.otp-hint {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Mobile tweaks */
@media (max-width: 650px) {
  .otp-section {
    padding-top: 110px;
    padding-bottom: 80px;
  }

  .otp-wrapper {
    max-width: 100%;
  }

  .otp-header h2 {
    font-size: 1.7rem;
  }

  .otp-input-wrapper input[type="text"] {
    font-size: 1.2rem;
  }
}

/* =========================================
   PAYMENT SUCCESS / FAILED
   ========================================= */
.success-wrapper,
.failed-wrapper {
  display: flex;
  justify-content: center;
  padding-top: 140px;
  padding-bottom: 140px;
}

.success-card,
.failed-card {
  background: radial-gradient(circle at top left,
      rgba(16, 184, 140, 0.2),
      transparent 55%
    ),
    var(--surface-card);
  backdrop-filter: blur(18px);
  padding: 36px 32px 30px;
  border-radius: 24px;
  text-align: center;
  max-width: 520px;
  width: 100%;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-strong);
}

/* Top pill */
.success-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--surface-chip-strong);
  border: 1px solid rgba(133, 243, 191, 0.5);
  color: var(--shade1);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.success-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}

/* Icon */
.success-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.success-icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(16, 184, 140, 0.35), transparent 65%);
  border: 2px solid rgba(133, 243, 191, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 26px rgba(16, 184, 140, 0.7);
  position: relative;
  overflow: hidden;
}

.success-icon-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top left,
      rgba(255, 255, 255, 0.2),
      transparent 60%);
}

.success-icon-check {
  position: relative;
  font-size: 2rem;
  color: #ecfdf5;
}

/* Headings & text */
.success-title {
  font-size: 2rem;
  color: var(--shade1);
  margin-bottom: 8px;
}

.success-text {
  margin: 0 0 20px;
  color: var(--text-muted);
}

/* Summary block */
.success-summary {
  margin: 18px 0 26px;
  padding: 14px 14px 16px;
  border-radius: 16px;
  background: var(--surface-chip-strong);
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.success-summary-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.success-summary-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--shade1);
}

.success-summary-sub {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Steps */
.success-steps {
  text-align: left;
  margin-bottom: 24px;
}

.success-steps-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.success-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.success-steps-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: flex-start;
}

.success-steps-list h3 {
  margin: 0 0 2px;
  font-size: 0.98rem;
  color: var(--shade1);
}

.success-steps-list p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.step-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(16, 184, 140, 0.16);
  border: 1px solid rgba(133, 243, 191, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--shade1);
  font-weight: 600;
}

/* Actions */
.success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 6px 0 14px;
}

.success-btn {
  padding: 13px 26px;
  font-size: 1rem;
}

.success-btn-alt {
  padding: 11px 24px;
  font-size: 0.95rem;
}

.success-link {
  margin-top: 4px;
  font-size: 0.9rem;
  color: var(--shade2);
  text-decoration: none;
}

.success-link:hover {
  text-decoration: underline;
}

/* Footnote */
.success-footnote {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Failed card (reuse, just colour tweak) */
.failed-card {
  box-shadow: 0 0 45px rgba(255, 80, 80, 0.25);
}

.failed-card h1 {
  font-size: 2rem;
  color: #ff8080;
  margin-bottom: 10px;
}

@media (max-width: 640px) {
  .success-card,
  .failed-card {
    padding: 26px 18px 22px;
    border-radius: 20px;
  }

  .success-title {
    font-size: 1.7rem;
  }

  .success-wrapper {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

/* =========================================
   ACCOUNT SETUP PAGE
   ========================================= */
.account-setup-page .section-lead {
  padding-top: 110px;
  padding-bottom: 110px;
}

.setup-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.setup-header {
  text-align: center;
  margin-bottom: 32px;
}

.setup-header h2 {
  font-size: 2.1rem;
  color: var(--shade1);
  margin-bottom: 8px;
}

.setup-header p {
  font-size: 1.02rem;
  color: var(--text-muted);
}

.setup-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--surface-chip-strong);
  border: 1px solid rgba(133, 243, 191, 0.5);
  color: var(--shade1);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 10px;
}

.setup-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}

.setup-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
}

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

/* Left summary */
.setup-summary {
  background: var(--surface-card-soft);
  border-radius: 18px;
  padding: 20px 18px;
  border: 1px solid var(--border-subtle);
}

.setup-summary h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--shade1);
}

.setup-summary-name {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.setup-summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.setup-summary-list li {
  margin-bottom: 6px;
  padding-left: 16px;
  position: relative;
}

.setup-summary-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--shade2);
}

.setup-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--surface-chip-strong);
  font-size: 0.8rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--shade2);
}

/* Card tweaks */
.setup-card {
  position: relative;
}

/* Form title */
.setup-form-title {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--shade1);
}

/* Password fields */
.password-input-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.password-input-row input {
  flex: 1;
}

.password-toggle-btn {
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-chip);
  padding: 0 12px;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text-muted);
}

.password-toggle-btn:hover {
  border-color: var(--shade2);
}

.password-tooltip-trigger {
  font-size: 0.9rem;
  margin-left: 4px;
  cursor: help;
  color: var(--shade2);
}

.password-hint-text {
  margin-top: 4px;
}

/* Success state */
.setup-login-details {
  margin: 16px 0;
  padding: 12px 12px 10px;
  border-radius: 14px;
  background: var(--surface-chip-strong);
  text-align: left;
}

.setup-login-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 3px;
}

.setup-login-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--shade1);
}

.setup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 8px;
}

.setup-app-download {
  margin-top: 16px;
  text-align: left;
}

.setup-app-title {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: var(--shade1);
}

.setup-app-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-btn {
  font-size: 0.9rem;
  padding-inline: 16px;
}

@media (max-width: 600px) {
  .setup-wrapper {
    max-width: 100%;
  }
}

.setup-single-column {
  max-width: 640px;
  margin: 0 auto;
}

