:root {
  --bg-top: #1b0e35;
  --bg-bottom: #311d82;
  --bg-deep: #120a22;
  --violet: #b53ffe;
  --violet-deep: #9333ea;
  --violet-soft: #e2d2f9;
  --mint: #5cffa3;
  --mint-dim: rgba(92, 255, 163, 0.15);
  --glass: rgba(255, 255, 255, 0.07);
  --glass-strong: rgba(36, 23, 61, 0.72);
  --text: #ffffff;
  --text-soft: #e2d2f9;
  --text-muted: rgba(226, 210, 249, 0.72);
  --border: rgba(255, 255, 255, 0.16);
  --border-glow: rgba(181, 63, 254, 0.45);
  --radius: 20px;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
  --shadow-violet: 0 20px 60px rgba(181, 63, 254, 0.28);
  --shadow-card: 0 16px 48px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-top);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--violet-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--mint);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* App-matching background */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    var(--bg-top) 16%,
    var(--bg-bottom) 87%,
    var(--bg-deep) 100%
  );
}

.page-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 15% 0%, rgba(181, 63, 254, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 35% at 90% 10%, rgba(92, 255, 163, 0.14), transparent 50%),
    radial-gradient(ellipse 40% 30% at 50% 100%, rgba(49, 29, 130, 0.8), transparent 60%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: float 12s ease-in-out infinite;
}

.orb-violet {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -60px;
  background: var(--violet);
}

.orb-mint {
  width: 240px;
  height: 240px;
  bottom: 15%;
  left: -40px;
  background: var(--mint);
  animation-delay: -4s;
}

.stars-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0.55;
  mask-image: linear-gradient(to top, black 30%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, black 30%, transparent 100%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(12px, -18px) scale(1.05); }
}

.page-wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(27, 14, 53, 0.75);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--violet), var(--bg-bottom));
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-violet);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 100%);
  color: white;
  box-shadow: var(--shadow-violet);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 24px 50px rgba(181, 63, 254, 0.45);
  color: white;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--violet-soft);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.btn-try {
  position: relative;
  background: linear-gradient(135deg, rgba(92, 255, 163, 0.82) 0%, rgba(181, 63, 254, 0.88) 100%);
  color: white;
  border: 1px solid rgba(92, 255, 163, 0.45);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset, 0 14px 36px rgba(92, 255, 163, 0.18);
  animation: try-pulse 3.2s ease-in-out infinite;
}

.btn-try::before {
  content: "✨";
  font-size: 0.95rem;
}

.btn-try:hover {
  color: white;
  background: linear-gradient(135deg, rgba(92, 255, 163, 0.92) 0%, rgba(181, 63, 254, 0.96) 100%);
  box-shadow: 0 18px 42px rgba(92, 255, 163, 0.22);
}

@keyframes try-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.06) inset,
      0 14px 36px rgba(92, 255, 163, 0.18),
      0 0 0 rgba(181, 63, 254, 0);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.1) inset,
      0 18px 44px rgba(92, 255, 163, 0.28),
      0 0 26px rgba(181, 63, 254, 0.25);
  }
}

/* Hero */
.hero {
  padding: 3.5rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

.hero-copy {
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: var(--mint-dim);
  color: var(--mint);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(92, 255, 163, 0.35);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(92, 255, 163, 0); }
  50% { box-shadow: 0 0 20px rgba(92, 255, 163, 0.2); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero h1 .gradient-text {
  display: block;
  background: linear-gradient(100deg, var(--violet-soft) 0%, var(--mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 1.75rem;
  font-weight: 300;
}

@media (min-width: 900px) {
  .hero-lead {
    margin-left: 0;
    margin-right: 0;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

/* Phone mock — app dialog style */
.phone-frame {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  padding: 1.25rem;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(36, 23, 61, 0.95), rgba(49, 29, 130, 0.6));
  border: 1.2px solid rgba(255, 255, 255, 0.75);
  box-shadow:
    var(--shadow-violet),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.phone-frame::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.phone-notch {
  width: 80px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 1.25rem;
}

.phone-screen {
  display: grid;
  gap: 0.85rem;
}

.mock-line {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.mock-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.15rem;
  border: 1px solid var(--border);
}

.mock-icon.inject {
  background: rgba(226, 210, 249, 0.15);
  box-shadow: 0 0 20px rgba(226, 210, 249, 0.12);
}

.mock-icon.extract {
  background: rgba(92, 255, 163, 0.12);
  box-shadow: 0 0 20px rgba(92, 255, 163, 0.1);
}

.mock-icon.answer {
  background: linear-gradient(135deg, rgba(181, 63, 254, 0.3), rgba(92, 255, 163, 0.15));
}

.mock-bubble {
  flex: 1;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.5;
}

.mock-bubble strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.mock-bubble.inject strong { color: var(--violet-soft); }
.mock-bubble.extract strong { color: var(--mint); }
.mock-bubble.answer strong {
  background: linear-gradient(90deg, var(--violet-soft), var(--mint));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* App-style feature pills */
.feature-pills {
  display: flex;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.feature-pill {
  padding: 0.5rem 1rem;
  border-radius: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  border: 1px solid var(--border);
}

.feature-pill.inject {
  background: rgba(226, 210, 249, 0.12);
  color: var(--violet-soft);
}

.feature-pill.extract {
  background: rgba(92, 255, 163, 0.1);
  color: var(--mint);
}

/* Sections */
section {
  padding: 3.5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mint);
  margin-bottom: 0.5rem;
}

.section-title h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  margin: 0 0 0.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-title p {
  color: var(--text-muted);
  margin: 0 auto;
  max-width: 540px;
  font-weight: 300;
}

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

.feature-card {
  position: relative;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--mint));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card);
}

.feature-card:hover::before {
  opacity: 1;
}

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

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  background: rgba(181, 63, 254, 0.15);
  border: 1px solid var(--border);
}

.feature-card:nth-child(even) .feature-icon-wrap {
  background: var(--mint-dim);
}

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

.step {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 4rem;
  border-radius: var(--radius);
  background: var(--glass-strong);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.step-num {
  position: absolute;
  left: 1.25rem;
  top: 1.35rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(181, 63, 254, 0.4);
}

.step h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
}

.cta-band {
  margin: 1rem 0 3.5rem;
  padding: 3rem 2rem;
  border-radius: 28px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(181, 63, 254, 0.22) 0%,
    rgba(49, 29, 130, 0.5) 50%,
    rgba(92, 255, 163, 0.1) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-violet);
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--violet);
  filter: blur(80px);
  opacity: 0.25;
  top: -60px;
  right: -40px;
  pointer-events: none;
}

.cta-band h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  position: relative;
}

.cta-band p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  position: relative;
  font-weight: 300;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  position: relative;
}

.store-badge {
  padding: 0.75rem 1.25rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
  min-width: 140px;
  text-align: left;
}

.store-badge strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

/* Legal / support */
.page-hero {
  padding: 3rem 0 1rem;
  text-align: center;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--text) 30%, var(--violet-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero p {
  color: var(--text-muted);
  margin: 0;
  font-weight: 300;
}

.content-panel {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 2rem 2.25rem;
  border-radius: 28px;
  background: var(--glass-strong);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-card);
}

.prose {
  padding: 0;
}

.prose h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  color: var(--violet-soft);
  font-weight: 600;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--text);
  font-weight: 600;
}

.prose p,
.prose li {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--violet-soft);
}

.contact-card {
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(181, 63, 254, 0.15), rgba(92, 255, 163, 0.06));
  border: 1px solid var(--border-glow);
  margin-bottom: 2rem;
}

.contact-card h2 {
  margin-top: 0;
  color: var(--text);
}

.contact-card a {
  color: var(--mint);
  font-size: 1.1rem;
}

.faq {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(181, 63, 254, 0.35);
}

.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  color: var(--violet-soft);
  font-weight: 600;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 300;
}

.faq-item strong {
  color: var(--text);
  font-weight: 500;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2.5rem;
  margin-top: auto;
  background: rgba(18, 10, 34, 0.5);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--mint);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  margin-left: 0.35rem;
}

.lang-btn {
  min-width: 2.35rem;
  padding: 0.35rem 0.55rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.lang-btn.active {
  color: var(--text);
  background: rgba(181, 63, 254, 0.35);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.footer-copy {
  color: rgba(226, 210, 249, 0.5);
  font-size: 0.82rem;
  margin: 0;
}

@media (max-width: 640px) {
  .nav-links .hide-mobile {
    display: none;
  }

  .hero {
    padding-top: 2rem;
  }

  .content-panel {
    padding: 1.5rem 1.25rem;
  }
}
