:root {
  --bg: #07111f;
  --bg2: #0d1c30;
  --bg3: #112740;
  --panel: rgba(255,255,255,0.06);
  --panel-strong: rgba(255,255,255,0.1);
  --text: #ecf4ff;
  --muted: #9db1ca;
  --line: rgba(255,255,255,0.12);
  --accent: #79c7ff;
  --accent2: #7ef0c8;
  --gold: #f4d58d;
  --danger: #ff8e8e;
}
* { box-sizing: border-box; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floatMark {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(121,199,255,0), 0 18px 60px rgba(0,0,0,.22); }
  50% { box-shadow: 0 0 28px rgba(121,199,255,.12), 0 18px 60px rgba(0,0,0,.22); }
}
@keyframes shineSweep {
  0% { transform: translateX(-140%); opacity: 0; }
  20% { opacity: .18; }
  100% { transform: translateX(180%); opacity: 0; }
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
@keyframes heroAura {
  0%, 100% { transform: scale(1); opacity: .34; }
  50% { transform: scale(1.06); opacity: .48; }
}
@keyframes textGlowSweep {
  0%, 100% {
    background-position: 0% 50%;
    text-shadow: 0 0 0 rgba(121,199,255,0);
  }
  50% {
    background-position: 100% 50%;
    text-shadow: 0 0 22px rgba(121,199,255,.18);
  }
}
@keyframes orbitFloatA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8px, -12px) scale(1.06); }
}
@keyframes orbitFloatB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10px, 10px) scale(1.04); }
}
@keyframes orbitFloatC {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(6px, 14px) scale(1.05); }
}
@keyframes orbitSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
html, body {
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  background:
    linear-gradient(180deg, rgba(5,11,21,0.2), rgba(5,11,21,0.95)),
    radial-gradient(circle at top, rgba(121,199,255,.18), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(126,240,200,.08), transparent 22%),
    linear-gradient(180deg, #132b47 0%, var(--bg) 40%, #040913 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1200px, calc(100% - 32px)); margin: 0 auto; }
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-shell {
  padding-top: 8px;
}
.nav-floating {
  background: transparent;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.nav-capsule {
  min-height: 64px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  background: rgba(9,9,11,.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0,0,0,.24);
}
.nav-cta {
  display: flex;
  align-items: center;
}
.nav-btn {
  padding: 10px 16px;
  border-radius: 999px;
}
.brand-wrap { display:flex; align-items:center; gap:14px; }
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0,0,0,.32);
  animation: floatMark 4.2s ease-in-out infinite;
  object-fit: cover;
  background: rgba(255,255,255,.04);
}
.brand { font-weight: 800; letter-spacing: .04em; font-size: 1.02rem; }
.brand small { display:block; color: var(--muted); font-size: .72rem; letter-spacing: .02em; margin-top: 4px; }
.links { display:flex; gap:18px; flex-wrap: wrap; }
.links a { color: var(--muted); position: relative; padding: 6px 0; transition: color .2s ease; }
.links a.active, .links a:hover { color: var(--text); }
.links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -6px;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: right .24s ease;
}
.links a:hover::after,
.links a.active::after {
  right: 0;
}
.links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 48px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('./island-lines.svg') center top/cover no-repeat;
  opacity: .45;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  width: 42rem;
  height: 42rem;
  right: -10rem;
  top: -12rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(121,199,255,.18) 0%, rgba(126,240,200,.08) 36%, transparent 68%);
  filter: blur(10px);
  animation: heroAura 7s ease-in-out infinite;
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; animation: fadeUp .75s ease both; }
.kicker {
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:10px 14px;
  background: rgba(121,199,255,0.1);
  border:1px solid rgba(121,199,255,0.22);
  border-radius:999px;
  color:#d2eaff;
  font-size:.9rem;
}
.hero-grid {
  display:grid;
  grid-template-columns: 1.25fr .95fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 24px;
}
.page-hero {
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: center;
  padding: 34px 0 12px;
  animation: fadeUp .75s ease both;
}
.page-hero-art {
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}
.h1 {
  font-size: clamp(2.6rem, 5vw, 5.35rem);
  line-height: .94;
  margin: 0 0 18px;
  font-weight: 850;
  letter-spacing: -.04em;
  text-wrap: balance;
  max-width: 860px;
}
.lead { color: var(--muted); font-size: 1.06rem; line-height: 1.82; text-wrap: pretty; max-width: 760px; }
.cta-row { display:flex; gap:14px; flex-wrap:wrap; margin-top: 28px; }
.btn {
  position: relative;
  overflow: hidden;
  padding: 14px 18px;
  border-radius: 14px;
  border:1px solid var(--line);
  background: var(--panel);
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--panel-strong); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#08111f;
  font-weight:700;
  border:none;
}
.btn.primary::before {
  content: "";
  position: absolute;
  inset: -20% auto -20% -30%;
  width: 42%;
  transform: skewX(-24deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: shineSweep 3.4s ease-in-out infinite;
}
.panel, .card, .stat {
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.045));
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.panel {
  border-radius: 28px;
  padding: 26px;
  animation: pulseGlow 5.2s ease-in-out infinite;
}
.stat {
  padding: 22px;
  border-radius: 22px;
}
.stats { display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 18px 0 56px; }
.stats .stat:nth-child(1) { transition-delay: .03s; }
.stats .stat:nth-child(2) { transition-delay: .07s; }
.stats .stat:nth-child(3) { transition-delay: .11s; }
.stats .stat:nth-child(4) { transition-delay: .15s; }
.stat .value { font-size: 1.85rem; font-weight: 800; margin-bottom: 8px; letter-spacing: -.03em; }
.stat .value.counting { color: #f5fbff; }
.stat .label { color: var(--muted); font-size: .92rem; line-height: 1.55; }
.section { padding: 34px 0 18px; }
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-soft {
  opacity: 0;
  transform: translateY(16px) scale(.985);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal-soft.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.section h2 { font-size: clamp(1.9rem, 3vw, 3rem); margin: 0 0 12px; }
.section p.section-lead { color: var(--muted); margin: 0 0 22px; line-height: 1.75; max-width: 860px; }
.grid-2, .grid-3, .grid-4 { display:grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  border-radius: 24px;
  padding: 26px;
}
.card:hover, .stat:hover, .tier:hover, .page-hero-art:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0,0,0,.28), 0 0 24px rgba(121,199,255,.08);
  border-color: rgba(121,199,255,.22);
}
.card h3 { margin: 0 0 12px; font-size: 1.15rem; letter-spacing: -.02em; }
.card p, .card li { color: var(--muted); line-height: 1.74; }
.card ul { margin: 0; padding-left: 18px; }
.band {
  margin: 38px 0;
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(121,199,255,.14), rgba(126,240,200,.1));
  border:1px solid rgba(121,199,255,.16);
  animation: pulseGlow 6.2s ease-in-out infinite;
}
.quote { font-size: 1.2rem; line-height: 1.8; color: #dbeeff; }
.badge {
  display:inline-block;
  margin: 0 8px 8px 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border:1px solid var(--line);
  color: #d9ecff;
  font-size: .9rem;
  animation: badgePulse 3.8s ease-in-out infinite;
}
.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
}
.table th, .table td {
  padding: 14px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.table th { color: #fff; font-size: .95rem; }
.table td { color: var(--muted); }
.hero-card-list { display:grid; gap: 14px; margin-top: 18px; }
.mini {
  display:flex;
  align-items:flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}
.mini b { display:block; margin-bottom: 4px; }
.mini span { color: var(--muted); line-height: 1.6; font-size: .95rem; }
.tier {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.tier h4 { margin: 0 0 8px; font-size: 1rem; }
.tier p { margin: 0; color: var(--muted); line-height: 1.6; }
.footer { padding: 58px 0 78px; color: var(--muted); }
.footer-grid { display:grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.note { font-size: .92rem; color: var(--muted); }
.footer-ethena {
  padding: 42px 0 72px;
}
.footer-ethena-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 22px;
  align-items: start;
}
.footer-brandline {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 12px 18px;
}
.footer-links a {
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--text);
}
.footer-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.hero-ethena {
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  padding: 8px 0 28px;
}
.hero-immersive {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}
.hero-bg-media {
  position: absolute;
  inset: 0;
  opacity: .36;
}
.hero-orbit-stage {
  position: absolute;
  right: 5%;
  top: 50%;
  width: min(42vw, 540px);
  aspect-ratio: 1 / 1;
  transform: translateY(-48%);
  z-index: 1;
  pointer-events: none;
}
.hero-orbit-graphic {
  width: 100%;
  height: 100%;
  animation: orbitSpin 38s linear infinite;
  filter: drop-shadow(0 24px 80px rgba(0,0,0,.32));
}
.orbit-node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: radial-gradient(circle, #f5fbff 0%, #79c7ff 60%, rgba(121,199,255,0) 100%);
  box-shadow: 0 0 24px rgba(121,199,255,.45);
}
.orbit-a { left: 21%; top: 20%; animation: orbitFloatA 4.8s ease-in-out infinite; }
.orbit-b { right: 18%; top: 31%; animation: orbitFloatB 5.4s ease-in-out infinite; }
.orbit-c { left: 42%; bottom: 16%; animation: orbitFloatC 5.1s ease-in-out infinite; }
.hero-bg-native {
  opacity: .18;
  mix-blend-mode: screen;
}
.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-bg-native-image {
  object-fit: contain;
  object-position: center;
  transform: scale(1.08);
  filter: drop-shadow(0 24px 80px rgba(0,0,0,.35));
}
.hero-grid-ethena {
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  min-height: 72vh;
}
.hero-grid-overlay {
  position: relative;
  z-index: 2;
}
.hero-copy-card {
  max-width: 760px;
  padding: 10px 0 18px;
}
.hero-side-metrics {
  align-self: end;
}
.hero-copy-card .h1 {
  max-width: 10ch;
}
.hero-copy-card .lead {
  max-width: 56ch;
}
.hero-final .hero-bg-native {
  opacity: .15;
}
.hero-grid-final {
  min-height: 82vh;
}
.hero-copy-final {
  padding-bottom: 36px;
}
.hero-panel-final {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(7,17,31,.78), rgba(7,17,31,.54));
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 80px rgba(0,0,0,.3);
}
.hero-orbit-panel {
  align-self: start;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 20px;
}
.orbit-title-wrap {
  text-align: center;
  max-width: 340px;
}
.hero-panel-head h3 {
  margin: 0 0 16px;
  font-size: 1.25rem;
}
.animated-headline {
  display: inline-block;
  background: linear-gradient(90deg, #f5fbff 0%, #9ddcff 35%, #ffffff 55%, #7ef0c8 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: textGlowSweep 4.8s ease-in-out infinite;
}
.stats-final {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}
.grid-core-home {
  gap: 20px;
}
.card-core-home {
  min-height: 198px;
}
.home-signature-shell {
  padding-bottom: 20px;
}
.home-signature-band {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 24px;
  align-items: center;
}
.feature-list-compact .mini {
  min-height: 82px;
}
.page-shell {
  padding-top: 10px;
}
.page-hero-ethena {
  min-height: 72vh;
  align-items: center;
}
.page-hero-ref img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .9;
}
.page-hero-ref {
  background: radial-gradient(circle at center, rgba(121,199,255,.14), rgba(255,255,255,.03) 58%, rgba(255,255,255,.02) 100%);
}
.page-hero-ref img[src$='.svg'] {
  object-fit: contain;
  padding: 28px;
}
.lead-hero {
  max-width: 620px;
  font-size: 1.04rem;
}
.hero-visual {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(121,199,255,.14), rgba(255,255,255,.03) 48%, rgba(255,255,255,.02) 100%);
}
.hero-diagram {
  width: min(100%, 520px);
  opacity: .92;
  filter: drop-shadow(0 28px 60px rgba(0,0,0,.34));
}
.ethena-hero-shell {
  overflow: hidden;
  padding: 0;
  background: #09090b;
}
.hero-diagram-ethena {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
  opacity: .88;
}
.stats-strip {
  margin-top: 18px;
}
.stats-strip-icons {
  grid-template-columns: repeat(4, 1fr);
}
.stat-icon {
  display: flex;
  align-items: center;
  gap: 14px;
}
.stat-icon img {
  width: 22px;
  height: 22px;
  opacity: .92;
}
.stat-glyph {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--accent2);
  font-size: 1rem;
}
.section-tight {
  padding: 20px 0 14px;
}
.card-compact p {
  max-width: 26ch;
}
.band-minimal {
  padding: 26px 28px;
}
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  margin-bottom: 10px;
}
.split-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}
.feature-list {
  display: grid;
  gap: 14px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .animated-headline {
    background: none !important;
    color: #f5fbff !important;
    text-shadow: none !important;
  }
  .hero-orbit-graphic, .orbit-node {
    animation: none !important;
  }
  .reveal, .reveal-soft {
    opacity: 1 !important;
    transform: none !important;
  }
}
@media (max-width: 940px) {
  .hero-grid, .page-hero, .grid-2, .grid-3, .grid-4, .stats, .footer-grid, .split-feature, .footer-ethena-grid, .home-signature-band { grid-template-columns: 1fr; }
  .hero-orbit-stage {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(86vw, 420px);
    margin: 20px auto 0;
  }
  .nav-shell { padding-top: 6px; }
  .nav-capsule { border-radius: 24px; padding: 14px; min-height: auto; }
  .nav-inner { align-items:flex-start; }
  .nav-cta { display: none; }
  .links { gap: 10px; width: 100%; }
  .links a { font-size: .95rem; }
  .brand-wrap { width: 100%; }
  .hero-ethena { min-height: auto; padding-top: 10px; }
  .hero-grid-ethena, .page-hero-ethena, .hero-grid-final { min-height: auto; }
  .hero-visual { min-height: 280px; }
  .hero-copy-card .h1 { max-width: none; }
  .hero-copy-final { padding-bottom: 10px; }
  .hero-orbit-panel { padding-top: 0; }
  .orbit-title-wrap { max-width: none; }
}
