:root {
  --bg: #1b0033;
  --accent: #ffbe0b;
  --accent2: #ff006e;
  --blue: #3a86ff;
  --text: #faf5ff;
  --muted: #9e96b0;
  --card: rgba(37, 9, 71, 0.92);
  --radius: 20px;
  --max: 1080px;
  --pad: clamp(20px, 4vw, 32px);
  font-family: "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 85% 10%, rgba(255, 0, 110, 0.18), transparent 42%),
    radial-gradient(circle at 10% 90%, rgba(255, 190, 11, 0.12), transparent 38%),
    linear-gradient(160deg, #120022 0%, var(--bg) 45%, #0d001a 100%);
  line-height: 1.6;
}

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

a {
  color: var(--accent);
}

.page {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: var(--pad) var(--pad) 64px;
}

.hero--inset-card {
  position: relative;
  min-height: 58vh;
  display: grid;
  place-items: center;
  margin-bottom: 56px;
}

.hero__texture {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, rgba(255, 0, 110, 0.15), rgba(58, 134, 255, 0.08)),
    url("assets/hero.jpg") center / cover no-repeat;
  filter: saturate(1.1);
  z-index: 0;
}

.hero__card {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  padding: clamp(28px, 5vw, 40px);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid rgba(255, 190, 11, 0.25);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.hero__eyebrow {
  margin: 0 0 8px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
}

.hero__card h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  line-height: 1.05;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  margin: 8px 0 16px;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero__tagline {
  margin: 0 0 24px;
  font-size: 1.05rem;
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.hero__links a {
  text-decoration: none;
  font-weight: 600;
  padding-bottom: 2px;
  border-bottom: 2px solid rgba(255, 190, 11, 0.45);
}

.section {
  margin-bottom: 64px;
}

.section__intro--left {
  text-align: left;
  margin-bottom: 28px;
}

.section__intro h2 {
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}

.section__intro p {
  margin: 0;
  color: var(--muted);
  max-width: 52ch;
}

.icon-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.icon-grid li {
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.icon-grid__glyph {
  display: inline-block;
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.icon-grid h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--accent);
}

.icon-grid p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

.before-after {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 28px;
}

.before-after__panel {
  margin: 0;
  padding: 16px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.before-after__panel figcaption {
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--accent);
}

.before-after__panel--before figcaption {
  color: var(--muted);
}

.before-after__panel img {
  border-radius: 12px;
  border: 1px solid rgba(255, 190, 11, 0.2);
}

.screens__extra {
  margin: 0;
  text-align: center;
}

.screens__extra img {
  margin: 0 auto 12px;
  width: min(360px, 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 0, 110, 0.25);
}

.screens__extra figcaption {
  color: var(--muted);
  font-size: 0.95rem;
}

.tab-switch__bar {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tab-switch__bar button {
  appearance: none;
  border: 1px solid rgba(255, 190, 11, 0.35);
  background: transparent;
  color: var(--text);
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}

.tab-switch__bar button[aria-selected="true"] {
  background: linear-gradient(90deg, rgba(255, 190, 11, 0.25), rgba(255, 0, 110, 0.2));
  border-color: var(--accent);
}

.tab-switch__panel {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.tab-switch__panel h3 {
  margin-top: 0;
  color: var(--accent);
}

.tab-switch__panel p {
  color: var(--muted);
}

.site-footer {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0 0 8px;
}

@media (max-width: 640px) {
  .hero--inset-card {
    min-height: auto;
  }

  .hero__texture {
    min-height: 280px;
  }
}
