:root {
  color-scheme: dark;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #f8f8ff;
  background: #090814;
  --bg: #080710;
  --surface: rgba(26, 18, 56, 0.82);
  --surface-soft: rgba(42, 24, 93, 0.38);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f8f8ff;
  --muted: #c0bce0;
  --accent: #9b5cff;
  --accent-strong: #7c3aed;
  --accent-soft: #7c60e7;
  --shadow: 0 36px 100px rgba(16, 11, 46, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.28), transparent 28%),
    radial-gradient(circle at bottom right, rgba(99, 102, 241, 0.22), transparent 24%),
    linear-gradient(180deg, #090814 0%, #0f0b1d 100%);
  color: var(--text);
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(147, 51, 234, 0.18), transparent 18%),
    radial-gradient(circle at 80% 90%, rgba(168, 85, 247, 0.14), transparent 14%);
  pointer-events: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  font: inherit;
}

.page-shell {
  position: relative;
  overflow-x: hidden;
}

.container {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(10, 8, 25, 0.88);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

.logo-image {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.55rem;
}

.brand-copy {
  display: grid;
  gap: 0.12rem;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f8f8ff;
}

.brand-tag {
  font-size: 0.85rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 0.55rem;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #d8d4ff;
  margin-bottom: 6px;
  border-radius: 999px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffffff;
}

.nav-cta {
  padding: 0.95rem 1.45rem;
}

.hero-section {
  position: relative;
  padding: clamp(4rem, 7vw, 6rem) 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.24em;
  color: #c4b5fd;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.hero-copy h1,
.section-head h2,
.why-copy h2 {
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1.04;
  margin: 0;
  letter-spacing: -0.03em;
}

.hero-text,
.section-head p,
.why-copy p,
.demo-copy p,
.support-section p,
.privacy-copy p,
.feedback-copy p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 46rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.button {
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), #6d28d9);
  color: #fff;
  padding: 1rem 1.8rem;
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translateY(-2px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0.95rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.hero-badges {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1.4rem 1.3rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-badges span {
  color: var(--muted);
  font-size: 0.93rem;
}

.hero-panel {
  display: grid;
  place-items: center;
}

.hero-panel-card {
  width: min(100%, 540px);
  border-radius: 32px;
  overflow: hidden;
  background: rgba(11, 9, 31, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.hero-panel-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem;
}

.panel-logo {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.5rem;
}

.panel-label {
  font-weight: 700;
  color: #fff;
}

.panel-note {
  font-size: 0.93rem;
  color: var(--muted);
}

.hero-media {
  width: 100%;
  display: block;
}

.section {
  position: relative;
  padding: clamp(4rem, 6vw, 5.5rem) 0;
}

.section-alt {
  background: rgba(16, 11, 43, 0.72);
}

.section-panel {
  background: rgba(17, 10, 40, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  border-radius: 32px;
  margin: 2rem 0;
}

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-head h2 {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.process-grid,
.features-grid,
.demo-grid,
.why-grid,
.feedback-grid,
.faq-grid,
.support-grid,
.credibility-grid {
  display: grid;
  gap: 1.5rem;
}

.process-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-card,
.feature-card,
.demo-card,
.demo-card-small,
.interest-card,
.graphic-card,
.faq-item,
.support-actions,
.privacy-links,
.feedback-copy {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  padding: 1.8rem;
}

.process-card {
  min-height: 220px;
}

.process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 14px;
  font-weight: 800;
  color: #fff;
  background: rgba(124, 58, 237, 0.16);
  margin-bottom: 1rem;
}

.process-card h3,
.feature-card h3,
.faq-item button {
  margin: 0 0 0.9rem;
  font-size: 1.15rem;
}

.process-card p,
.feature-card p,
.demo-copy p,
.why-copy p,
.support-section p,
.feedback-copy p,
.privacy-copy p {
  margin: 0;
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  min-height: 240px;
}

.feature-disclaimer {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.08);
}

.demo-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.demo-media-panel {
  display: grid;
  gap: 1rem;
}

.demo-card {
  position: relative;
  overflow: hidden;
}

.demo-card img {
  border-radius: 24px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.demo-card-small img {
  aspect-ratio: 5 / 4;
}

.demo-caption {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.demo-copy {
  display: grid;
  gap: 1rem;
}

.demo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.demo-list li::before {
  content: '•';
  margin-right: 0.75rem;
  color: var(--accent);
}

.why-section {
  padding-top: 0;
}

.why-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.why-visual .graphic-card {
  overflow: hidden;
}

.why-visual img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: left center;
  border-radius: 28px;
}

.mobile-section {
  padding-top: 0;
}

.mobile-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
}

.badges-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.store-badge {
  min-width: 160px;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.store-badge span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
}

.store-badge strong {
  display: block;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.interest-card {
  display: grid;
  gap: 1rem;
}

.interest-card h3 {
  margin: 0;
}

.interest-card input,
.feedback-form input,
.feedback-form select,
.feedback-form textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  padding: 1rem 1.1rem;
  font-size: 0.97rem;
}

/* Native <option> popups render on a light system background that CSS can't
   theme, so the white --text color inherited from <select> makes the closed
   box readable but leaves the open dropdown list invisible (white-on-white).
   Force dark text/light background on the options only; the closed select
   keeps its white text untouched. */
.feedback-form select option {
  color: #1a1233;
  background: #ffffff;
}

.feedback-form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.feedback-form textarea {
  resize: vertical;
  min-height: 140px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.form-status {
  color: var(--muted);
  font-size: 0.95rem;
}

.support-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.support-actions {
  display: grid;
  gap: 1rem;
  justify-content: start;
}

.support-note {
  margin-top: 1rem;
  color: var(--muted);
}

.support-actions button {
  width: min(280px, 100%);
}

.faq-section .faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  color: #fff;
  padding: 1.6rem 1.6rem 1rem;
  border-radius: 24px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-item button:focus-visible {
  outline: 2px solid rgba(124, 58, 237, 0.7);
}

.faq-panel {
  max-height: 0;
  opacity: 0;
  padding: 0 1.6rem;
  transition: all 0.28s ease;
}

.faq-item[aria-expanded='true'] .faq-panel {
  max-height: 240px;
  opacity: 1;
  padding-bottom: 1.5rem;
}

.faq-panel p {
  margin: 0;
  color: var(--muted);
}

.privacy-section {
  padding-top: 0;
}

.privacy-copy {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.privacy-links {
  display: grid;
  gap: 1rem;
}

.privacy-links a {
  color: var(--text);
  text-decoration: none;
  border-radius: 18px;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem 0;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-description,
.footer-note,
.footer-copy {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .demo-grid,
  .why-grid,
  .mobile-grid,
  .support-grid,
  .privacy-copy,
  .faq-grid,
  .support-actions,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .badges-row,
  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.nav-open {
    display: flex;
  }

  .site-nav a {
    font-size: 0.95rem;
  }

  .site-header {
    padding: 0.75rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 620px) {
  .hero-copy h1,
  .section-head h2 {
    font-size: clamp(2rem, 7vw, 2.8rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .process-grid,
  .features-grid,
  .demo-grid,
  .why-grid,
  .mobile-grid,
  .support-grid,
  .privacy-copy {
    gap: 1rem;
  }

  .button {
    width: 100%;
  }
}

.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;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
