:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --accent: #0a0f2b;
  --text: #1a1a1a;
  --muted: #444;
  --brand: #4f46e5;
  --brand-2: #22d3ee;
  --ok: #157a2c;
  --err: #b00020;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  --maxw: 1600px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 18px;
  line-height: 1.75;
}

/* ---------- Header ---------- */
header {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 3rem 1rem 2rem;
}
header h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
}
header p {
  margin: 0.4rem 0;
  font-size: 1.2rem;
  opacity: 0.9;
}

/* ---------- Hero ---------- */
.hero {
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: 5rem 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.title {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--accent);
}

/* --- Shared hero text --- */
.subtitle,
.eyebrow,
.hero p[style*="italic"] {
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 60ch;
  margin-bottom: 1.25rem;
}
.subtitle {
  font-weight: 600;
  color: var(--accent);
}
.eyebrow {
  font-weight: 700;
  color: var(--accent);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
  padding-top: 1rem;
}
.eyebrow strong {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--accent);
}
.eyebrow span {
  display: block;
  font-weight: 400;
  color: var(--text);
  margin-top: 0;
}
.hero p[style*="italic"] {
  font-weight: 400;
  font-style: italic;
  color: color-mix(in srgb, var(--text) 80%, #000 20%);
  margin-top: 1rem;
}
.lead {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text);
  opacity: 0.9;
}

/* ---------- Buttons ---------- */
.btn,
button {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: 1rem;
}
.btn-primary,
button[type="submit"],
#vf-btn,
#cf-btn,
#cidr button[type="submit"] {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}
.btn-primary:hover,
button[type="submit"]:hover,
#vf-btn:hover,
#cf-btn:hover,
#cidr button[type="submit"]:hover {
  opacity: 0.9;
}

/* ---------- Section defaults ---------- */
section {
  padding: 5rem 2rem;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
}
section h2, section h3, section h4 {
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 1rem;
}

/* ---------- WHY GITOPS MANAGER ---------- */
.why {
  background: #f8f9fa;
  color: var(--text);
  padding: 5rem 2rem;
}
.why h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.why p {
  font-size: 1.4rem;               /* same as subtitle size */
  line-height: 1.8;
  margin-bottom: 2rem;
}
.why-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.why-block h4 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.5rem;
}


#cidr {
  background: var(--bg);
  text-align: center;
  padding: 6rem 2rem;
}

#cidr .card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 3rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: left;
}


.stack-grid,
.capabilities-grid,
.subscription-grid {
  display: grid;
  gap: 2rem;
}

/* Large screens (max 3 columns) */
@media (min-width: 1025px) {
  .stack-grid,
  .capabilities-grid,
  .subscription-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium screens (2 columns) */
@media (min-width: 641px) and (max-width: 1024px) {
  .stack-grid,
  .capabilities-grid,
  .subscription-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small screens (1 column) */
@media (max-width: 640px) {
  .stack-grid,
  .capabilities-grid,
  .subscription-grid {
    grid-template-columns: 1fr;
  }
}




/* --- Card styling --- */
.why .card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.why .card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 1rem;
}
.why .card h5 {
  font-size: 1.4rem;               /* same as subtitle size */
  line-height: 1.6;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.why .card p {
  font-size: 1.4rem;               /* same as subtitle size */
  line-height: 1.8;
  color: var(--text);
}

/* ---------- Design Leadership ---------- */
#leadership {
  background: #fff;
}
#leadership .card {
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
#leadership h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
#leadership .panel {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: start;
}
#leadership .leader-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
#leadership .leader-photo img {
  width: 160px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 0.75rem;
}
#leadership .leader-photo p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
}
#leadership .leader-text {
  font-size: 1.125rem;
  color: var(--text);
  line-height: 1.8;
}

/* ---------- Contact ---------- */
#contact {
  background: var(--bg);
  text-align: center;
  padding: 6rem 2rem;
}

#contact .card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 3rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: left;
}

#contact h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0;
}

/* Spacing and alignment for form elements */
#contact form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Adds space between each input and label */
}

#contact input,
#contact textarea {
  width: 100%;
  font-size: 1.4rem;
  line-height: 1.6;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  color: var(--text);
  background: #fff;
  box-sizing: border-box;
}

#contact label {
  font-weight: 600;
  color: var(--accent);
}

#contact button[type="submit"],
#contact .btn-primary {
  display: block;
  margin: 2rem auto 0; /* centers button + adds top spacing */
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

#contact button[type="submit"]:hover,
#contact .btn-primary:hover {
  opacity: 0.9;
}

/* ---------- Secondary Buttons (black style) ---------- */
.btn-secondary {
  background: #000;
  color: #fff;
  font-weight: 600;
  border: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  background: #333;
  transform: translateY(-1px);
}


/* Style small delete (✖) buttons inside CIDR rows */
#cidr-inputs button {
  background: #000;
  color: #fff;
  border: none;
  border-radius: 6px;
  margin-left: 8px;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

#cidr-inputs button:hover {
  background: #333;
}


/* ---------- Footer ---------- */
footer {
  background: var(--accent);
  color: #ccc;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 1rem;
}
footer a { color: #ccc; text-decoration: underline; }
footer a:hover { text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .videobox { order: -1; }
  #leadership .panel {
    grid-template-columns: 1fr;
    text-align: center;
  }
  #leadership .leader-text { padding-top: 1rem; }
}

/* --- Shared Card Typography for Leadership, Contact, and CIDR --- */
#leadership .card,
#contact .card,
#cidr .card {
  font-size: 1.4rem;        /* same as subtitle and Why section */
  line-height: 1.8;
  color: var(--text);
}

/* Headings inside cards */
#leadership .card h2,
#leadership .card h3,
#leadership .card h4,
#leadership .card h5,
#contact .card h2,
#contact .card h3,
#contact .card h4,
#contact .card h5,
#cidr .card h2,
#cidr .card h3,
#cidr .card h4,
#cidr .card h5 {
  font-size: 1.4rem;        /* match hero subtitle */
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* Paragraphs and labels inside cards */
#leadership .card p,
#contact .card p,
#cidr .card p,
#leadership .card label,
#contact .card label,
#cidr .card label {
  font-size: 1.4rem;
  line-height: 1.8;
  color: var(--text);
}


input,
textarea,
select {
  width: 100%;
  font-size: 1.4rem;      /* matches body text size */
  line-height: 1.6;
  padding: 0.8rem 1rem;   /* larger touch target */
  border-radius: 8px;
  border: 1px solid #ccc;
  color: var(--text);
  margin-top: 0.4rem;
  background: #fff;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  min-height: 150px;
}
#contact label,
#cidr label {
  font-weight: 600;
  color: var(--accent);
}

/* ---------- Badges ---------- */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  background: #e6e8f0;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

.badge .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  margin-right: 0.5rem;
}

/* Optional hover effect (if you like subtle interactivity) */
.badge:hover {
  background: #dfe3f3;
  transition: background 0.2s ease;
}


.consent-section {
  margin-top: 1.5em;
  padding: 1em 1.2em;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.consent-section h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #333;
}

.consent-list {
  display: flex;
  flex-direction: column;
  gap: 0.75em;
  margin-top: 0.75em;
}

.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  line-height: 1.5;
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
}

.consent-item input[type="checkbox"] {
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
  accent-color: #0078d4; /* modern browsers */
}

.consent-item a {
  color: #0078d4;
  text-decoration: none;
}

.consent-item a:hover {
  text-decoration: underline;
}

.btn-primary:disabled {
  background-color: #bbb;
  cursor: not-allowed;
  opacity: 0.7;
}


.cidr-input-section {
  margin-top: 1.2em;
}

.cidr-inputs .row {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.5em;
}

.cidr-inputs input {
  flex: 1;
  padding: 0.4em 0.6em;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.cidr-inputs button {
  background: none;
  border: none;
  color: #c00;
  font-size: 1.2em;
  cursor: pointer;
}

.cidr-inputs button:hover {
  color: #900;
}

.consent-section {
  margin-top: 1.5em;
  padding: 1em 1.2em;
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.consent-section h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #333;
}

.consent-list {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  margin-top: 0.8em;
}

.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7em;
  line-height: 1.5;
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
}

.consent-item input[type="checkbox"] {
  width: 1.2em;
  height: 1.2em;
  flex-shrink: 0;
  margin-top: 0.15em;
  accent-color: #0078d4; /* modern browsers */
  cursor: pointer;
}

.consent-item span {
  flex: 1;
}

.consent-item a {
  color: #0078d4;
  text-decoration: none;
}

.consent-item a:hover {
  text-decoration: underline;
}

.btn-primary:disabled {
  background-color: #bbb;
  cursor: not-allowed;
  opacity: 0.7;
}


.live-label {
  color: #00cc66; /* green */
  font-weight: bold;
}