/* ========== Base ========== */
:root{
  --bg:#0b0f17;
  --panel:#0f1624;
  --muted:#0d1320;
  --text:#e9eef8;
  --sub:#b7c3da;
  --line:rgba(255,255,255,.10);
  --shadow: 0 12px 40px rgba(0,0,0,.35);

  --accent1:#6ee7ff;
  --accent2:#a78bfa;
  --accent3:#22c55e;

  --radius:16px;
  --radius2:22px;
  --container:1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(110,231,255,.10), transparent 60%),
    radial-gradient(800px 500px at 85% 15%, rgba(167,139,250,.10), transparent 60%),
    radial-gradient(900px 600px at 50% 100%, rgba(34,197,94,.06), transparent 60%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit;text-decoration:none}
p{margin:0 0 12px}
h1,h2,h3,h4,h5{margin:0 0 10px; line-height:1.15}
.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

/* ========== Buttons ========== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:12px 16px;
  border-radius: 999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-weight:600;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(255,255,255,.18)}
.btn--primary{
  border: none;
  background: linear-gradient(135deg, rgba(110,231,255,.95), rgba(167,139,250,.95));
  color:#09111c;
}
.btn--ghost{
  background: rgba(255,255,255,.03);
}
.link{
  display:inline-flex;
  gap:.35rem;
  font-weight:600;
  opacity:.92;
}
.link:hover{opacity:1}

/* ========== Header ========== */
.header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(12px);
  background: rgba(11,15,23,.55);
  border-bottom:1px solid var(--line);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.08em;
}
.brand__dot{
  width:12px;height:12px;border-radius:999px;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  box-shadow: 0 0 0 4px rgba(110,231,255,.09);
}
.brand__text{font-size:14px}
.nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav a{
  color:var(--sub);
  font-weight:600;
  font-size:14px;
  padding:8px 10px;
  border-radius:10px;
}
.nav a:hover{
  color:var(--text);
  background: rgba(255,255,255,.04);
}
.header__actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.icon-btn{
  width:42px; height:42px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  display:none;
  cursor:pointer;
}
.icon-btn__bar{
  display:block;
  width:18px; height:2px;
  background: var(--text);
  margin:4px auto;
  border-radius:2px;
}

/* ========== Hero ========== */
.hero{
  padding:64px 0 34px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:22px;
  align-items:stretch;
}
.pill{
  display:inline-flex;
  padding:7px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background: rgba(255,255,255,.03);
  color:var(--sub);
  font-weight:700;
  font-size:12px;
  letter-spacing:.04em;
  margin-bottom:14px;
}
.hero h1{
  font-size:46px;
  letter-spacing:-.02em;
  margin-bottom:12px;
}
.grad{
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{color:var(--sub); font-size:16px; max-width:60ch}
.hero__cta{display:flex; gap:10px; flex-wrap:wrap; margin:18px 0 12px}
.stack{
  margin-top:16px;
  padding:14px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
}
.stack__label{color:var(--sub); font-weight:700; font-size:13px}
.stack__chips{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.chip{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  font-size:12px;
  color:var(--sub);
  font-weight:700;
}

.hero__card{
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  box-shadow: var(--shadow);
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:14px;
}
.hero__cardTop{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
.kpi{
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(255,255,255,.03);
  padding:12px;
}
.kpi__n{font-weight:900; font-size:16px}
.kpi__t{color:var(--sub); font-weight:700; font-size:12px}

.hero__mock{
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(11,15,23,.45);
  padding:14px;
}
.mock__bar{
  height:10px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  margin-bottom:12px;
}
.mock__row{display:flex; gap:10px; margin-bottom:10px}
.mock__box{
  flex:1;
  height:46px;
  border-radius:12px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.mock__box--wide{height:56px}

.hero__note{
  color:var(--sub);
  font-size:13px;
  border-top:1px solid var(--line);
  padding-top:12px;
}

/* ========== Strip ========== */
.strip{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background: rgba(255,255,255,.02);
  padding:22px 0;
}
.strip__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.strip__copy p{color:var(--sub); margin:0}
.strip__form{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--text);
  outline:none;
}
input::placeholder, textarea::placeholder{color: rgba(183,195,218,.7)}
.strip__form input{min-width:260px}

/* ========== Sections & Cards ========== */
.section{padding:58px 0}
.section--muted{background: rgba(255,255,255,.02); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.section__head{max-width:72ch; margin-bottom:18px}
.section__head p{color:var(--sub)}
.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.grid2{display:grid; grid-template-columns: repeat(2, 1fr); gap:14px}

.card{
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding:18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.card h4, .card h3{margin-bottom:8px}
.card p{color:var(--sub); margin:0}

.card--step .step{
  display:inline-flex;
  width:36px;height:36px;
  border-radius:12px;
  align-items:center;justify-content:center;
  font-weight:900;
  background: rgba(255,255,255,.04);
  border:1px solid var(--line);
  margin-bottom:10px;
  color:var(--text);
}

.card--service{
  position:relative;
  overflow:hidden;
}
.badge{
  position:absolute;
  top:14px; right:14px;
  width:40px;height:40px;
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
  background: linear-gradient(135deg, rgba(110,231,255,.20), rgba(167,139,250,.20));
  border:1px solid rgba(255,255,255,.12);
}

/* ========== FAQ ========== */
.accordion{display:grid; gap:12px}
.acc{
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding:14px 16px;
}
.acc summary{
  cursor:pointer;
  font-weight:800;
}
.acc p{margin-top:10px; color:var(--sub)}

/* ========== Contact ========== */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  align-items:start;
}
.contact__meta{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
  margin:18px 0 0;
}
.meta{
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  border-radius: 16px;
  padding:12px;
}
.meta__k{display:block; color:var(--sub); font-weight:800; font-size:12px}
.meta__v{display:block; font-weight:800; margin-top:4px}
.field{margin-bottom:12px}
label{display:block; font-weight:800; color:var(--sub); font-size:12px; margin-bottom:6px}
.tiny{color:rgba(183,195,218,.75); font-size:12px}

/* ========== Footer ========== */
.footer{
  border-top:1px solid var(--line);
  padding:34px 0 18px;
  background: rgba(0,0,0,.15);
}
.footer__grid{
  display:grid;
  grid-template-columns: 1.4fr .6fr .6fr .6fr;
  gap:16px;
  align-items:start;
}
.footer__col h5{margin-bottom:10px; color:var(--text)}
.footer__col a{
  display:block;
  color:var(--sub);
  padding:6px 0;
  font-weight:700;
  font-size:14px;
}
.footer__col a:hover{color:var(--text)}
.footer__bottom{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid var(--line);
  color:rgba(183,195,218,.8);
  font-size:13px;
}
.brand--footer{margin-bottom:10px}

/* ========== Drawer (Mobile) ========== */
.drawer{display:none}
.drawer__panel{
  position:fixed;
  top:0; right:0;
  width:min(360px, 92vw);
  height:100vh;
  background: rgba(15,22,36,.98);
  border-left:1px solid var(--line);
  box-shadow: var(--shadow);
  z-index:60;
  padding:16px;
  transform: translateX(105%);
  transition: transform .18s ease;
}
.drawer__backdrop{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.55);
  z-index:55;
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease;
}
.drawer__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:10px;
}
.drawer__title{font-weight:900}
.drawer__links a{
  display:block;
  padding:12px 10px;
  border-radius:14px;
  border:1px solid transparent;
  color:var(--sub);
  font-weight:800;
}
.drawer__links a:hover{
  border-color: var(--line);
  background: rgba(255,255,255,.03);
  color:var(--text);
}
.drawer__cta{width:100%; margin-top:10px}

/* Drawer open state */
.drawer.is-open{display:block}
.drawer.is-open .drawer__panel{transform: translateX(0)}
.drawer.is-open .drawer__backdrop{
  opacity:1;
  pointer-events:auto;
}

/* ========== Toast ========== */
.toast{
  position:fixed;
  left:50%;
  bottom:18px;
  transform: translateX(-50%);
  padding:12px 14px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(15,22,36,.95);
  color:var(--text);
  box-shadow: var(--shadow);
  font-weight:800;
  font-size:13px;
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
}
.toast.show{
  opacity:1;
  transform: translateX(-50%) translateY(-6px);
}

/* ========== Responsive ========== */
@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr; }
  .footer__grid{grid-template-columns: 1fr 1fr}
  .contact{grid-template-columns: 1fr}
}
@media (max-width: 760px){
  .nav{display:none}
  .icon-btn{display:inline-block}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .strip__inner{flex-direction:column; align-items:stretch}
  .strip__form input{min-width: 0}
  .hero h1{font-size:36px}
  .contact__meta{grid-template-columns:1fr}
}
