/* /assets/css/home.css */

:root{
  --bg:#0b0f14;
  --panel:#0f1621;
  --card:#ffffff;
  --text:#0e1116;
  --muted:#6b7280;
  --line:rgba(255,255,255,.12);
  --shadow:0 10px 30px rgba(0,0,0,.25);
  --radius:16px;
}

*{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";
  color:var(--text);
  background:#0b0f14;
}

/* topbar */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 18px;
  background:rgba(11,15,20,.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.topbarRight{
  display:flex;
  align-items:center;
  gap:10px;
}
.topLogo{
  height:34px;
  width:auto;
  border-radius:8px;
  object-fit:contain;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  padding:4px;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:#fff;
}
.brandMark{
  width:34px;height:34px;
  display:grid;place-items:center;
  border-radius:10px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.16);
  font-weight:700;
}
.brandText{font-weight:700; letter-spacing:.2px}

/* hero */
.hero{
  padding:72px 18px 50px;
  background:
    radial-gradient(1200px 600px at 20% 10%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(900px 500px at 90% 20%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(180deg, #0b0f14 0%, #0b0f14 55%, #0f1621 100%);
  color:#fff;
}
.heroInner{
  max-width:1020px;
  margin:0 auto;
}
.hero h1{
  margin:0 0 10px;
  font-size:44px;
  line-height:1.06;
  letter-spacing:-.6px;
}
.hero p{
  margin:0 0 18px;
  max-width:760px;
  color:rgba(255,255,255,.82);
  font-size:16px;
  line-height:1.55;
}
.heroCtas{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.heroNote{
  margin-top:22px;
  display:flex;flex-wrap:wrap;gap:10px;
  color:rgba(255,255,255,.72);
  font-size:13px;
}
.heroNote a{color:rgba(255,255,255,.78);text-decoration:none}
.heroNote a:hover{text-decoration:underline}

/* sections */
.section{
  padding:54px 18px;
  background:#0f1621;
  color:#fff;
}
.section.alt{background:#0b0f14}
.section.register{
  color:#fff;
}
.section.register h2,
.section.register p,
.section.register .card h3,
.section.register .card p,
.section.register .label,
.section.register .small,
.section.register .muted{
  color:#fff;
}
.section.register .card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
}
.container{max-width:1020px;margin:0 auto}
.section h2{
  margin:0 0 14px;
  font-size:26px;
}
.section p{margin:0 0 20px;color:rgba(255,255,255,.78);line-height:1.65}

/* grids */
.grid3{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.grid2{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
@media (max-width: 860px){
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .hero h1{font-size:36px}
}

/* cards */
.card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  border-radius:var(--radius);
  padding:16px;
}
.card h3{margin:0 0 8px;font-size:16px}
.card p{margin:0;color:rgba(255,255,255,.78);line-height:1.55}
.kv{margin-top:10px}
.small{font-size:12px;line-height:1.35}
.muted{color:rgba(255,255,255,.60)}

/* buttons */
.btnPrimary, .btnGhost{
  border:none;
  border-radius:12px;
  padding:10px 14px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.btnPrimary{
  background:#ffffff;
  color:#0b0f14;
}
.btnPrimary:hover{filter:brightness(.95)}
.btnGhost{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  color:#fff;
}
.btnGhost:hover{background:rgba(255,255,255,.14)}
.full{width:100%}

/* footer */
.footer{
  background:#0b0f14;
  color:rgba(255,255,255,.70);
  padding:18px 0;
  border-top:1px solid var(--line);
}
.footerInner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.footerRight{display:flex;gap:14px}
.footer a{color:rgba(255,255,255,.70);text-decoration:none}
.footer a:hover{text-decoration:underline}
@media (max-width: 640px){
  .footerInner{flex-direction:column;align-items:flex-start}
}

/* modal */
.modalBackdrop{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
  background:rgba(0,0,0,.55);
  z-index:200;
}
.modalBackdrop.show{display:flex}
.modal{
  width:min(520px, 100%);
  background:#ffffff;
  color:#0e1116;
  border-radius:18px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.formGrid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.label{
  font-size:12px;
  color:rgba(255,255,255,.7);
  margin-bottom:6px;
  display:block;
}
.input, .textarea{
  width:100%;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
  color:#fff;
  padding:10px 12px;
  font-size:14px;
}
.textarea{min-height:90px;resize:vertical;}
@media (max-width: 860px){
  .formGrid{grid-template-columns:1fr;}
}
.modalHeader{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:14px 14px 10px;
  border-bottom:1px solid #eef0f2;
}
.modalTitle{font-weight:800;font-size:16px}
.modalSub{font-size:12px;color:#6b7280;margin-top:2px}
.modalBody{padding:14px}
.label{display:block;font-size:12px;color:#374151;margin-bottom:6px}
.input{
  width:100%;
  padding:10px 11px;
  border-radius:12px;
  border:1px solid #d7dbe0;
  outline:none;
  color:#0e1116;
  background:#ffffff;
}
.input:focus{border-color:#9aa4b2}
.input::placeholder{color:#9aa4b2}
.msg{margin-top:10px}
.iconBtn{
  border:none;
  background:transparent;
  cursor:pointer;
  padding:6px 8px;
  border-radius:10px;
}
.iconBtn:hover{background:#f2f3f5}

