
:root {
  --bg: #09060d;
  --surface: #140d19;
  --gold: #e7b766;
  --gold-light: #ffe2a1;
  --purple: #9e4bc4;
  --text: #f8f0e9;
  --muted: #b5a7b6;
  --line: rgba(231, 183, 102, 0.19);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

::selection {
  background: var(--gold);
  color: #130918;
}

.section-shell {
  width: min(1160px, calc(100% - 48px));
  margin: auto;
}

.section-pad {
  padding: 110px 0;
}

/* Background glow */

.ambient {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  filter: blur(100px);
  border-radius: 50%;
}

.ambient-one {
  top: 80px;
  right: -150px;
  width: 580px;
  height: 580px;
  background: rgba(95, 27, 119, 0.2);
}

.ambient-two {
  top: 680px;
  left: -250px;
  width: 500px;
  height: 500px;
  background: rgba(201, 119, 38, 0.065);
}

/* Header */

.header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1160px) / 2));
  position: relative;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(9, 6, 13, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  object-fit: contain;
  width: 59px;
  height: 59px;
}

.brand strong,
.footer-brand strong {
  font-family: 'Playfair Display', serif;
  color: var(--gold-light);
  font-size: 25px;
  letter-spacing: 0.3px;
}

.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2.1px;
  color: var(--muted);
  margin-top: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav > a {
  font-size: 13px;
  color: #d9cbd8;
  transition: color 0.25s;
}

.nav > a:hover {
  color: var(--gold);
}

.nav .nav-download {
  border: 1px solid var(--line);
  padding: 12px 18px;
  border-radius: 5px;
  color: var(--gold-light);
}

.nav-download span {
  margin-left: 12px;
}

.menu-toggle {
  display: none;
}

/* Hero section */

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  position: relative;
  padding-top: 45px;
  padding-bottom: 95px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 2.8px;
  color: var(--gold);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.eyebrow-line {
  width: 28px;
  height: 1px;
  background: var(--gold);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  letter-spacing: -1.7px;
}

h1 {
  font-size: clamp(60px, 6.7vw, 100px);
  line-height: 1.09;
  margin: 25px 0;
}

h1 em,
h2 em {
  font-weight: 500;
  font-style: italic;
  color: var(--gold);
}

.hero-description {
  font-size: 16px;
  line-height: 1.95;
  max-width: 515px;
  color: var(--muted);
}

.hero-description strong {
  color: var(--text);
  font-weight: 500;
}

/* Buttons */

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 36px;
}

.button {
  min-height: 61px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 0.3s,
    box-shadow 0.3s,
    border-color 0.3s;
}

.button:hover {
  transform: translateY(-4px);
}

.button-primary {
  background: linear-gradient(125deg, #fce2a2, #d69a49);
  color: #23111d;
  box-shadow: 0 12px 35px rgba(218, 154, 73, 0.13);
}

.button-primary:hover {
  box-shadow: 0 18px 44px rgba(218, 154, 73, 0.27);
}

.button svg {
  width: 25px;
  height: 25px;
}

.button small {
  display: block;
  font-size: 9px;
  letter-spacing: 1px;
  font-weight: 600;
}

.button strong {
  display: block;
  font-size: 17px;
  line-height: 1.25;
}

.button-arrow {
  font-size: 20px;
  margin-left: 10px;
}

.button-outline {
  border: 1px solid var(--line);
  color: var(--gold-light);
}

.button-outline:hover {
  border-color: var(--gold);
}

.hero-note {
  font-size: 12px;
  color: #9c8b9d;
  margin-top: 28px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.note-dot {
  height: 6px;
  width: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 15px var(--gold);
}

/* Animated logo showcase */

.hero-art {
  height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-logo {
  position: relative;
  width: min(96%, 465px);
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.5));
  animation: float 7s ease-in-out infinite;
}

.logo-halo {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(117, 39, 143, 0.23),
    rgba(219, 152, 66, 0.05) 50%,
    transparent 70%
  );
  filter: blur(12px);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(227, 172, 100, 0.12);
  border-radius: 50%;
  animation: spin 35s linear infinite;
}

.orbit-outer {
  width: 500px;
  height: 500px;
  border-style: dashed;
}

.orbit-inner {
  width: 405px;
  height: 405px;
  border-color: rgba(153, 72, 177, 0.19);
  animation-direction: reverse;
}

.spark {
  position: absolute;
  color: var(--gold);
  font-size: 29px;
  animation: twinkle 4s ease-in-out infinite;
}

.spark-one {
  top: 55px;
  right: 65px;
}

.spark-two {
  bottom: 110px;
  left: 20px;
  animation-delay: 1.7s;
}

.floating-tag {
  position: absolute;
  z-index: 4;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--gold-light);
  background: rgba(28, 16, 32, 0.8);
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 12px 19px;
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.tag-one {
  right: 0;
  top: 120px;
}

.tag-two {
  left: 10px;
  bottom: 100px;
  animation-delay: -3s;
}

.scroll-cue {
  position: absolute;
  bottom: 45px;
  left: 0;
  color: #9f879f;
  font-size: 10px;
  letter-spacing: 2.5px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.scroll-line {
  height: 1px;
  width: 45px;
  background: var(--gold);
}

/* Moving marquee */

.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #100a13;
  overflow: hidden;
  padding: 20px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-track span {
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 5px;
  color: #c6b5c7;
  margin-right: 30px;
}

.marquee-track b {
  color: var(--gold);
  padding: 0 24px;
}

/* Section headings */

.section-intro {
  margin-bottom: 55px;
}

.section-intro h2 {
  font-size: clamp(39px, 4.7vw, 67px);
  line-height: 1.2;
  margin: 20px 0;
}

.section-intro p {
  color: var(--muted);
  line-height: 1.8;
}

.centered {
  text-align: center;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.about-visual {
  min-height: 440px;
}

.visual-frame {
  height: 440px;
  border: 1px solid var(--line);
  background: radial-gradient(
    circle at center,
    #2c1731 0%,
    #110a17 57%,
    #0d0911 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.visual-frame img {
  width: 73%;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 25px rgba(0, 0, 0, 0.4));
}

.corner {
  position: absolute;
  width: 35px;
  height: 35px;
  border-color: var(--gold);
  z-index: 2;
}

.corner-tl {
  left: 22px;
  top: 22px;
  border-top: 1px solid;
  border-left: 1px solid;
}

.corner-br {
  right: 22px;
  bottom: 22px;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.visual-caption {
  position: absolute;
  bottom: 22px;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
}

.about-content {
  font-size: 15px;
  color: var(--muted);
  line-height: 2;
}

.about-content .lead {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--text);
  line-height: 1.5;
}

.text-link {
  display: inline-flex;
  gap: 24px;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 8px;
  margin-top: 15px;
  font-size: 14px;
}

/* Features */

.experience {
  background: linear-gradient(
    180deg,
    #110b16,
    #160d1b 50%,
    #0d0811
  );
  border-block: 1px solid rgba(231, 183, 102, 0.07);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  position: relative;
  min-height: 310px;
  border: 1px solid var(--line);
  padding: 34px;
  background: linear-gradient(
    145deg,
    rgba(89, 43, 97, 0.15),
    rgba(13, 8, 17, 0.8)
  );
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(231, 183, 102, 0.6);
}

.feature-index {
  color: #a8876c;
  font-size: 11px;
  letter-spacing: 2px;
}

.feature-icon {
  font-family: serif;
  font-size: 50px;
  color: var(--gold);
  margin: 20px 0 18px;
}

.feature-card h3,
.step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 13px;
}

.feature-card p,
.step p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

.feature-decoration {
  position: absolute;
  right: 20px;
  bottom: -38px;
  font-size: 160px;
  color: rgba(231, 183, 102, 0.04);
}

/* How it works */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
}

.step-number {
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  font-size: 55px;
}

.step-rule {
  height: 1px;
  background: linear-gradient(
    90deg,
    var(--gold),
    rgba(231, 183, 102, 0.08)
  );
  margin: 16px 0 27px;
}

.disclaimer {
  font-size: 12px;
  line-height: 1.8;
  color: #8d7d8f;
  max-width: 850px;
  margin: 45px 0 0;
}

/* Download banner */

.download-panel {
  min-height: 390px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 55px 75px;
  border: 1px solid rgba(231, 183, 102, 0.3);
  background: linear-gradient(
    110deg,
    #28122e,
    #170e1d 62%,
    #2b1531
  );
  overflow: hidden;
}

.download-glow {
  position: absolute;
  right: 0;
  top: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(202, 131, 60, 0.13),
    transparent 70%
  );
}

.download-copy {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.download-copy h2 {
  font-size: clamp(43px, 5vw, 68px);
  margin: 18px 0;
}

.download-copy p {
  color: #cbb8cc;
  line-height: 1.8;
  margin-bottom: 26px;
}

.download-panel > img {
  width: 270px;
  max-width: 35%;
  object-fit: contain;
  position: relative;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.35));
}

/* Support links */

.support-list {
  border-top: 1px solid var(--line);
}

.support-item {
  display: grid;
  grid-template-columns: 90px 1fr 50px;
  align-items: center;
  gap: 18px;
  padding: 32px 16px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s, padding 0.3s;
}

.support-item:hover {
  background: rgba(231, 183, 102, 0.045);
  padding-left: 26px;
}

.support-count {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 2px;
}

.support-title {
  font-family: 'Playfair Display', serif;
  font-size: 27px;
}

.support-title small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.6;
}

.support-arrow {
  color: var(--gold);
  font-size: 27px;
  text-align: right;
}

/* Footer */

.footer {
  background: #100a14;
  border-top: 1px solid var(--line);
  padding: 45px 0 25px;
}

.footer-main,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 75px;
  height: 75px;
  object-fit: contain;
}

.footer-brand span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 5px;
}

.footer-main > p {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 20px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 25px;
  font-size: 12px;
  color: #9e8c9d;
}

.footer-bottom > div {
  display: flex;
  gap: 25px;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* Back to top */

.back-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #25142c;
  color: var(--gold);
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.3s;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframe animations */

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes twinkle {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Tablet */

@media (max-width: 980px) {
  .nav {
    gap: 17px;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .hero-art {
    height: 460px;
  }

  .orbit-outer {
    width: 390px;
    height: 390px;
  }

  .orbit-inner {
    width: 315px;
    height: 315px;
  }

  .about-grid {
    gap: 45px;
  }

  .download-panel {
    padding: 45px;
  }
}

/* Mobile */

@media (max-width: 760px) {
  .section-shell {
    width: min(100% - 36px, 560px);
  }

  .section-pad {
    padding: 75px 0;
  }

  .header {
    height: 76px;
    padding: 0 18px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand strong {
    font-size: 22px;
  }

  .brand small {
    font-size: 8px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 1px solid var(--line);
    padding: 12px;
    cursor: pointer;
    border-radius: 5px;
  }

  .menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--gold);
  }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #130b18;
    border-bottom: 1px solid var(--line);
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 14px 10px;
  }

  .nav .nav-download {
    text-align: center;
    margin-top: 10px;
  }

  .hero {
    min-height: unset;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 65px;
    padding-bottom: 75px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow {
    justify-content: center;
    font-size: 9px;
    letter-spacing: 2px;
  }

  h1 {
    font-size: clamp(51px, 11vw, 75px);
    margin: 22px 0;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-note {
    justify-content: center;
  }

  .hero-art {
    height: 380px;
    margin-top: 25px;
  }

  .hero-logo {
    width: 330px;
    max-width: 92%;
  }

  .orbit-outer {
    width: 350px;
    height: 350px;
  }

  .orbit-inner {
    width: 285px;
    height: 285px;
  }

  .floating-tag {
    font-size: 10px;
    padding: 9px 12px;
  }

  .tag-one {
    right: 0;
    top: 65px;
  }

  .tag-two {
    left: 0;
    bottom: 60px;
  }

  .scroll-cue {
    display: none;
  }

  .about-grid,
  .feature-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 35px;
  }

  .about-visual,
  .visual-frame {
    min-height: 320px;
    height: 350px;
  }

  .feature-card {
    min-height: 260px;
  }

  .steps-grid {
    gap: 22px;
  }

  .step-rule {
    margin: 10px 0 20px;
  }

  .section-intro {
    margin-bottom: 35px;
  }

  .download-panel {
    padding: 40px 26px;
    display: block;
    text-align: center;
  }

  .download-panel > img {
    display: none;
  }

  .download-copy .button {
    margin: auto;
  }

  .support-item {
    grid-template-columns: 35px 1fr 24px;
    gap: 10px;
    padding: 24px 5px;
  }

  .support-title {
    font-size: 21px;
  }

  .support-title small {
    font-size: 12px;
  }

  .footer-main,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom > div {
    flex-wrap: wrap;
  }
}

/* Small mobile devices */

@media (max-width: 390px) {
  .button {
    padding: 12px 16px;
  }

  .hero-art {
    height: 330px;
  }

  .orbit-outer {
    width: 300px;
    height: 300px;
  }

  .orbit-inner {
    width: 245px;
    height: 245px;
  }

  .floating-tag {
    display: none;
  }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
