:root {
  --light-blue: #E9F2FE;
  --light-grey: #F4F5F7;
  --bg-header: #f9fbff;
  --border-header: #d2d9e8;
  --bg-light: #f9fafb;
  --bg-light-soft: #e5f3ff;
  --card-border-light: #d1d5db;
  --text-main-dark: #020617;
  --text-muted-dark: #4b5563;

  --bg-main: #020816;
  --bg-alt: #040b1a;
  --bg-card: #050f20;
  --bg-soft: #07152b;

  --brand-cyan: #00b7e5;
  --brand-cyan-soft: rgba(0, 183, 229, 0.14);
  --accent-secondary: #22c55e;

  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --text-soft: #6b7280;

  --border-subtle: #1f2937;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);

  --radius-xl: 1.4rem;
  --radius-lg: 0.9rem;
  --radius-full: 999px;

  --nav-height: 72px;
  --content-width: 1120px;
}

/* RESET */

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0f172a 0, #020617 45%, #020617 100%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

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

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

/* Utility class for justified text */
.text-justify {
  text-align: justify;
  text-justify: inter-word;
}

/* LAYOUT */

.page {
  min-height: 100vh; 
  padding-top: var(--nav-height); 
}

.container {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 3.5rem 0;
}

.section-header {
  max-width: 740px;
  margin: 0 auto 2.1rem;
  text-align: center;
}

.section-header h2 {
  font-size: 1.8rem;
  letter-spacing: -0.03em;
  margin-bottom: 0.7rem;
}

.section-header p {
  font-size: 0.96rem;
  color: var(--text-muted);
}

/* NAVBAR */

.navbar {
  position: fixed;         
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.86),
    transparent
  );
  border-bottom: 1px solid rgba(31, 41, 55, 0.9);
}

.navbar-inner {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}


.logo-img {
  height: 40px;       /* main size */
  width: auto;        /* keep aspect ratio, no stretching */
  display: block;
}

.logo-text-main {
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 1.8rem;
}

.logo-text-sub {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-soft);
  letter-spacing: 0.18em;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.92rem;
  color: var(--text-soft-dark);
}

.nav-link {
  position: relative;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--brand-cyan), var(--accent-secondary));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease-out;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

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

.mobile-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
}

/* BUTTONS */

.btn {
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  padding: 0.48rem 0.95rem;
  font-size: 0.9rem;
  font-weight: 500;
  background: none;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  white-space: nowrap;
  transition: all 0.18s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-cyan), var(--accent-secondary));
  color: #04101f;
  box-shadow: 0 0 0 1px rgba(148, 163, 184, 0.4), 0 18px 40px rgba(0, 183, 229, 0.55);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-0.5px);
  box-shadow: 0 0 0 1px rgba(191, 219, 254, 0.7), 0 22px 60px rgba(0, 183, 229, 0.8);
}

.btn-outline {
  border-color: rgba(148, 163, 184, 0.7);
  color: #04101f;
  background: var(--brand-cyan-soft);
  /* background: rgba(15, 23, 42, 0.9); */
}

.btn-outline:hover {
  border-color: var(--brand-cyan);
  color: var(--brand-cyan)
  /* background: var(--brand-cyan); */
  /* background: rgba(15, 23, 42, 0.98); */
}

.btn-ghost {
  border-color: var(--border-subtle);
  color: var(--text-soft);
}

.btn-ghost:hover {
  color: var(--text-main);
  background: rgba(15, 23, 42, 0.9);
}

/* HERO */

.hero {
  padding: 4rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-cyan);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2.5rem, 4vw + 1rem, 3.3rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
  margin-bottom: 0.75rem;
}

.hero-title .accent {
  background: linear-gradient(to right, var(--brand-cyan), #38bdf8, var(--accent-secondary));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted-dark);
  max-width: 520px;
  margin-bottom: 1.6rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.82rem;
  color: var(--text-soft);
}

.hero-metrics {
  margin-top: 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.metric {
  background: var(--bg-light); /* same as .pricing-card */
  border-radius: 1rem;
  border: 1px solid var(--card-border-light);
  /* border: 1px solid rgba(55, 65, 81, 0.95); */
  padding: 0.7rem 0.8rem;
  font-size: 0.8rem;
}


.metric-label {
  color: var(--text-main-dark);
  margin-bottom: 0.2rem;
}

.metric-value {
  font-size: 1rem;
  font-weight: 600;
}

.metric-caption {
  color: var(--text-muted-dark);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.hero-right {
  position: relative;
}

.hero-image-card {
  border-radius: 1.6rem;
  border: 1px solid rgba(55, 65, 81, 0.95);
  background: radial-gradient(circle at top left, #020617, #020617);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.hero-image-card img {
  width: 100%;
  height: auto;
}

.hero-image-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.7rem 0.9rem 0.9rem;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
}

/* PROBLEM / SOLUTION */

.problem-solution {
  background: radial-gradient(circle at top, #020617, #020617);
}

.problem-solution .section-header p {
  font-size: 1.1rem;
}

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

.card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(55, 65, 81, 0.95);
  padding: 1.3rem 1.4rem;
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.7);
  font-size: 1.1rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}

.card p {
  color: var(--text-muted-dark);
  /* font-size: 1.2rem; */
}

.card ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted-dark);
}

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

.card-problem {
  background: radial-gradient(circle at top left, #020617, #020617);
}

.card-solution {
  background: radial-gradient(circle at top right, #020617, #020617);
  border-color: rgba(0, 183, 229, 0.6);
}

.solution-highlight {
  margin-top: 0.9rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-lg);
  background: var(--brand-cyan-soft);
  border: 1px solid rgba(0, 183, 229, 0.9);
  font-size: 1rem;
  color: #e0f2fe;
}

/* PLATFORM COMPONENTS */

.platform {
  background: radial-gradient(circle at top, #010718, #030814);
}

.platform .section-header p {
  font-size: 1.1rem;
  color: var(--text-muted-dark);
}

/* PLATFORM LAYOUT: image on the left, cards on the right */
.platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 1.8rem;
  align-items: stretch;
}

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

.component-card {
  background: var(--bg-light);
  border-radius: 1.1rem;
  border: 1px solid var(--card-border-light);
  padding: 1rem 1.1rem;
  font-size: 1.1rem;
}

.component-card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}

.component-card p {
  color: var(--text-muted-dark);
}

/* image card now lives on the left and should align visually with the stack on the right */
.component-card-image {
  padding: 0;
  background: var(--bg-card);
  border-radius: 1.4rem;
  border: 1px solid rgba(55, 65, 81, 0.95);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.component-card-image img {
  width: 100%;
  height: 100%;
  max-height: 100%;      /* tweak this if you want it taller or shorter */
  object-fit: cover;
}

.component-caption {
  display: block;
  padding: 0.7rem 0.9rem 0.9rem;
  border-top: 1px solid rgba(31, 41, 55, 0.9);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* AI TEST BOT */

/* AI Test Bot text block – left side */

.ai-test-bot .two-column {
  align-items: center;          /* vertically align text with image stack */
  gap: 2.2rem;
}

.ai-test-bot .section-header p {
  font-size: 1.1rem;
}

.ai-text-block {
  max-width: 500px;
}

.ai-kicker {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-cyan);
  margin: 0 0 0.9rem;
}

.ai-title {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.ai-lead {
  margin: 0 0 0.9rem;
  font-size: 1rem;
  color: var(--text-muted-dark);
}

.ai-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 0.9rem;
  font-size: 1rem;
  color: var(--text-muted-dark);
}

.ai-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.45rem;
}

.ai-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    var(--brand-cyan),
    var(--accent-secondary)
  );
}


.ai-test-bot {
  background: radial-gradient(circle at top, #020617, #020617);
}

.ai-image-stack {
  display: flex;
  flex-direction: column;
}

.ai-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(55, 65, 81, 0.95);
  /* background: var(--bg-soft); */
  box-shadow: var(--brand-cyan);
  /* box-shadow: var(--shadow-soft); */
  box-shadow: 0 0 1px rgba(56, 189, 248, 0.5), 0 18px 50px rgba(0, 183, 229, 0.75);
}

.ai-caption {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.7rem;
  text-align: center;
}


/* VALUE PROP */

.value-prop {
  background: radial-gradient(circle at top, #010818, #020617);
}

.value-prop .section-header p {
  font-size: 1.1rem;
  color: var(--text-main-dark);
}

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

.value-card {
  background: var(--bg-light);
  border-radius: 1.1rem;
  border: 1px solid var(--card-border-light);
  padding: 0.95rem 1.05rem;
  font-size: 1.1rem;
}

.value-card h3 {
  margin-top: 0;
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
}

.value-card p {
  color: var(--text-muted-dark);
}

/* PRICING */

.pricing {
  background: radial-gradient(circle at top, #020617, #020617);
}

.pricing .section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Billing toggle */

.billing-toggle {
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted-dark);
  background: var(--bg-light-soft);
  /* background: rgba(15, 23, 42, 0.9); */
  border-radius: var(--radius-full);
  padding: 0.2rem 0.6rem;
  /* border: 1px solid rgba(55, 65, 81, 0.9); */
}

.billing-label {
  cursor: pointer;
  padding: 0.2rem 0.35rem;
  border-radius: var(--radius-full);
  transition: color 0.15s ease-out;
}

.billing-label-active {
  color: var(--text-muted-dark);
  /* font-weight: 600; */
}

.billing-save {
  color: var(--brand-cyan);
  margin-left: 0.15rem;
}

/* switch */

.billing-switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}

.billing-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.billing-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  /* background-color: rgba(15, 23, 42, 0.9); */
  border-radius: 999px;
  border: 1px solid rgba(0, 183, 229, 0.8);
  transition: background-color 0.2s ease-out, border-color 0.2s ease-out;
}

.billing-slider:before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  top: 2px;
  border-radius: 50%;
  background-color: #e5e7eb;
  transition: transform 0.2s ease-out, background-color 0.2s ease-out;
}

/* checked state */

.billing-switch input:checked + .billing-slider {
  background-color: rgba(0, 183, 229, 0.8);
  /* background-color: rgba(0, 183, 229, 0.16); */
  border-color: rgba(0, 183, 229, 0.8);
}

.billing-switch input:checked + .billing-slider:before {
  transform: translateX(18px);
  background-color: #e0f2fe;
}

/* small tweak on mobile */
@media (max-width: 720px) {
  .billing-toggle {
    width: 100%;
    justify-content: center;
  }
}


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

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(55, 65, 81, 0.95);
  padding: 1.3rem 1.35rem 1.4rem;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: rgba(0, 183, 229, 0.9);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5), 0 18px 50px rgba(0, 183, 229, 0.75);
  transform: translateY(-2px);
}

.pricing-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 1.45rem;
  font-weight: 600;
}

.pricing-unit {
  font-size: 0.8rem;
  font-weight: 400;
}

.pricing-target {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0.3rem 0 0.8rem;
}

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

.pricing-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.86rem;
}

.pricing-list li::before {
  content: "✓";
  color: var(--accent-secondary);
  position: absolute;
  left: 0;
}

/* New pricing plan layout */

.plan-header {
  margin-bottom: 0.7rem;
}

.plan-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}


.plan-name {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.plan-ideal {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.52rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: var(--brand-cyan-soft);
  color: var(--brand-cyan);
  /* border: 1px solid rgba(0, 183, 229, 0.85); */
  margin-bottom: 0.4rem;
  margin-top: -1.2rem;
  margin-right: -0.6rem;
}

.plan-price-row {
  margin-bottom: 0.8rem;
}

.plan-price {
  font-size: 1.5rem;
  font-weight: 600;
}

.plan-price-unit {
  font-size: 0.82rem;
  font-weight: 400;
}

.plan-billing-hint {
  font-size: 0.78rem;
  color: var(--text-soft);
  margin-top: 0.1rem;
}

/* nested lists inside cards */

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

.pricing-list li {
  margin-top: 0.35rem;
  font-size: 0.86rem;
}

.pricing-list li strong {
  color: var(--text-main-dark);
}

.pricing-sublist {
  list-style: disc;
  padding-left: 1.2rem;
  margin: 0.25rem 0 0.3rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.plan-addons-label {
  margin-top: 0.9rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
}

/* cross-plan add-ons block */

.pricing-addons {
  margin-top: 2.2rem;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(31, 41, 55, 0.95);
}

.pricing-addons h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
}

.pricing-addons p {
  margin: 0 0 1.2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

.pricing-addon-card {
  background: var(--bg-card);
  border-radius: 1rem;
  border: 1px solid rgba(55, 65, 81, 0.95);
  padding: 0.9rem 1rem;
  font-size: 0.86rem;
}

.addon-title {
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.addon-price {
  font-size: 0.88rem;
  color: var(--text-soft);
  margin-bottom: 0.45rem;
}

.addon-body {
  margin: 0;
  color: var(--text-muted);
}

/* annual billing note */

.pricing-annual-note {
  margin-top: 1.8rem;
  font-size: 0.82rem;
  color: var(--text-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Master expand/collapse button under pricing grid */

.pricing-toggle-all-wrapper {
  margin-top: 1rem;
  margin-bottom: 1.6rem;
  display: flex;
  justify-content: center;
}

.pricing-toggle-all {
  padding: 0.3rem 0.9rem;
  /* padding-inline: 0.8rem; */
  font-size: 0.8rem;
  background: var(--bg-main-soft);
  color: var(--text-main-dark)
}

.pricing-toggle-all:hover {
  color: var(--brand-cyan);
  background: none;
}


/* body animation */
.plan-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease, margin-top 0.2s ease;
}

.pricing-card.expanded .plan-body {
  max-height: 900px;
  opacity: 1;
  margin-top: 0.7rem;
}


/* IMAGE STRIP */

.showcase {
  background: radial-gradient(circle at top, #010617, #020617);
}

.showcase .section-header p {
  font-size: 1.1rem;
  color: var(--text-muted-dark);
}

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

.image-card {
  border-radius: var(--radius-xl);
  /* border: 1px solid rgba(55, 65, 81, 0.95); */
  overflow: hidden;
  /* background: var(--bg-card); */
  box-shadow: var(--shadow-soft);
}

.image-card img {
  width: 100%;
  height: auto;
}

.image-card figcaption {
  padding: 0.7rem 0.9rem 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  font-weight: 500;
}

/* CTA FINAL */

.cta-final {
  background: radial-gradient(circle at top, var(--brand-cyan-soft), #020617);
  border-top: 1px solid rgba(55, 65, 81, 0.95);
  border-bottom: 1px solid rgba(55, 65, 81, 0.95);
}
.cta-final .section-header p {
  font-size: 1.1rem;
  color: var(--text-muted-dark);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.8rem;
}

.cta-text h2 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.cta-text p {
  margin: 0;
  color: var(--text-muted-dark);
  font-size: 1.1rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* FOOTER */

.footer {
  padding: 2.4rem 0 2.2rem;
  background: #020617;
  border-top: 1px solid rgba(31, 41, 55, 0.95);
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr));
  gap: 2.1rem;
  margin-bottom: 1.8rem;
}

.footer h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: var(--text-soft);
}

.footer ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer li + li {
  margin-top: 0.22rem;
}

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

.footer-links {
  display: flex;
  gap: 0.9rem;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}

.footer-logo img {
  width: 36px;
  height: 36px;
  border-radius: 0.7rem;
}

/* social icons next to logo */
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  font-size: 1rem;
  color: var(--text-soft);
  transition: border-color 0.18s ease-out, background-color 0.18s ease-out, color 0.18s ease-out;
}

.social-link:hover {
  border-color: var(--brand-cyan);
  background-color: rgba(15, 23, 42, 0.9);
  color: #e0f2fe;
}

/* Waitlist modal */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 60;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  position: relative;
  max-width: 420px;
  width: 100%;
  background: var(--light-blue);
  /* background: #020617; */
  border-radius: 1.4rem;
  border: 1px solid rgba(55, 65, 81, 0.95);
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.9);
  padding: 1.4rem 1.5rem 1.6rem;
  color: var(--text-main-dark)
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  border: none;
  background: none;
  color: var(--text-soft);
  font-size: 1.3rem;
  cursor: pointer;
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-title {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.modal-subtitle {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  /* color: var(--text-muted); */
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.modal-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.84rem;
  /* color: var(--text-soft); */
}

.modal-field input {
  border-radius: 0.7rem;
  border: 1px solid rgba(55, 65, 81, 0.95);
  /* background: #020617; */
  padding: 0.5rem 0.6rem;
  font-size: 0.9rem;
  color: var(--text-main-dark);
}

.modal-field input::placeholder {
  color: var(--text-soft);
}

.modal-field input:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 1px rgba(0, 183, 229, 0.6);
}

.required {
  color: #f97373;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.modal-submit {
  margin-top: 0;
  width: auto;
  justify-content: center;
  padding-inline: 1.2rem;
}

.modal-cancel {
  padding-inline: 1.1rem;
}

.modal-message {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-soft-dark);
  min-height: 1em;
}

@media (max-width: 480px) {
  .modal {
    padding: 1.2rem 1.2rem 1.4rem;
  }
}


/* -------------------------------------------------- */
/* LIGHT-THEME SECTIONS                               */
/* Problem/Solution, AI Test Bot, Pricing, Final CTA  */
/* -------------------------------------------------- */

/* Shared: base text color override inside light sections */
.problem-solution,
.ai-test-bot,
.pricing,
.cta-final {
  color: var(--text-main-dark);
}

/* PROBLEM / SOLUTION – light background + light cards */

.problem-solution {
  background: var(--bg-light);
}

.problem-solution .section-header h2 {
  color: var(--text-main-dark);
}

.problem-solution .section-header p {
  color: var(--text-muted-dark);
}

.problem-solution .card {
  background: #ffffff;
  border-color: var(--card-border-light);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.problem-solution .card-problem,
.problem-solution .card-solution {
  background: #ffffff; /* override older radial backgrounds */
}

.problem-solution .card p,
.problem-solution .card li {
  color: var(--text-muted-dark);
}

.problem-solution .solution-highlight {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0f172a;
}

/* AI TEST BOT – light background */

.ai-test-bot {
  background: var(--bg-light);
}

.ai-test-bot .section-header h2 {
  color: var(--text-main-dark);
}

.ai-test-bot .section-header p,
.ai-test-bot .ai-lead,
.ai-test-bot .ai-list,
.ai-test-bot .ai-caption {
  color: var(--text-muted-dark);
}

.ai-test-bot .ai-image {
  background: #ffffff;
  border-color: var(--card-border-light);
  /* box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12); */
  box-shadow: 0 14px 40px var(--brand-cyan-soft);
}


/* PRICING – light background + light cards */

.pricing {
  background: #f3f4f6;
}

.pricing .section-header h2 {
  color: var(--text-main-dark);
}

.pricing .section-header p {
  color: var(--text-muted-dark);
}

.pricing-card,
.pricing-addon-card {
  background: #ffffff;
  border-color: var(--card-border-light);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.pricing-card.featured {
  border-color: rgba(0, 183, 229, 0.9);
  box-shadow:
    0 0 0 1px rgba(56, 189, 248, 0.4),
    0 18px 40px rgba(15, 23, 42, 0.18);
}

.pricing .plan-name {
  color: var(--text-main-dark);
}

.pricing .plan-ideal,
.pricing .plan-billing-hint,
.pricing .pricing-list,
.pricing .pricing-sublist,
.pricing .addon-price,
.pricing .addon-body,
.pricing .pricing-addons p,
.pricing .pricing-annual-note {
  color: var(--text-muted-dark);
}

/* FINAL CTA – soft light band */

.cta-final {
  background: var(--bg-light-soft);
  border-top: 1px solid var(--card-border-light);
  border-bottom: 1px solid var(--card-border-light);
}

.cta-final .cta-text h2 {
  color: var(--text-main-dark);
}

.cta-final .cta-text p {
  color: var(--text-muted-dark);
}

/* --- LIGHT SECTION BACKGROUNDS --- */

/* Light-blue sections */
.hero,
.platform,
/* .value-prop, */
.showcase {
  background: var(--light-blue);   /* light blue */ 
  color: #020617;        /* dark text for headings/body */
}

.value-prop {
  background: var(--brand-cyan);   /* very light blue */
  color: var(--text-main-dark);        /* dark text for headings/body */
}

/* Light-grey sections */
.problem-solution,
.ai-test-bot,
.pricing,
.cta-final {
  background: var(--light-grey);   /* light grey */
  color: #020617;        /* dark text for headings/body */
}

/* CONTACT PAGE ----------------------------------------------------- */

.contact-page {
  background: var(--light-grey); /* same family as problem / pricing sections */
  padding: 3.5rem 0;
}

.contact-header {
  text-align: center;
  max-width: 720px;
}

.contact-header h2 {
  color: var(--text-main-dark);
}

.contact-header p {
  color: var(--text-muted-dark);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 2.4rem;
  align-items: flex-start;
}

/* Left column: company info */
.contact-info { 
  margin-left: 0;
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border-light);
  padding: 1.6rem 1.7rem 1.8rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  max-width: 100%;
  height: 100%;
}
.contact-info-title {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text-main-dark);
}

.contact-info-lead {
  margin: 0 0 1.3rem;
  font-size: 0.95rem;
  color: var(--text-muted-dark);
}

.contact-list {
  margin: 0;
  padding: 0;
}

.contact-item {
  margin-bottom: 0.9rem;
}

.contact-item dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-soft);
  margin-bottom: 0.15rem;
}

.contact-item dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-main-dark);
}

.contact-item a {
  color: var(--brand-cyan);
}

/* Right column: form card */

.contact-form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border-light);
  padding: 1.6rem 1.7rem 1.8rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.contact-form-title {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text-main-dark);
}

.contact-form-lead {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted-dark);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

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

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.84rem;
  color: var(--text-soft);
}

.contact-field span {
  font-weight: 500;
}

.contact-field input,
.contact-field textarea {
  border-radius: 0.7rem;
  border: 1px solid var(--card-border-light);
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem;
  color: var(--text-main-dark);
  resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: var(--text-soft);
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 1px rgba(0, 183, 229, 0.5);
}

.contact-actions {
  margin-top: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.contact-submit {
  padding-inline: 1.4rem;
}

.contact-status {
  font-size: 0.8rem;
  color: var(--text-muted-dark);
  min-height: 1em;
}

/* Contact responsive tweaks */

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form-card {
    padding: 1.4rem 1.4rem 1.6rem;
  }
}

@media (max-width: 720px) {
  .contact-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-info {
    max-width: 400px;
  }
}


/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-inner,
  .two-column,
  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
    display: grid;
  }

  .pricing-addons-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-right {
    order: -1;
  }

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

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

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

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

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

  .platform-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .component-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .logo-img {
    height: 32px;     /* tweak if you want it smaller */
  }

  .navbar-inner {
    height: auto;             /* <-- allow it to grow */
    flex-wrap: wrap;          /* allow rows: top row + menu row */
    align-items: center;
    padding-top: 0.6rem;
    padding-bottom: 0.4rem;
  }

  .nav-center,
  .nav-right {
    display: none;
  }

  .pricing-addons-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-center.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.75rem;
    margin-top: 0.3rem;
    border-top: 1px solid rgba(31, 41, 55, 0.95);
  }

  .nav-right.mobile-open {
    display: flex;
    padding-top: 0.75rem;
  }

  .mobile-toggle {
    display: block;
    margin-left: auto;
  }

    /* When menu is open */
  .nav-center.mobile-open,
  .nav-right.mobile-open {
    display: flex;
    width: 100%;
  }

  .nav-center.mobile-open {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding-top: 0.8rem;
    margin-top: 0.4rem;
    border-top: 1px solid rgba(31, 41, 55, 0.95);
  }

  .nav-right.mobile-open {
    justify-content: flex-start;
    gap: 0.6rem;
    padding-top: 0.8rem;
  }

  section {
    padding: 3rem 0;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .hero-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .component-grid,
  .value-grid,
  .pricing-grid,
  .showcase-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .footer-logo-row {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .text-justify {
    text-align: left; /* Fallback to left on mobile if rivers occur, remove if strict justify is needed everywhere */
  }
}