:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0d12;
  --bg-soft: #10141b;
  --bg-panel: rgba(10, 13, 18, 0.08);
  --surface: #141821;
  --surface-elevated: rgba(26, 31, 42, 0.07);
  --surface-strong: rgba(20, 24, 33, 0.07);
  --text: #fcfcfa;
  --heading: #fcfcfa;
  --muted: #8e9196;
  --primary: #f7923d;
  --primary-strong: #ffab61;
  --secondary: #7eda66;
  --line: #3b3f4a;
  --line-strong: rgba(140, 146, 156, 0.38);
  --overlay-soft: rgba(255, 255, 255, 0.035);
  --overlay-strong: rgba(255, 255, 255, 0.06);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 14px 34px rgba(0, 0, 0, 0.26);
  --glow: 0 0 36px rgba(247, 146, 61, 0.18);
  --glass-shine:
    inset 0 1px 0 rgba(255, 255, 255, 0.14), inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  --glass-border: rgba(255, 255, 255, 0.12);
  --phone-shell-bg: linear-gradient(
    145deg,
    rgba(20, 29, 50, 0.55),
    rgba(6, 10, 18, 0.45) 60%
  );
  --phone-shell-border: rgba(255, 255, 255, 0.08);
  --phone-shell-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --phone-shell-inner-line: rgba(255, 255, 255, 0.08);
  --phone-screen-bg: linear-gradient(
    180deg,
    rgba(13, 18, 28, 0.94) 0%,
    rgba(10, 14, 22, 0.9) 100%
  );
  --phone-screen-border: rgba(255, 255, 255, 0.08);
  --phone-notch-bg: #0a0d12;
  --phone-glow-color: rgba(247, 146, 61, 0.16);
  --phone-chip-bg: var(--surface-strong);
  --phone-chip-border: color-mix(in srgb, var(--glass-border) 50%, var(--line));
  --phone-chip-shadow: var(--glass-shine), var(--shadow-md);
  --phone-card-bg: var(--surface-elevated);
  --phone-card-border: color-mix(in srgb, var(--glass-border) 60%, var(--line));
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fcfcfa;
  --bg-soft: #f5f4f0;
  --bg-panel: rgba(252, 252, 250, 0.28);
  --surface: #ffffff;
  --surface-elevated: rgba(255, 255, 255, 0.22);
  --surface-strong: rgba(255, 255, 255, 0.22);
  --text: #0a0d12;
  --heading: #0a0d12;
  --muted: #7b7e84;
  --primary: #f7923d;
  --primary-strong: #ffab61;
  --secondary: #7eda66;
  --line: #d8d9da;
  --line-strong: rgba(123, 126, 132, 0.28);
  --overlay-soft: rgba(10, 13, 18, 0.025);
  --overlay-strong: rgba(10, 13, 18, 0.04);
  --shadow-lg: 0 22px 50px rgba(17, 21, 27, 0.12);
  --shadow-md: 0 12px 30px rgba(17, 21, 27, 0.09);
  --glow: 0 0 30px rgba(247, 146, 61, 0.12);
  --glass-shine:
    inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 -1px 0 rgba(0, 0, 0, 0.04);
  --glass-border: rgba(255, 255, 255, 0.75);
  --phone-shell-bg: linear-gradient(
    165deg,
    #f8fafd 0%,
    #f0f4fb 58%,
    #e8edf6 100%
  );
  --phone-shell-border: rgba(149, 161, 177, 0.5);
  --phone-shell-shadow: 0 24px 56px rgba(16, 22, 31, 0.16);
  --phone-shell-inner-line: rgba(255, 255, 255, 0.9);
  --phone-screen-bg: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  --phone-screen-border: rgba(206, 214, 224, 0.9);
  --phone-notch-bg: #dfe6f0;
  --phone-glow-color: rgba(247, 146, 61, 0.12);
  --phone-chip-bg: rgba(255, 255, 255, 0.88);
  --phone-chip-border: rgba(206, 214, 224, 0.95);
  --phone-chip-shadow:
    0 10px 22px rgba(16, 22, 31, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.92);
  --phone-card-bg: rgba(255, 255, 255, 0.92);
  --phone-card-border: rgba(210, 218, 227, 0.92);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]),
  :root[data-theme="auto"] {
    color-scheme: light;
    --bg: #fcfcfa;
    --bg-soft: #f5f4f0;
    --bg-panel: rgba(252, 252, 250, 0.28);
    --surface: #ffffff;
    --surface-elevated: rgba(255, 255, 255, 0.22);
    --surface-strong: rgba(255, 255, 255, 0.22);
    --text: #0a0d12;
    --heading: #0a0d12;
    --muted: #7b7e84;
    --primary: #f7923d;
    --primary-strong: #ffab61;
    --secondary: #7eda66;
    --line: #d8d9da;
    --line-strong: rgba(123, 126, 132, 0.28);
    --overlay-soft: rgba(10, 13, 18, 0.025);
    --overlay-strong: rgba(10, 13, 18, 0.04);
    --shadow-lg: 0 22px 50px rgba(17, 21, 27, 0.12);
    --shadow-md: 0 12px 30px rgba(17, 21, 27, 0.09);
    --glow: 0 0 30px rgba(247, 146, 61, 0.12);
    --glass-shine:
      inset 0 1px 0 rgba(255, 255, 255, 0.95),
      inset 0 -1px 0 rgba(0, 0, 0, 0.04);
    --glass-border: rgba(255, 255, 255, 0.75);
    --phone-shell-bg: linear-gradient(
      165deg,
      #f8fafd 0%,
      #f0f4fb 58%,
      #e8edf6 100%
    );
    --phone-shell-border: rgba(149, 161, 177, 0.5);
    --phone-shell-shadow: 0 24px 56px rgba(16, 22, 31, 0.16);
    --phone-shell-inner-line: rgba(255, 255, 255, 0.9);
    --phone-screen-bg: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    --phone-screen-border: rgba(206, 214, 224, 0.9);
    --phone-notch-bg: #dfe6f0;
    --phone-glow-color: rgba(247, 146, 61, 0.12);
    --phone-chip-bg: rgba(255, 255, 255, 0.88);
    --phone-chip-border: rgba(206, 214, 224, 0.95);
    --phone-chip-shadow:
      0 10px 22px rgba(16, 22, 31, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
    --phone-card-bg: rgba(255, 255, 255, 0.92);
    --phone-card-border: rgba(210, 218, 227, 0.92);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at top left,
      rgba(247, 146, 61, 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at top right,
      rgba(126, 218, 102, 0.1),
      transparent 28%
    ),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 30%, var(--bg) 100%);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: rgba(247, 146, 61, 0.28);
  color: #ffffff;
}

.noise::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--overlay-soft) 1px, transparent 1px);
  background-size: 4px 4px;
  opacity: 0.16;
  z-index: 0;
}

#particles-js,
#three-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.content-layer {
  position: relative;
  z-index: 2;
}

.container {
  position: relative;
}

.navbar {
  backdrop-filter: blur(28px);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 68%, transparent);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.navbar-brand,
.hero h1,
.section-title,
.feature-card h4,
.step-card h4,
.pricing-card h4,
.testimonial-card h5,
.glass-card h3 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.navbar-brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--heading) !important;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-logo {
  height: 50px;
  width: auto;
  display: block;
}

.footer-logo {
  height: 50px;
  width: auto;
  display: block;
}

.phone-logo {
  height: 25px;
  width: auto;
  display: block;
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  color: #ffffff;
  background: linear-gradient(
    135deg,
    var(--primary),
    color-mix(in srgb, var(--secondary) 40%, var(--primary))
  );
  border: 1px solid color-mix(in srgb, var(--line) 65%, transparent);
  box-shadow: var(--glow);
}

.navbar-toggler {
  font-size: 0.92rem;
  color: var(--heading) !important;
}

.nav-link {
  color: var(--muted) !important;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.72rem 0.95rem !important;
  border-radius: 999px;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--heading) !important;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  transform: translateY(-1px);
}

.theme-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle {
  border: 0;
  background: transparent;
  padding: 0;
}

.theme-toggle-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 94px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface) 96%, transparent),
    color-mix(in srgb, var(--surface-elevated) 92%, transparent)
  );
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 6%, transparent),
    0 10px 24px rgba(0, 0, 0, 0.08);
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.theme-toggle[data-mode="dark"] .theme-toggle-track {
  background: linear-gradient(180deg, #1b1f26, #10141b);
}

.theme-toggle[data-mode="light"] .theme-toggle-track {
  background: linear-gradient(180deg, #ffffff, #f1f1ee);
}

.theme-toggle-thumb {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffffff, #eceae5);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    box-shadow 0.28s ease;
}

.theme-toggle[data-mode="dark"] .theme-toggle-thumb {
  transform: translateX(52px);
  background: linear-gradient(180deg, #2a2f37, #161a20);
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.theme-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  font-size: 0.92rem;
  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.theme-icon-sun {
  color: #11141a;
}

.theme-icon-moon {
  color: #fcfcfa;
}

.theme-toggle[data-mode="light"] .theme-icon-sun {
  color: var(--primary);
}

.theme-toggle[data-mode="dark"] .theme-icon-moon {
  color: var(--primary-strong);
}

.theme-toggle[data-state="auto"] .theme-toggle-track {
  border-color: color-mix(in srgb, var(--secondary) 34%, var(--line));
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, white 6%, transparent),
    0 10px 24px rgba(0, 0, 0, 0.08),
    0 0 0 3px color-mix(in srgb, var(--secondary) 14%, transparent);
}

.theme-toggle:hover .theme-toggle-track,
.theme-toggle:focus-visible .theme-toggle-track {
  border-color: color-mix(in srgb, var(--primary) 40%, var(--line));
}

.btn-primary-glow,
.btn-outline-glow {
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.btn-primary-glow {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border: 0;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(247, 146, 61, 0.24);
}

.btn-primary-glow:hover,
.btn-primary-glow:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(247, 146, 61, 0.3);
}

.btn-outline-glow {
  color: var(--heading);
  border: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  background: color-mix(in srgb, var(--surface) 78%, transparent);
}

.btn-outline-glow:hover,
.btn-outline-glow:focus-visible {
  color: var(--heading);
  background: color-mix(in srgb, var(--primary) 10%, var(--surface));
  border-color: color-mix(in srgb, var(--primary) 40%, var(--line));
  transform: translateY(-2px);
}
.contact-link-website,
.contact-link-linkedin,
.contact-link-email {
  background: color-mix(in srgb, var(--surface) 72%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--line));
  color: var(--heading);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact-link-website:hover,
.contact-link-website:focus-visible,
.contact-link-linkedin:hover,
.contact-link-linkedin:focus-visible,
.contact-link-email:hover,
.contact-link-email:focus-visible {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(247, 146, 61, 0.28);
}

/* ── In-content links (policy cards, CTA boxes) ─── */

.glass-card a:not([class]),
.cta-box a:not([class]),
.permissions-card a:not([class]) {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.glass-card a:not([class]):hover,
.cta-box a:not([class]):hover,
.permissions-card a:not([class]):hover {
  color: var(--primary-strong);
  text-decoration: none;
}

.glass-card a[href^="mailto:"],
.cta-box a[href^="mailto:"] {
  color: var(--secondary);
}

.glass-card a[href^="mailto:"]:hover,
.cta-box a[href^="mailto:"]:hover {
  color: color-mix(in srgb, var(--secondary) 80%, white);
  text-decoration: none;
}

.btn:focus-visible,
a:focus-visible,
.theme-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

@media (max-width: 575.98px) {
  .btn-primary-glow,
  .btn-outline-glow {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section-title {
    font-size: 2rem;
  }

  .theme-control {
    width: 100%;
    justify-content: center;
  }

  .theme-toggle-track {
    width: 88px;
    height: 34px;
    padding: 0 12px;
  }

  .theme-toggle-thumb {
    width: 24px;
    height: 24px;
    top: 5px;
    left: 5px;
  }

  .theme-toggle[data-mode="dark"] .theme-toggle-thumb {
    transform: translateX(54px);
  }

  header.hero .phone-wrap {
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 1rem 0 0.75rem;
  }

  header.hero .phone-pair {
    order: 1;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
  }

  header.hero .phone-mockup {
    width: min(340px, 94vw);
    border-radius: 36px;
    padding: 10px;
    margin-bottom: 0;
  }

  header.hero .phone-mockup::before {
    inset: 3px;
    border-radius: 31px;
  }

  header.hero .phone-glow {
    width: 74%;
    height: 68%;
    top: 16%;
    left: 13%;
    filter: blur(20px);
  }

  header.hero .orb,
  header.hero .orb-2,
  header.hero .orb-3 {
    display: none;
  }

  header.hero .floating-chip {
    position: static;
    display: flex;
    justify-content: center;
    width: min(340px, 94vw);
    text-align: center;
    white-space: normal;
    font-size: 0.76rem;
    line-height: 1.35;
    padding: 0.5rem 0.75rem;
    z-index: 1;
  }

  header.hero .chip-a {
    order: 2;
  }

  header.hero .chip-b {
    order: 3;
  }

  header.hero .chip-c {
    order: 4;
  }

  header.hero .phone-screen {
    padding: 0.4rem 0.72rem 1rem;
    border-radius: 20px;
  }

  header.hero .phone-notch {
    width: 82px;
    height: 17px;
    border-radius: 0 0 12px 12px;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  header.hero .phone-wrap {
    padding: 1.35rem 0.5rem 1rem;
  }

  header.hero .phone-pair {
    gap: 0.8rem;
  }

  header.hero .phone-mockup-primary {
    width: min(336px, 52vw);
  }

  header.hero .phone-mockup-secondary {
    width: min(262px, 40vw);
    margin-bottom: 1.2rem;
  }

  header.hero .floating-chip {
    font-size: 0.74rem;
    padding: 0.45rem 0.8rem;
  }

  header.hero .chip-a {
    top: 8%;
    left: 2%;
  }

  header.hero .chip-b {
    top: 45%;
    right: 1%;
  }

  header.hero .chip-c {
    bottom: 8%;
    left: 3%;
  }
}

.phone-pair {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  width: min(640px, 100%);
}

.phone-mockup {
  width: min(360px, 88vw);
  aspect-ratio: 9 / 18.5;
  padding: 14px;
}

.phone-mockup-primary {
  flex: 0 1 360px;
}

.phone-mockup-secondary {
  flex: 0 1 284px;
  width: min(284px, 72vw);
  margin-bottom: 2rem;
}

.cta-box,
.glass-card,
.feature-card,
.step-card,
.pricing-card,
.testimonial-card,
.hero-panel {
  border-radius: 24px;
}

/* ── Sections ──────────────────────────────────── */

section,
header.hero {
  padding: 5rem 0;
}

.section-heading {
  margin-bottom: 3rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 24%, transparent);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--heading);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Hero ──────────────────────────────────────── */

header.hero {
  padding-top: 7rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-panel {
  background: transparent;
  border: 1px solid var(--line);
  padding: 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: color-mix(in srgb, var(--primary) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 26%, transparent);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading);
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-note {
  background: var(--overlay-strong);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-note-label {
  display: block;
  font-weight: 700;
  color: var(--heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.35rem;
}

.mini-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.mini-stat {
  display: flex;
  flex-direction: column;
}

.mini-stat strong {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1;
}

.mini-stat span {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

/* ── Phone mockup ─────────────────────────────── */

.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
}

.phone-glow {
  position: absolute;
  width: 55%;
  height: 55%;
  background: radial-gradient(circle, var(--phone-glow-color), transparent 70%);
  top: 22%;
  left: 22%;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(24px);
}

.orb {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 146, 61, 0.16), transparent);
  top: 4%;
  right: 4%;
  filter: blur(22px);
  pointer-events: none;
}

.orb-2 {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 218, 102, 0.14), transparent);
  bottom: 8%;
  left: 3%;
  filter: blur(18px);
  pointer-events: none;
}

.orb-3 {
  position: absolute;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 146, 61, 0.12), transparent);
  bottom: 28%;
  right: 8%;
  filter: blur(14px);
  pointer-events: none;
}

.floating-chip {
  position: absolute;
  background: var(--phone-chip-bg);
  border: 1px solid var(--phone-chip-border);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  z-index: 10;
  box-shadow: var(--phone-chip-shadow);
}

.chip-a {
  top: 12%;
  left: -2%;
}
.chip-b {
  top: 44%;
  right: -4%;
}
.chip-c {
  bottom: 14%;
  left: -1%;
}

.phone-mockup {
  position: relative;
  background: var(--phone-shell-bg);
  border: 1px solid var(--phone-shell-border);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 42px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--phone-shell-shadow), var(--glow);
}

.phone-mockup::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 37px;
  border: 1px solid var(--phone-shell-inner-line);
  pointer-events: none;
}

.phone-notch {
  width: 90px;
  height: 20px;
  background: var(--phone-notch-bg);
  border-radius: 0 0 14px 14px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.phone-screen {
  padding: 0.5rem 0.9rem 1.25rem;
  background: var(--phone-screen-bg);
  border: 1px solid var(--phone-screen-border);
  border-radius: 24px;
}

.screen-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--muted);
  padding: 0.3rem 0 0.5rem;
}

.vault-card {
  background: var(--phone-card-bg);
  border: 1px solid var(--phone-card-border);
  border-radius: 14px;
  padding: 0.75rem;
  margin-bottom: 0.4rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--glass-shine);
}

.vault-balance {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.6rem;
}

.vault-title {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--heading);
}

.privacy-pill {
  background: color-mix(in srgb, var(--secondary) 14%, transparent);
  color: var(--secondary);
  border: 1px solid color-mix(in srgb, var(--secondary) 28%, transparent);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  border-top: 1px solid var(--line);
}

.avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--primary) 16%, var(--surface));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--primary);
  flex-shrink: 0;
}

.tag-mini {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.14rem 0.48rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  color: var(--primary);
  margin-left: auto;
  flex-shrink: 0;
}

.quick-tile {
  cursor: default;
  transition: background 0.2s ease;
}

.callout-line {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
  padding-top: 0.55rem;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.action-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.34rem;
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--heading);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 26%, transparent);
  border-radius: 999px;
  padding: 0.32rem 0.45rem;
  line-height: 1.25;
}

.muted-small {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── Cards ────────────────────────────────────── */

/* Shared glass foundation */
.glass-card,
.feature-card,
.step-card,
.pricing-card,
.testimonial-card,
.cta-box {
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow: var(--glass-shine);
}

.glass-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  padding: 2rem;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}

.glass-card:hover {
  box-shadow: var(--glass-shine), var(--shadow-md);
  border-color: color-mix(in srgb, var(--primary) 24%, var(--line));
  transform: translateY(-2px);
}

.glass-card h4 {
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.6rem;
}

.glass-card p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.feature-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  padding: 1.75rem;
  height: 100%;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}

.feature-card:hover {
  border-color: color-mix(in srgb, var(--primary) 30%, var(--line));
  box-shadow: var(--glass-shine), var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card h4 {
  font-weight: 700;
  color: var(--heading);
  margin: 0.75rem 0 0.5rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin: 0;
}

.step-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  padding: 1.75rem;
  height: 100%;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}

.step-card:hover {
  box-shadow: var(--glass-shine), var(--shadow-md);
  border-color: color-mix(in srgb, var(--primary) 22%, var(--line));
  transform: translateY(-2px);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 6px 16px rgba(247, 146, 61, 0.28);
}

.step-card h4 {
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.6rem;
}

.step-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin: 0;
}

.pricing-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  padding: 2rem;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}

.pricing-card:hover {
  box-shadow: var(--glass-shine), var(--shadow-md);
  border-color: color-mix(in srgb, var(--primary) 28%, var(--line));
  transform: translateY(-2px);
}

.pricing-card h4 {
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.5rem;
}

.pricing-card > p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

.price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1;
  margin-bottom: 0.25rem;
  font-family: "Space Grotesk", "Manrope", sans-serif;
}

.pricing-highlight {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.spotlight-card {
  box-shadow:
    0 0 0 1px rgba(126, 218, 102, 0.18),
    var(--shadow-md);
}

.testimonial-card {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  padding: 1.75rem;
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--glass-shine), var(--shadow-md);
  border-color: color-mix(in srgb, var(--primary) 22%, var(--line));
  transform: translateY(-2px);
}

.testimonial-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.testimonial-card h5 {
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.2rem;
}

.rating i {
  color: #fbbd47;
  font-size: 0.88rem;
}

.metric-card {
  text-align: center;
  padding: 2rem;
}

.metric-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.metric-card h5 {
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
}

.panel-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  background: color-mix(in srgb, var(--secondary) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--secondary) 22%, transparent);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

.feature-list li:first-child {
  border-top: 0;
}

.feature-list li > i {
  color: var(--secondary);
  margin-top: 0.18rem;
  flex-shrink: 0;
}

.feature-callout {
  background: color-mix(in srgb, var(--primary) 5%, var(--surface-strong));
}

.feature-callout.alt {
  background: color-mix(in srgb, var(--secondary) 5%, var(--surface-strong));
}

.cta-box {
  background: color-mix(in srgb, var(--primary) 7%, var(--surface-strong));
  border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--line));
  padding: 2.5rem;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
}

.developer-box {
  background: var(--surface-strong);
  border-color: var(--line);
}

.final-cta {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--primary) 8%, var(--surface-strong)),
    color-mix(in srgb, var(--secondary) 5%, var(--surface-strong))
  );
  border-color: color-mix(in srgb, var(--primary) 18%, var(--line));
}

/* ── Coming Soon / Roadmap Cards ─────────────── */

.coming-card {
  position: relative;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.75rem;
  height: 100%;
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow: var(--glass-shine);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
  overflow: hidden;
}

.coming-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--secondary) 5%, transparent),
    transparent 60%
  );
  pointer-events: none;
}

.coming-card:hover {
  border-color: color-mix(in srgb, var(--secondary) 30%, var(--line));
  box-shadow: var(--glass-shine), var(--shadow-md);
  transform: translateY(-3px);
}

.coming-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--secondary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--secondary) 22%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.coming-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  background: color-mix(in srgb, var(--secondary) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--secondary) 22%, transparent);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.coming-card h4 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-weight: 700;
  color: var(--heading);
  margin: 0.5rem 0 0.6rem;
}

.coming-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.65;
  margin: 0;
}

/* ── Footer ───────────────────────────────────── */

footer {
  padding: 3rem 0 2rem;
}

.shadow-divider {
  height: 1px;
  background: var(--line);
  margin-bottom: 2rem;
}

footer p {
  color: var(--muted);
  font-size: 0.9rem;
}

footer small {
  color: var(--muted);
  font-size: 0.82rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--overlay-strong);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.social-links a:hover {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border-color: color-mix(in srgb, var(--primary) 30%, var(--line));
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ── AOS opacity fix ──────────────────────────────
   AOS fade animations set opacity 0→1 on the parent col-* wrapper.
   While opacity < 1, the browser isolates a compositing layer and
   backdrop-filter blurs that layer (empty/dark) instead of the real
   background. Once opacity hits 1.0 the layer dissolves and blur
   suddenly becomes much stronger — the "gets more blurry after a sec" bug.
   Fix: keep transform animations, force opacity to always be 1.
──────────────────────────────────────────────────── */
[data-aos="fade-up"],
[data-aos="fade-down"],
[data-aos="fade-right"],
[data-aos="fade-left"],
[data-aos="zoom-in"],
[data-aos="zoom-in-left"],
[data-aos="zoom-in-right"] {
  opacity: 1 !important;
}
[data-aos="fade-up"].aos-animate,
[data-aos="fade-down"].aos-animate,
[data-aos="fade-right"].aos-animate,
[data-aos="fade-left"].aos-animate,
[data-aos="zoom-in"].aos-animate,
[data-aos="zoom-in-left"].aos-animate,
[data-aos="zoom-in-right"].aos-animate {
  opacity: 1 !important;
}

/* ── Form helper text + muted hints (readable on dark dashboards / auth) ── */
body.dashboard-body .form-text,
body.dashboard-body .form-text.text-muted,
body.dashboard-body .form-label .text-muted,
body.dashboard-body label .text-muted,
body.dashboard-body .form-label .text-secondary,
body.dashboard-body td .text-muted,
body.dashboard-body .form-label span.small {
  color: var(--text) !important;
}

body.dashboard-body .form-text {
  font-size: 0.875rem;
}

html[data-bs-theme="dark"] .auth-card .form-text,
html[data-bs-theme="dark"] .auth-card .form-text.text-muted,
html[data-bs-theme="dark"] .auth-card .form-label .text-muted,
html[data-bs-theme="dark"] .auth-card .form-label .text-secondary {
  color: #fcfcfa !important;
}

html[data-bs-theme="dark"] .auth-card .form-text {
  font-size: 0.875rem;
}

html[data-bs-theme="dark"] .auth-card .form-label.text-secondary {
  color: #fcfcfa !important;
}

/* ============================================================
   Auth Split-Panel — merged from auth-split.css
   ============================================================ */

/* ── Auth Design Tokens (Dark - Default) ───────────────────── */
:root,
:root[data-theme="dark"] {
    --auth-bg:              #0a0d12;
    --auth-bg-gradient:     linear-gradient(145deg, #0a0d12 0%, #0d1016 50%, #0a0d12 100%);
    --auth-surface:         #141821;
    --auth-surface-lt:      #1e2330;
    --auth-text:            #fcfcfa;
    --auth-text-heading:    #fcfcfa;
    --auth-muted:           #8e9196;
    --auth-line:            #3b3f4a;
    --auth-line-lt:         rgba(140, 146, 156, .25);
    --auth-card-bg:         #141821;
    --auth-left-bg:         linear-gradient(160deg, #1a1f2e 0%, #141821 55%, #0f131c 100%);
    --auth-shape-opacity:   .04;
    --auth-input-bg:        #0a0d12;
    --auth-input-focus-bg:  #0a0d12;
    --auth-tabs-bg:         #0a0d12;
    --auth-tabs-active-bg:  #1e2330;
    --auth-alert-danger-bg: rgba(220, 53, 69, .1);
    --auth-alert-danger-text: #ff6b7a;
    --auth-alert-danger-border: rgba(220, 53, 69, .2);
    --cv-orange:            #F7923D;
    --cv-orange-dk:         #e07d28;
    --cv-orange-lt:         rgba(247, 146, 61, .15);
    --cv-orange-ring:       rgba(247, 146, 61, .25);
    --cv-green:             #7eda66;
    --cv-green-dim:         rgba(126, 218, 102, .1);
}

/* ── Auth Light Theme ───────────────────────────────────────── */
:root[data-theme="light"] {
    --auth-surface:         #ffffff;
    --auth-surface-lt:      #f8f8f6;
    --auth-text:            #0a0d12;
    --auth-text-heading:    #0a0d12;
    --auth-muted:           #6b6e75;
    --auth-line:            #d8d9da;
    --auth-line-lt:         rgba(123, 126, 132, .25);
    --auth-card-bg:         #ffffff;
    --auth-left-bg:         linear-gradient(160deg, #2a3a4f 0%, #1e2a3a 55%, #141d28 100%);
    --auth-shape-opacity:   .06;
    --auth-input-bg:        #f8f8f6;
    --auth-input-focus-bg:  #ffffff;
    --auth-tabs-bg:         #f0f0ee;
    --auth-tabs-active-bg:  #ffffff;
    --auth-alert-danger-bg: rgba(220, 53, 69, .08);
    --auth-alert-danger-text: #dc3545;
    --auth-alert-danger-border: rgba(220, 53, 69, .15);
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme]),
    :root[data-theme="auto"] {
        --auth-surface:         #ffffff;
        --auth-surface-lt:      #f8f8f6;
        --auth-text:            #0a0d12;
        --auth-text-heading:    #0a0d12;
        --auth-muted:           #6b6e75;
        --auth-line:            #d8d9da;
        --auth-line-lt:         rgba(123, 126, 132, .25);
        --auth-card-bg:         #ffffff;
        --auth-left-bg:         linear-gradient(160deg, #2a3a4f 0%, #1e2a3a 55%, #141d28 100%);
        --auth-shape-opacity:   .06;
        --auth-input-bg:        #f8f8f6;
        --auth-input-focus-bg:  #ffffff;
        --auth-tabs-bg:         #f0f0ee;
        --auth-tabs-active-bg:  #ffffff;
        --auth-alert-danger-bg: rgba(220, 53, 69, .08);
        --auth-alert-danger-text: #dc3545;
        --auth-alert-danger-border: rgba(220, 53, 69, .15);
    }
}

/* ── Page Wrapper ─────────────────────────────────────────── */
.auth-page {
    min-height: calc(100vh - 80px);
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.auth-page > .container {
    width: 100%;
}

/* ── Card Container ───────────────────────────────────────── */
.auth-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .25);
    border: 1px solid var(--auth-line);
    max-width: 980px;
    width: 100%;
    background: var(--auth-card-bg);
}

/* ── Left Panel (Branding) ────────────────────────────────── */
.auth-left {
    background: var(--auth-left-bg);
    position: relative;
    overflow: hidden;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 600px;
}

.auth-left::before,
.auth-left::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(247, 146, 61, var(--auth-shape-opacity));
    pointer-events: none;
}

.auth-left::before {
    width: 280px; height: 280px;
    top: -90px; right: -90px;
}

.auth-left::after {
    width: 200px; height: 200px;
    bottom: -60px; left: -60px;
}

.auth-brand-icon {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, var(--cv-orange), var(--cv-orange-dk));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 16px rgba(247, 146, 61, .35);
}

.auth-brand-icon i { color: white; }

.auth-left h2 {
    color: #fcfcfa;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: .6rem;
}

.auth-left p {
    color: rgba(252, 252, 250, .7);
    font-size: .95rem;
    line-height: 1.6;
}

.auth-features { list-style: none; padding: 0; margin: 0; }

.auth-features li {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: rgba(252, 252, 250, .75);
    font-size: .92rem;
    margin-bottom: 1rem;
}

.auth-features li i {
    width: 26px; height: 26px;
    background: rgba(247, 146, 61, .2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    color: var(--cv-orange);
}

.auth-left-footer {
    color: rgba(252, 252, 250, .55);
    font-size: .8rem;
}

/* ── Right Panel (Forms) ──────────────────────────────────── */
.auth-right {
    background: var(--auth-surface);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

@media (min-width: 992px) {
    .auth-right { padding: 3rem 2.5rem; }
}

/* ── Floating Decorative Shapes ───────────────────────────── */
@keyframes auth-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%       { transform: translateY(-20px) rotate(5deg); }
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: var(--auth-shape-opacity);
    animation: auth-float 6s ease-in-out infinite;
    pointer-events: none;
}

.shape-1 { width: 300px; height: 300px; background: var(--cv-orange); top: -100px; right: -100px; animation-delay: 0s; }
.shape-2 { width: 200px; height: 200px; background: var(--cv-orange); bottom: 10%; left: -60px; animation-delay: 2s; }
.shape-3 { width: 150px; height: 150px; background: var(--cv-green); top: 40%; right: 10%; animation-delay: 4s; }

/* ── Tab Switcher ─────────────────────────────────────────── */
.auth-tabs {
    display: flex;
    gap: .5rem;
    margin-bottom: 1.75rem;
    background: var(--auth-tabs-bg);
    padding: .35rem;
    border-radius: 12px;
    border: 1px solid var(--auth-line);
}

.auth-tab {
    flex: 1;
    padding: .65rem 1rem;
    border: none;
    background: transparent;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--auth-muted);
    cursor: pointer;
    transition: all .22s cubic-bezier(.4, 0, .2, 1);
}

.auth-tab:hover { color: var(--auth-text); }

.auth-tab.active {
    background: var(--auth-tabs-active-bg);
    color: var(--cv-orange);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
}

/* ── Form Header ──────────────────────────────────────────── */
.auth-header { margin-bottom: 1.75rem; }

.auth-header h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--auth-text-heading);
    margin-bottom: .35rem;
}

.auth-header p { color: var(--auth-muted); font-size: .9rem; margin: 0; }

/* ── Form Transitions ─────────────────────────────────────── */
.form-container { position: relative; width: 100%; }

.auth-form { transition: all .5s cubic-bezier(.4, 0, .2, 1); }

.auth-form.hidden {
    opacity: 0;
    transform: translateX(30px);
    pointer-events: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
}

.auth-form.visible { opacity: 1; transform: translateX(0); position: relative; }
.auth-form.register-form.hidden { transform: translateX(-30px); }

/* ── Form Inputs ──────────────────────────────────────────── */
.auth-right .form-label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--auth-muted);
    margin-bottom: .4rem;
}

.auth-right .form-control,
.auth-right .form-select {
    border: 1.5px solid var(--auth-line);
    border-radius: 10px;
    padding: .75rem 1rem;
    font-size: .9rem;
    transition: all .22s cubic-bezier(.4, 0, .2, 1);
    background: var(--auth-input-bg);
    color: var(--auth-text);
}

.auth-right .form-control:focus,
.auth-right .form-select:focus {
    border-color: var(--cv-orange);
    box-shadow: 0 0 0 4px var(--cv-orange-ring);
    background: var(--auth-input-focus-bg);
    color: var(--auth-text);
}

.auth-right .form-control::placeholder { color: var(--auth-muted); opacity: .5; }

.auth-right .input-group-text {
    background: var(--auth-input-bg);
    border-color: var(--auth-line);
    color: var(--auth-muted);
}

/* ── Password Toggle Button ───────────────────────────────── */
.btn-password-toggle {
    border-color: var(--auth-line);
    color: var(--auth-muted);
    background: var(--auth-input-bg);
}

.btn-password-toggle:hover { background: var(--auth-surface-lt); color: var(--auth-text); }

/* ── Submit Button ────────────────────────────────────────── */
.btn-auth {
    background: linear-gradient(135deg, var(--cv-orange), var(--cv-orange-dk));
    border: none;
    border-radius: 12px;
    padding: .9rem 1.5rem;
    font-weight: 600;
    color: #fff;
    box-shadow: 0 4px 14px rgba(247, 146, 61, .35);
    transition: all .22s cubic-bezier(.4, 0, .2, 1);
}

.btn-auth:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(247, 146, 61, .45); color: #fff; }
.btn-auth:active { transform: translateY(0); }
.btn-auth:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── Loading Spinner ──────────────────────────────────────── */
@keyframes auth-spin { to { transform: rotate(360deg); } }

.btn-auth .ld { display: none; align-items: center; gap: .5rem; justify-content: center; }
.btn-auth.loading .dc { display: none; }
.btn-auth.loading .ld { display: flex; }

.spin {
    width: 18px; height: 18px;
    border: 2.5px solid rgba(255, 255, 255, .4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-spin .7s linear infinite;
    flex-shrink: 0;
}

/* ── Divider ──────────────────────────────────────────────── */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--auth-muted);
    font-size: .8rem;
}

.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--auth-line); }

/* ── Switch Link ──────────────────────────────────────────── */
.auth-switch { text-align: center; color: var(--auth-muted); font-size: .9rem; }
.auth-switch a { color: var(--cv-orange); font-weight: 600; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* ── Alert Banners ────────────────────────────────────────── */
.auth-alert {
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.25rem;
    font-size: .9rem;
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    border: none;
}

.auth-alert.alert-danger {
    background: var(--auth-alert-danger-bg);
    color: var(--auth-alert-danger-text);
    border: 1px solid var(--auth-alert-danger-border);
}

.auth-alert.alert-success {
    background: var(--cv-green-dim);
    color: var(--cv-green);
    border: 1px solid rgba(126, 218, 102, .2);
}

.auth-alert i { margin-top: .15rem; flex-shrink: 0; }

/* ── Progress Strip ───────────────────────────────────────── */
.reg-dot { height: 4px; flex: 1; border-radius: 4px; background: var(--auth-line); transition: background .4s; }

/* ── Password Strength Meter ──────────────────────────────── */
#pwdWrap { margin-top: .4rem; }

.pwd-meter-bg { height: 4px; background: var(--auth-line); border-radius: 4px; overflow: hidden; }

#pwdBar {
    height: 100%; border-radius: 4px; width: 0%;
    transition: width .38s cubic-bezier(.4, 0, .2, 1), background .38s ease;
}

#pwdLbl { font-size: .72rem; color: var(--auth-muted); margin-top: .22rem; transition: color .3s; }

.pwd-chip {
    font-size: .68rem;
    padding: .12rem .42rem;
    border-radius: 20px;
    border: 1px solid var(--auth-line);
    color: var(--auth-muted);
    background: var(--auth-input-bg);
    transition: all .2s;
}

.pwd-chip.valid { border-color: rgba(126, 218, 102, .4); color: var(--cv-green); background: var(--cv-green-dim); }

/* ── Password Match Hint ──────────────────────────────────── */
#matchHint { font-size: .74rem; color: var(--auth-muted); margin-top: .28rem; min-height: .9rem; transition: color .2s; }

/* ── Validation States ────────────────────────────────────── */
.auth-right .form-control.border-success { border-color: var(--cv-green) !important; }
.auth-right .form-control.border-danger  { border-color: #dc3545 !important; }

/* ── Info Alert ───────────────────────────────────────────── */
.auth-alert.alert-info {
    background: rgba(56, 148, 255, .1);
    color: #66b2ff;
    border: 1px solid rgba(56, 148, 255, .2);
}

[data-theme="light"] .auth-alert.alert-info {
    color: #0d6efd;
    background: rgba(13, 110, 253, .08);
    border-color: rgba(13, 110, 253, .15);
}

@media (prefers-color-scheme: light) {
    html[data-theme="auto"] .auth-alert.alert-info {
        color: #0d6efd;
        background: rgba(13, 110, 253, .08);
        border-color: rgba(13, 110, 253, .15);
    }
}

/* ── OTP Grid ─────────────────────────────────────────────── */
.otp-grid {
    display: flex;
    gap: .5rem;
}

.otp-digit {
    width: 3rem;
    height: 3.5rem;
    border-radius: 10px;
    border: 1.5px solid var(--auth-input-border);
    background: var(--auth-input-bg);
    color: var(--auth-text);
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: border-color .2s, box-shadow .2s, transform .1s;
    font-family: 'Space Grotesk', monospace;
}

.otp-digit:focus {
    border-color: var(--cv-orange);
    box-shadow: 0 0 0 3px var(--cv-orange-lt);
    transform: translateY(-1px);
}

.otp-digit:not(:placeholder-shown) { border-color: rgba(247, 146, 61, .4); }

.otp-meta { color: var(--auth-muted); font-size: .82rem; }

/* ── OTP Action Buttons (Resend / Cancel) ─────────────────── */
.btn-otp-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .55rem 1rem;
    border-radius: 10px;
    border: 1.5px solid var(--auth-input-border);
    background: transparent;
    color: var(--auth-muted);
    font-size: .85rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
}

.btn-otp-action:hover {
    border-color: var(--cv-orange);
    color: var(--cv-orange);
    background: var(--cv-orange-lt);
}

.btn-otp-action.btn-otp-cancel:hover {
    border-color: rgba(220, 53, 69, .5);
    color: #ff6b7a;
    background: rgba(220, 53, 69, .08);
}

/* ── Auth Responsive ──────────────────────────────────────── */
@media (max-width: 991.98px) {
    .auth-left { min-height: auto; padding: 2rem 1.5rem; }
    .auth-card  { border-radius: 16px; }
}

@media (max-width: 767.98px) {
    .auth-page  { padding: 1rem .5rem; margin-top: 70px; min-height: calc(100vh - 70px); }
    .auth-left  { text-align: center; }
    .auth-left h2 { font-size: 1.4rem; }
    .auth-features { display: inline-block; text-align: left; }
    .auth-right { min-height: auto; padding: 1.5rem; }
    .shape      { display: none; }
}
