/* Citadel Marketing — Design Tokens */
:root {
  --bg-deep: #0a1628;
  --bg-surface: #111827;
  --bg-card: #1a2332;
  --border-subtle: #1e3a5f;
  --cyan: #2DE4FF;
  --gold: #FFC93C;
  --primary: #0284c7;
  --primary-light: #38bdf8;
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --radius: 0.75rem;
  --font: 'Encode Sans', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

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

img { max-width: 100%; height: auto; display: block; }

/* ─── Layout ─── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Navbar ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand img {
  width: 36px;
  height: 36px;
}

.navbar-brand span {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.2s;
}

.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px rgba(2, 132, 199, 0.3);
}
.btn-primary:hover {
  background: var(--primary-light);
  box-shadow: 0 0 28px rgba(2, 132, 199, 0.45);
}

.btn-cyan {
  background: var(--cyan);
  color: #0a1628;
  box-shadow: 0 0 20px rgba(45, 228, 255, 0.25);
}
.btn-cyan:hover {
  box-shadow: 0 0 32px rgba(45, 228, 255, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
}
.btn-outline:hover {
  background: rgba(45, 228, 255, 0.08);
}

/* ─── Hero ─── */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero .gradient-text {
  background: linear-gradient(135deg, var(--cyan), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

/* ─── Section Shared ─── */
section { padding: 4rem 0; }

.section-label {
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

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

/* ─── Audience Toggles ─── */
.audience-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.toggle-group {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.toggle-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  border: 1.5px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.toggle-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.toggle-btn.active {
  background: rgba(45, 228, 255, 0.1);
  border-color: var(--cyan);
  color: var(--cyan);
}

.audience-panel { display: none; }
.audience-panel.active { display: block; }

.audience-panel h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--gold);
}

.audience-panel ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.audience-panel li {
  background: var(--bg-card);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.audience-panel li strong {
  color: var(--text-primary);
}

/* ─── Feature Cards ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 24px rgba(45, 228, 255, 0.08);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* ─── How It Works ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 1rem;
  border: 2px solid var(--cyan);
  color: var(--cyan);
  background: rgba(45, 228, 255, 0.06);
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.step-connector {
  display: none;
}

/* ─── CTA Footer ─── */
.cta-footer {
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0d1f3c 100%);
}

.cta-footer h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-footer p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-footer .cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta-footer .contact {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ─── Footer ─── */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero { padding: 4rem 0 3rem; }

  .steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .audience-panel ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .toggle-group {
    flex-direction: column;
    align-items: stretch;
  }

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

  .btn { width: 100%; justify-content: center; }

  .cta-footer .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
