:root {
  /* The site uses a dark UI by default; hint browsers accordingly */
  color-scheme: dark;

  /* Core palette */
  --bg: #07090f;
  --ease-quick: cubic-bezier(0.22, 0.9, 0.36, 1);
  --ease-smooth: cubic-bezier(0.16, 0.84, 0.24, 1);
  --bg-elevated: #0c111f;
  --bg-soft: #11182a;
  --bg-muted: #f5f7fb;
  --primary: #4f5bff;
  --primary-strong: #3c45d1;
  --primary-soft: rgba(79, 91, 255, 0.16);
  --accent: #e03ffc;
  --text: #f4f6ff;
  --text-muted: rgba(244, 246, 255, 0.72);
  --text-soft: rgba(244, 246, 255, 0.56);
  --border: rgba(79, 91, 255, 0.24);
  --card-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 32px 80px -24px rgba(17, 24, 42, 0.6);
  --shadow-soft: 0 16px 32px -18px rgba(15, 23, 42, 0.28);
  --max-width: 1160px;

  /* Splash gradient palette to match the app (dark variant) */
  --splash-stop-1: #10131a;
  /* dark base */
  --splash-stop-2: #1e2d44;
  /* deep slate blue */
  --splash-stop-3: #0d47a1;
  /* accent blue */
  --splash-stop-4: #1e2d44;
  /* back to slate */
  --splash-overlay: rgba(0, 0, 0, 0.25);
}

/* Light mode to match app SplashScreen light palette */
html[data-theme="light"] {
  color-scheme: light;
  /* Core palette (light) */
  --bg: #ffffff;
  --bg-elevated: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-muted: #f5f7fb;
  --text: #08152b;
  /* headline */
  --text-muted: rgba(8, 21, 43, 0.72);
  /* subtitle */
  --text-soft: rgba(8, 21, 43, 0.56);
  /* softer body */
  --card-border: rgba(8, 21, 43, 0.08);
  --border: rgba(8, 21, 43, 0.12);

  --accent: #e03ffc;

  /* Splash gradient palette to match the app (light variant) */
  --splash-light-stop-1: #fdf7f4;
  --splash-light-stop-2: #e4f0ff;
  --splash-light-stop-3: #9dbbff;
  --splash-light-stop-4: #dde8ff;
  --splash-light-overlay: rgba(255, 255, 255, 0.55);
}

[data-theme="light"] body {
    color: var(--text);
    background:
      radial-gradient(
        circle at 50% 50%,
        var(--splash-light-overlay),
        rgba(255, 255, 255, 0) 70%
      ),
      linear-gradient(
        135deg,
        var(--splash-light-stop-1),
        var(--splash-light-stop-2),
        var(--splash-light-stop-3),
        var(--splash-light-stop-4)
      ),
      var(--bg);
  }

  [data-theme="light"] .hero {
    background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.92),
      rgba(239, 244, 255, 0.9),
      rgba(221, 232, 255, 0.6)
    );
  }

  [data-theme="light"] .hero::before {
    background: conic-gradient(
      from 0deg at 50% 50%,
      rgba(221, 232, 255, 0.4) 0%,
      rgba(157, 187, 255, 0.28) 40%,
      rgba(221, 232, 255, 0.4) 100%
    );
  }

  [data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(8, 21, 43, 0.08);
    box-shadow: 0 20px 60px -35px rgba(8, 21, 43, 0.25);
  }

  [data-theme="light"] .nav a {
    color: rgba(8, 21, 43, 0.85);
  }

  [data-theme="light"] .nav a::after {
    background: rgba(79, 91, 255, 0.2);
  }

  [data-theme="light"] .brand {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(8, 21, 43, 0.12);
    box-shadow: 0 22px 42px -26px rgba(0, 0, 0, 0.16);
  }

  [data-theme="light"] .brand-logo {
    background: rgba(8, 21, 43, 0.06);
    box-shadow: inset 0 0 0 1px rgba(8, 21, 43, 0.12);
  }

  [data-theme="light"] .ghost-button {
    border-color: rgba(8, 21, 43, 0.18);
    background: rgba(255, 255, 255, 0.65);
  }

  [data-theme="light"] .device-frame {
    background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.8),
      rgba(15, 23, 42, 0.15)
    );
    border: 1px solid rgba(8, 21, 43, 0.08);
  }

  [data-theme="light"] .status-bar {
    color: rgba(8, 21, 43, 0.6);
  }

  [data-theme="light"] .device-screen {
    border: 1px solid rgba(8, 21, 43, 0.12);
    box-shadow: inset 0 0 0 1px rgba(8, 21, 43, 0.08);
    background: #ffffff;
  }

  [data-theme="light"] .features {
    background: var(--bg-elevated);
  }

  [data-theme="light"] .feature-card {
    background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.86),
      rgba(221, 232, 255, 0.65)
    );
    border: 1px solid var(--card-border);
  }

  [data-theme="light"] .media {
    /* Make screenshots band clearly light in light mode */
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(245, 247, 255, 0.98)
    );
  }

  [data-theme="light"] .media-card {
    background:
      radial-gradient(circle at top, rgba(79, 91, 255, 0.12), transparent 70%),
      #ffffff;
    border: 1px solid rgba(8, 21, 43, 0.12);
  }

  [data-theme="light"] .media-link {
    border: 1px solid rgba(8, 21, 43, 0.12);
    box-shadow: inset 0 0 0 1px rgba(8, 21, 43, 0.08);
    background: #ffffff;
  }

  [data-theme="light"] .media-placeholder {
    border: 2px dashed rgba(8, 21, 43, 0.26);
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-soft);
  }

  [data-theme="light"] .policy-body {
    background: linear-gradient(
      185deg,
      rgba(255, 255, 255, 1),
      rgba(230, 238, 255, 0.92)
    );
    color: var(--text);
  }

  [data-theme="light"] .policy-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(8, 21, 43, 0.12);
    box-shadow: 0 28px 70px -30px rgba(0, 0, 0, 0.2);
  }

  [data-theme="light"] .toast {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(8, 21, 43, 0.18);
    box-shadow: 0 30px 52px -26px rgba(0, 0, 0, 0.24);
  }

  [data-theme="light"] .important-warning-inline {
    background: linear-gradient(180deg, #fef5f5, #fef3f3);
    border-left: 5px solid #dc2626;
  }

  [data-theme="light"] .important-warning-inline .warning-icon {
    background: #dc2626;
  }

  [data-theme="light"] .submission-overlay {
    background: linear-gradient(
      rgba(255, 255, 255, 0.75),
      rgba(250, 250, 255, 0.85)
    );
  }

  [data-theme="light"] .submission-card {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98),
      rgba(245, 247, 255, 0.98)
    );
    border: 1px solid rgba(8, 21, 43, 0.12);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.3);
  }

  [data-theme="light"] .store-button {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(8, 21, 43, 0.12);
  }

  [data-theme="light"] .site-footer {
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(8, 21, 43, 0.08);
  }

  [data-theme="light"] .faq-item {
    background: linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.86),
      rgba(221, 232, 255, 0.65)
    );
  }

  [data-theme="light"] .faq-item:hover {
    border-color: rgba(79, 91,.255, 0.36);
  }

  [data-theme="light"] .faq-item p {
    border-top: 1px solid rgba(8, 21, 43, 0.08);
  }

  [data-theme="light"] .stat-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(8, 21, 43, 0.08);
  }

  [data-theme="light"] .callout-card {
    background: rgba(255, 255, 255, 0.9);
  }

  [data-theme="light"] .cta-form input {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(8, 21, 43, 0.18);
  }

  [data-theme="light"] .testimonial-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(8, 21, 43, 0.1);
    box-shadow: 0 28px 70px -30px rgba(0, 0, 0, 0.15);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  /* Background matched to app SplashScreen dark gradient + radial overlay */
  background:
    radial-gradient(
      circle at 50% 50%,
      var(--splash-overlay),
      rgba(0, 0, 0, 0) 70%
    ),
    linear-gradient(
      135deg,
      var(--splash-stop-1),
      var(--splash-stop-2),
      var(--splash-stop-3),
      var(--splash-stop-4)
    ),
    var(--bg);
  min-height: 100vh;
}

body {
  line-height: 1.6;
}

.policy-body {
  background: linear-gradient(
    185deg,
    rgba(7, 9, 15, 1),
    rgba(14, 20, 36, 0.92)
  );
  color: var(--text);
}

.policy-container {
  width: min(100% - 3rem, 860px);
  margin: 4rem auto 6rem;
}

.policy-card {
  background: rgba(10, 14, 26, 0.92);
  border: 1px solid rgba(79, 91, 255, 0.18);
  border-radius: 28px;
  padding: clamp(1.8rem, 3vw, 3rem);
  box-shadow: 0 28px 70px -30px rgba(0, 0, 0, 0.65);
  display: grid;
  gap: 1.4rem;
}

.policy-header h1 {
  margin-bottom: 0.35rem;
}

.policy-effective {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.policy-card h2 {
  margin: 1.6rem 0 0.8rem;
  font-size: 1.45rem;
}

.policy-card ul {
  margin: 0.6rem 0 0 1.2rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.policy-card li {
  color: var(--text-muted);
}

.policy-card strong {
  color: var(--text);
}

.policy-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--accent);
}

.policy-back::before {
  content: "←";
}

.toast {
  position: fixed;
  left: 50%;
  bottom: min(5vh, 64px);
  transform: translate(-50%, 36px);
  width: min(440px, calc(100% - 2.5rem));
  background: rgba(12, 16, 30, 0.94);
  border: 1px solid rgba(79, 91, 255, 0.42);
  color: var(--text);
  padding: 1.1rem 1.9rem;
  border-radius: 20px;
  box-shadow: 0 30px 52px -26px rgba(0, 0, 0, 0.68);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 360ms var(--ease-smooth),
    transform 360ms var(--ease-smooth);
  font-size: 1rem;
  letter-spacing: 0.012em;
  z-index: 1000;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  color: var(--text);
  margin-top: 0;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

a:hover {
  opacity: 0.84;
}

p a,
li a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

p a:hover,
li a:hover {
  text-decoration-color: var(--accent);
  opacity: 1;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: rgba(6, 9, 18, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1.1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(79, 91, 255, 0.32);
  box-shadow: 0 22px 42px -26px rgba(0, 0, 0, 0.58);
  transition:
    transform 160ms ease,
    opacity 160ms ease;
}

.brand:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(15, 20, 40, 0.72);
  padding: 7px;
  box-shadow: inset 0 0 0 1px rgba(79, 91, 255, 0.36);
  object-fit: contain;
}

.brand-name {
  font-size: 1.45rem;
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  padding-bottom: 4px;
  transition: color 160ms ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease-in;
}

.nav a:hover {
  color: var(--text);
  opacity: 1;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(79, 91, 255, 0.18);
  color: var(--accent);
  border: 1px solid rgba(79, 91, 255, 0.3);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ghost-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  box-shadow: none;
  background: transparent;
  color: var(--text);
}

.ghost-button {
  border-color: rgba(244, 246, 255, 0.24);
  background: rgba(15, 20, 40, 0.6);
}

.site-header .theme-toggle {
  margin-left: 0.6rem;
}

.theme-toggle-icon {
  font-size: 1rem;
}

.theme-toggle-label {
  font-weight: 600;
}

.ghost-button:hover {
  transform: translateY(-1px);
}

.primary-button {
  color: var(--text);
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  color: var(--accent);
}

.hero {
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  /* Subtle animated wash using the same splash palette */
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(30, 45, 68, 0.26) 0%,
    rgba(13, 71, 161, 0.2) 50%,
    rgba(30, 45, 68, 0.26) 100%
  );
  transform: translate(-50%, -50%);
  animation: rotate-gradient 20s linear infinite;
  z-index: -1;
}

@keyframes rotate-gradient {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

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

.hero-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.hero-badge {
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.hero-benefits {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1.8rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-top: 1.2rem;
}

.trust-icon {
  font-size: 1rem;
}

.primary-button-large {
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.1rem;
}

.cta-row {
  display: flex;
  gap: 1rem;
  margin: 1.8rem 0 1.2rem;
  flex-wrap: wrap;
}

.hero-highlights {
  display: grid;
  gap: 0.6rem;
  padding-left: 1.4rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero-media {
  position: relative;
  display: grid;
  justify-items: end;
  gap: 1.5rem;
}

.device-frame {
  width: clamp(280px, 40vw, 320px);
  aspect-ratio: 9 / 19.5;
  border-radius: 32px;
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.12),
    rgba(15, 23, 42, 0.6)
  );
  padding: 1.4rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.status-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(244, 246, 255, 0.6);
  margin-bottom: 1rem;
}

.device-screen {
  flex: 1;
  display: block;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(244, 246, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.32);
  background: rgba(12, 17, 31, 0.92);
  cursor: zoom-in;
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 160ms ease;
  display: block;
}

.device-screen:hover img {
  transform: scale(1.02);
}

.section {
  padding: 5.5rem 0;
}

.section-header {
  text-align: center;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.section-description {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
}

.how-it-works {
  background: linear-gradient(
    180deg,
    rgba(79, 91, 255, 0.04),
    rgba(224, 63, 252, 0.04)
  );
}

.steps-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-bottom: 3rem;
}

.step-card {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.6),
    rgba(40, 50, 88, 0.4)
  );
  border: 1px solid var(--card-border);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 91, 255, 0.36);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  font-size: 1.8rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 8px 16px -8px rgba(79, 91, 255, 0.4);
}

.step-content h3 {
  margin-top: 0.2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.step-content p {
  margin: 0;
  line-height: 1.6;
}

.how-it-works-cta {
  text-align: center;
}

.features {
  background: var(--bg-elevated);
}

.feature-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  background: linear-gradient(
    160deg,
    rgba(15, 23, 42, 0.82),
    rgba(40, 50, 88, 0.5)
  );
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 1.8rem;
  display: grid;
  gap: 0.85rem;
  box-shadow: var(--shadow-soft);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.feature-card p strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.3rem;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 91, 255, 0.36);
}

.value-proposition {
  background: linear-gradient(
    160deg,
    rgba(79, 91, 255, 0.08),
    rgba(224, 63, 252, 0.08)
  );
}

.value-prop-card {
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.8),
    rgba(40, 50, 88, 0.6)
  );
  border: 1px solid var(--card-border);
  border-radius: 32px;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow);
}

.value-prop-content {
  max-width: 900px;
  margin: 0 auto;
}

.value-prop-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 1.2rem;
  text-align: center;
}

.value-prop-description {
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.comparison-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.comparison-item:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 91, 255, 0.36);
}

.comparison-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.comparison-icon.good {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
}

.comparison-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.comparison-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.media {
  background: linear-gradient(
    180deg,
    rgba(17, 24, 42, 0.1),
    rgba(17, 24, 42, 0.6)
  );
}

.media-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.media-gallery {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: minmax(200px, auto);
  justify-items: center;
}

.media-card {
  border-radius: 24px;
  background:
    radial-gradient(circle at top, rgba(79, 91, 255, 0.18), transparent 70%),
    rgba(7, 9, 15, 0.92);
  padding: 1rem;
  border: 1px solid rgba(244, 246, 255, 0.12);
  box-shadow: var(--shadow-soft);
  display: flex;
  justify-content: center;
  align-items: stretch;
  overflow: visible;
  max-width: 360px;
  margin: 0 auto;
  flex-direction: column;
  gap: 0.75rem;
}

.media-link {
  display: block;
  width: 100%;
  cursor: zoom-in;
  aspect-ratio: 9 / 19;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(244, 246, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.32);
  background: rgba(5, 8, 14, 0.9);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 160ms ease;
  display: block;
}

.media-link:hover img {
  transform: scale(1.02);
  transition: transform 160ms ease;
}

.media-card figcaption {
  font-size: 0.85rem;
  color: var(--text-soft);
  text-align: center;
  line-height: 1.4;
  padding-inline: 0.4rem;
}

.media-placeholder {
  border-radius: 24px;
  border: 2px dashed rgba(244, 246, 255, 0.26);
  background: rgba(7, 9, 15, 0.65);
  min-height: 200px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.2rem;
  color: var(--text-soft);
  font-weight: 500;
}

.media-card.tall {
  grid-row: span 2;
}

.media-card.short {
  align-items: stretch;
}

.media-placeholder.tall {
  min-height: 420px;
}

.media-placeholder.video {
  position: relative;
  min-height: 260px;
  background: linear-gradient(
    160deg,
    rgba(79, 91, 255, 0.14),
    rgba(57, 255, 216, 0.08)
  );
  aspect-ratio: 9 / 16;
  padding: 0;
  overflow: hidden;
}

.vertical-video {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  border: 1px solid rgba(244, 246, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.32);
  object-fit: cover;
  background: rgba(7, 9, 15, 0.8);
}

.play-icon {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(7, 9, 15, 0.84);
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.media-caption {
  font-size: 0.92rem;
  margin-top: 1rem;
}

.testimonials {
  background: var(--bg-elevated);
}

.stats-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  padding: 2.5rem;
  background: linear-gradient(
    145deg,
    rgba(79, 91, 255, 0.08),
    rgba(224, 63, 252, 0.08)
  );
  border-radius: 24px;
  border: 1px solid var(--card-border);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.testimonial-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial-card {
  background: rgba(9, 12, 20, 0.9);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  display: grid;
  gap: 1.25rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 91, 255, 0.36);
}

.quote-icon {
  font-size: 4rem;
  line-height: 1;
  color: var(--primary);
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-card blockquote {
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
  color: var(--text);
}

.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.testimonial-card figcaption strong {
  font-size: 1rem;
  color: var(--text);
  font-weight: 600;
}

.testimonial-card figcaption span {
  font-size: 0.88rem;
  color: var(--text-soft);
}

.pricing {
  background: linear-gradient(
    180deg,
    rgba(79, 91, 255, 0.06),
    rgba(224, 63, 252, 0.06)
  );
}

.pricing-card-wrapper {
  display: flex;
  justify-content: center;
}

.pricing-card {
  max-width: 480px;
  width: 100%;
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.9),
    rgba(40, 50, 88, 0.7)
  );
  border: 2px solid rgba(79, 91, 255, 0.3);
  border-radius: 32px;
  padding: 2.5rem;
  box-shadow: 0 32px 80px -24px rgba(79, 91, 255, 0.4);
  position: relative;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-card h3 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1rem;
}

.pricing-amount {
  text-align: center;
  margin-bottom: 1.5rem;
}

.price {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  font-size: 1.2rem;
  color: var(--text-soft);
  margin-left: 0.25rem;
}

.pricing-description {
  text-align: center;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: grid;
  gap: 0.9rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.98rem;
  color: var(--text-muted);
}

.pricing-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.pricing-cta {
  width: 92%;
  margin-bottom: 1.5rem;
}

.pricing-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-soft);
  margin: 0;
  line-height: 1.5;
}

.resources {
  background: linear-gradient(
    180deg,
    rgba(79, 91, 255, 0.04),
    rgba(224, 63, 252, 0.04)
  );
}

.resource-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.resource-card {
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.8),
    rgba(40, 50, 88, 0.6)
  );
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-soft);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
  text-decoration: none;
  color: inherit;
}

.resource-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 91, 255, 0.36);
}

.resource-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.resource-card h3 {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.resource-card p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-muted);
  flex: 1;
}

.resource-link {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.faq {
  background: var(--bg-elevated);
}

.faq-grid {
  display: grid;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: linear-gradient(
    160deg,
    rgba(15, 23, 42, 0.82),
    rgba(40, 50, 88, 0.5)
  );
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 1.5rem;
  transition: border-color 180ms ease;
  cursor: pointer;
}

.faq-item:hover {
  border-color: rgba(79, 91, 255, 0.36);
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 200ms ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item p {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.6;
}

.stats {
  background: linear-gradient(
    180deg,
    rgba(17, 24, 42, 0.8),
    rgba(17, 24, 42, 0.4)
  );
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.4rem;
}

.stat-card {
  border-radius: 28px;
  padding: 2rem;
  background: rgba(10, 16, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--accent);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.callout {
  background: linear-gradient(
    180deg,
    rgba(57, 255, 216, 0.1),
    rgba(79, 91, 255, 0.12)
  );
}

.callout-card {
  background: rgba(7, 9, 15, 0.86);
  border-radius: 32px;
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid var(--card-border);
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  box-shadow: var(--shadow);
}

.cta-form {
  display: grid;
  gap: 0.75rem;
  align-items: center;
}

.cta-form input {
  background: rgba(12, 18, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.9rem 1.4rem;
  color: var(--text);
  font-size: 0.95rem;
}

/* Compact inline warning used directly in forms (above submission input) */
.important-warning-inline {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  background: linear-gradient(180deg, #0b0b0b, #0a0a0a);
  border-left: 5px solid #b00000;
  /* prominent red stripe */
  color: #fff;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  font-size: 0.92rem;
}

.important-warning-inline .warning-icon {
  min-width: 34px;
  min-height: 34px;
  display: grid;
  place-items: center;
  background: #b00000;
  color: #fff;
  font-weight: 700;
  border-radius: 6px;
  font-size: 0.95rem;
}

.important-warning-inline p {
  margin: 0;
  color: #fff;
  line-height: 1.2;
}

.cta-form input:focus {
  outline: 2px solid rgba(79, 91, 255, 0.6);
  outline-offset: 2px;
}

.cta-form button {
  width: 100%;
}

/* Submission overlay shown after waitlist submission */
.submission-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(rgba(3, 6, 12, 0.45), rgba(3, 6, 12, 0.6));
  backdrop-filter: blur(6px) saturate(120%);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 320ms var(--ease-quick),
    backdrop-filter 420ms var(--ease-smooth);
}

.submission-overlay[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.submission-card {
  background: linear-gradient(
    180deg,
    rgba(12, 18, 32, 0.96),
    rgba(20, 26, 46, 0.98)
  );
  color: var(--text);
  padding: 2.2rem 2.6rem;
  border-radius: 20px;
  text-align: center;
  max-width: min(720px, calc(100% - 3rem));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(79, 91, 255, 0.18);
  transform: translateY(12px) scale(0.995);
  opacity: 0;
  transition:
    transform 420ms var(--ease-quick),
    opacity 340ms var(--ease-smooth);
}

.submission-overlay[aria-hidden="false"] .submission-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Spinner for submitting state */
.spinner {
  border-radius: 50%;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--accent);
  width: 20px;
  height: 20px;
  animation: spin 900ms linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Show spinner while overlay is in submitting mode */
.submission-overlay.is-submitting #submission-spinner {
  display: block !important;
}

/* Make sure overlay close button has visible focus */
.submission-card .primary-button:focus {
  outline: 3px solid rgba(79, 91, 255, 0.18);
  outline-offset: 4px;
}

.submission-icon {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--bg);
  display: inline-grid;
  place-items: center;
  font-size: 2.2rem;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.submission-text {
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

/* Fade out the form container when submission happens */
.cta-form.is-submitted {
  opacity: 0.14;
  transform: scale(0.992) translateY(2px);
  transition:
    opacity 420ms var(--ease-smooth),
    transform 420ms var(--ease-smooth);
  pointer-events: none;
}

/* Make the OK button a bit wider in the overlay */
.submission-card .primary-button {
  width: auto;
  padding: 0.7rem 1.4rem;
}

.store-buttons {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.store-button {
  display: grid;
  grid-auto-flow: column;
  gap: 0.8rem;
  align-items: center;
  color: #ffffff;
}

.store-button small {
  display: block;
  color: var(--text-soft);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.store-icon {
  font-size: 1.6rem;
}

/* Compact Google Play badge used in store-buttons */
.google-play-badge {
  display: inline-flex;
  gap: 0.6rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.google-play-icon {
  width: 28px;
  height: 28px;
  display: inline-block;
}

.google-play-badge .badge-text {
  display: inline-block;
  font-weight: 600;
}

.store-icon svg,
.button-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  display: block;
}

.site-footer {
  background: rgba(6, 9, 18, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.footer-copy {
  margin-top: 0.8rem;
  font-size: 0.92rem;
}

.footer-links {
  display: grid;
  grid-auto-flow: column;
  gap: 2rem;
}

.footer-links h4,
.footer-cta h4 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.socials {
  display: flex;
  gap: 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--bg);
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
  border-radius: 0 0 4px 0;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

/* Animation utility */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 500ms ease-out,
    transform 500ms ease-out;
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 880px) {
  .nav {
    display: none;
  }

  .site-header .primary-button {
    font-size: 0.85rem;
    padding: 0.7rem 0.9rem;
    gap: 0;
  }

  .site-header .primary-button .button-text {
    display: none;
  }
}

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

  .hero-media {
    justify-items: center;
  }

  .site-header .container {
    padding-inline: 0;
  }

  .section {
    padding: 4rem 0;
  }
}

@media (max-width: 540px) {
  .container {
    width: min(100% - 1.8rem, var(--max-width));
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-benefits {
    gap: 0.7rem;
  }

  .benefit-item {
    font-size: 0.9rem;
  }

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

  .step-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

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

  .stats-showcase {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }

  .price {
    font-size: 3rem;
  }

  .cta-row {
    flex-direction: column;
  }

  .store-buttons {
    justify-content: stretch;
  }

  .store-button {
    width: 100%;
    justify-content: start;
  }

  .site-header .primary-button {
    display: none;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand {
    gap: 0.6rem;
    padding: 0.25rem 0.8rem;
  }
}

.submission-status-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.submission-subtext {
  margin-bottom: 1rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.form-warning-text {
  margin-top: 4px;
}

/* Manual theme overrides (same palettes as the preferring-color-scheme block) */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --bg-elevated: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-muted: #f5f7fb;
  --text: #08152b;
  --text-muted: rgba(8, 21, 43, 0.72);
  --text-soft: rgba(8, 21, 43, 0.56);
  --card-border: rgba(8, 21, 43, 0.08);
  --border: rgba(8, 21, 43, 0.12);
  --splash-light-stop-1: #fdf7f4;
  --splash-light-stop-2: #e4f0ff;
  --splash-light-stop-3: #9dbbff;
  --splash-light-stop-4: #dde8ff;
  --splash-light-overlay: rgba(255, 255, 255, 0.55);
}

html[data-theme="light"],
body[data-theme="light"] {
  color: var(--text);
  background:
    radial-gradient(
      circle at 50% 50%,
      var(--splash-light-overlay),
      rgba(255, 255, 255, 0) 70%
    ),
    linear-gradient(
      135deg,
      var(--splash-light-stop-1),
      var(--splash-light-stop-2),
      var(--splash-light-stop-3),
      var(--splash-light-stop-4)
    ),
    var(--bg);
}

[data-theme="light"] .hero {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.92),
    rgba(239, 244, 255, 0.9),
    rgba(221, 232, 255, 0.6)
  );
}

[data-theme="light"] .hero::before {
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(221, 232, 255, 0.4) 0%,
    rgba(157, 187, 255, 0.28) 40%,
    rgba(221, 232, 255, 0.4) 100%
  );
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(8, 21, 43, 0.08);
  box-shadow: 0 20px 60px -35px rgba(8, 21, 43, 0.25);
}

[data-theme="light"] .nav a {
  color: rgba(8, 21, 43, 0.85);
}

[data-theme="light"] .nav a::after {
  background: rgba(79, 91, 255, 0.2);
}

[data-theme="light"] .brand {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(8, 21, 43, 0.12);
  box-shadow: 0 22px 42px -26px rgba(0, 0, 0, 0.16);
}

[data-theme="light"] .brand-logo {
  background: rgba(8, 21, 43, 0.06);
  box-shadow: inset 0 0 0 1px rgba(8, 21, 43, 0.12);
}

[data-theme="light"] .ghost-button {
  border-color: rgba(8, 21, 43, 0.18);
  background: rgba(255, 255, 255, 0.65);
}

[data-theme="light"] .device-frame {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.9),
    rgba(240, 242, 248, 0.8)
  );
  border: 2px solid rgba(8, 21, 43, 0.15);
  box-shadow: 0 8px 24px -8px rgba(8, 21, 43, 0.15);
}

[data-theme="light"] .status-bar {
  color: rgba(8, 21, 43, 0.6);
}

[data-theme="light"] .device-screen {
  border: 2px solid rgba(8, 21, 43, 0.18);
  box-shadow:
    inset 0 0 0 1px rgba(8, 21, 43, 0.08),
    0 4px 12px -4px rgba(8, 21, 43, 0.12);
  background: #f8f9fb;
}

[data-theme="light"] .device-screen img {
  filter: brightness(1.05) contrast(0.94);
}

[data-theme="light"] .media-link img {
  filter: brightness(1.05) contrast(0.94);
}

[data-theme="light"] .features {
  background: var(--bg-elevated);
}

[data-theme="light"] .feature-card {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.86),
    rgba(221, 232, 255, 0.65)
  );
  border: 1px solid var(--card-border);
}

[data-theme="light"] .media {
  /* Ensure screenshots band is fully light when toggled to light theme */
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(245, 247, 255, 0.98)
  );
}

[data-theme="light"] .media-card {
  background:
    radial-gradient(circle at top, rgba(79, 91, 255, 0.08), transparent 70%),
    rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(8, 21, 43, 0.12);
}

[data-theme="light"] .media-link {
  border: 2px solid rgba(8, 21, 43, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(8, 21, 43, 0.08),
    0 4px 12px -4px rgba(8, 21, 43, 0.15);
  background: #f8f9fb;
}

/* Ensure the video and its overlay adopt a light shell too */
[data-theme="light"] .vertical-video {
  border: 1px solid rgba(8, 21, 43, 0.12);
  box-shadow: inset 0 0 0 1px rgba(8, 21, 43, 0.08);
  background: #ffffff;
}

[data-theme="light"] .play-icon {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 32px -18px rgba(0, 0, 0, 0.18);
}

[data-theme="light"] .media-placeholder {
  border: 2px dashed rgba(8, 21, 43, 0.26);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-soft);
}

[data-theme="light"] .policy-body {
  background: linear-gradient(
    185deg,
    rgba(255, 255, 255, 1),
    rgba(230, 238, 255, 0.92)
  );
  color: var(--text);
}

[data-theme="light"] .policy-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(8, 21, 43, 0.12);
  box-shadow: 0 28px 70px -30px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .toast {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(8, 21, 43, 0.18);
  box-shadow: 0 30px 52px -26px rgba(0, 0, 0, 0.24);
}

[data-theme="light"] .important-warning-inline {
  background: linear-gradient(180deg, #fef5f5, #fef3f3);
  border-left: 5px solid #dc2626;
}

[data-theme="light"] .important-warning-inline .warning-icon {
  background: #dc2626;
}

[data-theme="light"] .submission-overlay {
  background: linear-gradient(
    rgba(255, 255, 255, 0.75),
    rgba(250, 250, 255, 0.85)
  );
}

[data-theme="light"] .submission-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98),
    rgba(245, 247, 255, 0.98)
  );
  border: 1px solid rgba(8, 21, 43, 0.12);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .store-button {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(8, 21, 43, 0.12);
}

[data-theme="light"] .site-footer {
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(8, 21, 43, 0.08);
}

[data-theme="light"] .faq-item {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.86),
    rgba(221, 232, 255, 0.65)
  );
}

[data-theme="light"] .faq-item:hover {
  border-color: rgba(79, 91, 255, 0.36);
}

[data-theme="light"] .faq-item p {
  border-top: 1px solid rgba(8, 21, 43, 0.08);
}

[data-theme="light"] .stat-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(8, 21, 43, 0.08);
}

[data-theme="light"] .callout-card {
  background: rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .cta-form input {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(8, 21, 43, 0.18);
}

[data-theme="light"] .testimonial-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(8, 21, 43, 0.1);
  box-shadow: 0 28px 70px -30px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .resource-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.9),
    rgba(245, 247, 255, 0.8)
  );
  border: 1px solid rgba(8, 21, 43, 0.12);
}

[data-theme="light"] .step-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.9),
    rgba(245, 247, 255, 0.8)
  );
  border: 1px solid rgba(8, 21, 43, 0.12);
}

[data-theme="light"] .pricing-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.95),
    rgba(245, 247, 255, 0.9)
  );
  border: 2px solid rgba(79, 91, 255, 0.25);
  box-shadow: 0 32px 80px -24px rgba(79, 91, 255, 0.3);
}

[data-theme="light"] .value-prop-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.92),
    rgba(245, 247, 255, 0.88)
  );
  border: 1px solid rgba(8, 21, 43, 0.12);
  box-shadow: 0 28px 70px -30px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .comparison-item {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(8, 21, 43, 0.12);
}

[data-theme="light"] .stats-showcase {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.8),
    rgba(245, 247, 255, 0.7)
  );
  border: 1px solid rgba(8, 21, 43, 0.12);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07090f;
  --bg-elevated: #0c111f;
  --bg-soft: #11182a;
  --bg-muted: #f5f7fb;
  --text: #f4f6ff;
  --text-muted: rgba(244, 246, 255, 0.72);
  --text-soft: rgba(244, 246, 255, 0.56);
  --card-border: rgba(255, 255, 255, 0.08);
  --border: rgba(79, 91, 255, 0.24);
  --splash-stop-1: #10131a;
  --splash-stop-2: #1e2d44;
  --splash-stop-3: #0d47a1;
  --splash-stop-4: #1e2d44;
  --splash-overlay: rgba(0, 0, 0, 0.25);
}

html[data-theme="dark"],
body[data-theme="dark"] {
  color: var(--text);
  background:
    radial-gradient(
      circle at 50% 50%,
      var(--splash-overlay),
      rgba(0, 0, 0, 0) 70%
    ),
    linear-gradient(
      135deg,
      var(--splash-stop-1),
      var(--splash-stop-2),
      var(--splash-stop-3),
      var(--splash-stop-4)
    ),
    var(--bg);
}

[data-theme="dark"] .hero::before {
  background: conic-gradient(
    from 0deg at 50% 50%,
    rgba(79, 91, 255, 0.24) 0%,
    rgba(57, 255, 216, 0.18) 50%,
    rgba(79, 91, 255, 0.24) 100%
  );
}
