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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #050814;
  color: #f5f7ff;
  line-height: 1.6;
}

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

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

a:hover {
  text-decoration: none;
}

button {
  font-family: inherit;
}

/* ====== Layout ====== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-light {
  background: #070b1f;
}

.section-dark {
  background: #050814;
}

.section-alt {
  background: radial-gradient(circle at top, #122749 0, #050814 55%);
}

.section-header {
  margin-bottom: 2.5rem;
  max-width: 640px;
}

.section-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #45a8ff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.section-lead {
  color: #b3b9d9;
  font-size: 0.98rem;
}

/* ====== Header & Nav ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(3, 8, 26, 0.95);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(69, 168, 255, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  height: 32px;
  width: auto;
}

.logo-text {
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #e1f3ff;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.main-nav a {
  color: #c5cae9;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #00a0e0, #35d6ff);
  border-radius: 999px;
  transition: width 0.18s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a.active {
  color: #ffffff;
  font-weight: 600;
}

.main-nav a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(140, 158, 255, 0.5);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  color: #e0e3ff;
  font-size: 0.8rem;
  cursor: pointer;
}

.nav-toggle span {
  margin-left: 0.4rem;
  font-size: 1rem;
}

/* ====== Buttons ====== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    background 0.12s ease-out, border-color 0.12s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00a0e0, #35d6ff);
  color: #050814;
  box-shadow: 0 12px 30px rgba(0, 160, 224, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(0, 160, 224, 0.55);
}

.btn-ghost {
  background: transparent;
  color: #d9e1ff;
  border-color: rgba(139, 155, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(111, 140, 255, 0.08);
}

.btn-outline {
  background: transparent;
  border-color: rgba(0, 160, 224, 0.7);
  color: #e1f7ff;
}

.btn-outline:hover {
  background: rgba(0, 160, 224, 0.12);
}

.btn-sm {
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
}

/* ====== Hero ====== */
.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr);
  gap: 3.25rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 160, 224, 0.6);
  background: radial-gradient(circle at left, rgba(0, 160, 224, 0.35), transparent 65%);
  color: #c1ecff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.hero-kicker span.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background: rgba(13, 217, 147, 0.18);
  color: #6dffbf;
  font-size: 0.7rem;
}

.hero-title {
  font-size: 2.7rem;
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
}

.hero-title span.highlight {
  background: linear-gradient(120deg, #00a0e0, #35d6ff, #4af5c4);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-lead {
  color: #b5bddf;
  max-width: 620px;
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: #9ca8dd;
}

.hero-meta strong {
  color: #e4e8ff;
}

/* ====== Grids & cards ====== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

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

.card {
  border-radius: 1.1rem;
  padding: 1.4rem;
  background: #050b1f;
  border: 1px solid rgba(111, 140, 255, 0.22);
}

.card-soft {
  background: rgba(8, 11, 35, 0.95);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.card-kicker {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #7d8cff;
  margin-bottom: 0.4rem;
}

.card-body {
  font-size: 0.88rem;
  color: #b3b9d9;
}

.card-list {
  margin: 0.65rem 0 0;
  padding-left: 1rem;
  font-size: 0.86rem;
  color: #c1c7e6;
}

.card-list li + li {
  margin-top: 0.2rem;
}

/* Pill list */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.pill {
  font-size: 0.75rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(111, 140, 255, 0.12);
  color: #d7dfff;
}

/* ====== Badge rows ====== */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.badge-soft {
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background: rgba(7, 218, 155, 0.12);
  color: #87ffd0;
}

/* ====== Metrics strip ====== */
.metrics-strip {
  background: #050814;
  border-top: 1px solid rgba(111, 140, 255, 0.18);
  border-bottom: 1px solid rgba(111, 140, 255, 0.18);
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 1.75rem 0;
}

.metric-item-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #45a8ff;
}

.metric-item-value {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

/* ====== Advertisers / Publishers ====== */
.dual-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.dual-card-header {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.75rem;
}

.dual-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.9rem;
  background: radial-gradient(circle at top left, #00a0e0, #122749);
}

.dual-card-icon.publisher {
  background: radial-gradient(circle at top left, #8c7dff, #1a1440);
}

.dual-card-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.dual-card-cta {
  margin-top: 1.25rem;
}

/* ====== Industries pills ====== */
.industries-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.industry-pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(111, 140, 255, 0.3);
  font-size: 0.82rem;
  background: rgba(8, 11, 35, 0.9);
}

/* ====== Forms ====== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
}

.form-group label {
  color: #c1c7e6;
}

.form-group span.hint {
  color: #7f88b4;
  font-size: 0.76rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  border-radius: 0.75rem;
  border: 1px solid rgba(111, 140, 255, 0.5);
  background: rgba(5, 10, 32, 0.95);
  color: #f5f7ff;
  padding: 0.55rem 0.75rem;
  font-family: inherit;
  font-size: 0.9rem;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00a0e0;
  box-shadow: 0 0 0 1px rgba(0, 160, 224, 0.6);
}

/* ====== Footer ====== */
.site-footer {
  border-top: 1px solid rgba(111, 140, 255, 0.18);
  background: #040716;
  padding: 2.5rem 0 1.5rem;
  font-size: 0.8rem;
  color: #9da7da;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  color: #c8cff9;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links a {
  color: #aab4e5;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

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

@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .grid-2,
  .footer-grid,
  .dual-cards,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 780px) {
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(4, 8, 26, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.8rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(111, 140, 255, 0.2);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: all 0.18s ease-out;
  }

  .main-nav.open {
    max-height: 320px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-right {
    gap: 0.5rem;
  }

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

  .nav-right .btn {
    display: none;
  }

  .hero-title {
    font-size: 2.15rem;
  }
}

@media (max-width: 520px) {
  .hero-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
}
