@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@500;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #e4f1fb 0%, #cfe4f4 100%);
  color: #13314f;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.full-bleed {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
}

.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2rem; transition: all .4s ease;
}
.topbar.scrolled {
  background: rgba(255,255,255,.66);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(74,159,212,.18);
  padding: .7rem 2rem;
  box-shadow: 0 4px 24px rgba(50,105,150,.08);
}
.brand { display: flex; align-items: center; gap: .6rem; cursor: pointer; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; }
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem; font-weight: 600;
  letter-spacing: .12em; color: #143456; text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-link {
  background: none; border: none; color: #2c557a;
  font-family: 'Inter'; font-size: .8rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; transition: color .3s; padding: .3rem 0;
}
.nav-link:hover { color: #2d7cb8; }
.nav-cta {
  padding: .6rem 1.4rem; border-radius: 100px; border: none;
  background: linear-gradient(135deg, #4aa3d6, #4a9fd4);
  color: #fff; font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  transition: all .3s; box-shadow: 0 6px 18px rgba(58,128,180,.3);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(58,128,180,.4); }
.menu-toggle {
  display: none; background: none; border: none;
  color: #143456; font-size: 1.6rem; cursor: pointer; z-index: 60;
}

.content { position: relative; z-index: 1; }
.section { padding: 7rem 2rem; }
.inner { max-width: 1040px; margin: 0 auto; width: 100%; }
.eyebrow {
  font-size: .7rem; font-weight: 600; letter-spacing: .32em;
  text-transform: uppercase; color: #2d7cb8; margin-bottom: 1.2rem;
}
.heading {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 3.2rem); color: #13314f;
  line-height: 1.3; margin-bottom: 1.4rem;
}
.body-text {
  font-weight: 400; font-size: 1.05rem; line-height: 1.85;
  color: #345d80; max-width: 680px;
}
.divider {
  width: 60px; height: 2px; border-radius: 2px;
  background: linear-gradient(to right, #4aa3d6, #4a9fd4, #8fc9e8);
  margin: 1.8rem 0;
}

.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 7rem 2rem 3rem; position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .5rem 1.1rem; border-radius: 100px;
  background: rgba(255,255,255,.6); border: 1px solid rgba(74,159,212,.35);
  font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: #2d7cb8; margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(60,120,165,.1);
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif; font-weight: 500;
  font-size: clamp(3.5rem, 10vw, 8rem); color: #143456;
  letter-spacing: .08em; line-height: 1; text-transform: uppercase;
  margin-bottom: 1.4rem; text-shadow: 0 4px 30px rgba(255,255,255,.5);
}
.hero h1 .accent {
  background: linear-gradient(120deg, #4aa3d6, #4a9fd4, #8fc9e8);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-weight: 400; font-size: clamp(.98rem, 2vw, 1.22rem);
  color: #2c557a; letter-spacing: .02em; max-width: 620px;
  margin: 0 auto 2.6rem; line-height: 1.75;
}
.scroll-ind {
  position: absolute; bottom: 2rem;
  display: flex; flex-direction: column; align-items: center; gap: .7rem;
  animation: bob 3s ease-in-out infinite;
}
.scroll-ind span {
  font-size: .62rem; letter-spacing: .3em;
  text-transform: uppercase; color: rgba(44,90,74,.55);
}
.scroll-line {
  width: 1px; height: 38px;
  background: linear-gradient(to bottom, rgba(45,124,184,.7), transparent);
}
@keyframes bob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

.bloom-wrap { position: relative; display: inline-flex; align-items: center; justify-content: center; }
.bloom-fx {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center;
  pointer-events: none; z-index: 0;
}
.bloom-btn {
  position: relative; z-index: 2; display: inline-flex; align-items: center; gap: .7rem;
  padding: 1.15rem 3rem; border: none; border-radius: 9999px; cursor: pointer;
  font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 700; letter-spacing: .06em;
  color: #fff;
  background: linear-gradient(110deg, #15517e, #2d8fcf, #aadcf5, #2d8fcf, #15517e);
  background-size: 260% 100%;
  box-shadow: 0 10px 30px rgba(45,140,200,.4), inset 0 1px 0 rgba(255,255,255,.4);
  animation: bloom-flow 7s ease infinite, bloom-breathe 3.6s ease-in-out infinite;
  transition: transform .35s cubic-bezier(.2,.8,.2,1.2), box-shadow .35s ease;
}
.bloom-btn::before {
  content: ''; position: absolute; inset: -6px; border-radius: inherit; z-index: -1;
  background: radial-gradient(60% 130% at 50% 50%, rgba(74,159,212,.55), rgba(143,201,232,.22) 55%, rgba(74,159,212,0) 75%);
  filter: blur(15px); opacity: .55;
  animation: bloom-glow 5s ease-in-out infinite;
}
.bloom-btn::after {
  content: ''; position: absolute; left: 8%; right: 8%; top: 4px; height: 42%;
  border-radius: 9999px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), rgba(255,255,255,0));
  pointer-events: none;
}
.bloom-label {
  position: relative;
  background: linear-gradient(to right, #ffffff, #eaf4ff, #ffffff);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: bloom-shine 3.5s linear infinite;
}
.bloom-leaf {
  font-size: 1.1rem;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.2));
  animation: bloom-leaf-sway 3s ease-in-out infinite;
}
.bloom-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 18px 46px rgba(45,140,200,.55), inset 0 1px 0 rgba(255,255,255,.5);
}
.bloom-btn:hover::before { opacity: .8; filter: blur(20px); }
.bloom-wrap:hover .spore { animation-duration: 3s !important; }
.bloom-btn:focus-visible { outline: 3px solid #aadcf5; outline-offset: 4px; }

@keyframes bloom-flow { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
@keyframes bloom-breathe {
  0%,100%{ box-shadow: 0 10px 30px rgba(45,140,200,.4), inset 0 1px 0 rgba(255,255,255,.4); }
  50%{ box-shadow: 0 14px 42px rgba(110,190,235,.6), inset 0 1px 0 rgba(255,255,255,.5); }
}
@keyframes bloom-glow { 0%,100%{ opacity:.4; } 50%{ opacity:.65; } }
@keyframes bloom-shine { to { background-position: 200% center; } }
@keyframes bloom-leaf-sway { 0%,100%{ transform: rotate(-8deg);} 50%{ transform: rotate(10deg);} }

.spore {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ffffff, #aadcf5 45%, rgba(70,160,215,0) 70%);
  box-shadow: 0 0 10px #8fc9e8, 0 0 18px rgba(70,160,215,.6);
  opacity: 0; will-change: transform, opacity;
  animation-name: spore-rise; animation-timing-function: ease-out; animation-iteration-count: infinite;
}
@keyframes spore-rise {
  0%   { transform: translate(var(--x), 26px) scale(0); opacity: 0; }
  12%  { opacity: 1; }
  70%  { opacity: .9; }
  100% { transform: translate(calc(var(--x) + var(--drift)), -140px) scale(1.15); opacity: 0; }
}

.card {
  background: rgba(255,255,255,.64);
  border: 1px solid rgba(74,159,212,.18);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(52,108,152,.08);
  transition: all .45s;
}

.metaverse-section { position: relative; z-index: 30; }
.mv-frame {
  width: 100vw; height: 78vh; min-height: 480px;
  background: #060e16; overflow: hidden; border: none; position: relative;
  box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.mv-frame iframe { width: 100%; height: 100%; border: none; outline: none; display: block; }
.mv-toolbar { position: absolute; top: 18px; right: 18px; z-index: 10; display: flex; gap: 12px; }
.mv-pill {
  padding: 10px 18px; border-radius: 999px; font-size: .85rem; font-weight: 600;
  cursor: pointer; text-decoration: none; border: none; backdrop-filter: blur(10px);
  display: inline-flex; align-items: center; gap: 8px; transition: all .2s;
}
.mv-pill.glass { background: rgba(0,0,0,.55); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.mv-pill.glass:hover { background: rgba(255,255,255,.14); transform: scale(1.04); }

.chart-section { position: relative; z-index: 30; }
.chart-stats {
  width: 100vw; background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.06);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.2rem; padding: 1.1rem clamp(1rem, 4vw, 3rem);
}
.chart-id { display: flex; align-items: center; gap: 14px; }
.chart-id-badge {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, #aadcf5, #2d8fcf);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 16px rgba(45,140,200,.5);
}
.chart-sym { color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.chart-sym small { color: #7c8ca0; font-weight: 400; }
.chart-live { display: flex; align-items: center; gap: 7px; margin-top: 3px; }
.live-dot { position: relative; width: 8px; height: 8px; }
.live-dot::before {
  content:''; position:absolute; inset:0; border-radius:50%;
  background:#aadcf5; opacity:.75;
  animation: live-ping 1.4s cubic-bezier(0,0,.2,1) infinite;
}
.live-dot::after { content:''; position:absolute; inset:0; border-radius:50%; background:#2d8fcf; }
@keyframes live-ping { 75%,100%{ transform: scale(2.4); opacity:0; } }
.chart-live span {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: #aadcf5; font-weight: 700;
}
.chart-metrics { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; font-family: 'JetBrains Mono', monospace; }
.metric { display: flex; flex-direction: column; }
.metric-k { color: #6b7a8c; font-size: 10px; letter-spacing: .12em; margin-bottom: 4px; }
.metric-v { color: #fff; font-weight: 700; font-size: 1.05rem; }
.metric-v.green { color: #aadcf5; }
.metric-v.red { color: #ff5d5d; }
.chart-frame {
  width: 100vw; height: 80vh; min-height: 520px;
  background: #0a0a0a; position: relative; overflow: hidden;
}
.chart-frame iframe { width: 100%; height: 100%; border: none; display: block; }
.chart-skeleton {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.1rem;
  background: #0a0a0a; z-index: 2; transition: opacity .5s ease;
}
.chart-skeleton.hide { opacity: 0; pointer-events: none; }
.skeleton-bars { display: flex; align-items: flex-end; gap: 6px; height: 70px; }
.skeleton-bars i {
  width: 8px;
  background: linear-gradient(to top, #2d8fcf, #aadcf5);
  border-radius: 3px; opacity: .5;
  animation: sk-bounce 1s ease-in-out infinite;
}
@keyframes sk-bounce { 0%,100%{ transform: scaleY(.4);} 50%{ transform: scaleY(1);} }
.chart-skeleton p {
  color: #6f9ec4; font-family: 'JetBrains Mono', monospace;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}

.pillars-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem; margin-top: 3rem;
}
.pillar { padding: 2.3rem 2rem; border-top-width: 3px; border-top-style: solid; }
.pillar:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(52,108,152,.16); }
.pillar-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.pillar-title { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; margin-bottom: .7rem; }
.pillar-desc { font-size: .92rem; font-weight: 400; line-height: 1.7; color: #46688a; }

.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem; margin-top: 1rem; text-align: center;
}
.stat-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 600; line-height: 1;
  margin-bottom: .6rem;
  background: linear-gradient(120deg, #4aa3d6, #4a9fd4, #3a86c4);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-lbl {
  font-size: .72rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; color: #587794;
}

.globe-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.globe-canvas { width: 100%; height: 420px; }
.globe-canvas > div { width: 100%; height: 100%; cursor: grab; }
.globe-hint {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: #2d7cb8; margin-top: 1rem;
}

.timeline { position: relative; margin-top: 3rem; padding-left: 2rem; }
.timeline::before {
  content:''; position:absolute; left:.4rem; top:0; bottom:0; width:2px;
  background: linear-gradient(to bottom, #4a9fd4, rgba(74,159,212,.15));
}
.tl-item { position: relative; padding: 0 0 2.5rem 2rem; }
.tl-item::before {
  content:''; position:absolute; left:-1.55rem; top:.4rem;
  width:12px; height:12px; border-radius:50%;
  background:#4a9fd4; box-shadow:0 0 0 4px rgba(74,159,212,.18);
}
.tl-year { font-family:'Cormorant Garamond',serif; font-size:1.7rem; font-weight:600; color:#2d7cb8; line-height:1; margin-bottom:.4rem; }
.tl-title { font-size:1.02rem; font-weight:600; color:#13314f; margin-bottom:.4rem; }
.tl-text { font-size:.92rem; font-weight:400; line-height:1.6; color:#46688a; max-width:560px; }

.voices-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap:1.6rem; margin-top:3rem; }
.voice { padding:2.2rem; }
.voice:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(52,108,152,.16); }
.voice-quote { font-family:'Cormorant Garamond',serif; font-style:italic; font-size:1.3rem; line-height:1.5; color:#1c4666; margin-bottom:1.2rem; }
.voice-name { font-size:.78rem; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:#2d7cb8; }

.pledge {
  text-align:center;
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.46));
  border:1px solid rgba(74,159,212,.22); border-radius:26px;
  padding:4rem 2rem; margin-top:1rem;
  box-shadow: 0 18px 50px rgba(52,108,152,.12);
}
.pledge-count {
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.6rem,6vw,4.2rem); font-weight:600; line-height:1;
  margin:.6rem 0 .3rem;
  background: linear-gradient(120deg,#4aa3d6,#4a9fd4,#3a86c4);
  -webkit-background-clip:text; background-clip:text;
  -webkit-text-fill-color:transparent;
}
.pledge-label { font-size:.78rem; font-weight:600; letter-spacing:.16em; text-transform:uppercase; color:#587794; margin-bottom:1rem; }
.pledge-thanks { font-family:'Cormorant Garamond',serif; font-size:1.7rem; font-weight:600; color:#2d7cb8; margin-top:1rem; }

.cta-sec { text-align:center; padding:9rem 2rem; }
.cta-symbol { font-size:3rem; margin-bottom:1.5rem; }
.cta-head {
  font-family:'Cormorant Garamond',serif; font-weight:500;
  font-size:clamp(2rem,5vw,3.4rem); color:#13314f;
  line-height:1.25; margin:0 auto 2.5rem; max-width:680px;
}
.btn-primary {
  padding: .95rem 2.4rem; border: none; border-radius: 100px;
  background: linear-gradient(135deg,#4aa3d6,#4a9fd4);
  color: #fff; font-size: .82rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; cursor: pointer;
  transition: all .4s; box-shadow: 0 8px 24px rgba(58,128,180,.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(58,128,180,.45); }

.footer { border-top:1px solid rgba(74,159,212,.18); padding:3rem 2rem 2.5rem; background: rgba(255,255,255,.42); }
.footer-inner { max-width:1040px; margin:0 auto; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1.5rem; }
.footer-links { display:flex; gap:1.6rem; flex-wrap:wrap; }
.footer-link { background:none; border:none; color:#587794; font-size:.78rem; font-weight:500; letter-spacing:.08em; cursor:pointer; transition:color .3s; }
.footer-link:hover { color:#2d7cb8; }
.footer-copy { font-size:.74rem; color:#7c98b2; letter-spacing:.08em; }
.footer-x {
  display: inline-flex; align-items: center; gap: .45rem;
  color: #587794; font-size: .78rem; font-weight: 500;
  letter-spacing: .06em; text-decoration: none; transition: color .3s;
}
.footer-x:hover { color: #2d7cb8; }

#planet-bg { position: fixed; inset: 0; z-index: 0; }

.foliage-layer { position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.foliage-sprig { position:absolute; opacity:.28; animation: swayLeaf ease-in-out infinite alternate; transform-origin: center bottom; }
.foliage-petal { position:absolute; opacity:.5; animation: floatPetal ease-in-out infinite; filter: drop-shadow(0 4px 8px rgba(90,140,180,.18)); }
@keyframes swayLeaf { from { transform: rotate(-4deg) translateY(0); } to { transform: rotate(4deg) translateY(-10px); } }
@keyframes floatPetal { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-22px) rotate(18deg); } }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; top:0; right:0; height:100vh; width:min(78vw,320px);
    flex-direction:column; align-items:flex-start; justify-content:center;
    gap:1.6rem; padding:2.5rem;
    background: rgba(255,255,255,.96); backdrop-filter: blur(20px);
    transform: translateX(100%); transition: transform .4s ease;
    border-left:1px solid rgba(74,159,212,.2);
  }
  .nav-links.open { transform: translateX(0); }
  .menu-toggle { display: block; }
  .globe-wrap { grid-template-columns: 1fr; }
  .globe-canvas { height: 340px; }
  .section { padding: 5rem 1.5rem; }
  .foliage-sprig { opacity:.32; }
  .chart-stats { gap: 1rem; }
}
@media (max-width:520px) { .stats { grid-template-columns: repeat(2,1fr); } }
@media (prefers-reduced-motion: reduce) {
  .foliage-sprig,.foliage-petal,.scroll-ind,.spore,.bloom-btn,.bloom-btn::before,.bloom-label,.bloom-leaf { animation: none !important; }
}
