/* ============================================================
   AXL Amazing Loadboard Referral System
   Main Stylesheet - Mobile First
   Colors: Red #CC0000, Black #111, White #FFF, Gray #F5F5F5
   ============================================================ */

:root {
  --red: #CC0000;
  --red-dark: #990000;
  --red-light: #FF3333;
  --black: #111111;
  --charcoal: #222222;
  --gray-dark: #444444;
  --gray: #888888;
  --gray-light: #CCCCCC;
  --gray-bg: #F5F5F5;
  --white: #FFFFFF;
  --success: #1A7F37;
  --warning: #B45309;
  --info: #0369A1;
  --danger: #CC0000;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 6px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content { flex: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }
ul { list-style: none; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---- AD Placeholders ---- */
.ad-banner-top {
  background: var(--gray-bg);
  border-bottom: 1px solid var(--gray-light);
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.75rem;
  text-align: center;
}
.ad-banner-top:not(:empty) { min-height: 90px; }
.ad-sidebar { background: var(--gray-bg); border: 1px dashed var(--gray-light); min-height: 250px; padding: 1rem; text-align: center; color: var(--gray); font-size: 0.75rem; border-radius: var(--radius); }
.ad-footer { background: var(--gray-bg); border-top: 1px solid var(--gray-light); min-height: 50px; padding: 0.5rem; text-align: center; color: var(--gray); font-size: 0.75rem; }
.ad-in-content { background: var(--gray-bg); border: 1px dashed var(--gray-light); min-height: 100px; margin: 2rem 0; padding: 1rem; text-align: center; color: var(--gray); font-size: 0.75rem; border-radius: var(--radius); }

/* ---- Header ---- */
.site-header {
  background: var(--black);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.logo:hover { color: var(--red-light); }
.logo-icon { font-size: 1.8rem; }
.logo em { color: var(--red-light); font-style: normal; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.main-nav a {
  color: #CCC;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}
.main-nav a:hover { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--gray);
}
.btn-outline:hover { border-color: var(--white); color: var(--white); }
.btn-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: var(--charcoal); color: var(--white); }
.btn-success { background: var(--success); color: var(--white); border-color: var(--success); }
.btn-danger  { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn-sm  { padding: 0.35rem 0.85rem; font-size: 0.8rem; }
.btn-lg  { padding: 0.75rem 2rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--black) 0%, #1a0000 50%, var(--charcoal) 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(204,0,0,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { max-width: 700px; }
.hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 em { color: var(--red-light); font-style: normal; }
.hero p.lead {
  font-size: 1.15rem;
  color: #CCC;
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--red-light);
}
.hero-stat span { font-size: 0.8rem; color: #AAA; }

/* ---- Sections ---- */
section { padding: 4rem 0; }
.section-label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
  display: block;
}
.section-title { margin-bottom: 1rem; }
.section-desc { color: var(--gray-dark); font-size: 1.05rem; max-width: 560px; }
.section-header { margin-bottom: 3rem; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }
.bg-light { background: var(--gray-bg); }
.bg-dark  { background: var(--black); color: var(--white); }
.bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-dark .section-desc { color: #AAA; }

/* ---- Cards ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid #EBEBEB;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 52px;
  height: 52px;
  background: #FFF0F0;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; }
.card p { color: var(--gray-dark); font-size: 0.9rem; margin: 0; }

/* ---- Steps ---- */
.steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.step-num {
  min-width: 42px;
  height: 42px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.step-body h3 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.step-body p  { color: var(--gray-dark); font-size: 0.9rem; margin: 0; }

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 680px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--white);
  border: 2px solid #EBEBEB;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.pricing-card.featured {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(204,0,0,0.08);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-name {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.pricing-price small { font-size: 1rem; font-weight: 600; color: var(--gray); }
.pricing-note { font-size: 0.82rem; color: var(--gray); margin: 0.5rem 0 1.25rem; }
.pricing-details { font-size: 0.85rem; color: var(--gray-dark); margin-bottom: 1.5rem; text-align: left; }
.pricing-details li { padding: 0.35rem 0; border-bottom: 1px solid #F0F0F0; display: flex; gap: 0.5rem; }
.pricing-details li::before { content: '✓'; color: var(--success); font-weight: 700; }

/* ---- Commission Banner ---- */
.commission-banner {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}
.commission-banner h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 0.75rem; }
.commission-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 560px; margin: 0 auto 2rem; }
.commission-highlight {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ---- Blog ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #EBEBEB;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog-card-img {
  background: linear-gradient(135deg, var(--black), #330000);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-card-body { padding: 1.25rem; }
.blog-date { font-size: 0.78rem; color: var(--gray); margin-bottom: 0.5rem; }
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.blog-card-body h3 a { color: var(--black); }
.blog-card-body h3 a:hover { color: var(--red); }
.blog-card-body p { font-size: 0.88rem; color: var(--gray-dark); margin-bottom: 0.75rem; }
.blog-read-more { font-size: 0.85rem; font-weight: 600; color: var(--red); }

/* ---- Forms ---- */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--charcoal); }
.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,0,0,0.1);
}
select.form-control { cursor: pointer; }
textarea.form-control { min-height: 120px; resize: vertical; }
.form-hint { font-size: 0.78rem; color: var(--gray); margin-top: 0.3rem; }
.form-error { font-size: 0.78rem; color: var(--red); margin-top: 0.3rem; }
.form-check { display: flex; align-items: flex-start; gap: 0.6rem; }
.form-check input { margin-top: 0.2rem; accent-color: var(--red); }
.form-check label { font-size: 0.88rem; color: var(--gray-dark); }

.honeypot { display: none !important; visibility: hidden; }

/* ---- Form card / Box ---- */
.form-box {
  background: var(--white);
  border: 1px solid #E8E8E8;
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  max-width: 540px;
  margin: 0 auto;
}
.form-box h2 { margin-bottom: 0.5rem; }
.form-box p.subtitle { color: var(--gray-dark); font-size: 0.9rem; margin-bottom: 1.75rem; }

/* ---- Alerts ---- */
.alert {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  border: 1px solid transparent;
}
.alert-success { background: #D1FAE5; border-color: #6EE7B7; color: #065F46; }
.alert-error   { background: #FEE2E2; border-color: #FCA5A5; color: #991B1B; }
.alert-warning { background: #FEF3C7; border-color: #FCD34D; color: #92400E; }
.alert-info    { background: #DBEAFE; border-color: #93C5FD; color: #1E40AF; }

/* ---- Dashboard ---- */
.dashboard-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 60px);
}
.sidebar {
  background: var(--black);
  color: var(--white);
  padding: 1.5rem 0;
}
.sidebar-logo {
  padding: 0 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1rem;
}
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1.25rem;
  color: #AAA;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--transition);
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  color: var(--white);
  background: rgba(204,0,0,0.2);
  border-left: 3px solid var(--red);
  padding-left: calc(1.25rem - 3px);
}
.sidebar-nav .nav-section {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #555;
  padding: 1rem 1.25rem 0.35rem;
}
.dashboard-content { padding: 2rem; background: var(--gray-bg); }
.page-title { font-size: 1.6rem; margin-bottom: 1.5rem; }

/* ---- Stats Cards ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--red);
}
.stat-card .stat-label { font-size: 0.78rem; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.35rem; }
.stat-card .stat-value { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; color: var(--black); line-height: 1; }
.stat-card .stat-sub { font-size: 0.75rem; color: var(--gray); margin-top: 0.25rem; }

/* ---- Tables ---- */
.table-wrap { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #F0F0F0;
}
.table-header h3 { font-size: 1rem; margin: 0; }
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 0.75rem 1.25rem;
  background: var(--gray-bg);
  border-bottom: 1px solid #EBEBEB;
}
td { padding: 0.85rem 1.25rem; font-size: 0.88rem; border-bottom: 1px solid #F5F5F5; vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #FAFAFA; }

/* ---- Badges ---- */
.badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge-new     { background: #EEF2FF; color: #3730A3; }
.badge-info    { background: #DBEAFE; color: #1E40AF; }
.badge-success { background: #D1FAE5; color: #065F46; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-danger  { background: #FEE2E2; color: #991B1B; }

/* ---- Referral Link Box ---- */
.referral-box {
  background: var(--white);
  border: 2px solid var(--red);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.referral-box h3 { margin-bottom: 0.5rem; }
.referral-box p  { font-size: 0.88rem; color: var(--gray-dark); margin-bottom: 1rem; }
.referral-input-wrap { display: flex; gap: 0.5rem; }
.referral-input {
  flex: 1;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--charcoal);
  background: var(--gray-bg);
}
.copy-btn {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.copy-btn:hover { background: var(--red); }

/* ---- Footer ---- */
.site-footer { background: var(--black); color: #AAA; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2rem;
}
.footer-brand .logo { margin-bottom: 0.75rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
.footer-links h4 {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #888; font-size: 0.85rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid #222;
  padding: 1.25rem 0;
  font-size: 0.78rem;
  color: #555;
  text-align: center;
}
.footer-bottom p { margin: 0.2rem 0; }

/* ---- Page Hero ---- */
.page-hero {
  background: linear-gradient(135deg, var(--black), #1a0000);
  color: var(--white);
  padding: 3.5rem 0;
  border-bottom: 3px solid var(--red);
}
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero p  { color: #BBB; font-size: 1.05rem; margin: 0; }

/* ---- Blog Post ---- */
.post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; }
.post-content h2 { margin: 1.75rem 0 0.75rem; }
.post-content h3 { margin: 1.25rem 0 0.5rem; }
.post-content p  { margin-bottom: 1rem; color: #333; line-height: 1.8; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.post-content li { margin-bottom: 0.5rem; color: #333; line-height: 1.7; }
.post-content ul { list-style: disc; }
.post-meta { display: flex; gap: 1.5rem; font-size: 0.82rem; color: var(--gray); margin-bottom: 1.5rem; flex-wrap: wrap; }

/* ---- Pagination ---- */
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.page-link {
  padding: 0.5rem 0.85rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--charcoal);
  transition: all var(--transition);
}
.page-link:hover { border-color: var(--red); color: var(--red); }
.page-link.active { background: var(--red); border-color: var(--red); color: var(--white); }

/* ---- 2-col layout ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.two-col .col-img { border-radius: var(--radius); overflow: hidden; background: var(--gray-bg); min-height: 250px; display: flex; align-items: center; justify-content: center; font-size: 5rem; }

/* ---- Empty State ---- */
.empty-state { text-align: center; padding: 3rem; color: var(--gray); }
.empty-state span { font-size: 3rem; display: block; margin-bottom: 1rem; }

/* ---- Admin specific ---- */
.admin-topbar {
  background: var(--black);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.admin-topbar .brand { font-family: var(--font-head); font-size: 1.2rem; font-weight: 800; color: var(--white); letter-spacing: 0.05em; }
.admin-topbar .brand em { color: var(--red-light); font-style: normal; }
.admin-topbar a { color: #AAA; font-size: 0.85rem; }
.admin-topbar a:hover { color: var(--white); }
.admin-topbar .badge { vertical-align: middle; }

/* ---- Utilities ---- */
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-red    { color: var(--red); }
.text-green  { color: var(--success); }
.text-gray   { color: var(--gray); }
.text-small  { font-size: 0.82rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.d-flex { display: flex; }
.gap-1  { gap: 0.5rem; }
.gap-2  { gap: 1rem; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.font-bold { font-weight: 700; }
.divider { border: none; border-top: 1px solid #EBEBEB; margin: 2rem 0; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .post-layout { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .sidebar.open { display: block; }
}
@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--black);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.6rem 0; border-bottom: 1px solid #222; color: #CCC; }
  .hero { padding: 3rem 0 2rem; }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  th, td { padding: 0.65rem 0.75rem; font-size: 0.82rem; }
  .form-box { padding: 1.5rem; }
  .referral-input-wrap { flex-direction: column; }
  .table-wrap { overflow-x: auto; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; }
}
