:root{
  --c0:#03061a;
  --c1:#050a26;
  --c2:#07133e;

  --soft:#5C7DFF;
  --ice:#BDDFFF;

  --w1: rgba(248,248,248,0.92);
  --w2: rgba(248,248,248,0.74);
  --w3: rgba(248,248,248,0.56);

  --line: rgba(189,223,255,0.18);

  --shadow: 0 18px 45px rgba(0,0,0,0.45);
  --shadow2: 0 26px 70px rgba(0,0,0,0.55);

  --r: 18px;
  --r2: 14px;

  --ease: cubic-bezier(.2,.8,.2,1);
  --footer-h: 78px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family:"Outfit",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color: var(--w2);
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(92,125,255,0.10), transparent 60%),
    radial-gradient(900px 520px at 85% 20%, rgba(0,28,209,0.10), transparent 60%),
    linear-gradient(180deg,var(--c0),var(--c1) 55%,var(--c2));
  overflow-x:hidden;
}

#water-canvas{
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  z-index:-1;
  opacity:0.85;
}

.page{
  padding-bottom: calc(var(--footer-h) + 26px);
}

.container{
  width:min(1200px, calc(100% - 48px));
  margin:0 auto;
}

/* ===== HEADER ===== */

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background: rgba(3,10,38,0.58);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--w1);
}

.brand-logo{
  height:44px;
  width:auto;
  max-width:160px;
  object-fit:contain;
  display:block;
  filter: drop-shadow(0 0 16px rgba(189,223,255,0.18));
}

.brand-text{
  font-weight:850;
  letter-spacing:0.12em;
  font-size:14px;
  color: var(--w1);
}

.nav{
  display:flex;
  gap:18px;
}

.nav-link{
  text-decoration:none;
  color: rgba(248,248,248,0.78);
  font-weight:650;
  font-size:14px;
  letter-spacing:0.04em;
  padding:8px 10px;
  border-radius:999px;
  transition: background 180ms var(--ease), color 180ms var(--ease);
}

.nav-link:hover{
  color: var(--w1);
  background: rgba(248,248,248,0.06);
}

.nav-link.is-active{
  color: var(--w1);
  background: rgba(92,125,255,0.14);
  border: 1px solid rgba(189,223,255,0.14);
}

/* ===== HERO ===== */

.hero{
  padding:64px 0 30px 0;
}

.hero-grid{
  display:grid;
  grid-template-columns: 1fr 420px;
  gap:24px;
  align-items:start;
}

.hero-copy{
  max-width: 660px;
}

/* TRUE CIRCLE LOGO AREA */
.hero-logo-wrap{
  position:relative;
  width: clamp(240px, 30vw, 420px);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow:hidden;

  display:grid;
  place-items:center;

  /* circular glass, not a box */
  background:
    radial-gradient(circle at 30% 20%, rgba(248,248,248,0.06), rgba(248,248,248,0.02) 55%, rgba(248,248,248,0.00) 72%);

  /* keep border extremely subtle so it doesn't look "outlined" */
  border: 1px solid rgba(189,223,255,0.10);

  box-shadow: 0 18px 48px rgba(0,0,0,0.35);
  padding: 24px; /* safety padding prevents clipping */
}

.hero-logo{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;

  filter: drop-shadow(0 0 24px rgba(189,223,255,0.14));
  transform: translate3d(var(--px,0px), var(--py,0px), 0) scale(0.98);
  transition: transform 420ms var(--ease), filter 420ms var(--ease);
  will-change: transform, filter;
}

.hero-logo-wrap:hover .hero-logo{
  filter: drop-shadow(0 0 34px rgba(189,223,255,0.18));
}

/* GLINT (contained inside circle) */
.hero-logo-wrap::after{
  content:"";
  position:absolute;
  top:-20%;
  bottom:-20%;
  left:-70%;
  width: 55%;
  border-radius: 999px;

  background: linear-gradient(110deg,
    transparent 0%,
    rgba(248,248,248,0.00) 35%,
    rgba(248,248,248,0.16) 48%,
    rgba(248,248,248,0.06) 52%,
    rgba(248,248,248,0.00) 65%,
    transparent 100%);

  transform: skewX(-14deg);
  opacity:0.48;
  pointer-events:none;
  mix-blend-mode: screen;
  animation: glintSweep 7.4s var(--ease) infinite;
}

@keyframes glintSweep{
  0%{ left:-80%; opacity:0.26; }
  40%{ opacity:0.48; }
  100%{ left:140%; opacity:0.26; }
}

.hero-sub{
  margin: 10px 0 0 0;
  color: var(--w2);
  font-size: 16px;
  line-height: 1.65;
  max-width: 62ch;
}

.hero-kicker{
  color: var(--w1);
  font-weight:750;
  letter-spacing:0.02em;
  margin-right: 6px;
}

.hero-cta{
  display:flex;
  gap:10px;
  margin-top:16px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 14px;
  border-radius:12px;
  font-weight:780;
  font-size:13px;
  letter-spacing:0.03em;
  text-decoration:none;
  user-select:none;
}

.btn.primary{
  color:#07133e;
  background: linear-gradient(180deg, rgba(248,248,248,0.90), rgba(92,125,255,0.76));
  box-shadow: 0 10px 26px rgba(92,125,255,0.18);
  transition: transform 220ms var(--ease), filter 220ms var(--ease), box-shadow 220ms var(--ease);
}
.btn.primary:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 18px 40px rgba(92,125,255,0.22);
}

.btn.ghost{
  color: var(--w1);
  border: 1px solid rgba(189,223,255,0.20);
  background: rgba(248,248,248,0.04);
  transition: background 220ms var(--ease), transform 220ms var(--ease);
}
.btn.ghost:hover{
  background: rgba(248,248,248,0.07);
  transform: translateY(-1px);
}

/* ===== SNAPSHOT CARD ===== */

.hero-card{
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(248,248,248,0.07), rgba(248,248,248,0.03));
  box-shadow: var(--shadow);
  padding:18px;
  overflow:hidden;
  position:relative;
  transition: box-shadow 260ms var(--ease);
  will-change: transform;
}

.hero-card::before{
  content:"";
  position:absolute;
  inset:-40%;
  background: linear-gradient(115deg,
    transparent 40%,
    rgba(189,223,255,0.06) 48%,
    rgba(189,223,255,0.12) 52%,
    transparent 60%);
  transform: translateX(-40%) skewX(-10deg);
  opacity:0.0;
  pointer-events:none;
  transition: opacity 260ms var(--ease);
}
.hero-card:hover::before{ opacity:0.9; }
.hero-card:hover{ box-shadow: var(--shadow2); }

.card-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  margin-bottom:12px;
}

.card-badge{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(92,125,255,0.14);
  border: 1px solid rgba(189,223,255,0.16);
  font-weight:850;
  font-size:12px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color: var(--w1);
}

.card-note{
  color: var(--w3);
  font-size: 13px;
  line-height: 1.4;
  text-align:right;
}

.stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
  margin-top:8px;
}

.stat{
  border-radius: var(--r2);
  padding:14px 12px;
  background: rgba(248,248,248,0.04);
  border: 1px solid rgba(189,223,255,0.14);
}

.stat-num{
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--w1);
}

.stat-label{
  margin-top:2px;
  font-size: 12px;
  color: var(--w3);
  letter-spacing:0.10em;
  text-transform:uppercase;
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:14px;
}

.chip{
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  color: var(--w2);
  background: rgba(92,125,255,0.14);
  border: 1px solid rgba(189,223,255,0.14);
}

/* ===== PANEL ===== */

.panel{
  padding:10px 0 20px 0;
}

.panel-inner{
  border-radius: var(--r);
  border: 1px solid rgba(189,223,255,0.16);
  background: rgba(248,248,248,0.04);
  padding:22px;
}

.panel-title{
  margin:0 0 14px 0;
  font-size:22px;
  letter-spacing:-0.01em;
  color: var(--w1);
}

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

.mini{
  border-radius: var(--r2);
  border: 1px solid rgba(189,223,255,0.14);
  background: rgba(248,248,248,0.03);
  padding:14px;
}

.mini-title{
  font-weight:900;
  letter-spacing:0.02em;
  margin-bottom:6px;
  color: var(--w1);
}

.mini-text{
  color: var(--w2);
  line-height:1.55;
}

/* ===== PINNED FOOTER ===== */

.site-footer{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  height: var(--footer-h);
  z-index:60;
  border-top: 1px solid rgba(189,223,255,0.16);
  background: rgba(3,10,38,0.78);
  backdrop-filter: blur(14px);
}

.footer-inner{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.footer-brand-wrap{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color: var(--w1);
  min-width: 220px;
}

.footer-logo{
  height:40px;
  width:auto;
  max-width:140px;
  object-fit:contain;
  display:block;
  filter: drop-shadow(0 0 14px rgba(189,223,255,0.14));
}

.footer-brand{
  font-weight:900;
  letter-spacing:0.12em;
  font-size:13px;
  line-height:1;
  color: var(--w1);
}

.footer-sub{
  margin-top:4px;
  color: var(--w3);
  font-size:13px;
  line-height:1.2;
}

.footer-links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.footer-link{
  color: var(--w2);
  text-decoration:none;
  font-weight:850;
  font-size:13px;
  transition: color 180ms var(--ease), transform 180ms var(--ease);
}
.footer-link:hover{
  color: var(--w1);
  transform: translateY(-1px);
}

/* ===== REVEAL ===== */

.reveal{
  opacity:0;
  transform: translateY(18px);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}
.reveal.is-in{
  opacity:1;
  transform: translateY(0);
}

/* motion safety */
@media (prefers-reduced-motion: reduce){
  .hero-logo,
  .hero-logo-wrap::after,
  .reveal{
    animation: none !important;
    transition: none !important;
  }
}

/* responsive */
@media (max-width: 980px){
  .hero-grid{
    grid-template-columns: 1fr;
  }
  .hero-card{
    width: 100%;
  }
  .panel-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px){
  .nav{ display:none; }
  :root{ --footer-h: 94px; }
  .footer-inner{
    align-items:flex-start;
    padding-top:10px;
  }
  .footer-links{
    justify-content:flex-start;
  }
}