:root {
  --purple: #4b00a8;
  --purple-dark: #22004f;
  --purple-neon: #7a22ff;
  --gold: #f4bb42;
  --ink: #111018;
  --muted: #787281;
  --paper: #fbf8ff;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.18);
  --shadow: 0 28px 90px rgba(31, 0, 72, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(122, 34, 255, 0.16), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, var(--paper) 45%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.has-custom-cursor,
body.has-custom-cursor a,
body.has-custom-cursor button,
body.has-custom-cursor input,
body.has-custom-cursor select {
  cursor: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--purple-neon), var(--purple));
  box-shadow: 0 0 18px rgba(122, 34, 255, 0.6);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  pointer-events: none;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(17, 10, 28, 0.74);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 50px rgba(31, 0, 72, 0.18);
  transform: translateY(2px);
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .nav,
.site-header.is-scrolled .nav a {
  color: var(--white);
}

.brand,
.nav,
.hero-actions,
.trust-row {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.7rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  transition: transform 0.24s ease;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand:hover {
  transform: translateY(-2px);
}

.brand:hover img {
  box-shadow: 0 12px 28px rgba(75, 0, 168, 0.22);
  transform: rotate(-4deg) scale(1.08);
}

.nav {
  gap: 1.2rem;
  color: #4d4757;
  font-size: 0.95rem;
}

.nav a {
  position: relative;
  padding: 0.35rem 0.05rem;
  transition: transform 0.22s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.15rem;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple), var(--purple-neon));
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease, opacity 0.22s ease;
  opacity: 0;
}

.nav a:hover,
.nav a.is-active {
  color: var(--purple);
  transform: translateY(-2px) scale(1.08);
}

.site-header.is-scrolled .nav a:hover,
.site-header.is-scrolled .nav a.is-active {
  color: var(--gold);
}

.nav a:hover::after,
.nav a.is-active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease;
}

.header-cta::before,
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0 30%, rgba(255, 255, 255, 0.34) 45%, transparent 60% 100%);
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.header-cta:hover,
.button:hover {
  transform: translateY(-3px) scale(1.04);
}

.header-cta:hover::before,
.button:hover::before {
  transform: translateX(120%);
}

.header-cta,
.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), var(--purple-neon));
  box-shadow: 0 16px 34px rgba(75, 0, 168, 0.28);
}

.button.ghost {
  color: var(--purple);
  background: rgba(75, 0, 168, 0.08);
}

.button.ghost:hover {
  background: rgba(75, 0, 168, 0.14);
  box-shadow: 0 16px 34px rgba(75, 0, 168, 0.14);
}

.section-pad {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 6.5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  align-items: center;
  gap: 4rem;
  min-height: calc(100vh - 88px);
  padding-top: 4.8rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 830px;
  margin-bottom: 1.4rem;
  font-size: clamp(3.6rem, 8vw, 7.8rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
}

.hero-word {
  display: inline-block;
  transform-origin: 50% 100%;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.hero-text,
.intro p,
.community-panel p,
.cta p {
  color: #514a5b;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions {
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.trust-row {
  gap: 0.6rem;
  flex-wrap: wrap;
}

.trust-row span,
.values span {
  border: 1px solid rgba(75, 0, 168, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  padding: 0.55rem 0.85rem;
  color: #463b55;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 620px;
}

.visual-card,
.metric-card,
.pillar,
.method-step,
.community-panel,
.contact-form {
  border: 1px solid rgba(75, 0, 168, 0.12);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.visual-card {
  overflow: hidden;
  position: absolute;
  color: var(--white);
  background: #1a1720;
  transition: transform 0.28s ease;
}

.visual-card:hover {
  box-shadow: 0 34px 100px rgba(55, 0, 126, 0.34);
}

.card-main {
  inset: 0 72px 92px 0;
  padding: 2rem;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.04)),
    repeating-linear-gradient(90deg, transparent 0 82px, rgba(255, 255, 255, 0.08) 82px 84px),
    linear-gradient(135deg, #2a2230 0%, #151018 56%, #3b126f 100%);
}

.card-main::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 68px 68px;
  transform: perspective(460px) rotateX(62deg);
  transform-origin: bottom;
}

.card-main::after {
  content: "";
  position: absolute;
  top: 0;
  right: 11%;
  width: 5px;
  height: 78%;
  background: linear-gradient(var(--purple-neon), var(--purple));
  box-shadow: -170px 34px 0 var(--purple), 0 0 28px rgba(122, 34, 255, 0.75);
}

.rack {
  position: absolute;
  right: 21%;
  bottom: 23%;
  width: 210px;
  height: 10px;
  border-radius: 99px;
  background: #0b0a0e;
  box-shadow: 0 32px 0 #0b0a0e;
}

.plate {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, #312b37 0 28%, #08070a 29% 100%);
}

.plate-one {
  right: 12%;
  bottom: 19%;
  width: 92px;
  height: 92px;
}

.plate-two {
  right: 30%;
  bottom: 12%;
  width: 58px;
  height: 58px;
}

.card-main p {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  max-width: 320px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.card-side {
  right: 0;
  bottom: 0;
  width: 48%;
  padding: 1.3rem;
  background: var(--purple);
}

.card-side::after,
.pillar::after,
.method-step::after,
.community-panel::after,
.contact-form::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(255, 255, 255, 0.2), transparent 34%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.card-side:hover::after,
.pillar:hover::after,
.method-step:hover::after,
.community-panel:hover::after,
.contact-form:hover::after {
  opacity: 1;
}

.card-side img {
  width: 98px;
  margin-bottom: 2rem;
  border-radius: 22px;
}

.card-side p {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.metric-card {
  position: absolute;
  right: 10%;
  top: 8%;
  max-width: 245px;
  padding: 1rem;
  color: var(--white);
  background: rgba(17, 16, 24, 0.72);
  backdrop-filter: blur(20px);
  transition: transform 0.28s ease;
}

.metric-card:hover {
  border-color: rgba(244, 187, 66, 0.4);
  box-shadow: 0 24px 70px rgba(244, 187, 66, 0.18);
}

.metric-card strong {
  display: block;
  color: var(--gold);
  font-size: 2.4rem;
  letter-spacing: -0.07em;
}

.metric-card span {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  border-top: 1px solid rgba(75, 0, 168, 0.12);
}

.pillars,
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 0;
}

.pillars {
  perspective: 1000px;
}

.pillar,
.method-step {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.78);
  transform-style: preserve-3d;
  transition: transform 0.28s ease;
}

.pillar:hover {
  border-color: rgba(75, 0, 168, 0.26);
  box-shadow: 0 34px 90px rgba(31, 0, 72, 0.18);
  transform: translateY(-10px);
}

.pillar:hover span {
  transform: translateX(8px);
}

.pillar span,
.method-step span {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--purple);
  font-weight: 950;
  transition: transform 0.26s ease;
}

.pillar p,
.method-step p {
  color: var(--muted);
  line-height: 1.65;
}

.method {
  color: var(--white);
  width: 100%;
  max-width: none;
  padding-inline: max(1rem, calc((100vw - 1180px) / 2));
  padding-block: 8rem;
  background:
    radial-gradient(circle at top right, rgba(244, 187, 66, 0.22), transparent 25rem),
    linear-gradient(135deg, var(--purple-dark), var(--purple));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 4rem;
}

.method .eyebrow {
  color: var(--gold);
}

.method-step {
  border-color: var(--line);
  min-height: 250px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.method-step:hover {
  border-color: rgba(244, 187, 66, 0.38);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  transform: translateY(-8px);
}

.method-step:hover span {
  color: var(--gold);
  transform: translateX(8px);
}

.method-step span,
.method-step p {
  color: rgba(255, 255, 255, 0.86);
}

.method-step h3 {
  color: rgba(255, 255, 255, 0.96);
}

.community {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: start;
}

.community-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: #fff;
  transition: transform 0.28s ease;
}

.community-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 90px rgba(31, 0, 72, 0.16);
}

.quote {
  margin-top: 2rem;
  padding: 1.2rem;
  border-left: 5px solid var(--gold);
  border-radius: 18px;
  color: var(--purple-dark);
  background: rgba(244, 187, 66, 0.14);
  font-size: 1.2rem;
  font-weight: 900;
  transition: transform 0.26s ease;
}

.community-panel:hover .quote {
  background: rgba(244, 187, 66, 0.22);
  transform: translateX(8px);
}

.values {
  position: relative;
  display: block;
  align-self: stretch;
  min-height: 0;
  height: min(100%, 520px);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(75, 0, 168, 0.94), rgba(34, 0, 79, 0.96)),
    radial-gradient(circle, rgba(255, 255, 255, 0.22), transparent 30rem);
  padding: clamp(1.6rem, 4vw, 3rem);
  overflow: hidden;
}

.values span {
  position: absolute;
  left: 100%;
  top: var(--tag-y, 50%);
  display: inline-flex;
  white-space: nowrap;
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.75rem 1.1rem;
  font-size: clamp(1.15rem, 2.1vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.05em;
  transform: translate3d(0, -50%, 0) rotate(var(--tag-rotate, 0deg));
  transition: transform 0.22s ease;
}

.values span:hover {
  border-color: rgba(244, 187, 66, 0.55);
  background: rgba(244, 187, 66, 0.18);
  transform: translate3d(0, -50%, 0) rotate(var(--tag-rotate, 0deg)) scale(1.08);
}

.cta {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-form {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  background: var(--white);
  transition: transform 0.28s ease;
}

.contact-form:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 90px rgba(31, 0, 72, 0.16);
}

label {
  display: grid;
  gap: 0.45rem;
  color: #393240;
  font-weight: 850;
}

input,
select {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(75, 0, 168, 0.15);
  border-radius: 18px;
  padding: 0 1rem;
  color: var(--ink);
  background: #fbf9ff;
  font: inherit;
  transition: transform 0.2s ease;
}

input:focus,
select:focus {
  outline: 3px solid rgba(122, 34, 255, 0.18);
  border-color: var(--purple);
  background: #fff;
  box-shadow: 0 14px 32px rgba(75, 0, 168, 0.1);
  transform: translateY(-2px);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1rem;
  color: #6f677b;
  border-top: 1px solid rgba(75, 0, 168, 0.1);
}

.footer img {
  width: 38px;
  height: 38px;
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--purple);
  font-weight: 900;
  transition: transform 0.22s ease;
}

.footer a:hover {
  transform: translateY(-2px);
}

.reveal {
  opacity: 1;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0) translate3d(-50%, -50%, 0);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--purple-neon);
  box-shadow: 0 0 18px rgba(122, 34, 255, 0.9);
  transition: opacity 0.18s ease, transform 0.12s ease;
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(75, 0, 168, 0.42);
  border-radius: 50%;
  background: rgba(122, 34, 255, 0.08);
  backdrop-filter: blur(2px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

body.has-custom-cursor .cursor-dot,
body.has-custom-cursor .cursor-ring {
  opacity: 1;
}

body.cursor-hover .cursor-dot {
  transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0) translate3d(-50%, -50%, 0) scale(0.75);
  background: var(--gold);
}

body.cursor-hover .cursor-ring {
  transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0) translate3d(-50%, -50%, 0) scale(1.63);
  border-color: rgba(244, 187, 66, 0.7);
  background: rgba(244, 187, 66, 0.12);
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button,
  body.has-custom-cursor input,
  body.has-custom-cursor select {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

@media (max-width: 900px) {
  .site-header {
    border-radius: 28px;
  }

  .nav {
    display: none;
  }

  .hero,
  .intro,
  .community,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 2rem;
    min-height: auto;
  }

  .hero-visual {
    min-height: 520px;
  }

  .method {
    padding-inline: 1.25rem;
  }

  .pillars,
  .method-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .method-step {
    padding: 1.6rem;
  }
}

@media (max-width: 560px) {
  .section-pad {
    padding: 4rem 0;
  }

  .brand span {
    display: none;
  }

  .header-cta {
    min-height: 40px;
    padding-inline: 0.85rem;
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(3.2rem, 17vw, 5rem);
  }

  .hero-visual {
    min-height: 610px;
  }

  .card-main {
    inset: 0 0 210px 0;
  }

  .card-main p {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 2.4rem;
    max-width: 260px;
    font-size: 3rem;
  }

  .card-side {
    width: calc(100% - 2rem);
    right: 1rem;
    bottom: 0;
    padding: 1.5rem;
  }

  .card-side img {
    width: 92px;
    margin-bottom: 1.5rem;
  }

  .card-side p {
    max-width: 280px;
    font-size: 1.7rem;
  }

  .metric-card {
    right: 1.25rem;
    left: auto;
    top: 1rem;
    max-width: min(280px, calc(100% - 2.5rem));
    padding: 1rem 1.2rem;
    border-radius: 28px;
  }

  .metric-card strong {
    font-size: 2rem;
  }

  .method {
    padding-inline: 1rem;
  }

  .method .section-heading {
    padding-inline: 0;
  }

  .method-grid {
    gap: 1.2rem;
  }

  .method-step {
    padding: 1.5rem;
    border-radius: 28px;
  }

  .footer {
    flex-wrap: wrap;
  }
}
