:root {
  color-scheme: light dark;
  --font-display: "Space Grotesk", "DM Sans", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", "Space Grotesk", system-ui, -apple-system, sans-serif;
  --bg: #f4f9ff;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --text: #0b1b31;
  --muted: #4c5f7a;
  --primary: #2a7bff;
  --primary-dark: #1455d3;
  --accent: #41c7ff;
  --stroke: rgba(14, 41, 78, 0.12);
  --shadow: 0 24px 60px rgba(10, 25, 55, 0.15);
  --glow: 0 0 40px rgba(42, 123, 255, 0.2);
}

[data-theme="dark"] {
  --bg: #071224;
  --surface: rgba(12, 26, 48, 0.82);
  --surface-strong: #0c1a30;
  --text: #e5efff;
  --muted: #9fb4d6;
  --primary: #5bb4ff;
  --primary-dark: #2a7bff;
  --accent: #6fe0ff;
  --stroke: rgba(124, 160, 210, 0.2);
  --shadow: 0 22px 45px rgba(2, 9, 20, 0.6);
  --glow: 0 0 45px rgba(91, 180, 255, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
  opacity: 0.7;
}

.orb-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, #9ed7ff, transparent 70%);
  top: -120px;
  left: -80px;
}

.orb-2 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle at 50% 50%, rgba(42, 123, 255, 0.4), transparent 70%);
  top: 25%;
  right: -180px;
}

.orb-3 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle at 50% 50%, rgba(65, 199, 255, 0.35), transparent 70%);
  bottom: -160px;
  left: 30%;
}

.grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
  background: rgba(248, 252, 255, 0.7);
  border-bottom: 1px solid var(--stroke);
}

[data-theme="dark"] .site-header {
  background: rgba(6, 15, 30, 0.7);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--glow);
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 20px;
  font-weight: 500;
  color: var(--muted);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: var(--surface);
  padding: 6px 12px;
  font-family: var(--font-body);
  color: var(--muted);
  cursor: pointer;
}

.toggle-indicator {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: var(--glow);
}

.toggle-label {
  font-size: 14px;
  font-weight: 600;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta.primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: var(--glow);
}

.cta.ghost {
  border: 1px solid var(--stroke);
  color: var(--text);
  background: var(--surface);
}

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

.hero {
  padding: 96px 0 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 2.8vw + 1.6rem, 3.6rem);
  line-height: 1.1;
  margin-bottom: 18px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 12px;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  color: var(--muted);
  font-weight: 600;
  background: var(--surface);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.hero-metrics h3 {
  font-size: 1.4rem;
  margin: 0 0 4px;
  font-family: var(--font-display);
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.device-stack {
  position: relative;
  display: grid;
  gap: 22px;
}

.device-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.device-card.alt {
  transform: translateX(30px);
}

.device-card.placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  border-style: dashed;
  gap: 14px;
}

.device-card.placeholder img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: var(--glow);
}

.device-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-weight: 600;
}

.status {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(42, 123, 255, 0.15);
  color: var(--primary);
}

.status.paid {
  background: rgba(75, 212, 158, 0.2);
  color: #1f8c67;
}

.status.sent {
  background: rgba(255, 182, 72, 0.2);
  color: #c76d1d;
}

.line-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.summary {
  border-top: 1px solid var(--stroke);
  padding-top: 12px;
  display: grid;
  gap: 8px;
}

.summary .total {
  font-weight: 700;
  font-size: 1.1rem;
}

.pill {
  background: rgba(42, 123, 255, 0.12);
  color: var(--primary);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
  display: inline-block;
}

.section {
  padding: 80px 0;
}

.section-title {
  max-width: 680px;
  margin-bottom: 42px;
}

.section-title h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 2vw + 1.2rem, 2.8rem);
  margin-bottom: 16px;
}

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

.feature-grid article {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.feature-grid h3 {
  font-family: var(--font-display);
  margin-bottom: 8px;
}

.highlight {
  background: linear-gradient(120deg, rgba(42, 123, 255, 0.08), rgba(65, 199, 255, 0.12));
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.checklist li {
  padding-left: 28px;
  position: relative;
}

.checklist li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  position: absolute;
  left: 0;
  top: 6px;
}

.workflow-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.status-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 24px;
}

.status-chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(42, 123, 255, 0.1);
  color: var(--text);
  font-weight: 500;
}

.workflow-list {
  display: grid;
  gap: 14px;
}

.workflow-list div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .workflow-list div {
  background: rgba(15, 30, 54, 0.6);
}

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

.price-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 18px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.price-card li {
  padding-left: 24px;
  position: relative;
}

.price-card li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
  position: absolute;
  left: 0;
  top: 7px;
}

.price-card.pro {
  border: 1px solid rgba(42, 123, 255, 0.4);
  transform: translateY(-10px);
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(42, 123, 255, 0.2);
  color: var(--primary);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.soft {
  background: linear-gradient(120deg, rgba(65, 199, 255, 0.08), rgba(42, 123, 255, 0.05));
}

.callout-card {
  background: var(--surface-strong);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
}

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

.faq-grid details {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: 20px;
  padding: 18px 20px;
}

.faq-grid summary {
  font-weight: 600;
  cursor: pointer;
}

.cta-banner {
  padding: 70px 0;
}

.cta-banner .container {
  background: linear-gradient(120deg, rgba(42, 123, 255, 0.9), rgba(65, 199, 255, 0.9));
  border-radius: 30px;
  padding: 42px;
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow);
}

.site-footer {
  padding: 60px 0 80px;
  border-top: 1px solid var(--stroke);
}

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

.site-footer h4 {
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.site-footer a {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.store-link {
  font-weight: 600;
  color: var(--text);
}

.site-footer p {
  color: var(--muted);
}

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

  .device-card.alt {
    transform: none;
  }

  .price-card.pro {
    transform: none;
  }
}

@media (max-width: 700px) {
  .site-header .container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .hero {
    padding-top: 70px;
  }

  .cta-banner .container {
    padding: 32px;
  }
}
