/* ==========================
   ACTIVE ADVERTISER NETWORK
   SHARED STYLES
========================== */

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

:root {
  --bg: #0f172a;
  --panel: #1e293b;
  --panel-dark: #020617;
  --border: rgba(255,255,255,.08);
  --text: #ffffff;
  --muted: #94a3b8;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ==========================
   LAYOUT
========================== */

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

section {
  padding: 60px 0;
}

.page-header {
  margin-bottom: 30px;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.page-header p {
  color: var(--muted);
}

/* ==========================
   NAVIGATION
========================== */

header {
  background: #111827;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: .2s;
}

.nav-links a:hover {
  color: white;
}

/* ==========================
   HERO
========================== */

.hero {
  padding: 100px 0;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero p {
  max-width: 850px;
  margin: auto;
  color: #cbd5e1;
  font-size: 1.25rem;
}

/* ==========================
   BUTTONS
========================== */

.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: transparent;
  border: 1px solid #475569;
}

/* ==========================
   PANELS
========================== */

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 24px;
}

.panel-dark {
  background: var(--panel-dark);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 20px;
}

/* ==========================
   FORMS
========================== */

label {
  display: block;
  margin-bottom: 8px;
  color: #cbd5e1;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px;
  background: #0b1220;
  color: white;
  border: 1px solid #334155;
  border-radius: 8px;
}

textarea {
  min-height: 140px;
}

/* ==========================
   GRID
========================== */

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ==========================
   TABLES
========================== */

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  text-align: left;
  color: #93c5fd;
  padding: 14px;
}

td {
  padding: 14px;
  border-top: 1px solid var(--border);
}

tr:hover {
  background: rgba(255,255,255,.02);
}

/* ==========================
   TAGS
========================== */

.pill {
  display: inline-block;
  background: #334155;
  color: #dbeafe;
  padding: 6px 10px;
  border-radius: 999px;
  margin: 4px;
  font-size: .85rem;
}

/* ==========================
   CARDS
========================== */

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--muted);
}

/* ==========================
   UTILITIES
========================== */

.muted {
  color: var(--muted);
}

.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mt-30 {
  margin-top: 30px;
}

.mt-40 {
  margin-top: 40px;
}

/* ==========================
   FOOTER
========================== */

footer {
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding: 30px 0;
  margin-top: 60px;
}

/* ==========================
   MOBILE
========================== */

@media (max-width: 768px) {

  .hero h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  .page-header h1 {
    font-size: 2rem;
  }

}
