:root {
  --color-bg: #f3f5f9;
  --color-surface: #ffffff;
  --color-surface-alt: #f8f9fc;
  --color-primary: #2f6fd6;
  --color-primary-dark: #1f4fa5;
  --color-primary-soft: #e7effc;
  --color-success: #1f8f5f;
  --color-text: #1d2333;
  --color-text-muted: #5f6b7a;
  --color-border: #e1e6ef;
  --shadow-sm: 0 6px 16px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 12px 28px rgba(15, 23, 42, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 56px;
  --space-10: 72px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.is-hidden {
  display: none !important;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

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

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

.container {
  width: min(1600px, 96%);
  margin: 0 auto;
}

@media (min-width: 1440px) {
  .container {
    width: min(1720px, 96%);
  }
}

.nav {
  position: sticky;
  top: 0;
  background: rgba(243, 245, 249, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  z-index: 20;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
}

.logo:hover {
  opacity: 0.95;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-tagline {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.logo-image {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  gap: var(--space-4);
  color: var(--color-text-muted);
  font-weight: 500;
}

.nav-cta {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  flex-wrap: nowrap;
}

.linkedin-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #0a66c2;
  background: #0a66c2;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(10, 102, 194, 0.28);
  transition: all 0.2s ease;
}

.linkedin-icon-btn:hover {
  transform: translateY(-1px);
  border-color: #0959ab;
  box-shadow: 0 10px 22px rgba(10, 102, 194, 0.34);
}

.linkedin-icon-btn svg {
  width: 21px;
  height: 21px;
  display: block;
}

.lang-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.lang-toggle .btn {
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 999px;
}

.lang-toggle .btn.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(47, 111, 214, 0.25);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.mobile-contact-btn {
  display: none;
  border-color: #2f6fd6;
  color: #1f4fa5;
  box-shadow: 0 6px 14px rgba(47, 111, 214, 0.16);
}

.link-button {
  background: none;
  border: none;
  color: inherit;
  padding: 0;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.founder-contact-block {
  margin-top: var(--space-5);
  margin-bottom: var(--space-5);
}

.hero {
  padding: var(--space-8) 0 var(--space-9);
}

.hero-grid {
  display: grid;
  gap: var(--space-8);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  margin-top: var(--space-3);
  width: min(440px, 78%);
  opacity: 0.98;
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* YouTube video embed in hero (replaces device images). */
.hero-video-aside {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.10);
}
.hero-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.hero-video-unmute-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px 6px 8px;
  background: rgba(0, 0, 0, 0.65);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition: background 0.2s;
}
.hero-video-unmute-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}
.hero-video-unmute-btn svg {
  width: 20px;
  height: 20px;
}

/* Devices section (laptop + phone images, moved out of hero). */
.devices-section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.devices-section-inner .hero-interview-devices {
  justify-content: center;
}
.devices-section-inner .interview-device--laptop {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  justify-content: center !important;
}
.devices-section-inner .interview-device--laptop img {
  margin-left: 0 !important;
}
.devices-section-inner .interview-device--phone {
  justify-content: center !important;
}
.devices-section-inner .interview-device--phone img {
  margin-right: 0 !important;
}

/* Legacy: kept for reference but no longer used in hero. */
/*
.hero-aside#live-interview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-top: -48px;
}
*/
.hero-interview-title {
  text-align: center;
  margin-top: var(--space-4);
  margin-bottom: 0;
}
.hero-interview-subtitle {
  text-align: center;
  margin-top: var(--space-1);
  margin-bottom: 0;
}
/* Same-height row so both device images align on top and bottom. */
.hero-interview-devices {
  margin-top: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  min-height: 360px;
}
.hero-interview-devices .interview-device--laptop,
.hero-interview-devices .interview-device--phone {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 360px;
}
.hero-interview-devices .interview-device--laptop {
  flex: 1 1 62%;
  min-width: 0;
  justify-content: flex-end;
}
.hero-interview-devices .interview-device--laptop img {
  max-width: 100%;
}
.hero-interview-devices .interview-device--phone {
  flex: 0 0 auto;
  justify-content: flex-start;
}
/* Both images forced to same height so visible areas align top and bottom. */
.hero-interview-devices .interview-device--laptop img,
.hero-interview-devices .interview-device--phone img {
  display: block;
  height: 360px !important;
  width: auto;
  max-height: 360px;
  object-fit: contain;
  object-position: center bottom;
  vertical-align: bottom;
}
.hero-interview-devices .interview-device--laptop img {
  margin-left: auto;
  /* No max-width so height stays equal to phone; column may overflow slightly. */
}
.hero-interview-devices .interview-device--phone img {
  min-width: 160px;
  max-width: 240px;
  margin-right: auto;
  box-shadow: none !important;
  filter: none !important;
}
@media (min-width: 901px) {
  .hero-interview-devices,
  .hero-interview-devices .interview-device--laptop,
  .hero-interview-devices .interview-device--phone {
    height: 520px;
    min-height: 520px;
  }
  .hero-interview-devices .interview-device--laptop {
    min-width: 820px;
  }
  .hero-interview-devices .interview-device--laptop img,
  .hero-interview-devices .interview-device--phone img {
    height: 520px !important;
    max-height: 520px;
  }
  .hero-interview-devices .interview-device--phone img {
    min-width: 200px;
    max-width: 280px;
  }
}
@media (min-width: 1200px) {
  .hero-interview-devices,
  .hero-interview-devices .interview-device--laptop,
  .hero-interview-devices .interview-device--phone {
    height: 600px;
    min-height: 600px;
  }
  .hero-interview-devices .interview-device--laptop {
    min-width: 940px;
  }
  .hero-interview-devices .interview-device--laptop img,
  .hero-interview-devices .interview-device--phone img {
    height: 600px !important;
    max-height: 600px;
  }
  .hero-interview-devices .interview-device--phone img {
    min-width: 240px;
    max-width: 320px;
  }
}

/* Mobile and midsize: single column, devices first, then text – avoids text overlapping photos */
@media (max-width: 1299px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-video-aside {
    order: -1;
  }
  .hero-copy {
    order: 0;
  }
  /* Scale down devices and stack vertically so both are visible on narrow viewports */
  .hero-interview-devices {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-height: auto;
  }
  .hero-interview-devices .interview-device--laptop,
  .hero-interview-devices .interview-device--phone {
    height: auto;
    min-height: 0;
  }
  .hero-interview-devices .interview-device--laptop img,
  .hero-interview-devices .interview-device--phone img {
    height: auto !important;
    max-height: 220px;
    width: auto;
    max-width: min(92vw, 320px);
  }
  .hero-interview-devices .interview-device--laptop img {
    max-width: min(92vw, 360px);
  }
}

@media (min-width: 1000px) {
  .hero {
    padding: var(--space-6) 0 var(--space-8);
  }

  .section {
    padding: var(--space-8) 0;
  }
}

/* Two-column hero only at 1300px+ – below that, single column (devices first) prevents overlap */
@media (min-width: 1300px) {
  .hero {
    overflow-x: clip;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    gap: var(--space-6);
    align-items: start;
  }

  /* Align right-card header with left headline (under eyebrow). */
  .hero-card {
    margin-top: 6px;
    width: 100%;
  }

  /* Left copy width: right pane then gets all remaining space for laptop/phone. */
  .hero-copy {
    max-width: 480px;
    position: relative;
    z-index: 2;
    background: var(--color-bg);
  }

  .hero-aside {
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .hero-logo {
    margin-top: var(--space-1);
    width: min(520px, 92%);
  }

  /* Card looked too wide/empty at larger widths. */
  .hero-aside .hero-card {
    max-width: 560px;
    padding: var(--space-5);
  }

  /* Slightly enlarge the left message on desktop. */
  .hero-copy .hero-headline {
    font-size: clamp(2.1rem, 3.05vw, 3.25rem);
  }

  .hero .lead {
    font-size: 1.15rem;
  }
}

/* Small two-column (1300–1699px): scale photos down so they fit – prevents overflow and overlap */
@media (min-width: 1300px) and (max-width: 1699px) {
  .hero-interview-devices,
  .hero-interview-devices .interview-device--laptop,
  .hero-interview-devices .interview-device--phone {
    height: 300px;
    min-height: 300px;
  }
  .hero-interview-devices .interview-device--laptop {
    min-width: 0;
  }
  .hero-interview-devices .interview-device--laptop img,
  .hero-interview-devices .interview-device--phone img {
    height: 300px !important;
    max-height: 300px;
  }
  .hero-interview-devices .interview-device--phone img {
    min-width: 120px;
    max-width: 200px;
  }
}

/* Midsize desktop (1000–1299px): use single-column layout like mobile – no two-column override.
   The max-width: 1299px rule above already forces single column; this block only scales devices. */
@media (min-width: 1000px) and (max-width: 1299px) {
  .hero-interview-devices,
  .hero-interview-devices .interview-device--laptop,
  .hero-interview-devices .interview-device--phone {
    height: 265px;
    min-height: 265px;
  }

  .hero-interview-devices .interview-device--laptop {
    min-width: 0;
  }

  .hero-interview-devices .interview-device--laptop img,
  .hero-interview-devices .interview-device--phone img {
    height: 265px !important;
    max-height: 265px;
  }

  .hero-interview-devices .interview-device--phone img {
    min-width: 120px;
    max-width: 200px;
  }
}

.hero-copy .hero-headline {
  font-size: clamp(1.9rem, 2.85vw, 3.05rem);
  line-height: 1.2;
  margin-bottom: var(--space-4);
  font-weight: 700;
  color: var(--color-heading);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 17px;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0 0 var(--space-2) 0;
  margin-bottom: var(--space-3);
}

.lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}

.hero .lead {
  /* Slightly more vertical space in the hero text block. */
  margin-bottom: var(--space-6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  /* Use padding instead of margin-top to avoid margin-collapsing with the paragraph above. */
  padding-top: var(--space-4);
  margin-bottom: var(--space-5);
  align-items: stretch;
}

@media (min-width: 1000px) {
  /* Margin-top collapses with the paragraph above; control spacing from the paragraph instead. */
  .hero-copy .lead:last-of-type {
    margin-bottom: var(--space-6);
  }

  /* Push tags/badges lower to align with RHS logo bottom. */
  .hero-actions {
    padding-top: var(--space-5);
    margin-bottom: var(--space-6);
  }
}

@media (min-width: 700px) {
  /* Make CTA buttons consistent width on desktop. */
  .hero-actions .btn {
    min-width: 170px;
  }
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.badge {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.hero-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-6);
  border: 1px solid var(--color-border);
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  font-weight: 600;
}

.pill {
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.hero-list {
  display: grid;
  gap: var(--space-2);
  list-style: none;
  margin-bottom: var(--space-5);
  color: var(--color-text-muted);
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
}

.stat {
  font-size: 1.4rem;
  font-weight: 700;
}

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

.section {
  padding: var(--space-9) 0;
}

/* Anchor jumps: account for sticky navbar height. */
section[id] {
  scroll-margin-top: 96px;
}

.section-divider-wrap {
  padding: 0 0 var(--space-4);
}

.section-divider {
  border-top: 1px solid var(--color-border);
}

.console-shot {
  margin-top: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.console-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.section-title {
  text-align: center;
  margin-bottom: 4px;
}

.section-subtitle {
  text-align: center;
  color: var(--color-muted);
  font-size: 1.1rem;
  margin-bottom: 0;
}

.interview-devices {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 48px;
  margin-top: 40px;
}

.interview-device--laptop {
  flex: 0 0 auto;
}

.interview-device--laptop img {
  display: block;
  height: 520px;
  width: auto;
}

/* Phone image */
.interview-device--phone img {
  display: block;
  height: 520px;
  width: auto;
  box-shadow: none !important;
  filter: none !important;
}

@media (max-width: 900px) {
  .interview-devices {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .interview-device--laptop {
    max-width: 100%;
  }
  .interview-device--laptop img,
  .interview-device--phone img {
    height: auto;
    width: min(92vw, 900px);
  }
}

@media (max-width: 480px) {
  .interview-device--laptop img,
  .interview-device--phone img {
    width: min(92vw, 420px);
  }
}

.section-alt {
  background: var(--color-surface-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-head {
  display: grid;
  gap: var(--space-2);
  max-width: 680px;
  margin-bottom: var(--space-6);
}

.section-head h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
}

/* Keep the "What MAinterviewer.AI is (and is not)" heading on one line. */
#what-is .section-head {
  max-width: none;
}

#what-is .section-head h2 {
  white-space: nowrap;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
}

.section-head p {
  color: var(--color-text-muted);
}

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

.content-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.2rem 1.2rem 1.3rem;
  box-shadow: var(--shadow-sm);
}

.content-card h3 {
  margin-bottom: 0.7rem;
}

.content-card p + p {
  margin-top: 0.45rem;
}

/* Ensure clear vertical separation around founder-contact block
   inside Company Information card. */
.content-card p.founder-contact-block {
  margin-top: var(--space-6);
  margin-bottom: var(--space-6);
}

.contact-form {
  display: grid;
  gap: 0.5rem;
}

.contact-form label {
  font-weight: 600;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0.5rem 0 0;
  padding: 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--color-text-muted);
  display: none;
}

.form-status[hidden],
.form-status:empty {
  display: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

.form-status.sending,
.form-status.success,
.form-status.error {
  display: block;
}

.form-status.success {
  border-color: #bfe6c9;
  background: #f0fbf3;
  color: #1d5b2e;
}

.form-status.error {
  border-color: #f0c1c1;
  background: #fff2f2;
  color: #7a1f1f;
}

.form-status.sending {
  border-color: #cfe0fb;
  background: #f5f9ff;
  color: #25559a;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #b9d0f3;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  color: var(--color-text);
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  margin-top: 0.4rem;
}

/* Pricing page: top-right callout beside title/subtitle */
.section-head.section-head--split {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-6);
  max-width: none;
}

.section-head.section-head--split .section-head-main {
  display: grid;
  gap: var(--space-2);
  max-width: 680px;
}

.pricing-callout-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pricing-callout-btn {
  margin-top: 6px;
  white-space: nowrap;
  color: var(--color-primary-dark);
}

.section-head-callout {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  color: var(--color-text-muted);
  text-align: right;
  line-height: 1.35;
}

.section-head-callout-note {
  margin-top: 8px;
  color: var(--color-text);
}

.section-head-callout-note strong em {
  font-style: italic;
  font-weight: 700;
}

.mobile-pricing-hint {
  display: none;
}

.section-head-callout a {
  color: var(--color-primary-dark);
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .section-head.section-head--split {
    flex-direction: column;
  }
  .pricing-callout-btn {
    display: none;
  }
  .pricing-callout-wrap {
    width: 100%;
    justify-content: space-between;
  }
  .section-head-callout {
    text-align: left;
    width: 100%;
  }
  .mobile-pricing-hint {
    display: block;
    margin-top: 10px;
    font-size: 12px;
    color: var(--color-text-muted);
  }
}

/* Allow i18n strings with "\n" to render as a line break. */
[data-i18n="audience.subtitle"] {
  white-space: pre-line;
}

.grid.cards {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
  display: grid;
  gap: var(--space-2);
}

/* Audience cards: subtle blue "quote" corner strokes. */
#audience .card {
  position: relative;
}

#audience .card::before,
#audience .card::after {
  content: "";
  position: absolute;
  /* Taller than wide so vertical stroke is longer. */
  width: 20px;
  height: 34px;
  pointer-events: none;
  /* Match primary button color. */
  border-color: var(--color-primary);
  border-style: solid;
}

#audience .card::before {
  /* Sit on the outer corner (not inset). */
  top: -1px;
  left: -1px;
  border-width: 4px 0 0 4px;
  border-top-left-radius: 6px;
}

#audience .card::after {
  /* Sit on the outer corner (not inset). */
  right: -1px;
  bottom: -1px;
  border-width: 0 4px 4px 0;
  border-bottom-right-radius: 6px;
}

.card ul {
  list-style: disc;
  color: var(--color-text-muted);
  padding-left: 1.2em;
}

.card li + li {
  margin-top: var(--space-2);
}

.icon-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  color: var(--color-text-muted);
}

.icon-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
}

.icon-list li + li {
  margin-top: var(--space-2);
}

.li-icon {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.li-icon--yes {
  color: var(--color-success);
}

.li-icon--no {
  color: #c2410c;
}

.video-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: var(--space-5);
}

.video-embed {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: #0f172a;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


.grid.pricing {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pricing-card .price {
  font-size: 1.4rem;
  font-weight: 700;
  margin: var(--space-2) 0 var(--space-3);
  display: inline-block;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  padding: 6px 12px;
  border-radius: 999px;
}

.pricing-card.featured {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-md);
}

.pricing-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.badge-floating {
  position: relative;
  top: 0;
  left: 0;
  transform: translateY(6px);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.pricing-table thead .pricing-popular-row th {
  border: none;
  padding: 0;
  height: 14px;
  background: transparent;
}

.pricing-table thead .pricing-popular-row .featured {
  text-align: center;
  border-top: none;
  border-bottom: none;
  border-left: 2px solid transparent;
  border-right: 2px solid transparent;
  overflow: visible;
}

.pricing-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  table-layout: fixed;
}

.pricing-table col.label-col {
  width: 18%;
}

.pricing-table col.starter-col {
  width: 13.5%;
}

.pricing-table col.pro-col,
.pricing-table col.growth-col,
.pricing-table col.enterprise-col {
  width: 16.5%;
}

.pricing-table col.business-col {
  width: 19%;
}

.pricing-table th,
.pricing-table td {
  background: transparent;
  border: 1px solid var(--color-border);
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
  vertical-align: top;
  word-break: normal;
  overflow-wrap: break-word;
}



.pricing-table thead th.pricing-label {
  border-top: none;
  border-left: none;
}

.pricing-table th.pricing-label {
  background: var(--color-surface-alt);
  font-weight: 600;
  color: var(--color-text);
}

.pricing-table tr.pricing-row--numeric td {
  text-align: center;
  vertical-align: middle;
}

.pricing-table td[data-i18n="pricing.included"],
.pricing-table td[data-i18n="pricing.na"] {
  text-align: center;
  vertical-align: middle;
}

.pricing-table tr.pricing-row--center-values td {
  text-align: center;
  vertical-align: middle;
}

.pricing-table th.featured,
.pricing-table td.featured {
  background: rgba(47, 111, 214, 0.05);
}

.pricing-table .featured {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-left: 2px solid var(--color-primary);
  border-right: 2px solid var(--color-primary);
}

.pricing-table thead tr:not(.pricing-popular-row) .featured {
  border-top: 1px solid var(--color-border);
}

.pricing-table tbody tr:last-child .featured {
  border-bottom: 2px solid var(--color-primary);
}

.plan-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-right: 8px;
}

.plan-starter { background: #22c55e; }
.plan-pro { background: #3b82f6; }
.plan-growth { background: #facc15; }
.plan-business { background: #a855f7; }
.plan-enterprise { background: #ef4444; }

.plan-price {
  margin-top: 6px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.price-tax {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-left: 6px;
  white-space: nowrap;
}

.cap-cv {
  color: var(--color-primary);
  font-weight: 700;
  display: block;
}

.cap-int {
  color: var(--color-success);
  font-weight: 700;
  display: block;
}

@media (max-width: 1100px) {
  .pricing-row {
    grid-template-columns: 180px repeat(5, 1fr);
  }
}

@media (max-width: 960px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}


/* Workflow section: narrower content width. */
#ai-console .container,
#what-is .container,
#audience .container,
#compliance .container,
#workflow .container {
  max-width: 1200px;
}

.page-pricing main .container {
  max-width: 1400px;
}

.timeline {
  display: grid;
  gap: var(--space-4);
}

.step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  align-items: start;
  box-shadow: var(--shadow-sm);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.cta {
  background: linear-gradient(120deg, rgba(47, 111, 214, 0.12), rgba(31, 79, 165, 0.08));
}

.cta.section {
  padding-top: var(--space-6);
  padding-bottom: var(--space-6);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-5);
  box-shadow: var(--shadow-md);
  max-width: 1200px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-size: 1.35rem;
  margin-bottom: var(--space-2);
}

.cta-inner p {
  font-size: 0.95rem;
  margin-bottom: var(--space-1);
  color: var(--color-text-muted);
}

.cta-inner p:last-of-type {
  margin-bottom: 0;
}

.cta-actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  flex-shrink: 0;
}

.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: var(--space-8) 0 var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
  text-align: center;
}

.footer a {
  color: #e2e8f0;
  opacity: 0.85;
  display: block;
  margin-top: var(--space-2);
}

.footer h3,
.footer h4 {
  margin-bottom: var(--space-2);
}

.footer-bottom {
  margin-top: var(--space-6);
  text-align: center;
  opacity: 0.7;
  font-size: 14px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    flex-wrap: wrap;
  }

  /* Hide Product / Resources footer columns on mobile */
  .footer-nav-col {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: var(--space-6);
  }

  .page-pricing .section.section-alt {
    padding-top: var(--space-6);
  }

  .page-pricing #contact-form {
    scroll-margin-top: 72px;
  }

  .hero-card-footer {
    flex-direction: column;
  }

  .nav-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-cta {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: var(--space-2);
  }

  .nav-cta::before {
    content: "";
    flex: 1;
    order: 1;
  }

  .nav-cta::after {
    content: "";
    flex: 1;
    order: 3;
  }

  .nav-cta .linkedin-icon-btn {
    order: 0;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .nav-cta .linkedin-icon-btn svg {
    width: 18px;
    height: 18px;
  }

  .nav-cta .lang-toggle {
    order: 4;
  }

  .lang-toggle .btn {
    padding: 4px 8px;
    font-size: 11px;
  }

  .mobile-contact-btn {
    order: 2;
    display: inline-flex;
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .nav-cta > a.btn-primary:not(.is-hidden) {
    order: 2;
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .page-pricing .nav-cta > a.btn:not(.linkedin-icon-btn):not(.mobile-contact-btn):not(.is-hidden) {
    order: 2;
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
  }

  .page-pricing .nav-cta > a[data-i18n="nav.home"] {
    min-width: auto;
  }
}
