/* ===========================================================
   DomainGemsAI — Shared Theme
   Palette derived from the live Cloudify-template site
   (cloud-blue / cloud-green art, card-based sections)
   =========================================================== */

:root {
  --navy: #0b2545;
  --blue: #1f6fd1;
  --blue-dark: #15549e;
  --blue-pale: #eaf2fd;
  --green: #1fae77;
  --green-pale: #e8f8f0;
  --ink: #14213a;
  --gray-700: #4a5468;
  --gray-500: #6b7488;
  --gray-200: #e3e8f1;
  --bg: #f6f9fd;
  --white: #ffffff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -20px rgba(11, 37, 69, 0.25);
  --shadow-sm: 0 8px 20px -12px rgba(11, 37, 69, 0.2);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4 {
  font-family:
    "Sora",
    system-ui,
    -apple-system,
    Segoe UI,
    sans-serif;
  color: var(--navy);
  line-height: 1.18;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.15rem;
}
p {
  margin: 0 0 1em;
  color: var(--gray-700);
}
a {
  color: var(--blue);
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.visually-hidden {
  position: absolute;
  left: -9999px;
}

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-pale);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.green {
  color: #117a51;
  background: var(--green-pale);
}

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}
.brand img {
  height: 30px;
  width: auto;
}
nav.main-nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.main-nav a {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gray-700);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--blue);
  border-color: var(--blue);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--navy);
  color: var(--white);
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: 999px;
  transition:
    transform 0.15s ease,
    background 0.2s ease;
}
.nav-cta:hover {
  background: var(--blue);
  transform: translateY(-1px);
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  color: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 70px;
  background: linear-gradient(180deg, #f0f6fe 0%, var(--bg) 100%);
}
.hero .cloud {
  position: absolute;
  opacity: 0.55;
  pointer-events: none;
}
.hero .cloud.c1 {
  top: -30px;
  right: -60px;
  width: 340px;
}
.hero .cloud.c2 {
  bottom: -50px;
  left: -70px;
  width: 300px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero p.lede {
  font-size: 1.12rem;
  color: var(--gray-700);
  max-width: 680px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border-color: var(--gray-200);
  color: var(--navy);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.btn-block {
  width: 100%;
}

/* ---------- Sections ---------- */
section {
  padding: 72px 0;
}
section.alt {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.section-head {
  max-width: 680px;
  margin-bottom: 44px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- Cards / Grid ---------- */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.card .tag {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: var(--blue-pale);
  padding: 5px 11px;
  border-radius: 7px;
  margin-bottom: 14px;
}
.card.green .tag {
  color: #117a51;
  background: var(--green-pale);
}
.card h3 {
  margin-bottom: 10px;
}

/* ---------- Stat block ---------- */
.stat-block {
  text-align: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: 64px 40px;
  position: relative;
  overflow: hidden;
}
.stat-block .big-stat {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--white);
  margin-bottom: 6px;
}
.stat-block p {
  color: #c4d5ef;
  max-width: 560px;
  margin: 14px auto 4px;
  font-size: 1.05rem;
}
.stat-block .source {
  font-size: 0.78rem;
  color: #7d97c2;
  letter-spacing: 0.03em;
}

/* ---------- Steps (legit numbered sequence) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.step .num {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  background: var(--blue);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* ---------- Credibility callout ---------- */
.credibility {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  text-align: center;
  background: var(--green-pale);
  border: 1px solid #bfe9d4;
  border-radius: var(--radius-sm);
  padding: 20px 28px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  color: #0f6e49;
  font-size: 1.02rem;
  margin: 48px auto 0;
  max-width: 760px;
}

/* ---------- Pillar groups (Who it's for) ---------- */
.pillar-group {
  margin-bottom: 36px;
}
.pillar-group h3.pillar-title {
  font-family: "Sora", sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-dark);
  margin-bottom: 18px;
}
.tile {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}

/* ---------- Comparison table ---------- */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  min-width: 560px;
}
table.compare th,
table.compare td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
}
table.compare thead th {
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  background: var(--bg);
}
table.compare thead th.active-col {
  color: var(--blue-dark);
  background: var(--blue-pale);
}
table.compare td.active-col {
  background: #f6faff;
  font-weight: 500;
  color: var(--ink);
}
table.compare tbody tr:last-child td {
  border-bottom: none;
}

/* ---------- Highlight statement ---------- */
.highlight-statement {
  text-align: center;
  padding: 60px 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--navy), var(--blue-dark));
  color: var(--white);
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  line-height: 1.3;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.testimonial p {
  font-size: 0.98rem;
  color: var(--ink);
}
.testimonial .who {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
}
.testimonial .role {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ---------- Pricing ---------- */
.price-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 18px 40px -16px rgba(31, 111, 209, 0.35);
}
.price-card .amount {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--navy);
  margin: 10px 0;
}
.price-card .amount span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-500);
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin: 18px 0;
  text-align: left;
  font-size: 0.9rem;
  color: var(--gray-700);
}
.price-card li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--gray-200);
}
.price-card li:last-child {
  border-bottom: none;
}

/* ---------- Bulk table ---------- */
table.bulk {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
table.bulk th,
table.bulk td {
  padding: 16px 20px;
  text-align: center;
  border-bottom: 1px solid var(--gray-200);
}
table.bulk th {
  background: var(--bg);
  font-family: "Sora", sans-serif;
  font-size: 0.85rem;
}
table.bulk td:first-child,
table.bulk th:first-child {
  text-align: left;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  background: var(--blue-pale);
  border-radius: 24px;
  padding: 56px 30px;
}
.cta-band h2 {
  margin-bottom: 14px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-detail .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-detail h4 {
  margin: 0 0 2px;
  font-size: 1rem;
}
.contact-detail p {
  margin: 0;
  font-size: 0.92rem;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  margin-bottom: 16px;
}
.form-row label {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--ink);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
  background: var(--white);
}
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 24px;
}
.map-embed iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: #aebfdc;
  padding: 48px 0 28px;
  margin-top: 40px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-family: "Sora", sans-serif;
  font-weight: 700;
}
.footer-brand img {
  height: 26px;
}
footer.site-footer nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
footer.site-footer a {
  color: #aebfdc;
}
footer.site-footer a:hover {
  color: var(--white);
}
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  nav.main-nav {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .steps {
    grid-template-columns: 1fr;
  }
  section {
    padding: 52px 0;
  }
  .hero {
    padding: 56px 0 50px;
  }
}
