/* ============================================================
   AIOps Studio — Shared Stylesheet
   Colors: Dark Navy + Electric Blue
   ============================================================ */

:root {
  --navy-dark: #060b18;
  --navy: #0a1628;
  --navy-mid: #0f2040;
  --navy-light: #162a52;
  --blue: #0a84ff;
  --blue-bright: #38b6ff;
  --blue-glow: rgba(10, 132, 255, 0.18);
  --white: #ffffff;
  --off-white: #e8eef8;
  --grey: #8a9bbf;
  --grey-light: #c4cfdf;
  --border: rgba(10, 132, 255, 0.2);
  --card-bg: rgba(15, 32, 64, 0.7);
  --font-head: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-blue: 0 4px 32px rgba(10, 132, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--navy-dark);
  color: var(--off-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  color: var(--blue-bright);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--white);
}

/* ── Typography ── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--white);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--grey-light);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: .6rem;
}

/* ── Layout Utilities ── */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}

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

.text-blue {
  color: var(--blue-bright);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-4 {
  gap: 16px;
}

.gap-8 {
  gap: 32px;
}

.mt-4 {
  margin-top: 16px;
}

.mt-8 {
  margin-top: 32px;
}

.mt-12 {
  margin-top: 48px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-8 {
  margin-bottom: 32px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: all .22s ease;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  background: #0070dd;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(10, 132, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--blue-bright);
  border: 2px solid var(--blue);
}

.btn-outline:hover {
  background: var(--blue-glow);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
  border-radius: 10px;
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 11, 24, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 70px;
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.02em;
}

.nav-logo span {
  color: var(--blue-bright);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  color: var(--grey-light);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: .92rem;
  font-weight: 500;
  transition: all .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: var(--blue-glow);
}

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .25s;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  padding: 140px 0 100px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 182, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-glow);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue-bright);
  margin-bottom: 24px;
  letter-spacing: .04em;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--grey-light);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.stat-item {}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.stat-num span {
  color: var(--blue-bright);
}

.stat-label {
  font-size: .82rem;
  color: var(--grey);
  margin-top: 4px;
}

/* ── Section Headers ── */
.section-header {
  margin-bottom: 56px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  max-width: 580px;
}

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

.section-header.center p {
  margin: 0 auto;
}

/* ── Cards ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: all .25s ease;
  backdrop-filter: blur(8px);
}

.card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-glow);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

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

.card p {
  font-size: .95rem;
}

/* ── Pillar Cards ── */
.pillar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all .25s ease;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  opacity: 0;
  transition: opacity .25s;
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.pillar-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -.04em;
}

.pillar-card h3 {
  margin-bottom: 12px;
}

.pillar-tag {
  display: inline-block;
  background: var(--blue-glow);
  color: var(--blue-bright);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: all .25s ease;
}

.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
}

.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-bright);
  margin-bottom: 12px;
}

.pricing-price {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price sub {
  font-size: 1rem;
  font-weight: 500;
  color: var(--grey);
  vertical-align: baseline;
}

.pricing-desc {
  font-size: .88rem;
  color: var(--grey);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9rem;
  color: var(--grey-light);
  margin-bottom: 12px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--blue-bright);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

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

/* ── Process Steps ── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 52px;
  bottom: 52px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), transparent);
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 28px 0;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 2px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blue-bright);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-body h4 {
  margin-bottom: 6px;
  color: var(--white);
}

.step-body p {
  font-size: .93rem;
  margin: 0;
}

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.15) 0%, transparent 70%);
}

.cta-band h2 {
  margin-bottom: 16px;
}

.cta-band p {
  max-width: 500px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
}

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

/* ── Forms ── */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--grey-light);
  margin-bottom: 8px;
  letter-spacing: .02em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-size: .95rem;
  font-family: var(--font-body);
  padding: 12px 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--grey);
}

.form-select {
  appearance: none;
  cursor: pointer;
}

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

/* ── Footer ── */
footer {
  background: var(--navy-dark);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

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

.footer-brand .nav-logo {
  font-size: 1.2rem;
  margin-bottom: 16px;
  display: block;
}

.footer-brand p {
  font-size: .9rem;
  color: var(--grey);
  max-width: 280px;
}

.footer-col h5 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: var(--grey-light);
  font-size: .9rem;
  transition: color .2s;
}

.footer-col ul a:hover {
  color: var(--blue-bright);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: .84rem;
  color: var(--grey);
  margin: 0;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy-dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.1) 0%, transparent 70%);
}

.page-hero h1 {
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Testimonial ── */
.testimonial {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
}

.testimonial::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 28px;
  font-size: 5rem;
  color: var(--blue);
  opacity: .3;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1.05rem;
  color: var(--off-white);
  margin-bottom: 24px;
  margin-top: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-glow);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--blue-bright);
  font-size: .9rem;
}

.author-name {
  font-weight: 700;
  color: var(--white);
  font-size: .95rem;
}

.author-title {
  font-size: .82rem;
  color: var(--grey);
}

/* ── Highlight Strip ── */
.highlight-strip {
  background: linear-gradient(90deg, var(--blue-glow), rgba(56, 182, 255, 0.07));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.highlight-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.highlight-text {
  font-size: .95rem;
  color: var(--off-white);
}

.highlight-text strong {
  color: var(--white);
}

/* ── Counties badge strip ── */
.county-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.county-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-glow);
  border: 1px solid var(--border);
  color: var(--blue-bright);
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}

/* ── Dividers ── */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-bright));
  border-radius: 2px;
  margin: 20px 0;
}

.divider.center {
  margin: 20px auto;
}

/* ── Mobile Responsive ── */
@media (max-width: 900px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .cta-band {
    padding: 48px 32px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .navbar {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    border-bottom: 1px solid var(--border);
    padding: 16px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero {
    padding: 120px 0 80px;
  }

  .hero-stats {
    gap: 24px;
  }

  .cta-band {
    padding: 40px 24px;
  }

  .process-steps::before {
    display: none;
  }

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