:root {
  color-scheme: dark;
  --ink: #f8f5ff;
  --muted: #c8bee5;
  --dim: #9588bb;
  --night: #070512;
  --night-soft: #0d0920;
  --panel: rgba(18, 12, 40, 0.76);
  --panel-strong: rgba(24, 15, 53, 0.94);
  --violet: #9b79ff;
  --violet-bright: #c8b5ff;
  --blue: #66d5ff;
  --gold: #f1cf82;
  --line: rgba(203, 181, 255, 0.2);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius: 28px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 12%, rgba(83, 48, 171, 0.2), transparent 34rem),
    radial-gradient(circle at 88% 34%, rgba(28, 144, 190, 0.12), transparent 30rem),
    linear-gradient(180deg, #080513 0%, #0b0718 48%, #06040e 100%);
  color: var(--ink);
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 5, 18, 0.28), rgba(7, 5, 18, 0.86)),
    url("/assets/cosmos-bg.webp") top center / min(100%, 1180px) auto no-repeat;
  content: "";
  opacity: 0.42;
  pointer-events: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #100824;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  padding: 14px 0;
  background: linear-gradient(180deg, rgba(7, 5, 18, 0.94), rgba(7, 5, 18, 0.62));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 7px 9px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(17, 11, 38, 0.72);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: max-content;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  letter-spacing: 0.02em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 0 24px rgba(155, 121, 255, 0.3);
}

.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-links a,
.language-switch button {
  min-height: 40px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  cursor: pointer;
  transition: 160ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.language-switch button:hover,
.language-switch button:focus-visible {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}

.language-switch {
  display: flex;
  padding-left: 6px;
  border-left: 1px solid var(--line);
}

.language-switch button {
  padding-inline: 10px;
  background: transparent;
}

.language-switch button[aria-pressed="true"] {
  color: var(--gold);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(330px, 0.8fr);
  gap: clamp(42px, 8vw, 100px);
  align-items: center;
  min-height: calc(100svh - 94px);
  padding: 76px 0 88px;
}

.eyebrow {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin: 0 0 19px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1,
.support-hero h1 {
  max-width: 800px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 7.4vw, 96px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
  text-wrap: balance;
}

.hero h1 span {
  background: linear-gradient(115deg, #fff 14%, #d7c9ff 55%, #78dcff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 31px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.hero-actions,
.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.primary-cta,
.secondary-cta {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 750;
  transition: 180ms ease;
}

.primary-cta {
  border-color: rgba(219, 203, 255, 0.4);
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.16), transparent 50%),
    linear-gradient(135deg, #5e3fc4, #7359df);
  box-shadow:
    0 14px 34px rgba(85, 57, 188, 0.34),
    inset 0 1px rgba(255, 255, 255, 0.22);
  color: #fff;
}

.primary-cta[aria-disabled="true"] {
  cursor: default;
}

.primary-cta:not([aria-disabled="true"]):hover,
.primary-cta:not([aria-disabled="true"]):focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.secondary-cta {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.secondary-cta:hover,
.secondary-cta:focus-visible {
  border-color: rgba(203, 181, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

.platform-note {
  margin: 16px 0 0;
  color: var(--dim);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  border: 1px solid rgba(181, 155, 255, 0.16);
  border-radius: 50%;
  content: "";
}

.hero-visual::before {
  width: min(520px, 110%);
  aspect-ratio: 1;
  box-shadow:
    0 0 90px rgba(100, 67, 214, 0.2),
    inset 0 0 90px rgba(74, 189, 241, 0.08);
}

.hero-visual::after {
  width: min(410px, 88%);
  aspect-ratio: 1;
  border-style: dashed;
  transform: rotate(22deg);
}

.phone-shot {
  position: relative;
  z-index: 2;
  width: min(360px, 80vw);
  overflow: hidden;
  border: 1px solid rgba(239, 224, 255, 0.33);
  border-radius: 42px;
  background: #08040e;
  box-shadow:
    0 45px 90px rgba(0, 0, 0, 0.56),
    0 0 70px rgba(107, 68, 220, 0.22);
  transform: rotate(3deg);
}

.phone-shot img {
  width: 100%;
  height: auto;
}

.crystal-orbit {
  position: absolute;
  z-index: 3;
  right: 1%;
  bottom: 12%;
  display: grid;
  place-items: center;
  width: 116px;
  aspect-ratio: 1;
  border: 1px solid rgba(241, 207, 130, 0.34);
  border-radius: 50%;
  background: rgba(8, 5, 20, 0.78);
  box-shadow: var(--shadow);
  animation: drift 6s ease-in-out infinite;
  backdrop-filter: blur(14px);
}

.crystal-orbit img { width: 82px; border-radius: 24px; }

@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-13px) rotate(3deg); }
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 112px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 9, 34, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.stat {
  padding: 27px 22px;
  text-align: center;
}

.stat + .stat { border-left: 1px solid var(--line); }

.stat strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(29px, 4vw, 43px);
  font-weight: 500;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 80px 0 100px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(280px, 0.55fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading h2,
.final-cta h2,
.contact-panel h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.3vw, 68px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}

.section-heading > p {
  margin-bottom: 3px;
  color: var(--muted);
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 285px;
  padding: 29px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 5%, rgba(117, 87, 223, 0.17), transparent 42%),
    var(--panel);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.18);
}

.feature-card::after {
  position: absolute;
  right: -30px;
  bottom: -50px;
  width: 150px;
  aspect-ratio: 1;
  border: 1px solid rgba(190, 165, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.feature-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 62px;
  border: 1px solid rgba(241, 207, 130, 0.34);
  border-radius: 13px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 500;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 25px;
  background: var(--panel);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.26);
  transition: transform 220ms ease, border-color 220ms ease;
}

.gallery figure:nth-child(even) { transform: translateY(34px); }

.gallery figure:hover {
  z-index: 2;
  border-color: rgba(210, 190, 255, 0.5);
  transform: translateY(-5px);
}

.gallery figure:nth-child(even):hover { transform: translateY(24px); }

.gallery img {
  width: 100%;
  height: auto;
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  margin: 112px 0;
  padding: clamp(34px, 6vw, 66px);
  overflow: hidden;
  border: 1px solid rgba(213, 195, 255, 0.25);
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 15%, rgba(102, 213, 255, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(51, 31, 108, 0.94), rgba(20, 12, 46, 0.94));
  box-shadow: var(--shadow);
}

.final-cta p {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.site-footer {
  padding: 34px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
  color: var(--dim);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff;
  outline: none;
}

/* Support */
.support-main {
  padding: 74px 0 110px;
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.45fr);
  gap: 60px;
  align-items: end;
  padding: 54px 0 76px;
}

.support-hero h1 {
  margin-bottom: 22px;
}

.support-hero p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.support-icon {
  justify-self: end;
  width: min(260px, 70%);
  filter: drop-shadow(0 30px 60px rgba(75, 43, 174, 0.42));
}

.support-grid {
  display: grid;
  grid-template-columns: 0.4fr 1fr;
  gap: 26px;
  align-items: start;
}

.support-nav,
.faq-list,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.support-nav {
  position: sticky;
  top: 102px;
  padding: 23px;
}

.support-nav strong {
  display: block;
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.support-nav a {
  display: block;
  padding: 12px 13px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
}

.support-nav a:hover,
.support-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  outline: none;
}

.faq-list {
  padding: 10px 26px;
}

.faq-list details + details {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 24px 2px;
  color: #f6f1ff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  content: "+";
  font-family: system-ui, sans-serif;
  font-size: 18px;
}

.faq-list details[open] summary::after { content: "−"; }

.faq-answer {
  max-width: 780px;
  padding: 0 44px 24px 2px;
  color: var(--muted);
  line-height: 1.75;
}

.faq-answer p:last-child { margin-bottom: 0; }

.contact-panel {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 0.45fr);
  gap: 45px;
  align-items: center;
  margin-top: 26px;
  padding: clamp(30px, 5vw, 52px);
  background:
    radial-gradient(circle at 93% 8%, rgba(102, 213, 255, 0.11), transparent 34%),
    var(--panel-strong);
}

.contact-panel h2 { font-size: clamp(36px, 4.8vw, 58px); }

.contact-panel p {
  margin: 17px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-box {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-box span {
  display: block;
  margin-bottom: 6px;
  color: var(--dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-box strong {
  display: block;
  color: var(--gold);
  font-size: 15px;
  line-height: 1.5;
}

.contact-box a {
  text-decoration: underline;
  text-decoration-color: rgba(241, 207, 130, 0.42);
  text-underline-offset: 4px;
}

.contact-box a:hover,
.contact-box a:focus-visible {
  color: #fff1bd;
  outline: none;
  text-decoration-color: currentColor;
}

.report-list {
  margin: 17px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 54px;
  }

  .hero-copy { text-align: center; }
  .hero-copy > p:not(.eyebrow) { margin-inline: auto; }
  .eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }
  .platform-note { text-align: center; }
  .hero-visual { min-height: 560px; }

  .section-heading,
  .support-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .support-icon {
    justify-self: start;
    width: 150px;
  }

  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-number { margin-bottom: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .final-cta { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: 1fr; }
  .support-nav { position: static; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 24px, 1180px); }
  .site-header { padding-top: 8px; }
  .nav { min-height: 52px; }
  .brand span { display: none; }
  .brand img { width: 36px; height: 36px; }
  .nav-links > a:not(.nav-support) { display: none; }
  .nav-links a,
  .language-switch button { padding-inline: 9px; }

  .hero {
    min-height: auto;
    padding-bottom: 64px;
  }

  .hero h1,
  .support-hero h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .hero-visual { min-height: 500px; }
  .phone-shot { width: min(305px, 78vw); border-radius: 34px; }
  .crystal-orbit { right: -2%; width: 92px; }
  .crystal-orbit img { width: 64px; }

  .stats {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 64px;
  }

  .stat + .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .section { padding: 58px 0 68px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2,
  .final-cta h2 { font-size: 42px; }
  .gallery { gap: 10px; }
  .gallery figure { border-radius: 17px; }
  .gallery figure:nth-child(even) { transform: translateY(18px); }
  .gallery figure:nth-child(even):hover { transform: translateY(12px); }
  .final-cta { margin: 76px 0; border-radius: 25px; }
  .footer-row { align-items: flex-start; flex-direction: column; }

  .support-main { padding-top: 35px; }
  .support-hero { padding-top: 35px; }
  .support-icon { display: none; }
  .faq-list { padding-inline: 18px; }
  .faq-list summary { font-size: 19px; }
  .contact-panel { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
