/* style.css */
:root{
  --bg:#070712;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.62);
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --stroke: rgba(255,255,255,.14);
  --stroke2: rgba(255,255,255,.10);

  --g1:#5b7cfa; /* blue */
  --g2:#a855f7; /* purple */
  --g3:#ff4fd8; /* pink */
  --g4:#21d4fd; /* cyan */
  --warm:#ffd1f2;
  --shadow: 0 24px 80px rgba(0,0,0,.55);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, "PingFang SC","Noto Sans CJK SC","Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
a:focus-visible{ outline:2px solid rgba(255,255,255,.35); outline-offset:4px; border-radius:10px; }

.bg{
  position:fixed; inset:0;
  background:
    radial-gradient(1200px 900px at 10% 10%, rgba(91,124,250,.35), transparent 60%),
    radial-gradient(900px 700px at 90% 20%, rgba(168,85,247,.30), transparent 60%),
    radial-gradient(900px 800px at 55% 80%, rgba(255,79,216,.22), transparent 62%),
    radial-gradient(700px 600px at 75% 70%, rgba(33,212,253,.18), transparent 65%),
    linear-gradient(180deg, #050511 0%, #07071a 45%, #060612 100%);
  z-index:-3;
}

.grid{
  position:absolute; inset:-2px;
  background:
    linear-gradient(to right, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(700px 520px at 50% 30%, rgba(0,0,0,.8), transparent 70%);
  opacity:.22;
  z-index:-3;
}

.orb{
  position:absolute;
  filter: blur(18px);
  opacity:.75;
  transform: translateZ(0);
  animation: drift 10s ease-in-out infinite;
}
.orb-a{
  width:460px;height:460px; left:-120px; top:120px;
  background: radial-gradient(circle at 30% 30%, rgba(91,124,250,.75), transparent 60%),
              radial-gradient(circle at 70% 70%, rgba(255,79,216,.45), transparent 62%);
}
.orb-b{
  width:520px;height:520px; right:-160px; top:240px;
  background: radial-gradient(circle at 30% 35%, rgba(168,85,247,.70), transparent 62%),
              radial-gradient(circle at 70% 70%, rgba(33,212,253,.35), transparent 64%);
  animation-delay: -3s;
}
.orb-c{
  width:520px;height:520px; left:220px; bottom:-220px;
  background: radial-gradient(circle at 40% 35%, rgba(255,79,216,.42), transparent 62%),
              radial-gradient(circle at 70% 75%, rgba(91,124,250,.25), transparent 64%);
  animation-delay: -6s;
}

.noise{
  position:absolute; inset:0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity:.25;
  z-index:-2;
}

@keyframes drift{
  0%,100%{ transform: translate3d(0,0,0); }
  50%{ transform: translate3d(18px,-14px,0); }
}

.nav{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(7,7,18,.82), rgba(7,7,18,.40));
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.nav-inner{
  max-width: 1100px;
  margin:0 auto;
  padding: 14px 20px;
  display:flex;
  align-items:center;
  gap:16px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  padding:8px 10px;
  border-radius:14px;
}
.brand-mark{
  width:22px;height:22px;border-radius:8px;
  background: conic-gradient(from 180deg, var(--g1), var(--g2), var(--g3), var(--g4), var(--g1));
  box-shadow: 0 0 24px rgba(168,85,247,.35);
}
.brand-text{ font-weight:700; letter-spacing:.4px; }
.menu{ margin-left:auto; display:flex; gap:14px; }
.menu a{
  color: var(--muted);
  padding:10px 10px;
  border-radius:12px;
  transition: background .2s ease, color .2s ease;
}
.menu a:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
}

.cta{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--text);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.cta:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
}

.wrap{ max-width:1100px; margin:0 auto; padding: 0 20px; }

.hero{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 34px;
  padding: 64px 0 26px;
  align-items:center;
}
@media (max-width: 960px){
  .hero{ grid-template-columns:1fr; padding-top:42px; }
  .menu{ display:none; }
}

.badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.82);
}
.dot{
  width:9px;height:9px;border-radius:999px;
  background: radial-gradient(circle, var(--g4), var(--g3));
  box-shadow: 0 0 16px rgba(255,79,216,.35);
}

.title{
  margin: 18px 0 10px;
  font-size: 52px;
  line-height: 1.06;
  letter-spacing: -1px;
}
@media (max-width: 520px){
  .title{ font-size: 40px; }
}

.subtitle{
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 42rem;
}

.actions{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; }

.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--text);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover{ transform: translateY(-1px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); }
.btn.primary{
  border: none;
  background: linear-gradient(135deg, rgba(91,124,250,.95), rgba(168,85,247,.95), rgba(255,79,216,.85));
  box-shadow: 0 16px 50px rgba(168,85,247,.28);
}
.btn.primary:hover{ transform: translateY(-2px); }
.arrow{ opacity:.95; }

.meta{
  margin-top: 22px;
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.meta-item{
  display:flex;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.k{ width: 54px; color: rgba(255,255,255,.70); font-weight:600; }
.v{ color: rgba(255,255,255,.86); }

.hero-right{
  position:relative;
  min-height: 360px;
  display:flex;
  justify-content:center;
  align-items:center;
}
.card{
  width: 360px;
  height: 360px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(900px 700px at 20% 20%, rgba(33,212,253,.22), transparent 55%),
    radial-gradient(700px 600px at 80% 25%, rgba(255,79,216,.18), transparent 60%),
    radial-gradient(900px 700px at 50% 85%, rgba(168,85,247,.18), transparent 60%),
    rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  overflow:hidden;
  transform: translateZ(0);
}
.card-glow::before{
  content:"";
  position:absolute; inset:-2px;
  background: conic-gradient(from 180deg, rgba(91,124,250,.0), rgba(91,124,250,.55), rgba(168,85,247,.55), rgba(255,79,216,.45), rgba(33,212,253,.35), rgba(91,124,250,.0));
  filter: blur(10px);
  opacity:.55;
  z-index:-1;
}

.card-top{
  display:flex;
  justify-content: space-between;
  align-items:center;
  padding: 18px 18px 0;
}
.pill{
  font-size: 12px;
  letter-spacing: .8px;
  padding: 8px 10px;
  border-radius: 999px;
  color: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
}
.pulse{
  width:10px;height:10px;border-radius:999px;
  background: rgba(33,212,253,.9);
  box-shadow: 0 0 18px rgba(33,212,253,.55);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ transform: scale(1); opacity: .95; }
  50%{ transform: scale(1.55); opacity: .55; }
}

.card-mid{
  position:relative;
  height: 250px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.ring{
  width: 210px; height: 210px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(circle at 30% 30%, rgba(91,124,250,.25), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,79,216,.18), transparent 52%);
  box-shadow: 0 0 50px rgba(168,85,247,.22) inset;
  position:absolute;
}
.lines{
  width: 270px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  position:relative;
}
.line{
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.06), rgba(255,255,255,.14), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.10);
  filter: blur(.2px);
  animation: scan 2.6s ease-in-out infinite;
}
.line.w1{ width: 72%; }
.line.w2{ width: 90%; animation-delay: -.4s; }
.line.w3{ width: 64%; animation-delay: -.8s; }
.line.w4{ width: 80%; animation-delay: -1.2s; }

@keyframes scan{
  0%,100%{ transform: translateX(0); opacity: .8; }
  50%{ transform: translateX(10px); opacity: .95; }
}

.card-bot{
  display:flex;
  gap:10px;
  padding: 0 18px 18px;
  align-items:center;
}
.chip{
  height: 12px;
  flex:1;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.floating{
  position:absolute;
  width: 120px; height: 120px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 60px rgba(0,0,0,.40);
  animation: float 7s ease-in-out infinite;
}
.floating-a{ left: 10px; top: 40px; transform: rotate(8deg); }
.floating-b{ right: 10px; bottom: 34px; transform: rotate(-10deg); animation-delay:-2.5s; }

@keyframes float{
  0%,100%{ transform: translateY(0) rotate(var(--r, 8deg)); }
  50%{ transform: translateY(-10px) rotate(var(--r, 8deg)); }
}

.section{ padding: 46px 0 10px; }
.section-title{
  margin:0 0 10px;
  font-size: 28px;
  letter-spacing: -.4px;
}
.section-desc{
  margin:0 0 22px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 56rem;
}

.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 960px){
  .cards{ grid-template-columns:1fr; }
}

.info{
  padding: 18px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: 0 12px 50px rgba(0,0,0,.24);
}
.info h3{ margin:0 0 8px; font-size: 16px; }
.info p{ margin:0; color: var(--muted); line-height:1.75; }

.contact{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 16px;
  align-items:stretch;
}
@media (max-width: 960px){
  .contact{ grid-template-columns:1fr; }
}
.mail{
  display:inline-block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: 600;
  background: linear-gradient(90deg, var(--g4), var(--g2), var(--g3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hint{ margin-top: 10px; color: var(--muted); font-size: 13px; }

.contact-card{
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: 0 12px 50px rgba(0,0,0,.24);
}
.contact-row{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.contact-row:last-child{ border-bottom:none; }
.label{ color: rgba(255,255,255,.70); width: 90px; flex:0 0 auto; }
.value{ color: rgba(255,255,255,.88); text-align:right; }
.value a{ color: rgba(255,255,255,.90); text-decoration: underline; text-underline-offset: 3px; }
.sep{ opacity:.6; padding:0 6px; }
.muted{ color: var(--muted); }

.footer{
  padding: 34px 0 50px;
  color: var(--muted);
}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 18px;
}
@media (max-width: 720px){
  .footer-inner{ flex-direction:column; align-items:flex-start; }
}
/* --- Hero-right upgrade: cyber character + floating LY glyphs --- */

.cyber-hero{
  width: 100%;
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px 8px 0;
}

.cyber-svg{
  width: 100%;
  height: 100%;
  max-width: 340px;
  max-height: 300px;
  transform: translateZ(0);
  animation: heroBob 6.5s ease-in-out infinite;
}

@keyframes heroBob{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-6px); }
}

/* scanline animation inside SVG */
.scanline{
  animation: scan 3.2s linear infinite;
}
@keyframes scan{
  0%{ transform: translateX(-80px); opacity: 0.0; }
  10%{ opacity: 0.55; }
  90%{ opacity: 0.55; }
  100%{ transform: translateX(440px); opacity: 0.0; }
}

/* floating cards content */
.float-inner{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap: 6px;
  padding: 10px;
}

.glyph{
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -1px;
  line-height: 1;
  background: linear-gradient(90deg, var(--g4), var(--g2), var(--g3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow: 0 0 24px rgba(168,85,247,.25);
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.45));
  animation: glyphGlow 2.4s ease-in-out infinite;
}

@keyframes glyphGlow{
  0%,100%{ transform: translateY(0) scale(1); opacity: .92; }
  50%{ transform: translateY(-2px) scale(1.03); opacity: 1; }
}

.glyph-sub{
  font-size: 12px;
  color: rgba(255,255,255,.70);
  letter-spacing: .8px;
  text-transform: uppercase;
}

/* make floating cards feel like they are "orbiting" */
.floating-a{ --r: 8deg; animation-duration: 6.8s; }
.floating-b{ --r: -10deg; animation-duration: 7.6s; }

.floating{
  overflow:hidden;
}
.floating::before{
  content:"";
  position:absolute; inset:-2px;
  background: conic-gradient(from 180deg, rgba(91,124,250,.0), rgba(91,124,250,.35), rgba(168,85,247,.35), rgba(255,79,216,.28), rgba(33,212,253,.22), rgba(91,124,250,.0));
  filter: blur(12px);
  opacity:.65;
  z-index:0;
}
.float-inner{ position:relative; z-index:1; }

/* tighten card-mid since we now have content */
.card-mid{
  height: 250px;
}

.icp-link{
  text-decoration: none;
}

.icp-link:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}