
:root {
  --primary-blue: #214ad0;
  --primary-blue-light: #2563eb;
  --primary-purple: #7827d2;
  --primary-purple-light: #9b5cf5;
  --primary-green: #048f5a;
  --primary-green-light: #0bbf6a;
  --dark-bg: #111827;
  --dark-card: #1f2937;
  --light-bg: #f3f4ff;
  --section-border: #e5e7eb;
  --text-main: #111827;
  --text-muted: #6b7280;
  --radius-lg: 1rem;
  --radius-full: 999px;
  --shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 18px 35px rgba(15, 23, 42, 0.1);
}

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

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color: var(--text-main);
  background-color: #f3f4f6;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background-color: var(--primary-blue);
  color: #ffffff;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff, #dbeafe);
  position: relative;
  overflow: hidden;
}

.logo-mark::before,
.logo-mark::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary-blue-light), #38bdf8);
}

.logo-mark::before {
  width: 18px;
  height: 18px;
  left: 4px;
  bottom: -4px;
}

.logo-mark::after {
  width: 26px;
  height: 10px;
  right: -6px;
  top: 6px;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.nav-link {
  opacity: 0.9;
}

.nav-link:hover {
  opacity: 1;
}

.nav-link.active {
  font-weight: 600;
}

.nav-cta {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 22px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border-radius: var(--radius-full);
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  gap: 6px;
}

.btn-primary {
  background: #ffffff;
  color: var(--primary-blue);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.22);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.btn-outline:hover {
  background: rgba(15, 23, 42, 0.1);
}

.btn-secondary {
  background: #111827;
  color: #ffffff;
}

.btn-secondary:hover {
  background: #020617;
}

.btn-small {
  padding: 9px 20px;
  font-size: 13px;
}

.btn-icon {
  font-size: 16px;
  line-height: 1;
}

/* Hero */
.hero {
  color: #ffffff;
  text-align: center;
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background: radial-gradient(circle at 0 0, rgba(59, 130, 246, 0.75), transparent 55%),
              radial-gradient(circle at 100% 0, rgba(59, 130, 246, 0.6), transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 14px;
}

.hero-title {
  font-size: 38px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 16px;
  max-width: 580px;
  margin: 0 auto 30px;
  opacity: 0.95;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
}

.hero-purple {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
}

.hero-green {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-light));
}

/* Sections */
.section {
  padding: 70px 0;
  background-color: #ffffff;
}

.section-alt {
  background-color: #f9fafb;
}

.section-cta {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  color: #ffffff;
  text-align: center;
}

.section-dark {
  background-color: var(--dark-bg);
  color: #e5e7eb;
}

.section-metric-band {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
  color: #ffffff;
  text-align: center;
  padding: 55px 0;
}

.section-metric-band-purple {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
}

.section-title {
  font-size: 26px;
  text-align: center;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 15px;
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 32px;
}

.section-subtitle-light {
  color: rgba(249, 250, 251, 0.85);
}

.section-title-light {
  color: #ffffff;
}

/* Cards & grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
  box-shadow: var(--shadow-card);
}

.card--light-shadow {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.card--bordered {
  box-shadow: none;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.card--on-dark {
  background-color: var(--dark-card);
  color: #e5e7eb;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 600;
}

.card-icon--blue {
  background: rgba(37, 99, 235, 0.12);
  color: var(--primary-blue);
}

.card-icon--purple {
  background: rgba(126, 58, 242, 0.15);
  color: var(--primary-purple);
}

.card-icon--green {
  background: rgba(16, 185, 129, 0.16);
  color: var(--primary-green);
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-text {
  font-size: 14px;
  color: var(--text-muted);
}

.card-text--on-dark {
  color: #9ca3af;
}

.card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 500;
  color: #60a5fa;
}

.card-link span {
  margin-left: 4px;
  font-size: 14px;
}

.pill-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 8px;
}

.pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 220px;
}

.pill-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: var(--primary-blue);
  font-size: 18px;
}

.pill-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.pill-text {
  font-size: 13px;
  color: var(--text-muted);
}

.pill-icon--green {
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--primary-green);
}

/* Metric blocks */
.metrics-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 26px;
}

.metric {
  min-width: 170px;
}

.metric-value {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 13px;
  opacity: 0.92;
}

/* Steps */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 10px;
}

.step {
  text-align: left;
}

.step-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.step-number {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-blue);
  background-color: #eff6ff;
}

.step-title {
  font-size: 14px;
  font-weight: 600;
}

.step-text {
  font-size: 13px;
  color: var(--text-muted);
}

/* Layout utility */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: flex-start;
}

.two-column-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
}

/* Dark section cards */
.section-dark .card-grid {
  margin-top: 26px;
}

/* CTA section */
.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-text {
  font-size: 15px;
  opacity: 0.92;
  margin-bottom: 22px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* Footer */
.site-footer {
  background-color: var(--dark-bg);
  color: #9ca3af;
  padding-top: 36px;
  padding-bottom: 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) repeat(2, minmax(0, 1.1fr));
  gap: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(55, 65, 81, 0.9);
}

.footer-brand-text {
  font-size: 13px;
  max-width: 360px;
  margin-top: 8px;
}

.footer-heading {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
  color: #d1d5db;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.footer-list li + li {
  margin-top: 6px;
}

.footer-link {
  color: #9ca3af;
}

.footer-link:hover {
  color: #e5e7eb;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  font-size: 12px;
  color: #6b7280;
  gap: 16px;
  flex-wrap: wrap;
}

/* Badges / chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 4px 10px;
  font-size: 11px;
  color: #e5e7eb;
}

/* Page-specific tweaks */
.page-user-acquisition .hero,
.page-contact .hero {
  padding-bottom: 80px;
}

.faq-item {
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  padding: 18px 20px;
  margin-bottom: 10px;
  background-color: #ffffff;
}

.faq-question {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.faq-answer {
  font-size: 13px;
  color: var(--text-muted);
}

/* Form */
.form-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
}

.form-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.form-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  font-size: 13px;
}

.form-group label {
  margin-bottom: 4px;
  font-weight: 500;
}

.form-control,
.form-select,
textarea.form-control {
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  padding: 9px 10px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.25);
}

.form-control::placeholder,
textarea.form-control::placeholder {
  color: #9ca3af;
}

.form-group-full {
  grid-column: 1 / -1;
}

textarea.form-control {
  min-height: 90px;
  resize: vertical;
}

.form-footer {
  margin-top: 10px;
  display: flex;
  justify-content: flex-start;
}

/* Contact side panel */
.contact-panel {
  padding-top: 10px;
}

.contact-block {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 18px 18px 20px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
  margin-bottom: 18px;
}

.contact-heading {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-line {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-highlight {
  font-weight: 500;
  color: #1d4ed8;
}

.contact-small {
  font-size: 12px;
  color: #9ca3af;
  margin-top: 10px;
}

/* Platform grid (media buying) */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.platform-card {
  background-color: #ffffff;
  border-radius: 14px;
  padding: 14px 14px 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
  font-size: 13px;
}

.platform-name {
  font-weight: 600;
  margin-bottom: 4px;
}

.platform-desc {
  color: var(--text-muted);
  font-size: 12px;
}

/* Simple icon placeholder for metrics / steps */
.icon-circle {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--primary-blue);
}

/* Responsive */
@media (max-width: 1024px) {
  .card-grid,
  .card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .two-column,
  .two-column-reverse,
  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    gap: 26px;
  }
}

@media (max-width: 768px) {
  .site-header-inner {
    padding: 14px 0;
  }

  .nav-list {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    padding: 10px 20px 16px;
    background-color: var(--primary-blue);
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 23, 42, 0.15);
  }

  .nav-list.open {
    max-height: 260px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 50px 0 62px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section {
    padding: 52px 0;
  }

  .card-grid,
  .card-grid-4,
  .steps-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .pill-row {
    align-items: stretch;
  }

  .pill {
    max-width: 100%;
    align-items: flex-start;
    text-align: left;
  }

  .metrics-row {
    gap: 20px;
    align-items: stretch;
  }

  .metric {
    min-width: 0;
  }

  .platform-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .platform-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
