/* ==============================
   CheapMailBox — Global Styles
   ============================== */

:root{
  --bg:#0b1020;
  --card:#0f1730;
  --muted:#a7b0c3;
  --text:#e9eefc;
  --border:rgba(255,255,255,.10);
  --shadow: 0 18px 60px rgba(0,0,0,.35);
  --accent:#22c55e;
  --accent2:#fbbf24;
  --radius:18px;
  --max:1100px;
}

*{box-sizing:border-box}

html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:
    radial-gradient(1200px 700px at 20% 0%, rgba(34,197,94,.18), transparent 60%),
    radial-gradient(900px 600px at 90% 10%, rgba(251,191,36,.10), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.55;
}

a{color:inherit;text-decoration:none}

.wrap{
  max-width:var(--max);
  margin:0 auto;
  padding:22px;
}

/* ==============================
   Top Navigation
   ============================== */

.topbar{
  position:sticky;
  top:0;
  z-index:40;
  backdrop-filter: blur(10px);
  background: rgba(11,16,32,.85);
  border-bottom:1px solid var(--border);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 22px;
  max-width:var(--max);
  margin:0 auto;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.logo{
  width:40px;
  height:40px;
  border-radius:12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.brand strong{font-size:15px}
.brand span{font-size:12px;color:var(--muted)}

.navlinks{
  display:flex;
  gap:14px;
}

.navlinks a{
  font-size:13px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
}

.navlinks a:hover{
  background:rgba(255,255,255,.06);
  color:var(--text);
}

/* ==============================
   Buttons
   ============================== */

.btn{
  padding:11px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  font-weight:600;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

.btn.primary{
  background: linear-gradient(135deg, var(--accent), #16a34a);
  color:#062012;
  border:none;
}

.btn:hover{
  transform:translateY(-1px);
}

/* ==============================
   Hero Section
   ============================== */

.hero{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:20px;
  padding:34px 0;
}

.hero h1{
  font-size:clamp(30px,4vw,48px);
  line-height:1.08;
}

.hero p{
  color:var(--muted);
  max-width:56ch;
}

.pillrow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.pill{
  font-size:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  padding:7px 10px;
  border-radius:999px;
}

/* ==============================
   Cards & Sections
   ============================== */

.card{
  border:1px solid var(--border);
  border-radius:var(--radius);
  background: rgba(255,255,255,.05);
  padding:18px;
  box-shadow: var(--shadow);
}

.grid2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

/* ==============================
   Tables
   ============================== */

.tableWrap{
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  margin-top:10px;
}

table{
  width:100%;
  border-collapse:collapse;
}

th,td{
  padding:12px;
  font-size:13px;
  border-bottom:1px solid rgba(255,255,255,.08);
}

th{
  text-transform:uppercase;
  font-size:12px;
  color:var(--muted);
}

/* ==============================
   Footer
   ============================== */

.footer{
  margin-top:28px;
  padding:22px 0;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:12px;
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
}

/* ==============================
   Responsive
   ============================== */

@media(max-width:900px){
  .hero{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .navlinks{display:none}
}
