:root{
  --c1:#1864B5;
  --c2:#16589D;
  --c3:#0E4680;
  --c4:#08345F;
  --c5:#001C4A;
  --c6:#001134;
  --g1:#3D4A66;
  --g2:#5D687E;
  --g3:#7B8598;
  --g4:#959CAA;
  --text:#eef4fb;
  --muted:#b9c4d4;
  --line:rgba(255,255,255,.10);
  --panel:rgba(255,255,255,.05);
  --panel-2:rgba(255,255,255,.03);
  --accent:#6ec1ff;
  --accent2:#dcecff;
  --radius:22px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--text);
  overflow-x:hidden;
  background:linear-gradient(180deg,#061225 0%,#04101e 45%,#020816 100%);
}

.page{
  position:relative;
  z-index:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44'%3E%3Cpath d='M44 0H0v44' fill='none' stroke='rgba(255,255,255,0.025)' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat:repeat;
}

.topbar{
  position:sticky;
  top:0;
  z-index:100;
  background:#040a14;
  border-bottom:1px solid var(--line);
}

.topbar-inner{
  max-width:1200px;
  margin:0 auto;
  padding:14px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:700;
  letter-spacing:.8px;
  color:var(--text);
  text-decoration:none;
}

.brand-logo{
  height:112px;
  width:auto;
  max-width:180px;
  display:block;
  object-fit:contain;
}

.brand-text{
  font-weight:800;
  letter-spacing:.8px;
  color:var(--text);
  white-space:nowrap;
}

.brand-mark{
  width:12px;
  height:12px;
  border-radius:999px;
  background:var(--accent);
}

.brand.fec .brand-mark{
  width:auto;
  height:auto;
  border-radius:0;
  background:none;
  font-size:18px;
  font-weight:800;
  letter-spacing:1.4px;
  color:var(--accent2);
}

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.nav a{
  text-decoration:none;
  color:var(--muted);
  padding:10px 14px;
  border-radius:10px;
  font-size:14px;
  transition:color .2s ease, background .2s ease;
}

.nav a:hover,
.nav a.active{
  color:white;
  background:rgba(255,255,255,.06);
}

.container{
  max-width:1200px;
  margin:0 auto;
  width:100%;
}

.hero{
  min-height:90vh;
  display:flex;
  align-items:center;
  padding:72px 20px;
}

.hero-inner{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:24px;
  align-items:center;
}

.hero-card,
.info-card,
.card,
.split-card{
  background:linear-gradient(180deg,var(--panel),var(--panel-2));
  border:1px solid var(--line);
  border-radius:var(--radius);
}

.hero-card{
  padding:34px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:18px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1px;
  background:rgba(255,255,255,.04);
}

.eyebrow::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:999px;
  background:var(--accent);
}

h1{
  margin:0;
  font-size:clamp(42px,7vw,82px);
  line-height:1;
  letter-spacing:-2px;
}

h2{
  margin:0 0 12px;
  font-size:clamp(30px,4vw,48px);
  letter-spacing:-1px;
}

.highlight{
  background:linear-gradient(90deg,white 0%,#c7e8ff 38%,#7ec6ff 72%,#dcecff 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.lead{
  margin-top:22px;
  max-width:760px;
  color:var(--muted);
  line-height:1.75;
  font-size:18px;
}

.buttons{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:30px;
}

.btn{
  text-decoration:none;
  display:inline-block;
  padding:14px 18px;
  border-radius:12px;
  font-weight:700;
  border:1px solid var(--line);
  position:relative;
  overflow:hidden;
  contain:layout style;
  transition:transform .2s ease, border-color .2s ease, background .2s ease;
}

.btn:hover{
  transform:translateY(-2px);
  border-color:rgba(110,193,255,.35);
}

.btn-primary{
  color:#061120;
  background:linear-gradient(90deg,#dcecff,#6ec1ff);
}

.btn-secondary{
  color:var(--text);
  background:rgba(255,255,255,.05);
}

.hero-stack{
  display:grid;
  gap:14px;
}

.info-card{
  padding:22px;
}

.info-card small{
  display:block;
  color:var(--g4);
  text-transform:uppercase;
  letter-spacing:1px;
  margin-bottom:8px;
  font-size:12px;
}

.info-card strong{
  display:block;
  font-size:28px;
  margin-bottom:8px;
}

.info-card span{
  color:var(--muted);
  line-height:1.7;
  font-size:15px;
}

section{
  padding:90px 20px;
}

.section-head{
  margin-bottom:34px;
  text-align:center;
}

.section-head p{
  max-width:760px;
  margin:0 auto;
  color:var(--muted);
  line-height:1.75;
  font-size:17px;
}

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

.card{
  padding:24px;
  contain:layout style;
  transition:transform .22s ease, border-color .22s ease;
}

.card:hover{
  transform:translateY(-4px);
  border-color:rgba(110,193,255,.34);
}

.card h3{
  margin:0 0 10px;
  font-size:21px;
  color:#e5f4ff;
}

.card p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.split-card{
  padding:24px;
}

.split-card h3{
  margin:0 0 12px;
  font-size:22px;
}

.split-card p{
  color:var(--muted);
  line-height:1.75;
  margin:0;
}

.gateway{
  min-height:100vh;
  display:flex;
  align-items:center;
  padding:40px 20px;
}

.gateway-top{
  text-align:center;
  margin-bottom:34px;
}

.gateway-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  align-items:stretch;
}

.gateway-panel{
  position:relative;
  overflow:hidden;
  min-height:420px;
  padding:32px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  text-decoration:none;
  color:inherit;
  border:1px solid var(--line);
  border-radius:24px;
  contain:layout style;
  transition:transform .28s ease,border-color .28s ease,opacity .28s ease;
}

.gateway-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.045),transparent 38%);
}

.gateway-panel > *{
  position:relative;
  z-index:2;
}

.gateway-panel.gaming{
  background:
    radial-gradient(circle at 20% 10%,rgba(24,100,181,.22),transparent 38%),
    linear-gradient(180deg,rgba(8,52,95,.90),rgba(0,17,52,.95));
}

.gateway-panel.tech{
  background:
    radial-gradient(circle at 80% 0%,rgba(110,193,255,.08),transparent 32%),
    linear-gradient(180deg,rgba(14,70,128,.75),rgba(1,17,52,.96));
  border-color:rgba(110,193,255,.22);
}

.gateway-tag{
  position:relative;
  z-index:1;
  display:inline-block;
  padding:8px 12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:999px;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:1px;
  color:var(--muted);
  background:rgba(255,255,255,.04);
  margin-bottom:20px;
}

.gateway-panel h2{
  position:relative;
  z-index:1;
  margin:0 0 14px;
  line-height:1.04;
}

.gateway-panel p{
  position:relative;
  z-index:1;
  margin:0;
  color:#d4deeb;
  line-height:1.8;
  font-size:16px;
  max-width:520px;
}

.gateway-footer{
  position:relative;
  z-index:1;
  margin-top:28px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
}

.gateway-enter{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 18px;
  border-radius:12px;
  font-weight:700;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.08);
  color:white;
  transition:transform .25s ease,background .25s ease,border-color .25s ease;
}

.gateway-note{
  font-size:13px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:1px;
}

.gateway-grid:hover .gateway-panel{
  opacity:.72;
}

.gateway-grid .gateway-panel:hover{
  opacity:1;
  transform:translateY(-10px);
  border-color:rgba(110,193,255,.50);
  z-index:5;
}

.gateway-grid .gateway-panel:hover .gateway-enter{
  transform:translateX(6px);
  background:rgba(255,255,255,.15);
  border-color:rgba(255,255,255,.22);
}

.footer{
  padding:40px 20px 60px;
  text-align:center;
  border-top:1px solid var(--line);
  color:var(--g4);
  font-size:14px;
}

.reveal{
  opacity:0;
  transform:translateY(20px);
  transition:opacity .42s ease,transform .42s ease;
}

.reveal.in-view{
  opacity:1;
  transform:translateY(0);
}

.gateway-hero{
  position:relative;
  z-index:2;
}

.gateway-divider{
  width:120px;
  height:1px;
  margin:30px auto 0;
  background:linear-gradient(90deg,transparent,rgba(110,193,255,.6),transparent);
}

@media (max-width: 900px){
  .hero-inner,
  .gateway-grid,
  .grid,
  .split{
    grid-template-columns:1fr;
  }

  .gateway-panel{
    min-height:320px;
  }
}

@media (max-width: 640px){
  section{
    padding:64px 16px;
  }

  .hero{
    padding:56px 16px;
  }

  .topbar-inner{
    align-items:flex-start;
    flex-direction:column;
  }

  .brand-logo{
    height:34px;
    max-width:160px;
  }

  .brand-text{
    font-size:14px;
  }

  .nav{
    width:100%;
  }

  .nav a{
    padding:9px 10px;
  }
}

@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    transition:none !important;
    animation:none !important;
    scroll-behavior:auto !important;
  }

  .reveal{
    opacity:1 !important;
    transform:none !important;
  }
}