:root{
  --bg:#0b1220;
  --panel:#0f1b33;
  --text:#eaf0ff;
  --muted:rgba(234,240,255,.75);
  --line:rgba(234,240,255,.12);
  --accent:#62ffa6;
  --accent2:#7cc8ff;
  --shadow:0 20px 60px rgba(0,0,0,.35);
}

/* RESET */
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 10% 0%, rgba(124,200,255,.18), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(98,255,166,.12), transparent 55%),
    var(--bg);
  line-height:1.6;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.container{
  width:min(1120px,92%);
  margin:0 auto;
}

/* ================= HEADER ================= */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  backdrop-filter:blur(10px);
  background:rgba(11,18,32,.75);
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
}

.brand-mark{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:linear-gradient(135deg,#4fa3ff,#3cffb3);
  color:#07101c;
}

.site-nav{
  display:flex;
  gap:16px;
}

.site-nav a{
  padding:8px 14px;
  border-radius:10px;
  color:var(--muted);
}

.site-nav a.active,
.site-nav a:hover{
  background:rgba(255,255,255,.08);
  color:var(--text);
}

.nav-toggle{display:none}

/* ================= ACTION BAR ================= */
.action-bar{
  padding:18px 0;
  background:linear-gradient(90deg,rgba(255,255,255,.04),rgba(255,255,255,.01));
}

.action-bar-inner{
  display:flex;
  gap:14px;
}

.action-btn{
  flex:1;
  text-align:center;
  padding:16px 0;
  font-weight:800;
  letter-spacing:1px;
  border-radius:10px;
  color:#fff;
  text-transform:uppercase;
}

/* Login */
.action-btn.login{
  background:linear-gradient(135deg,#8b0000,#ff2d2d);
}

/* Register */
.action-btn.register{
  background:linear-gradient(135deg,#001a8f,#004cff);
}

/* ================= CENTER IMAGE ================= */
.about-image-section{
  padding:32px 0 10px;
  display:flex;
  justify-content:center;
}

.about-center-image{
  width:600px;
  height:600px;
  object-fit:cover;
  border-radius:22px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  margin:0 auto;
}

/* ================= HERO ================= */
.hero{
  position:relative;
  padding:72px 0 36px;
  border-bottom:1px solid var(--line);
}

.hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(11,18,32,.4),rgba(11,18,32,.9)),
    url("../images/hero.jpg");
  background-size:cover;
  background-position:center;
}

.hero-inner{position:relative}

.hero h1{
  font-size:clamp(32px,4vw,52px);
  line-height:1.1;
}

.lead{
  color:var(--muted);
  max-width:65ch;
}

/* ================= PAGE HERO ================= */
.page-hero{
  padding:48px 0 20px;
}

.page-hero h1{
  font-size:40px;
  margin-bottom:10px;
}

/* ================= SECTIONS ================= */
.section{
  padding:48px 0;
}

.section.alt{
  background:rgba(255,255,255,.04);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-head h2{margin:0 0 8px}
.section-head p{color:var(--muted)}

/* ================= GRID ================= */
.grid-2{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:20px;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}

/* ================= CARD ================= */
.card{
  background:rgba(15,27,51,.7);
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
}

.card.big{padding:22px}

.muted{color:var(--muted)}

/* ================= INFO ================= */
.info-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:10px 0;
  border-bottom:1px solid var(--line);
}

/* ================= FAQ ================= */
.faq details{
  background:rgba(15,27,51,.6);
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  margin-bottom:10px;
}

.faq summary{
  cursor:pointer;
  font-weight:700;
}

/* ================= FOOTER ================= */
.site-footer{
  border-top:1px solid var(--line);
  padding:20px 0;
  background:rgba(11,18,32,.7);
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width:900px){
  .grid-2{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
}

@media (max-width:700px){
  .about-center-image{
    width:100%;
    height:auto;
    max-width:360px;
  }
}

@media (max-width:600px){
  .action-bar-inner{
    flex-direction:column;
  }
}
