/* ==================================================
   DESIGN SYSTEM — STABLE CORE (ASTRA SAFE)
   ================================================== */

/* ---------- VARIABLES ---------- */

/* Root variables for theme colors and radius */
:root{
  --bg:#0b1220;
  --card-bg:rgba(255,255,255,0.08);
  --card-border:rgba(255,255,255,0.12);
  --text:#e5e7eb;
  --muted:#94a3b8;
  --accent:#2563eb;
  --accent-hover:#1d4ed8;
  --radius:18px;
}

/* ---------- BASE ---------- */

/* Reset margins and paddings */
html, body{
  margin:0;
  padding:0;
}

body{
  background:var(--bg)!important;
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
  line-height:1.6;
  min-height:100vh;
}

/* ---------- ASTRA OVERRIDES ---------- */
/* REMOVE THEME'S WHITE CONTAINERS */

.ast-site-container,
.site-content,
.content-area,
.ast-container,
#content{
  background:transparent!important;
}

/* ---------- TYPOGRAPHY ---------- */

h1,h2,h3,h4,h5,h6{
  color:var(--text);
  font-weight:600;
  margin:0;
}

p{
  margin:0;
  color:var(--text);
}

/* Muted text */
.muted{
  color:var(--muted);
  font-size:14px;
}

/* ---------- LINKS ---------- */

a{
  color:var(--text);
  text-decoration:none;
  transition:.2s;
}

a:hover{
  color:var(--accent);
}

/* ---------- CARDS ---------- */

.card{
  background:var(--card-bg);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-radius:var(--radius);
  border:1px solid var(--card-border);
  padding:32px;
  transition:transform .25s ease, box-shadow .25s ease;
}

.card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 45px rgba(0,0,0,.35);
}

/* ---------- BUTTONS ---------- */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 28px;
  background:var(--accent);
  color:#fff;
  border-radius:10px;
  font-weight:600;
  font-size:15px;
  text-decoration:none;
  cursor:pointer;
  border:none;
  transition:.2s;
}

.btn:hover{
  background:var(--accent-hover);
  transform:translateY(-1px);
}

.btn:active{
  transform:none;
}

.btn.disabled,
.btn[disabled]{
  opacity:.5;
  cursor:not-allowed;
}

/* ---------- LAYOUT UTILS ---------- */

.container{
  max-width:1500px;
  margin:0 auto;
  padding:0 24px;
}

.flex{
  display:flex;
}

.flex-between{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.gap-16{gap:16px;}
.gap-24{gap:24px;}
.gap-40{gap:40px;}

/* ---------- MEDIA SAFETY ---------- */

img, svg, video, canvas{
  max-width:100%;
  height:auto;
  display:block;
}

/* ---------- SCROLL SAFETY ---------- */
/* CRITICALLY IMPORTANT: DO NOT BLOCK SCROLLING */

body,
html{
  overflow-x:hidden;
  overflow-y:auto;
}

/* ❌ DO NOT USE:
   height:100vh on containers
   overflow:hidden
   position:fixed
   scroll-behavior:smooth
*/

/* ==================================================
   END DESIGN SYSTEM
   ================================================== */
