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

:root {
  --bg: #050711;
  --bg-alt: #07091a;
  --panel: #090c1f;
  --border: #1f2937;
  --accent: #26f5c0;
  --accent-soft: rgba(38, 245, 192, 0.12);
  --accent-strong: rgba(38, 245, 192, 0.25);
  --text: #e5f4ff;
  --muted: #8b9bb5;
  --danger: #fb7185;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 22px 45px rgba(0, 0, 0, 0.75);
}

html, body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #0b1022 0, #03040b 45%, #000 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  line-height: 1.6;
}

body {
  min-height: 100vh;
  position: relative;
}

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

.xh-bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    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: 40px 40px;
  opacity: 0.25;
  pointer-events: none;
  z-index: -1;
}

/* Layout */

.xh-shell {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.xh-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(20px);
  background: linear-gradient(to bottom, rgba(3, 4, 12, 0.95), rgba(3, 4, 12, 0.75));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.xh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.xh-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.xh-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 14px;
  background: radial-gradient(circle at 40% 0%, #a5b4fc, #22c55e 45%, #22d3ee 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #020617;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.7);
}

.xh-logo-text {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #e5e7eb;
}

.xh-logo-text span {
  color: var(--accent);
}

.xh-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.9rem;
}

.xh-nav a {
  color: #cbd5f5;
  opacity: 0.9;
}

.xh-nav a:hover {
  color: #f9fafb;
}

.xh-nav-cta {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.25), rgba(6, 182, 212, 0.05));
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.6);
}

/* Mobile nav */

.xh-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.xh-nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #e5e7eb;
  border-radius: 999px;
}

/* Hero */

.xh-hero {
  padding: 3.5rem 0 3rem;
}

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

.xh-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.xh-hero h1 {
  font-size: clamp(2.4rem, 3.3vw, 3.1rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.xh-accent {
  background: linear-gradient(120deg, #38bdf8, #22c55e, #e5e7eb);
  -webkit-background-clip: text;
  color: transparent;
}

.xh-hero-text {
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.xh-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0.75rem;
}

.xh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.08s ease-out, box-shadow 0.08s ease-out, background 0.12s ease-out, border-color 0.12s ease-out;
}

.xh-btn-primary {
  background: radial-gradient(circle at top left, #38bdf8, #22c55e);
  border-color: rgba(15, 23, 42, 0.95);
  color: #020617;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
  font-weight: 600;
}

.xh-btn-ghost {
  background: rgba(15, 23, 42, 0.5);
  border-color: rgba(148, 163, 184, 0.5);
  color: #e5e7eb;
}

.xh-btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.xh-btn-block {
  width: 100%;
}

.xh-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.9);
}

.xh-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.xh-hero-meta span {
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.9);
}

/* Hero panel */

.xh-hero-panel {
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.18), rgba(15, 23, 42, 0.98));
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.xh-panel-header {
  display: flex;
  align-items: center;
  padding: 0.7rem 0.9rem;
  gap: 0.5rem;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.75));
  border-bottom: 1px solid rgba(148, 163, 184, 0.5);
}

.xh-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.xh-dot.red { background: #fb7185; }
.xh-dot.amber { background: #fbbf24; }
.xh-dot.green { background: #4ade80; }

.xh-panel-title {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-left: auto;
}

.xh-code {
  margin: 0;
  padding: 1rem;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.8rem;
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 1));
  color: #e5f4ff;
  max-height: 260px;
  overflow: auto;
}

.xh-code-sm {
  font-size: 0.78rem;
}

/* Sections */

.xh-section {
  padding: 3rem 0;
}

.xh-section-alt {
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), rgba(3, 7, 18, 0.95));
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid rgba(15, 23, 42, 0.95);
}

.xh-section h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.xh-section-text {
  max-width: 32rem;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Grid helpers */

.xh-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.xh-two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 2rem;
  align-items: start;
}

/* Cards */

.xh-card {
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), rgba(3, 7, 18, 0.96));
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.3rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.85);
}

.xh-card-outline {
  background: rgba(15, 23, 42, 0.75);
  border-style: dashed;
}

.xh-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.xh-card p {
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.xh-pill-card {
  border-radius: 24px;
  padding: 1.25rem 1.4rem;
  background: radial-gradient(circle at top left, rgba(38, 245, 192, 0.14), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: var(--shadow-soft);
}

/* Lists */

.xh-list {
  list-style: none;
  padding-left: 0;
  margin: 0.5rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.xh-list li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.25rem;
}

.xh-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--accent);
}

/* Buttons & links */

.xh-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: var(--accent);
}

/* Page layout */

.xh-page {
  padding: 3rem 0 4rem;
}

.xh-page-header {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.xh-page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.7rem;
}

.xh-page-text {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Pricing */

.xh-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

.xh-pricing-card {
  position: relative;
}

.xh-pricing-featured {
  border-color: var(--accent-soft);
  background:
    radial-gradient(circle at top, rgba(38, 245, 192, 0.16), rgba(15, 23, 42, 0.98));
  transform: translateY(-6px);
}

.xh-price {
  font-size: 2.1rem;
  margin: 0.3rem 0 0.6rem;
}

.xh-price span:first-child {
  font-size: 1.1rem;
  opacity: 0.8;
  margin-right: 0.1rem;
}

.xh-price span:last-child {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-left: 0.15rem;
}

.xh-pill {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
}

/* FAQ */

.xh-faq details {
  background: rgba(15, 23, 42, 0.8);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148, 163, 184, 0.4);
  padding: 0.85rem 1rem;
  margin-bottom: 0.6rem;
}

.xh-faq summary {
  cursor: pointer;
  font-weight: 500;
}

.xh-faq p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Steps */

.xh-steps {
  list-style: none;
  padding-left: 0;
  margin: 0;
  counter-reset: steps;
}

.xh-steps li {
  margin-bottom: 1.1rem;
  padding: 0.75rem 0.4rem 0.75rem 0.9rem;
  border-left: 2px solid rgba(148, 163, 184, 0.4);
}

.xh-steps h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.xh-steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Footer */

.xh-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: radial-gradient(circle at top, #020617, #020617 32%, #000 100%);
  padding: 2.3rem 0 1.8rem;
}

.xh-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(0, 3fr);
  gap: 2.4rem;
}

.xh-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  font-size: 0.85rem;
}

.xh-footer-links h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ca3af;
}

.xh-footer-links a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.xh-footer-links a:hover {
  color: #e5e7eb;
}

.xh-footer-bottom {
  margin-top: 1.8rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(15, 23, 42, 0.95);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Utilities */

.xh-muted {
  color: var(--muted);
  font-size: 0.88rem;
}

.xh-center {
  text-align: center;
}

/* Responsive */

@media (max-width: 900px) {
  .xh-hero-grid,
  .xh-grid-3,
  .xh-two-column,
  .xh-footer-grid,
  .xh-footer-links,
  .xh-pricing-grid {
    grid-template-columns: 1fr;
  }

  .xh-hero {
    padding-top: 2.5rem;
  }

  .xh-hero-grid {
    gap: 2.2rem;
  }

  .xh-pricing-featured {
    transform: none;
  }

  .xh-header-inner {
    height: 64px;
  }

  .xh-nav-toggle {
    display: inline-flex;
  }

  .xh-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: rgba(3, 7, 18, 0.98);
    flex-direction: column;
    padding: 0.9rem 1.5rem 1.4rem;
    border-bottom: 1px solid rgba(30, 64, 175, 0.5);
    transform: translateY(-120%);
    transition: transform 0.2s ease-out;
  }

  .xh-nav a {
    padding: 0.35rem 0;
  }

  .xh-nav-open .xh-nav {
    transform: translateY(0%);
  }
}
