:root {
  --bg: #05030c;
  --bg-2: #0b1220;
  --surface: rgba(20, 20, 31, 0.72);
  --border: rgba(124, 58, 237, 0.22);
  --border-soft: rgba(255, 255, 255, 0.06);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #7c3aed;
  --accent-2: #06b6d4;
  --success: #22c55e;
  --warning: #f59e0b;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(124, 58, 237, 0.28), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(6, 182, 212, 0.12), transparent 55%),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid;
  place-items: center;
  font-size: 20px;
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.35);
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 13px;
  color: #cbd5e1;
}

.nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}

.nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #9333ea);
  color: #fff;
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.4);
}

.btn-primary:hover { box-shadow: 0 16px 40px rgba(124, 58, 237, 0.5); }

.btn-secondary {
  background: rgba(255,255,255,0.05);
  color: var(--text);
  border: 1px solid var(--border-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
}

.hero {
  text-align: center;
  padding: 24px 0 56px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero h1 span {
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 45%, #67e8f9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: clamp(16px, 2.5vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 18px;
}

.hero-note {
  color: #64748b;
  font-size: 13px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 40px 0 56px;
}

.stat {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px 16px;
  text-align: center;
  backdrop-filter: blur(12px);
}

.stat strong {
  display: block;
  font-size: 24px;
  margin-bottom: 4px;
}

.stat span { color: var(--muted); font-size: 13px; }

.section-title {
  text-align: center;
  margin-bottom: 28px;
}

.section-title h2 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-title p { color: var(--muted); max-width: 560px; margin: 0 auto; }

.pricing {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 24px 20px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.plan.featured {
  border-color: rgba(124, 58, 237, 0.45);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.15), var(--shadow);
}

.plan-badge {
  position: absolute;
  top: -10px;
  right: 16px;
  background: linear-gradient(135deg, var(--warning), #f97316);
  color: #111;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}

.plan h3 { font-size: 18px; margin-bottom: 6px; }

.plan .devices {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.price-row .amount {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.price-row .period { color: var(--muted); font-size: 14px; }

.plan .subprice {
  color: #64748b;
  font-size: 12px;
  margin-bottom: 18px;
  min-height: 18px;
}

.plan ul {
  list-style: none;
  margin: 0 0 22px;
  flex: 1;
}

.plan li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #cbd5e1;
}

.plan li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.plan .btn { width: 100%; }

.trial-card {
  background: linear-gradient(135deg, rgba(124,58,237,0.16), rgba(6,182,212,0.08));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 56px;
}

.trial-card h3 { font-size: 24px; margin-bottom: 8px; }

.trial-card p { color: var(--muted); margin-bottom: 16px; }

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.feature {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 18px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(124, 58, 237, 0.15);
  margin-bottom: 14px;
  font-size: 20px;
}

.feature h4 { margin-bottom: 8px; font-size: 16px; }

.feature p { color: var(--muted); font-size: 14px; }

.locations {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 56px;
}

.loc {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-soft);
  font-size: 14px;
}

.platforms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 56px;
}

.platform {
  text-align: center;
  padding: 18px 12px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  font-size: 14px;
}

.platform strong { display: block; margin-bottom: 4px; }

.platform span { color: var(--muted); font-size: 12px; }

.faq {
  max-width: 760px;
  margin: 0 auto 56px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 10px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

footer {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

footer a { color: #c4b5fd; text-decoration: none; }

footer a:hover { text-decoration: underline; }

@media (max-width: 960px) {
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: repeat(2, 1fr); }
  .trial-card { grid-template-columns: 1fr; }
  .nav .hide-mobile { display: none; }
}

@media (max-width: 560px) {
  .pricing { grid-template-columns: 1fr; }
  header { flex-wrap: wrap; gap: 12px; }
}
