
:root{
  --bg:#06111f;
  --bg-soft:#0b1830;
  --surface:rgba(255,255,255,.06);
  --surface-soft:rgba(255,255,255,.04);
  --line:rgba(255,255,255,.10);
  --line-strong:rgba(255,255,255,.16);
  --text:#edf4ff;
  --muted:#aab9d5;
  --blue:#74baff;
  --blue-strong:#2f78ff;
  --amber:#ffb35d;
  --amber-strong:#ff8c2f;
  --green:#7fe7c0;
  --shadow:0 28px 70px rgba(0,0,0,.34);
  --radius-xl:34px;
  --radius-lg:24px;
  --radius-md:18px;
  --radius-sm:14px;
  --max:1280px;
  --header-h:78px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  background:
    radial-gradient(920px 560px at 12% -10%, rgba(116,186,255,.18), transparent 56%),
    radial-gradient(760px 520px at 108% 8%, rgba(255,179,93,.15), transparent 56%),
    radial-gradient(820px 520px at 50% 116%, rgba(127,231,192,.08), transparent 58%),
    linear-gradient(180deg, #050f1b 0%, #091222 32%, #0b1830 100%);
  min-height:100vh;
  overflow-x:hidden;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.32;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:52px 52px;
  mask-image:linear-gradient(to bottom, rgba(255,255,255,.55), transparent 78%);
}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}

.container{
  width:min(var(--max), calc(100vw - 40px));
  margin-inline:auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  backdrop-filter:blur(18px);
  background:linear-gradient(180deg, rgba(6,12,22,.90), rgba(6,12,22,.64));
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav{
  min-height:var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.brand-mark{
  width:56px;
  height:56px;
  flex:0 0 56px;
}
.brand-copy{
  min-width:0;
}
.brand-copy strong{
  display:block;
  font-size:18px;
  letter-spacing:.2px;
}
.brand-copy span{
  display:block;
  color:var(--muted);
  font-size:12px;
  margin-top:2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.nav-actions{
  display:flex;
  align-items:center;
  gap:14px;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:8px;
}
.nav-links a{
  padding:10px 12px;
  border-radius:999px;
  color:var(--muted);
  font-size:14px;
  transition:.18s ease;
}
.nav-links a:hover{
  background:rgba(255,255,255,.05);
  color:var(--text);
}
.lang-switch{
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
}
.lang-switch button{
  border:0;
  background:transparent;
  color:var(--text);
  padding:10px 14px;
  border-radius:999px;
  cursor:pointer;
  font-weight:700;
}
.lang-switch button.is-active{
  color:#201205;
  background:linear-gradient(135deg, var(--amber-strong), #ffd7a4);
  box-shadow:0 10px 24px rgba(255,140,47,.24);
}

.section{
  padding:42px 0;
}
.hero{
  padding-top:62px;
}
.hero-shell{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(760px, 780px);
  gap:28px;
  align-items:start;
}
.hero-copy{
  padding-top:12px;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:var(--muted);
  font-size:14px;
  margin-bottom:20px;
}
.eyebrow-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 18px rgba(127,231,192,.85);
}
.hero h1{
  margin:0 0 18px;
  font-size:clamp(46px, 7vw, 94px);
  line-height:.92;
  letter-spacing:-.05em;
  max-width:720px;
}
.gradient{
  background:linear-gradient(135deg, #fff 6%, #d7e7ff 52%, #ffd39f 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero p{
  margin:0;
  font-size:clamp(18px, 2vw, 23px);
  line-height:1.65;
  color:#d7e4fb;
  max-width:720px;
}
.hero-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:28px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:15px 18px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  font-weight:800;
  letter-spacing:.2px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn:hover{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.16);
}
.btn-primary{
  color:#201205;
  background:linear-gradient(135deg, var(--amber-strong), #ffd39d);
  box-shadow:0 16px 30px rgba(255,140,47,.24);
}
.btn-secondary{
  background:rgba(255,255,255,.06);
  color:var(--text);
}

.hero-card,
.surface{
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);
  box-shadow:var(--shadow);
}
.hero-card{
  border-radius:38px;
  padding:20px;
  min-width:760px;
}
.runtime-shell{
  display:grid;
  gap:16px;
}
.runtime-topbar,
.runtime-foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 14px;
  border-radius:18px;
  background:rgba(8,17,33,.68);
  border:1px solid rgba(255,255,255,.08);
}
.runtime-left,
.runtime-status{
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:13px;
}
.traffic{
  display:inline-flex;
  gap:6px;
}
.traffic i{
  display:block;
  width:10px;
  height:10px;
  border-radius:50%;
  background:rgba(255,255,255,.16);
}
.traffic i:nth-child(1){background:#ff7c70}
.traffic i:nth-child(2){background:#ffc86a}
.traffic i:nth-child(3){background:#74e4a7}
.status-dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 16px rgba(127,231,192,.78);
}

.runtime-grid{
  display:grid;
  grid-template-columns:minmax(360px, 1fr) minmax(300px, .92fr);
  gap:16px;
}
.preview-panel{
  min-width:0;
  border-radius:26px;
  background:rgba(8,17,33,.56);
  border:1px solid rgba(255,255,255,.08);
  padding:18px;
  position:relative;
  overflow:hidden;
}
.panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}
.panel-head strong{
  display:block;
  font-size:18px;
}
.panel-head span{
  display:block;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
  margin-top:4px;
}
.micro-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  color:#ddecff;
  font-size:12px;
  font-weight:700;
  flex-shrink:0;
}
.layer-stack{
  display:grid;
  gap:12px;
}
.layer-item{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  align-items:flex-start;
  padding:16px;
  border-radius:20px;
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.08);
}
.layer-index{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  font-weight:900;
  letter-spacing:.4px;
  color:#071426;
  box-shadow:0 10px 20px rgba(0,0,0,.14);
}
.layer-index-blue{background:linear-gradient(135deg, #cfe5ff, var(--blue))}
.layer-index-amber{background:linear-gradient(135deg, #ffd8a8, var(--amber))}
.layer-index-light{background:linear-gradient(135deg, #fff, #dce7ff)}
.layer-body strong{
  display:block;
  font-size:16px;
  margin-bottom:5px;
}
.layer-body span{
  display:block;
  color:var(--muted);
  font-size:13px;
  line-height:1.58;
}

.chat-panel{
  display:grid;
  gap:14px;
  align-content:start;
}
.chat-curve{
  position:absolute;
  width:270px;
  right:-18px;
  top:-24px;
  opacity:.55;
  pointer-events:none;
  filter:drop-shadow(0 14px 28px rgba(0,0,0,.18));
}
.panel-head-chat{
  margin-bottom:2px;
}
.owned-apps,
.loaded-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.owned-pill{
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  color:#dfeaff;
  font-size:12px;
  font-weight:700;
}
.chat-box{
  display:grid;
  gap:12px;
  padding:16px;
  border-radius:22px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.07);
}
.bubble{
  max-width:100%;
  border-radius:18px;
  padding:14px 16px;
  font-size:14px;
  line-height:1.62;
}
.bubble-user{
  margin-left:auto;
  background:linear-gradient(135deg, rgba(47,120,255,.30), rgba(116,186,255,.18));
  border:1px solid rgba(116,186,255,.18);
}
.bubble-ai{
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.loaded-label{
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  margin-bottom:8px;
}
.loaded-pill{
  padding:10px 12px;
  border-radius:999px;
  background:rgba(255,179,93,.12);
  border:1px solid rgba(255,179,93,.18);
  color:#ffe0b4;
  font-size:12px;
  font-weight:700;
}
.runtime-foot{
  align-items:flex-start;
}
.runtime-foot strong{
  display:block;
  font-size:14px;
}
.runtime-foot span{
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
  text-align:right;
  max-width:60%;
}

.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:18px;
}
.section-head h2{
  margin:0;
  font-size:clamp(30px, 4vw, 52px);
  line-height:1.03;
  letter-spacing:-.04em;
  white-space:pre-line;
}
.section-head p{
  margin:0;
  max-width:620px;
  color:var(--muted);
  font-size:17px;
  line-height:1.72;
}

.method-grid{
  display:grid;
  grid-template-columns:.94fr 1.06fr;
  gap:18px;
  border-radius:34px;
  padding:18px;
}
.method-visual{
  min-height:540px;
  position:relative;
  border-radius:28px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
}
.method-visual svg{
  width:100%;
  height:100%;
  min-height:500px;
  display:block;
}
.diagram-note{
  position:absolute;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(8,17,33,.76);
  border:1px solid rgba(255,255,255,.08);
  color:#edf4ff;
  font-size:13px;
  line-height:1.5;
  max-width:220px;
  box-shadow:0 14px 30px rgba(0,0,0,.24);
}
.diagram-note strong{
  display:block;
  font-size:14px;
  margin-bottom:4px;
}
.note-1{left:20px;top:18px}
.note-2{right:18px;top:110px}
.note-3{left:28px;bottom:92px}
.note-4{right:16px;bottom:20px}
.method-copy{
  display:grid;
  gap:14px;
}
.method-card{
  padding:18px;
  border-radius:22px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.method-card-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.method-card-head strong{
  font-size:18px;
  line-height:1.35;
}
.tag{
  display:inline-flex;
  padding:8px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  font-size:12px;
  font-weight:800;
  flex-shrink:0;
}
.method-card p{
  margin:0;
  color:var(--muted);
  line-height:1.68;
  font-size:15px;
}

.today-grid{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:14px;
}
.today-card{
  min-height:172px;
  padding:18px;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  position:relative;
  overflow:hidden;
}
.today-card::before{
  content:"";
  position:absolute;
  width:150px;
  height:150px;
  right:-38px;
  bottom:-40px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(255,179,93,.18), transparent 64%);
  pointer-events:none;
}
.today-num{
  font-size:40px;
  line-height:1;
  letter-spacing:-.06em;
  background:linear-gradient(135deg, #fff, #ffd5a2);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.today-card strong{
  display:block;
  font-size:17px;
  margin-top:10px;
}
.today-card span{
  display:block;
  color:var(--muted);
  font-size:14px;
  line-height:1.56;
  margin-top:8px;
}

.vision-grid{
  display:grid;
  grid-template-columns:1.02fr .98fr;
  gap:18px;
}
.vision-panel{
  border-radius:34px;
  padding:22px;
}
.vision-pill{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
  color:#dce8ff;
  font-size:12px;
  font-weight:800;
}
.vision-pill i{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--amber);
  box-shadow:0 0 14px rgba(255,179,93,.7);
}
.market-phone{
  width:min(390px, 96%);
  margin:20px auto 0;
  padding:18px;
  border-radius:34px;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg, rgba(6,11,22,.92), rgba(16,28,52,.96));
  box-shadow:0 32px 80px rgba(0,0,0,.42);
}
.market-phone-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  color:var(--muted);
  font-size:13px;
  margin-bottom:14px;
}
.phone-notch{
  display:inline-block;
  width:108px;
  height:18px;
  border-radius:999px;
  background:rgba(255,255,255,.09);
}
.market-app-list{
  display:grid;
  gap:12px;
}
.market-app{
  display:grid;
  grid-template-columns:50px 1fr auto;
  gap:12px;
  align-items:center;
  padding:13px;
  border-radius:20px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.market-app-mark{
  width:50px;
  height:50px;
  padding:8px;
  border-radius:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);
}
.market-app strong{
  display:block;
  font-size:15px;
}
.market-app span{
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-top:4px;
  line-height:1.4;
}
.market-state{
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,179,93,.12);
  border:1px solid rgba(255,179,93,.18);
  color:#ffe0b4;
  font-size:12px;
  font-weight:800;
}
.steps{
  display:grid;
  gap:12px;
  margin-top:18px;
}
.step-card{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:14px;
  align-items:flex-start;
  padding:16px 18px;
  border-radius:22px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.step-no{
  width:36px;
  height:36px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, #d2e5ff, var(--blue));
  color:#081426;
  font-weight:900;
  box-shadow:0 10px 20px rgba(47,120,255,.20);
}
.step-card strong{
  display:block;
  margin-bottom:6px;
  font-size:16px;
}
.step-card span{
  display:block;
  color:var(--muted);
  line-height:1.6;
  font-size:14px;
}

.quote{
  border-radius:34px;
  padding:36px 24px;
  text-align:center;
}
.quote p{
  margin:0 auto;
  max-width:980px;
  font-size:clamp(26px, 4.2vw, 52px);
  line-height:1.14;
  letter-spacing:-.04em;
}

.site-footer{
  padding:24px 0 60px;
}
.footer{
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
  color:var(--muted);
}
.footer-brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.footer-brand strong{
  display:block;
  color:var(--text);
}
.footer-brand span{
  display:block;
  font-size:13px;
}
.footer-mark{
  width:44px;
  height:44px;
}

@media (max-width: 1500px){
  .hero-shell{
    grid-template-columns:minmax(0, 1fr) minmax(720px, 760px);
  }
  .hero-card{min-width:720px}
}

@media (max-width: 1380px){
  .hero-shell{
    grid-template-columns:1fr;
  }
  .hero-copy{
    max-width:none;
  }
  .hero-card{
    min-width:0;
  }
}

@media (max-width: 1180px){
  .method-grid,
  .vision-grid{
    grid-template-columns:1fr;
  }
  .section-head{
    display:block;
  }
  .section-head p{
    margin-top:10px;
  }
  .today-grid{
    grid-template-columns:repeat(3, 1fr);
  }
}

@media (max-width: 980px){
  .nav-links{
    display:none;
  }
  .runtime-grid{
    grid-template-columns:1fr;
  }
  .hero-card{
    padding:16px;
  }
  .runtime-foot{
    display:grid;
    gap:8px;
  }
  .runtime-foot span{
    max-width:none;
    text-align:left;
  }
}

@media (max-width: 760px){
  .container{
    width:min(var(--max), calc(100vw - 28px));
  }
  .hero{
    padding-top:44px;
  }
  .brand-copy span{
    display:none;
  }
  .brand-mark{
    width:48px;
    height:48px;
    flex-basis:48px;
  }
  .hero h1{
    font-size:44px;
  }
  .hero p{
    font-size:17px;
  }
  .today-grid{
    grid-template-columns:repeat(2, 1fr);
  }
  .market-app{
    grid-template-columns:50px 1fr;
  }
  .market-state{
    grid-column:2;
    justify-self:start;
  }
}

@media (max-width: 560px){
  .hero-buttons{
    flex-direction:column;
    align-items:stretch;
  }
  .lang-switch button{
    padding:9px 12px;
  }
  .today-grid{
    grid-template-columns:1fr;
  }
  .panel-head,
  .method-card-head{
    display:grid;
  }
  .chat-box{
    padding:14px;
  }
  .bubble{
    font-size:13px;
  }
}
