/* Hexolus Affiliates - Brand Theme */
:root {
  --blue-primary: #1a73e8;
  --blue-dark: #0d47a1;
  --blue-light: #e8f0fe;
  --orange-primary: #ff6b2c;
  --orange-dark: #e55a1b;
  --orange-light: #fff3ed;
  --text-primary: #1a1a2e;
  --text-secondary: #555;
  --text-muted: #888;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --border: #e0e0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-sm: 8px;
}

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

body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--bg-light);
  line-height: 1.7;
}

a { color: var(--blue-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Navbar ── */
.navbar {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.navbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
}
.navbar-brand img, .navbar-brand svg { height: 36px; width: 36px; }
.navbar-links { display: flex; gap: 1.5rem; }
.navbar-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.navbar-links a:hover { color: var(--blue-primary); text-decoration: none; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-dark) 60%, var(--orange-primary) 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem 4rem;
}
.hero h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; opacity: 0.9; max-width: 600px; margin: 0 auto; }

/* ── Container ── */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

/* ── Card ── */
.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  margin: 2rem 0;
}

/* ── Features Grid ── */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.feature-icon.blue { background: var(--blue-light); color: var(--blue-primary); }
.feature-icon.orange { background: var(--orange-light); color: var(--orange-primary); }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ── Policy Pages ── */
.policy-header {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  color: #fff;
  text-align: center;
  padding: 3rem 2rem;
}
.policy-header h1 { font-size: 2.2rem; font-weight: 700; }
.policy-header p { opacity: 0.85; margin-top: 0.5rem; }

.policy-content { padding: 3rem 2rem; }
.policy-content h2 {
  color: var(--blue-dark);
  font-size: 1.4rem;
  margin: 2rem 0 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--orange-primary);
  display: inline-block;
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content p, .policy-content li {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
.policy-content ul { padding-left: 1.5rem; }
.policy-content li { margin-bottom: 0.4rem; }

.highlight-box {
  background: var(--blue-light);
  border-left: 4px solid var(--blue-primary);
  padding: 1.2rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
}
.highlight-box.orange {
  background: var(--orange-light);
  border-left-color: var(--orange-primary);
}

/* ── Footer ── */
.footer {
  background: var(--text-primary);
  color: #ccc;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}
.footer a { color: var(--orange-primary); }
.footer-links { margin-bottom: 0.8rem; }
.footer-links a { margin: 0 1rem; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero { padding: 3rem 1.5rem 2.5rem; }
  .navbar-links { gap: 1rem; }
  .navbar-links a { font-size: 0.85rem; }
  .card { padding: 1.5rem; }
  .policy-content { padding: 2rem 1.5rem; }
}
@media (max-width: 480px) {
  .navbar-inner { flex-direction: column; height: auto; padding: 0.8rem 0; gap: 0.5rem; }
  .hero h1 { font-size: 1.6rem; }
  .features { grid-template-columns: 1fr; }
}
