/* KidiMate Flow Website
   Clean premium healthcare SaaS landing page
*/

:root {
  --bg: #f7fbfb;
  --surface: #ffffff;
  --surface-soft: #eef8f7;
  --text: #0f172a;
  --muted: #64748b;
  --muted-2: #475569;
  --line: rgba(15, 23, 42, 0.10);
  --primary: #0f766e;
  --primary-dark: #0f4f4a;
  --primary-soft: #ccfbf1;
  --blue: #2563eb;
  --navy: #07111f;
  --cyan: #06b6d4;
  --teal: #14b8a6;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section-padding {
  padding: 110px 0;
}

.section-padding.compact {
  padding-top: 78px;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.10), transparent 28%),
    linear-gradient(180deg, #f8ffff 0%, #f7fbfb 42%, #ffffff 100%);
}

.orb {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.35;
  pointer-events: none;
}

.orb-one {
  top: 120px;
  left: -160px;
  background: rgba(20, 184, 166, 0.30);
}

.orb-two {
  top: 460px;
  right: -160px;
  background: rgba(37, 99, 235, 0.20);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 0;
  backdrop-filter: blur(18px);
  background: rgba(247, 251, 251, 0.82);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, var(--blue) 100%);
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.22);
  font-weight: 800;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-weight: 800;
  letter-spacing: -0.03em;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.brand-text small {
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 11px;
}


.logo-brand {
  min-width: auto;
}

.brand-logo {
  width: 150px;
  height: auto;
  display: block;
}

.footer-brand {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted-2);
  font-weight: 600;
  font-size: 14px;
}

.nav-panel a {
  position: relative;
  transition: color 0.2s ease;
}

.nav-panel a:hover,
.nav-panel a.active {
  color: var(--primary);
}

.nav-panel a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.btn-large {
  min-height: 54px;
  padding: 0 26px;
  font-size: 15px;
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
  box-shadow: 0 14px 35px rgba(15, 118, 110, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 18px 42px rgba(15, 118, 110, 0.30);
}

.btn-secondary {
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 118, 110, 0.18);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.btn-ghost {
  color: var(--text);
  border-color: rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.65);
}

.btn-ghost-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.10);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  padding: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  padding-top: 96px;
  padding-bottom: 80px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  color: var(--primary-dark);
  background: rgba(204, 251, 241, 0.7);
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 999px;
  padding: 8px 13px;
  font-weight: 800;
  font-size: 13px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  background: var(--teal);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.14);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--text);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

h1 {
  margin-top: 22px;
  max-width: 760px;
  font-size: clamp(46px, 6vw, 82px);
}

h2 {
  margin-top: 18px;
  font-size: clamp(34px, 4vw, 56px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
  color: var(--muted);
}

.hero-subtitle {
  margin-top: 24px;
  max-width: 680px;
  color: var(--muted-2);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.75;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 32px;
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15, 118, 110, 0.12);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.trust-line span::before {
  content: "✓";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: var(--primary);
  font-size: 11px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.mini-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 32px;
  color: var(--muted-2);
  font-weight: 700;
  font-size: 13px;
}

.mini-flow span {
  padding: 8px 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
}

.mini-flow i {
  width: 20px;
  height: 1px;
  background: rgba(15, 23, 42, 0.20);
}

.hero-visual {
  position: relative;
}

.mockup-stack {
  position: relative;
  min-height: 650px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.desktop-mockup {
  position: absolute;
  top: 20px;
  right: 0;
  width: min(100%, 640px);
  border-radius: 30px;
  overflow: hidden;
}

.mockup-topbar {
  height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  background: rgba(7, 17, 31, 0.94);
  color: #ffffff;
}

.mockup-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.mockup-topbar strong {
  margin-left: 10px;
  font-size: 13px;
}

.workspace-layout {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 430px;
  background: linear-gradient(135deg, rgba(247, 251, 251, 0.95), rgba(239, 253, 250, 0.95));
}

.workspace-sidebar {
  padding: 22px;
  background: rgba(15, 118, 110, 0.06);
  border-right: 1px solid rgba(15, 23, 42, 0.06);
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  margin-bottom: 20px;
}

.side-line,
.side-pill {
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.12);
}

.side-line {
  height: 10px;
  width: 70%;
  margin-bottom: 10px;
}

.side-line.wide {
  width: 95%;
}

.side-pill {
  height: 34px;
  margin-top: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.side-pill.active {
  background: rgba(15, 118, 110, 0.15);
}

.workspace-main {
  padding: 26px;
}

.status-card,
.home-plan-card,
.workspace-cards article,
.activity-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.status-card,
.home-plan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
}

.status-card small,
.home-plan-card small,
.phone-content small {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 11px;
}

.status-card strong,
.home-plan-card strong {
  font-size: 18px;
}

.status-card span {
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 12px;
}

.workspace-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 16px 0;
}

.workspace-cards article {
  padding: 18px;
}

.workspace-cards b {
  display: block;
  margin-bottom: 10px;
}

.workspace-cards p,
.home-plan-card p {
  font-size: 13px;
}

.home-plan-card button {
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  padding: 10px 16px;
}

.phone-mockup {
  position: absolute;
  left: -10px;
  bottom: 32px;
  width: 230px;
  min-height: 420px;
  border-radius: 36px;
  padding: 12px;
  border: 8px solid #0f172a;
  background: #ffffff;
}

.phone-notch {
  width: 72px;
  height: 20px;
  background: #0f172a;
  border-radius: 0 0 16px 16px;
  margin: -12px auto 16px;
}

.phone-content {
  padding: 12px;
}

.phone-content h4 {
  margin-bottom: 18px;
  font-size: 22px;
  line-height: 1.18;
}

.activity-card {
  padding: 14px;
  margin-bottom: 12px;
}

.activity-card span {
  display: block;
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 6px;
}

.activity-card p {
  font-size: 13px;
}

.floating-badge {
  position: absolute;
  right: 34px;
  bottom: 68px;
  display: flex;
  flex-direction: column;
  padding: 16px 18px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 42, 0.07);
}

.floating-badge strong {
  color: var(--primary-dark);
}

.floating-badge span {
  color: var(--muted);
  font-size: 13px;
}

.logo-strip {
  padding: 28px 0;
  border-block: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.65);
}

.logo-strip p {
  margin-bottom: 18px;
  text-align: center;
  font-weight: 700;
  color: var(--muted-2);
}

.logo-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.support-logo-card {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 14px 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
}

.support-logo-card img {
  max-width: 150px;
  max-height: 48px;
  object-fit: contain;
}

.section-heading {
  max-width: 700px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading p {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.75;
}

.flow-grid,
.benefit-grid,
.module-grid,
.problem-cards,
.team-grid {
  display: grid;
  gap: 18px;
}

.flow-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 46px;
}

.flow-step,
.benefit-grid article,
.module-grid article,
.problem-cards article,
.team-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--shadow-soft);
}

.flow-step span,
.module-grid article span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--primary);
  font-weight: 900;
  font-size: 13px;
}

.flow-step h3,
.benefit-grid h3,
.module-grid h3,
.problem-cards h3 {
  margin-bottom: 12px;
}

.flow-step p,
.benefit-grid p,
.module-grid p,
.problem-cards p {
  font-size: 15px;
}

.soft-section {
  background: linear-gradient(180deg, rgba(239, 248, 247, 0.75), rgba(255, 255, 255, 0.88));
}

.split-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.split-grid.reverse {
  grid-template-columns: 1fr 0.95fr;
}

.problem-cards {
  grid-template-columns: repeat(2, 1fr);
}

.icon-circle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  background: var(--surface-soft);
  font-size: 22px;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 50px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 29px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(15, 118, 110, 0.10), rgba(15, 118, 110, 0.45), rgba(37, 99, 235, 0.25));
}

.timeline-item {
  position: relative;
  z-index: 1;
  padding-top: 0;
}

.timeline-item span {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(15, 118, 110, 0.18);
  color: var(--primary);
  box-shadow: var(--shadow-soft);
  font-weight: 900;
}

.timeline-item h3 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 18px;
}

.timeline-item p {
  text-align: center;
  font-size: 14px;
}

.benefit-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 42px;
}

.benefit-grid article {
  overflow: hidden;
}

.benefit-grid article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--blue));
  opacity: 0.75;
}

.product-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 52px;
  align-items: start;
}

.product-layout .section-heading {
  position: sticky;
  top: 120px;
}

.product-layout .btn {
  margin-top: 28px;
}

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

.future-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.75), rgba(219, 234, 254, 0.75)) !important;
}

.dark-section {
  color: #ffffff;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.18), transparent 28%),
    linear-gradient(135deg, #07111f 0%, #0f2d34 60%, #0f4f4a 100%);
}

.dark-section h2,
.dark-section h3,
.dark-section p {
  color: #ffffff;
}

.dark-section .section-kicker {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.16);
  color: #d2fffb;
}

.dark-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 46px;
}

.audience-grid article {
  min-height: 92px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 22px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.13);
  font-weight: 800;
}

.safety-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}

.safety-list {
  display: grid;
  gap: 16px;
}

.safety-list div {
  padding: 22px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--shadow-soft);
}

.safety-list strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.02em;
}

.difference-card {
  min-height: 420px;
  padding: 26px;
  border-radius: var(--radius-xl);
  background: var(--navy);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.loop-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 360px;
}

.loop-visual div {
  width: 180px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 900;
}

.loop-visual span {
  width: 2px;
  height: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(20, 184, 166, 0.95));
}

.check-list {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--muted-2);
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
}

.partner-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 42px;
  border-radius: var(--radius-xl);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--shadow);
}

.partner-card p {
  max-width: 760px;
  margin-top: 18px;
  font-size: 18px;
}

.team-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 44px;
}

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

.founder-photo {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 30px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--blue));
  font-weight: 900;
  font-size: 24px;
  box-shadow: 0 18px 42px rgba(15, 118, 110, 0.18);
}

.team-card p {
  margin-top: 8px;
  font-weight: 700;
}

.credibility-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: var(--shadow-soft);
}

.credibility-panel div {
  padding: 16px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.credibility-panel strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary-dark);
  font-size: 24px;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.04em;
}

.credibility-panel span {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 700;
}

.cta-section {
  padding-top: 64px;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: 70px;
  border-radius: 40px;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.34), transparent 38%),
    linear-gradient(135deg, #07111f, #0f4f4a 64%, #0f766e);
  box-shadow: var(--shadow);
}

.cta-card::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  bottom: -120px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.cta-card h2,
.cta-card p {
  color: #ffffff;
}

.cta-card p {
  max-width: 700px;
  margin: 18px 0 30px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.cta-card .section-kicker {
  color: #d2fffb;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.16);
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.contact-line a:hover {
  color: #ffffff;
}

.site-footer {
  padding: 58px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 40px;
}

.footer-brand {
  color: #ffffff;
}

.site-footer p {
  margin: 18px 0 10px;
  max-width: 340px;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer small {
  color: rgba(255, 255, 255, 0.52);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 12px;
  align-content: start;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #ffffff;
}


.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .nav {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .hero-grid,
  .split-grid,
  .split-grid.reverse,
  .product-layout,
  .safety-grid {
    grid-template-columns: 1fr;
  }

  .product-layout .section-heading {
    position: static;
  }

  .hero-visual {
    min-height: 620px;
  }

  .timeline {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline::before {
    display: none;
  }

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

  .credibility-panel {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .section-padding {
    padding: 72px 0;
  }

  .hero {
    padding-top: 62px;
  }

  .brand-logo {
    width: 132px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-subtitle,
  .section-heading p {
    font-size: 16px;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .mini-flow {
    display: none;
  }

  .hero-visual {
    min-height: 520px;
  }

  .mockup-stack {
    min-height: 520px;
  }

  .desktop-mockup {
    width: 100%;
  }

  .workspace-layout {
    grid-template-columns: 1fr;
  }

  .workspace-sidebar {
    display: none;
  }

  .workspace-cards {
    grid-template-columns: 1fr;
  }

  .phone-mockup {
    left: 12px;
    bottom: 8px;
    width: 190px;
    min-height: 350px;
  }

  .floating-badge {
    right: 8px;
    bottom: 36px;
    max-width: 180px;
  }

  .logo-row,
  .flow-grid,
  .problem-cards,
  .benefit-grid,
  .module-grid,
  .team-grid,
  .audience-grid,
  .credibility-panel {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .timeline-item {
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 16px;
    align-items: start;
  }

  .timeline-item span {
    margin: 0;
    grid-row: span 2;
  }

  .timeline-item h3,
  .timeline-item p {
    text-align: left;
  }

  .partner-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .cta-card {
    padding: 42px 24px;
    border-radius: 28px;
  }

  .contact-line {
    flex-direction: column;
  }

  .contact-line span {
    display: none;
  }

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

@media (max-width: 420px) {
  .phone-mockup {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 20px auto 0;
  }

  .floating-badge {
    display: none;
  }

  .hero-visual,
  .mockup-stack {
    min-height: auto;
  }

  .desktop-mockup {
    position: relative;
    top: auto;
    right: auto;
  }
}


/* Icon system and improved responsive navigation */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
}

.step-icon,
.benefit-icon,
.module-icon,
.icon-circle,
.list-icon,
.partner-heading-icon {
  display: grid;
  place-items: center;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.96), rgba(219, 234, 254, 0.76));
  border: 1px solid rgba(15, 118, 110, 0.14);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.10);
}

.step-icon svg,
.benefit-icon svg,
.module-icon svg,
.icon-circle svg,
.list-icon svg,
.partner-heading-icon svg,
.audience-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.step-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 18px;
}

.benefit-icon,
.module-icon,
.icon-circle {
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 18px;
}

.module-icon {
  margin-top: -4px;
}

.list-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 16px;
}

.safety-list div {
  display: grid;
  grid-template-columns: 46px 1fr;
  column-gap: 16px;
  align-items: start;
}

.safety-list div p {
  grid-column: 2;
}

.partner-heading-icon {
  width: 58px;
  height: 58px;
  margin: 20px 0 16px;
  border-radius: 20px;
}

.audience-grid article {
  gap: 10px;
}

.audience-icon {
  color: #7dd3fc;
  margin-bottom: 6px;
}

@media (min-width: 1081px) {
  .nav {
    grid-template-columns: auto 1fr auto;
  }

  .nav-menu {
    grid-column: 2 / 4;
  }
}

@media (max-width: 1080px) {
  .nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-menu {
    position: fixed;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 24px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
  }

  body.menu-open .nav-menu {
    display: flex;
  }

  .nav-menu .nav-panel,
  .nav-menu .nav-actions {
    position: static !important;
    inset: auto !important;
    display: flex !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    backdrop-filter: none !important;
  }

  .nav-menu .nav-panel {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-menu .nav-panel a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  }

  .nav-menu .nav-panel a.active::after {
    display: none;
  }

  .nav-menu .nav-actions {
    gap: 12px;
    justify-content: stretch;
  }

  .nav-menu .nav-actions .btn {
    flex: 1;
  }
}

@media (max-width: 760px) {
  .safety-list div {
    grid-template-columns: 1fr;
  }

  .safety-list div p {
    grid-column: auto;
  }

  .list-icon {
    margin-bottom: 14px;
  }

  .nav-menu {
    left: 14px;
    right: 14px;
  }
}


/* -------------------------------------------------------
   Responsive polish fixes
   Fixes:
   1. Medium buttons without btn-small/btn-large were too small.
   2. Safety icons were inheriting card styles from broad selectors.
   3. Partner CTA needed stronger desktop and mobile sizing.
------------------------------------------------------- */

.btn {
  min-height: 48px;
  padding: 0 22px;
  font-size: 14px;
  line-height: 1;
}

.btn-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.btn-large {
  min-height: 54px;
  padding: 0 26px;
  font-size: 15px;
}

.product-layout .section-heading .btn {
  min-width: 148px;
  min-height: 50px;
  padding: 0 24px;
  margin-top: 30px;
}

.safety-list > div {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 8px;
  align-items: start;
  padding: 26px 28px;
}

/* Override older broad ".safety-list div" rules for nested icon boxes */
.safety-list .list-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: none;
  place-items: center;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  padding: 0;
  margin: 0;
  border-radius: 16px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.96), rgba(219, 234, 254, 0.76));
  border: 1px solid rgba(15, 118, 110, 0.14);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.10);
}

.safety-list .list-icon svg {
  width: 23px;
  height: 23px;
}

.safety-list > div strong {
  grid-column: 2;
  grid-row: 1;
  display: block;
  margin: 0;
  padding-top: 2px;
  line-height: 1.35;
}

.safety-list > div p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  line-height: 1.65;
}

.partner-card .btn {
  min-width: 150px;
  min-height: 52px;
  padding: 0 26px;
  font-size: 15px;
}

.partner-card {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .product-layout .section-heading .btn {
    position: static;
  }

  .partner-card {
    grid-template-columns: 1fr;
  }

  .partner-card .btn {
    width: fit-content;
  }
}

@media (max-width: 760px) {
  .product-layout .section-heading .btn {
    width: 100%;
  }

  .safety-list > div {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .safety-list .list-icon,
  .safety-list > div strong,
  .safety-list > div p {
    grid-column: auto;
    grid-row: auto;
  }

  .safety-list .list-icon {
    margin-bottom: 8px;
  }

  .partner-card .btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .btn,
  .btn-small,
  .btn-large {
    width: 100%;
  }

  .nav-menu .nav-actions {
    flex-direction: column;
  }
}


/* -------------------------------------------------------
   AI product feel upgrade
------------------------------------------------------- */

.site-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black 0%, transparent 72%);
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 40px auto auto 50%;
  width: min(720px, 70vw);
  height: min(720px, 70vw);
  transform: translateX(-10%);
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(6, 182, 212, 0.18), transparent 34%),
    radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 48%);
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

.ai-core-card {
  position: absolute;
  top: 0;
  left: 26px;
  z-index: 4;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 16px;
  align-items: center;
  width: min(420px, calc(100% - 40px));
  padding: 18px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.92), rgba(15, 79, 74, 0.88)),
    rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(125, 249, 255, 0.24);
  box-shadow: 0 28px 70px rgba(6, 182, 212, 0.20);
}

.ai-core-card strong {
  display: block;
  color: #ffffff;
  margin-bottom: 5px;
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.03em;
}

.ai-core-card p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.55;
}

.neural-orb {
  position: relative;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.55), transparent 18%),
    linear-gradient(135deg, #14b8a6 0%, #2563eb 56%, #7c3aed 100%);
  box-shadow:
    0 0 0 8px rgba(6, 182, 212, 0.12),
    0 0 46px rgba(6, 182, 212, 0.55);
  animation: aiPulse 3s ease-in-out infinite;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.neural-orb span {
  position: relative;
  z-index: 2;
  font-size: 24px;
}

.neural-orb::before,
.neural-orb::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 22px;
  transform: rotate(18deg);
}

.neural-orb::after {
  inset: 20px;
  transform: rotate(-24deg);
  opacity: 0.8;
}

.node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.8);
}

.node-a { top: 13px; left: 17px; }
.node-b { top: 18px; right: 13px; }
.node-c { bottom: 15px; left: 16px; }
.node-d { bottom: 13px; right: 19px; }

@keyframes aiPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 0 0 8px rgba(6, 182, 212, 0.12),
      0 0 46px rgba(6, 182, 212, 0.55);
  }
  50% {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
      0 0 0 12px rgba(37, 99, 235, 0.10),
      0 0 70px rgba(37, 99, 235, 0.62);
  }
}

.ai-signal-ribbon {
  position: absolute;
  top: 116px;
  right: 34px;
  z-index: 5;
  display: flex;
  gap: 8px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(14px);
}

.ai-signal-ribbon span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #d2fffb;
  background: rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 800;
}

.desktop-mockup {
  top: 92px;
}

.phone-mockup {
  bottom: 18px;
}

.ai-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    radial-gradient(circle at 14% 22%, rgba(6, 182, 212, 0.30), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(124, 58, 237, 0.22), transparent 32%),
    linear-gradient(135deg, #07111f 0%, #081a2f 46%, #0f4f4a 100%);
}

.ai-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 78%);
}

.ai-section > .container {
  position: relative;
  z-index: 1;
}

.ai-layer-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 58px;
  align-items: center;
}

.ai-section h2,
.ai-section h3,
.ai-section p {
  color: #ffffff;
}

.ai-section .section-heading p {
  color: rgba(255, 255, 255, 0.76);
}

.ai-kicker {
  color: #d2fffb;
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(125, 249, 255, 0.24);
}

.ai-principle {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ai-principle span {
  padding: 10px 13px;
  border-radius: 999px;
  color: #d2fffb;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  font-weight: 800;
  font-size: 13px;
}

.ai-console {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: rgba(4, 11, 23, 0.82);
  border: 1px solid rgba(125, 249, 255, 0.22);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.ai-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(6, 182, 212, 0.10), transparent 42%);
  transform: translateX(-100%);
  animation: scanLine 4.6s ease-in-out infinite;
}

@keyframes scanLine {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(120%); }
  100% { transform: translateX(120%); }
}

.console-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

.console-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.console-header strong {
  margin-left: 8px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.console-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  padding: 24px;
}

.console-line {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.console-line.active {
  border-color: rgba(6, 182, 212, 0.42);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.10);
}

.console-line.approved {
  border-color: rgba(20, 184, 166, 0.50);
}

.console-line small {
  display: block;
  margin-bottom: 6px;
  color: #7dd3fc;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-line p {
  color: rgba(255, 255, 255, 0.84);
}

.console-glow {
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.26);
  filter: blur(10px);
}

.ai-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.ai-capability-grid article {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
}

.ai-capability-grid h3 {
  margin: 16px 0 10px;
  font-size: 19px;
}

.ai-capability-grid p {
  color: rgba(255, 255, 255, 0.70);
  font-size: 14px;
}

.ai-icon {
  color: #d2fffb;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.24), rgba(37, 99, 235, 0.24));
  border-color: rgba(125, 249, 255, 0.22);
}

.module-grid article:nth-child(2) {
  background:
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.16), transparent 45%),
    #ffffff;
}

@media (max-width: 1080px) {
  .ai-layer-grid {
    grid-template-columns: 1fr;
  }

  .ai-capability-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ai-core-card {
    position: relative;
    top: auto;
    left: auto;
    margin-bottom: 16px;
    width: 100%;
  }

  .ai-signal-ribbon {
    position: relative;
    top: auto;
    right: auto;
    width: fit-content;
    margin: 0 0 18px auto;
  }

  .desktop-mockup {
    top: auto;
  }
}

@media (max-width: 760px) {
  .hero::before {
    width: 560px;
    height: 560px;
    inset: 120px auto auto 14%;
    transform: none;
  }

  .ai-core-card {
    grid-template-columns: 64px 1fr;
    padding: 16px;
  }

  .neural-orb {
    width: 60px;
    height: 60px;
    border-radius: 22px;
  }

  .neural-orb span {
    font-size: 19px;
  }

  .ai-signal-ribbon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 22px;
    width: 100%;
  }

  .ai-signal-ribbon span {
    text-align: center;
  }

  .ai-capability-grid {
    grid-template-columns: 1fr;
  }

  .ai-principle span {
    width: 100%;
    text-align: center;
  }

  .ai-console {
    border-radius: 24px;
  }
}


/* -------------------------------------------------------
   More AI + interactive motion upgrade
------------------------------------------------------- */

.ai-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.72;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.14), rgba(20, 184, 166, 0.06) 38%, transparent 70%);
  transition: opacity 0.25s ease;
  mix-blend-mode: multiply;
}

body.cursor-active .cursor-glow {
  opacity: 1;
}

.hero-ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-ai-chips span {
  position: relative;
  overflow: hidden;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(6, 182, 212, 0.18);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  font-size: 12px;
  font-weight: 900;
}

.hero-ai-chips span::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  transform: translateX(-120%) skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: chipShine 4s ease-in-out infinite;
}

.hero-ai-chips span:nth-child(2)::after { animation-delay: 0.8s; }
.hero-ai-chips span:nth-child(3)::after { animation-delay: 1.6s; }
.hero-ai-chips span:nth-child(4)::after { animation-delay: 2.4s; }

@keyframes chipShine {
  0%, 55%, 100% { transform: translateX(-120%) skewX(-18deg); }
  72% { transform: translateX(280%) skewX(-18deg); }
}

.live-ai-signal {
  position: absolute;
  left: 250px;
  bottom: 0;
  z-index: 6;
  width: 250px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(7, 17, 31, 0.90);
  border: 1px solid rgba(125, 249, 255, 0.22);
  box-shadow: 0 24px 60px rgba(6, 182, 212, 0.18);
}

.signal-header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
}

.signal-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.12), 0 0 18px rgba(34, 197, 94, 0.76);
}

.signal-header strong {
  color: #ffffff;
  font-size: 13px;
}

.signal-bars {
  display: flex;
  align-items: end;
  gap: 6px;
  height: 36px;
  margin-bottom: 10px;
}

.signal-bars i {
  display: block;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(180deg, #7dd3fc, #14b8a6);
  animation: signalBars 1.2s ease-in-out infinite;
}

.signal-bars i:nth-child(1) { height: 34%; animation-delay: 0s; }
.signal-bars i:nth-child(2) { height: 70%; animation-delay: 0.12s; }
.signal-bars i:nth-child(3) { height: 48%; animation-delay: 0.24s; }
.signal-bars i:nth-child(4) { height: 88%; animation-delay: 0.36s; }
.signal-bars i:nth-child(5) { height: 56%; animation-delay: 0.48s; }

@keyframes signalBars {
  0%, 100% { transform: scaleY(0.68); opacity: 0.68; }
  50% { transform: scaleY(1); opacity: 1; }
}

.live-ai-signal p {
  color: rgba(255, 255, 255, 0.70);
  font-size: 12px;
  line-height: 1.45;
}

.ai-demo-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 0%, rgba(124, 58, 237, 0.10), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(6, 182, 212, 0.14), transparent 38%),
    linear-gradient(180deg, #ffffff, #f3fbfb);
}

.ai-demo-grid {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.ai-demo-tabs {
  display: grid;
  gap: 14px;
}

.ai-demo-tab {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
  text-align: left;
  cursor: pointer;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ai-demo-tab:hover,
.ai-demo-tab.active {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.36);
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(6, 182, 212, 0.14);
}

.ai-demo-tab span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #0f766e;
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.96), rgba(219, 234, 254, 0.82));
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.ai-demo-tab svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-demo-preview {
  position: relative;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: center;
  min-height: 440px;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 22% 50%, rgba(6, 182, 212, 0.18), transparent 30%),
    linear-gradient(135deg, #07111f 0%, #0a1f34 52%, #0f4f4a 100%);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}

.ai-demo-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 38px 38px;
}

.demo-orbit,
.demo-output-card {
  position: relative;
  z-index: 1;
}

.demo-orbit {
  width: 240px;
  height: 240px;
  display: grid;
  place-items: center;
  margin: 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(125, 249, 255, 0.28);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.16), transparent 66%);
  animation: floatSlow 5s ease-in-out infinite;
}

.demo-orbit::before,
.demo-orbit::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.demo-orbit::before {
  inset: 28px;
  animation: rotateOrbit 12s linear infinite;
}

.demo-orbit::after {
  inset: 58px;
  animation: rotateOrbit 8s linear infinite reverse;
}

.orbit-core {
  position: relative;
  z-index: 2;
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  border-radius: 34px;
  color: #ffffff;
  background: linear-gradient(135deg, #14b8a6, #2563eb, #7c3aed);
  box-shadow: 0 0 56px rgba(6, 182, 212, 0.58);
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.orbit-dot {
  position: absolute;
  z-index: 3;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: #d2fffb;
  box-shadow: 0 0 18px rgba(125, 249, 255, 0.86);
}

.dot-one { top: 32px; left: 74px; }
.dot-two { right: 42px; top: 114px; }
.dot-three { left: 52px; bottom: 50px; }

@keyframes rotateOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.demo-output-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.20);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.demo-output-card.updating {
  opacity: 0.45;
  transform: translateY(6px);
}

.demo-output-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.demo-output-top small {
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-output-top span {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: var(--primary-soft);
  font-size: 11px;
  font-weight: 900;
}

.demo-output-card h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.demo-output-card p {
  line-height: 1.7;
}

.demo-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}

.demo-bullets span {
  padding: 8px 10px;
  border-radius: 999px;
  background: #eef8f7;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.demo-approval {
  display: grid;
  gap: 10px;
}

.approval-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 800;
}

.approval-line i {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(15, 118, 110, 0.10);
}

.approval-line.muted i {
  background: #94a3b8;
  box-shadow: 0 0 0 6px rgba(148, 163, 184, 0.10);
}

.timeline-packet {
  position: absolute;
  top: 24px;
  left: 8%;
  z-index: 3;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #14b8a6;
  box-shadow: 0 0 24px rgba(20, 184, 166, 0.74);
  animation: movePacket 6s linear infinite;
}

.packet-two {
  animation-delay: 2.8s;
  background: #38bdf8;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.74);
}

@keyframes movePacket {
  0% { left: 8%; opacity: 0; transform: scale(0.8); }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: calc(92% - 14px); opacity: 0; transform: scale(1.2); }
}

.flow-step,
.benefit-grid article,
.module-grid article,
.problem-cards article,
.safety-list > div,
.partner-card,
.demo-output-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.flow-step:hover,
.benefit-grid article:hover,
.module-grid article:hover,
.problem-cards article:hover,
.safety-list > div:hover {
  border-color: rgba(6, 182, 212, 0.24);
  box-shadow: 0 28px 70px rgba(6, 182, 212, 0.12);
}

.step-icon,
.list-icon,
.icon-circle {
  position: relative;
  overflow: hidden;
}

.step-icon::after,
.list-icon::after,
.icon-circle::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg, transparent, rgba(6, 182, 212, 0.24), transparent 35%);
  animation: iconSpin 5s linear infinite;
  opacity: 0.62;
}

.step-icon svg,
.list-icon svg,
.icon-circle svg {
  position: relative;
  z-index: 1;
}

@keyframes iconSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1080px) {
  .live-ai-signal {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 16px;
  }

  .ai-demo-grid,
  .ai-demo-preview {
    grid-template-columns: 1fr;
  }

  .demo-orbit {
    width: 210px;
    height: 210px;
  }
}

@media (max-width: 760px) {
  .cursor-glow {
    display: none;
  }

  .hero-ai-chips span {
    flex: 1 1 calc(50% - 10px);
    text-align: center;
  }

  .ai-demo-grid {
    gap: 18px;
  }

  .ai-demo-preview {
    padding: 22px;
    border-radius: 28px;
  }

  .demo-output-card {
    padding: 22px;
  }

  .demo-output-card h3 {
    font-size: 23px;
  }

  .timeline-packet {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neural-orb,
  .hero-ai-chips span::after,
  .signal-bars i,
  .demo-orbit,
  .demo-orbit::before,
  .demo-orbit::after,
  .timeline-packet,
  .step-icon::after,
  .list-icon::after,
  .icon-circle::after,
  .ai-console::before {
    animation: none !important;
  }

  .ai-canvas,
  .cursor-glow {
    display: none !important;
  }
}


/* -------------------------------------------------------
   Final polish: fewer hero capsules, fixed product section,
   stronger AI feel without clutter, responsive cleanup.
------------------------------------------------------- */

.hero-proof-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin: 28px 0 30px;
  padding: 12px;
  border-radius: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(239, 253, 250, 0.72));
  border: 1px solid rgba(6, 182, 212, 0.16);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.hero-proof-bar div {
  position: relative;
  padding: 14px 14px 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  overflow: hidden;
}

.hero-proof-bar div::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--teal), var(--blue));
}

.hero-proof-bar strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.hero-proof-bar span {
  display: block;
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.product-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(6, 182, 212, 0.10), transparent 34%),
    radial-gradient(circle at 82% 26%, rgba(37, 99, 235, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f5fbfb 100%);
}

.product-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(15, 118, 110, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 35%, black, transparent 76%);
}

.product-section > .container {
  position: relative;
  z-index: 1;
}

.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 46px;
  align-items: stretch;
}

.product-area-card {
  position: relative;
  min-height: 410px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.product-area-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.22), transparent 42%, rgba(37, 99, 235, 0.18));
  transition: opacity 0.25s ease;
}

.product-area-card:hover::before {
  opacity: 1;
}

.product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.product-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.96), rgba(219, 234, 254, 0.82));
  border: 1px solid rgba(15, 118, 110, 0.16);
  box-shadow: 0 14px 32px rgba(15, 118, 110, 0.10);
}

.product-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-product-icon {
  color: #ffffff;
  background: linear-gradient(135deg, #14b8a6, #2563eb, #7c3aed);
  box-shadow: 0 0 0 8px rgba(6, 182, 212, 0.10), 0 20px 48px rgba(37, 99, 235, 0.20);
}

.product-card-top small {
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-area-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.product-area-card p {
  color: var(--muted-2);
  font-size: 15px;
  line-height: 1.68;
}

.product-area-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: auto 0 0;
  list-style: none;
}

.product-area-card li {
  position: relative;
  padding-left: 24px;
  color: var(--muted-2);
  font-weight: 800;
  font-size: 13px;
}

.product-area-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(20, 184, 166, 0.10);
}

.ai-feature-card {
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(124, 58, 237, 0.22), transparent 38%),
    linear-gradient(135deg, #07111f, #0f2d34 62%, #0f4f4a);
  border-color: rgba(125, 249, 255, 0.18);
}

.ai-feature-card h3,
.ai-feature-card p,
.ai-feature-card .product-card-top small {
  color: #ffffff;
}

.ai-feature-card p {
  color: rgba(255, 255, 255, 0.74);
}

.mini-ai-console {
  display: grid;
  gap: 9px;
  margin-top: auto;
}

.mini-ai-console span {
  position: relative;
  padding: 10px 12px;
  border-radius: 14px;
  color: #d2fffb;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  font-size: 12px;
  font-weight: 800;
}

.future-ai-strip {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 22px 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.74), rgba(219, 234, 254, 0.70));
  border: 1px solid rgba(6, 182, 212, 0.15);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.06);
}

.future-ai-strip strong {
  display: block;
  margin-bottom: 4px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.future-ai-strip p {
  color: var(--muted-2);
}

@media (max-width: 1180px) {
  .product-showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-area-card {
    min-height: 360px;
  }
}

@media (max-width: 1080px) {
  .hero-proof-bar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero-proof-bar {
    margin-top: 24px;
    padding: 10px;
    border-radius: 22px;
  }

  .hero-proof-bar div {
    padding: 12px 12px 12px 16px;
  }

  .product-showcase-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-area-card {
    min-height: auto;
    padding: 24px;
    border-radius: 24px;
  }

  .product-card-top {
    margin-bottom: 20px;
  }

  .future-ai-strip {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

@media (max-width: 420px) {
  .hero-proof-bar strong {
    font-size: 13px;
  }

  .hero-proof-bar span,
  .product-area-card li {
    font-size: 12px;
  }
}


/* -------------------------------------------------------
   Final UX fixes:
   - Make Interactive AI demo label readable and clickable.
   - Remove clutter and improve click affordance.
   - Improve Partners section without over-content.
------------------------------------------------------- */

.ai-demo-section .section-kicker,
.ai-demo-section .ai-kicker {
  color: var(--primary-dark) !important;
  background: rgba(204, 251, 241, 0.95) !important;
  border: 1px solid rgba(15, 118, 110, 0.18) !important;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.08);
}

.demo-click-guide {
  padding: 18px 18px 16px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.14), transparent 38%),
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(15, 79, 74, 0.90));
  border: 1px solid rgba(125, 249, 255, 0.20);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.demo-click-guide strong {
  display: block;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.demo-click-guide span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
}

.ai-demo-tab {
  position: relative;
  overflow: hidden;
}

.ai-demo-tab::after {
  content: "→";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  color: var(--primary);
  font-size: 22px;
  font-weight: 900;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ai-demo-tab:hover::after,
.ai-demo-tab.active::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.ai-demo-tab strong {
  display: grid;
  gap: 4px;
  padding-right: 28px;
  font-size: 16px;
}

.ai-demo-tab em {
  color: var(--primary);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.86;
}

.ai-demo-tab.active {
  border-width: 2px;
}

.partners-section {
  background:
    radial-gradient(circle at 20% 0%, rgba(6, 182, 212, 0.09), transparent 34%),
    linear-gradient(180deg, #ffffff, #f6fbfb);
}

.partner-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.partner-mini-grid article {
  padding: 24px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.06);
}

.partner-mini-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--primary);
  background: linear-gradient(135deg, rgba(204, 251, 241, 0.96), rgba(219, 234, 254, 0.78));
  border: 1px solid rgba(15, 118, 110, 0.14);
}

.partner-mini-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.partner-mini-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.partner-mini-grid p {
  font-size: 15px;
  line-height: 1.65;
}

.footer-contact {
  gap: 14px;
}

@media (max-width: 1080px) {
  .partner-mini-grid {
    grid-template-columns: 1fr;
  }

  .ai-demo-tab::after {
    opacity: 1;
  }
}

@media (max-width: 760px) {
  .demo-click-guide {
    padding: 16px;
  }

  .ai-demo-tab {
    min-height: 82px;
  }

  .ai-demo-tab strong {
    font-size: 15px;
  }

  .partner-mini-grid article {
    padding: 22px;
  }
}


/* -------------------------------------------------------
   Demo/contact form section
------------------------------------------------------- */

.demo-form-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(6, 182, 212, 0.12), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(124, 58, 237, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f6fbfb 100%);
}

.demo-form-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 44px;
  align-items: start;
}

.demo-form-copy {
  position: sticky;
  top: 120px;
}

.demo-form-copy h2 {
  max-width: 640px;
}

.form-promise-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.form-promise-list div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 23, 42, 0.07);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.05);
}

.form-promise-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  letter-spacing: -0.02em;
}

.form-promise-list span {
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.55;
}

.form-note {
  margin-top: 22px;
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: var(--muted-2);
}

.demo-form-card {
  display: grid;
  gap: 18px;
  padding: 30px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.90);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(16px);
}

.form-row {
  display: grid;
  gap: 16px;
}

.form-row.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.demo-form-card label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.demo-form-card input,
.demo-form-card select,
.demo-form-card textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--text);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.demo-form-card textarea {
  resize: vertical;
  min-height: 130px;
}

.demo-form-card input:focus,
.demo-form-card select:focus,
.demo-form-card textarea:focus {
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 0 0 5px rgba(6, 182, 212, 0.10);
}

.checkbox-label {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--muted-2) !important;
  font-weight: 700 !important;
  line-height: 1.5;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
  box-shadow: none !important;
}

.form-submit-button {
  width: fit-content;
  border: 0;
}

.form-submit-button[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  min-height: 24px;
  font-weight: 800;
  font-size: 14px;
}

.form-status.success {
  color: var(--primary-dark);
}

.form-status.error {
  color: #b42318;
}

.hidden-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 1080px) {
  .demo-form-grid {
    grid-template-columns: 1fr;
  }

  .demo-form-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .demo-form-card {
    padding: 22px;
    border-radius: 26px;
  }

  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .form-submit-button {
    width: 100%;
  }
}


/* -------------------------------------------------------
   Interactive form upgrade:
   - interest cards
   - country dropdown with flags
   - auto phone country code UX
------------------------------------------------------- */

.form-start-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.10), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(239, 253, 250, 0.78));
  border: 1px solid rgba(6, 182, 212, 0.14);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.form-start-panel > div:first-child strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 18px;
  letter-spacing: -0.03em;
}

.form-start-panel > div:first-child span {
  color: var(--muted-2);
  font-size: 14px;
  font-weight: 700;
}

.interest-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.interest-card {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 128px;
  padding: 15px;
  border: 1px solid rgba(15, 23, 42, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.interest-card:hover,
.interest-card.active {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.42);
  background: #ffffff;
  box-shadow: 0 20px 46px rgba(6, 182, 212, 0.12);
}

.interest-card.active::after {
  content: "✓";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--primary);
  font-size: 12px;
  font-weight: 900;
}

.interest-card span {
  font-size: 25px;
}

.interest-card strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.interest-card small {
  color: var(--muted-2);
  font-size: 12px;
  line-height: 1.35;
}

.form-progress-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.form-progress-strip span {
  padding: 9px 10px;
  border-radius: 999px;
  color: var(--muted-2);
  background: rgba(15, 23, 42, 0.04);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.form-progress-strip span.active {
  color: var(--primary-dark);
  background: var(--primary-soft);
}

.country-select {
  cursor: pointer;
}

.phone-input-wrap {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-input-wrap:focus-within {
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 0 0 5px rgba(6, 182, 212, 0.10);
}

.phone-flag {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 50px;
  font-size: 22px;
  background: rgba(204, 251, 241, 0.45);
  border-right: 1px solid rgba(15, 23, 42, 0.08);
}

.demo-form-card .phone-input-wrap input {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.field-help {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
}

.interactive-next-steps div {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.interactive-next-steps div:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 182, 212, 0.18);
}

@media (max-width: 1180px) {
  .interest-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .form-start-panel {
    padding: 16px;
  }

  .interest-card-grid,
  .form-progress-strip {
    grid-template-columns: 1fr;
  }

  .interest-card {
    min-height: auto;
    grid-template-columns: 38px 1fr;
    align-items: center;
  }

  .interest-card small {
    grid-column: 2;
  }

  .phone-input-wrap {
    grid-template-columns: 48px minmax(0, 1fr);
  }
}

/* -------------------------------------------------------
   Compact demo form v2:
   - real flag image picker
   - minimal fields
   - smaller visual footprint
------------------------------------------------------- */

.compact-demo-form-section {
  background:
    radial-gradient(circle at 12% 14%, rgba(6, 182, 212, 0.10), transparent 34%),
    radial-gradient(circle at 90% 0%, rgba(124, 58, 237, 0.08), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
}

.compact-demo-grid {
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
}

.compact-next-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.compact-next-steps span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 11px;
  border-radius: 999px;
  color: var(--primary-dark);
  background: rgba(204, 251, 241, 0.78);
  border: 1px solid rgba(15, 118, 110, 0.13);
  font-size: 13px;
  font-weight: 800;
}

.compact-next-steps strong {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: var(--primary);
  font-size: 11px;
}

.compact-demo-form-card {
  gap: 14px;
  padding: 26px;
  border-radius: 28px;
}

.custom-country-picker {
  position: relative;
}

.country-picker-button {
  width: 100%;
  min-height: 50px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  color: var(--text);
  background: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.country-picker-button:hover,
.country-picker-button:focus {
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 0 0 5px rgba(6, 182, 212, 0.10);
  outline: none;
}

.country-picker-button img,
.country-picker-menu img {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.10);
}

.country-picker-button span,
.country-picker-menu span {
  overflow: hidden;
  color: var(--text);
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.country-picker-button strong,
.country-picker-menu strong {
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 900;
}

.country-picker-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  display: none;
  max-height: 260px;
  overflow-y: auto;
  padding: 8px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

.custom-country-picker.open .country-picker-menu {
  display: grid;
  gap: 4px;
}

.country-picker-menu button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 9px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.country-picker-menu button:hover,
.country-picker-menu button.active {
  background: rgba(204, 251, 241, 0.62);
}

.globe-flag {
  width: 28px;
  height: 20px;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.compact-phone-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 50px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.compact-phone-wrap:focus-within {
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 0 0 5px rgba(6, 182, 212, 0.10);
}

#phoneDialBadge {
  min-width: 58px;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 0 12px;
  color: var(--primary-dark);
  background: rgba(204, 251, 241, 0.52);
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 13px;
  font-weight: 900;
}

.demo-form-card .compact-phone-wrap input {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding-left: 12px;
}

.compact-demo-form-card textarea {
  min-height: 50px;
  max-height: 110px;
}

.compact-checkbox {
  margin-top: 2px;
}

.compact-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.compact-form-actions .form-status {
  margin: 0;
}

.form-start-panel,
.form-progress-strip,
.interest-card-grid {
  display: none !important;
}

@media (max-width: 1080px) {
  .compact-demo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .compact-demo-form-card {
    padding: 20px;
  }

  .compact-next-steps {
    display: grid;
  }

  .compact-form-actions .form-submit-button {
    width: 100%;
  }

  .country-picker-menu {
    max-height: 230px;
  }
}

/* -------------------------------------------------------
   Country search picker v3
------------------------------------------------------- */

.country-search-box {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 8px;
  background: #ffffff;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.country-search-box input {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 12px;
  background: #f8ffff;
  outline: none;
  font-size: 14px;
  font-weight: 700;
}

.country-search-box input:focus {
  border-color: rgba(6, 182, 212, 0.55);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.10);
}

.country-options {
  display: grid;
  gap: 4px;
  padding: 8px;
}

.country-no-results {
  display: none;
  margin: 0;
  padding: 14px;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.country-picker-menu {
  max-height: 310px;
  padding: 0 !important;
}

.country-picker-menu button {
  min-height: 42px;
}

.dial-code-input {
  width: 68px !important;
  min-width: 68px;
  height: 100%;
  border: 0 !important;
  border-right: 1px solid rgba(15, 23, 42, 0.08) !important;
  border-radius: 0 !important;
  color: var(--primary-dark) !important;
  background: rgba(204, 251, 241, 0.52) !important;
  box-shadow: none !important;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.compact-phone-wrap {
  grid-template-columns: 68px minmax(0, 1fr) !important;
}

#phoneDialBadge {
  display: none !important;
}

@media (max-width: 760px) {
  .country-picker-menu {
    max-height: 290px;
  }

  .country-search-box {
    padding: 8px;
  }

  .country-picker-menu button {
    min-height: 44px;
  }

  .country-picker-button {
    grid-template-columns: 32px minmax(0, 1fr) auto;
  }
}


/* -------------------------------------------------------
   Premium footer rework
------------------------------------------------------- */

.premium-footer {
  padding: 64px 0 28px;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.16), transparent 32%),
    linear-gradient(135deg, #07111f 0%, #0b1d2e 52%, #0f2d34 100%);
}

.premium-footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.9fr 1.05fr;
  gap: 34px;
  align-items: start;
}

.footer-brand-block p {
  margin: 18px 0 10px;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.7;
}

.footer-brand-block small {
  color: rgba(255, 255, 255, 0.54);
  font-weight: 700;
}

.footer-column {
  display: grid;
  gap: 11px;
}

.footer-column h3 {
  margin: 0 0 6px;
  color: #ffffff;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.footer-column a {
  width: fit-content;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
  font-size: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-cta-panel {
  padding: 22px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.20), transparent 42%),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.20);
}

.footer-cta-panel span {
  display: block;
  color: #d2fffb;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-cta-panel strong {
  display: block;
  margin: 8px 0 18px;
  color: #ffffff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.52);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .premium-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-cta-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .premium-footer {
    padding-top: 50px;
  }

  .premium-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    margin-top: 32px;
  }

  .footer-cta-panel .btn {
    width: 100%;
  }
}

/* -------------------------------------------------------
   AI demo visual tab upgrade
   Each tab now changes both text and a distinct visual.
------------------------------------------------------- */

.ai-demo-tab[data-demo="context"] span { color: #0f766e; background: linear-gradient(135deg, rgba(204,251,241,.98), rgba(219,234,254,.82)); }
.ai-demo-tab[data-demo="note"] span { color: #2563eb; background: linear-gradient(135deg, rgba(219,234,254,.98), rgba(237,233,254,.82)); }
.ai-demo-tab[data-demo="plan"] span { color: #7c3aed; background: linear-gradient(135deg, rgba(237,233,254,.98), rgba(252,231,243,.82)); }
.ai-demo-tab[data-demo="feedback"] span { color: #0e7490; background: linear-gradient(135deg, rgba(207,250,254,.98), rgba(204,251,241,.82)); }

.ai-demo-tab[data-demo="context"].active { border-color: rgba(20,184,166,.55); }
.ai-demo-tab[data-demo="note"].active { border-color: rgba(37,99,235,.55); }
.ai-demo-tab[data-demo="plan"].active { border-color: rgba(124,58,237,.55); }
.ai-demo-tab[data-demo="feedback"].active { border-color: rgba(14,116,144,.55); }

.demo-visual-stage {
  position: relative;
  z-index: 1;
  min-height: 340px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 22px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.18), transparent 36%),
    rgba(255,255,255,.08);
  border: 1px solid rgba(125,249,255,.24);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 24px 70px rgba(0,0,0,.18);
  overflow: hidden;
  transition: opacity .18s ease, transform .18s ease, background .25s ease;
}

.demo-visual-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
}

.demo-visual-stage.updating {
  opacity: .55;
  transform: scale(.98);
}

.visual-stage-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.visual-stage-top span,
.visual-stage-top strong {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 900;
}

.visual-stage-top span {
  padding: 8px 11px;
  color: #d2fffb;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
}

.visual-stage-top strong {
  width: 38px;
  height: 38px;
  justify-content: center;
  color: #ffffff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
}

.visual-content {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 220px;
}

.visual-screen {
  position: relative;
  width: min(100%, 260px);
  height: 220px;
}

.visual-caption {
  position: relative;
  z-index: 2;
  color: rgba(255,255,255,.74);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
}

.theme-context.demo-visual-stage { background: radial-gradient(circle at 48% 46%, rgba(20,184,166,.30), transparent 45%), linear-gradient(135deg,#07111f,#0f4f4a); }
.theme-note.demo-visual-stage { background: radial-gradient(circle at 48% 46%, rgba(37,99,235,.30), transparent 45%), linear-gradient(135deg,#07111f,#172554); }
.theme-plan.demo-visual-stage { background: radial-gradient(circle at 48% 46%, rgba(124,58,237,.32), transparent 45%), linear-gradient(135deg,#07111f,#3b0764); }
.theme-feedback.demo-visual-stage { background: radial-gradient(circle at 48% 46%, rgba(14,116,144,.34), transparent 45%), linear-gradient(135deg,#07111f,#164e63); }

.visual-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 0 28px rgba(125,249,255,.16);
  font-size: 12px;
  font-weight: 900;
}

.visual-node.main {
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg,#14b8a6,#2563eb);
  font-size: 28px;
  letter-spacing: -.06em;
  box-shadow: 0 0 60px rgba(6,182,212,.50);
}

.visual-node.node-one { left: 0; top: 18px; width: 78px; height: 42px; }
.visual-node.node-two { right: 0; top: 22px; width: 72px; height: 42px; }
.visual-node.node-three { left: 50%; bottom: 0; width: 118px; height: 42px; transform: translateX(-50%); }

.connector {
  position: absolute;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(125,249,255,.12), rgba(125,249,255,.72));
  box-shadow: 0 0 12px rgba(125,249,255,.26);
}

.connector-one { left: 72px; top: 58px; width: 82px; transform: rotate(28deg); }
.connector-two { right: 70px; top: 62px; width: 80px; transform: rotate(150deg); }
.connector-three { left: 116px; bottom: 48px; width: 72px; transform: rotate(90deg); }

.note-builder {
  display: grid;
  align-content: center;
  gap: 12px;
}

.note-line {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.22);
}

.note-line.wide { width: 86%; }

.note-block {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.13);
}

.note-block span {
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.note-block i {
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(125,249,255,.72), rgba(255,255,255,.20));
}

.note-check {
  width: fit-content;
  margin-left: auto;
  padding: 9px 12px;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(37,99,235,.22);
  border: 1px solid rgba(191,219,254,.18);
  font-size: 12px;
  font-weight: 900;
}

.home-plan-visual {
  display: grid;
  align-content: center;
  gap: 12px;
}

.phone-card-mini {
  padding: 16px;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 42px rgba(0,0,0,.14);
}

.phone-card-mini.small {
  width: 84%;
  margin-left: auto;
  opacity: .88;
}

.phone-card-mini strong {
  display: block;
  margin-bottom: 10px;
  color: #3b0764;
  font-size: 16px;
}

.phone-card-mini span {
  display: block;
  color: #7c3aed;
  font-size: 12px;
  font-weight: 900;
}

.phone-card-mini p {
  margin-top: 5px;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.feedback-loop-visual {
  display: grid;
  place-items: center;
}

.loop-pill {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 92px;
  height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  font-size: 12px;
  font-weight: 900;
}

.loop-pill.centre { top: 4px; left: 50%; transform: translateX(-50%); }
.loop-pill.home { right: 0; bottom: 46px; }
.loop-pill.next { left: 0; bottom: 46px; }

.loop-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(125,249,255,.70);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 8 10;
  animation: loopDash 2.8s linear infinite;
}

@keyframes loopDash {
  to { stroke-dashoffset: -36; }
}

@media (max-width: 1080px) {
  .demo-visual-stage {
    min-height: 300px;
  }

  .visual-screen {
    height: 200px;
  }
}

@media (max-width: 760px) {
  .demo-visual-stage {
    min-height: 280px;
    padding: 18px;
  }

  .visual-screen {
    width: min(100%, 230px);
    height: 190px;
  }

  .visual-node.main {
    width: 74px;
    height: 74px;
    font-size: 24px;
  }
}

/* -------------------------------------------------------
   Context map connector fix
   Uses SVG lines from the centre of AI to the centre of each node.
------------------------------------------------------- */

.context-map-fixed {
  position: relative;
  width: min(100%, 260px);
  height: 220px;
}

.context-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.context-links line {
  stroke: rgba(125, 249, 255, 0.72);
  stroke-width: 2.2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(125, 249, 255, 0.30));
  stroke-dasharray: 5 7;
  animation: contextLineFlow 2.8s linear infinite;
}

@keyframes contextLineFlow {
  to {
    stroke-dashoffset: -24;
  }
}

.context-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 0 28px rgba(125, 249, 255, 0.16);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.context-main {
  left: 130px;
  top: 110px;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #14b8a6, #2563eb);
  font-size: 28px;
  letter-spacing: -0.06em;
  box-shadow: 0 0 60px rgba(6, 182, 212, 0.50);
}

.context-goals {
  left: 62px;
  top: 46px;
  min-width: 78px;
  height: 42px;
  transform: translate(-50%, -50%);
}

.context-notes {
  left: 198px;
  top: 46px;
  min-width: 78px;
  height: 42px;
  transform: translate(-50%, -50%);
}

.context-feedback {
  left: 130px;
  top: 184px;
  min-width: 124px;
  height: 42px;
  transform: translate(-50%, -50%);
}

@media (max-width: 760px) {
  .context-map-fixed {
    width: 230px;
    height: 190px;
    transform: scale(0.92);
  }
}

/* -------------------------------------------------------
   Final small fixes:
   - Correct initial context map connector display.
   - Align request type with textarea row.
   - Make What should we prepare optional and compact.
   - Capitalized form labels handled in HTML.
------------------------------------------------------- */

.request-row {
  align-items: start;
}

.request-row select {
  min-height: 50px;
}

.request-row textarea {
  min-height: 50px !important;
  max-height: 88px;
  line-height: 1.45;
}

.context-map-fixed {
  position: relative;
  width: min(100%, 260px);
  height: 220px;
}

.context-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.context-links line {
  stroke: rgba(125, 249, 255, 0.72);
  stroke-width: 2.2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(125, 249, 255, 0.30));
  stroke-dasharray: 5 7;
  animation: contextLineFlow 2.8s linear infinite;
}

@keyframes contextLineFlow {
  to {
    stroke-dashoffset: -24;
  }
}

.context-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 0 28px rgba(125, 249, 255, 0.16);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.context-main {
  left: 130px;
  top: 110px;
  width: 86px;
  height: 86px;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #14b8a6, #2563eb);
  font-size: 28px;
  letter-spacing: -0.06em;
  box-shadow: 0 0 60px rgba(6, 182, 212, 0.50);
}

.context-goals {
  left: 62px;
  top: 46px;
  min-width: 78px;
  height: 42px;
  transform: translate(-50%, -50%);
}

.context-notes {
  left: 198px;
  top: 46px;
  min-width: 78px;
  height: 42px;
  transform: translate(-50%, -50%);
}

.context-feedback {
  left: 130px;
  top: 184px;
  min-width: 124px;
  height: 42px;
  transform: translate(-50%, -50%);
}

@media (max-width: 760px) {
  .request-row {
    gap: 14px;
  }

  .context-map-fixed {
    width: 230px;
    height: 190px;
    transform: scale(0.92);
  }
}

/* -------------------------------------------------------
   Final context map position correction
------------------------------------------------------- */

.visual-content {
  display: grid;
  place-items: center;
}

.context-map-final {
  position: relative;
  width: min(100%, 300px);
  height: 230px;
  margin: 0 auto;
  transform: none !important;
}

.context-final-links {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 1;
}

.context-final-links line {
  stroke: rgba(125, 249, 255, 0.76);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
  filter: drop-shadow(0 0 9px rgba(125, 249, 255, 0.34));
  animation: contextFinalLineFlow 2.8s linear infinite;
}

@keyframes contextFinalLineFlow {
  to {
    stroke-dashoffset: -28;
  }
}

.context-final-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 0 28px rgba(125, 249, 255, 0.16);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.context-final-main {
  left: 150px;
  top: 115px;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #14b8a6, #2563eb);
  font-size: 28px;
  letter-spacing: -0.06em;
  box-shadow: 0 0 60px rgba(6, 182, 212, 0.52);
}

.context-final-goals {
  left: 70px;
  top: 58px;
  min-width: 82px;
  height: 42px;
  transform: translate(-50%, -50%);
}

.context-final-notes {
  left: 230px;
  top: 58px;
  min-width: 82px;
  height: 42px;
  transform: translate(-50%, -50%);
}

.context-final-feedback {
  left: 150px;
  top: 188px;
  min-width: 128px;
  height: 42px;
  transform: translate(-50%, -50%);
}

@media (max-width: 760px) {
  .context-map-final {
    width: 260px;
    height: 200px;
    transform: scale(0.92) !important;
  }

  .context-final-links {
    transform: scale(0.867);
    transform-origin: top left;
  }

  .context-final-main {
    left: 130px;
    top: 100px;
    width: 78px;
    height: 78px;
    font-size: 24px;
  }

  .context-final-goals {
    left: 61px;
    top: 50px;
  }

  .context-final-notes {
    left: 199px;
    top: 50px;
  }

  .context-final-feedback {
    left: 130px;
    top: 164px;
  }
}

/* -------------------------------------------------------
   Final Session Context alignment fix
   Keeps all context-map nodes centered inside the visual card.
------------------------------------------------------- */

.visual-content {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 220px;
  overflow: visible;
}

.context-map-balanced {
  position: relative;
  width: 240px;
  height: 210px;
  margin: 0 auto;
  overflow: visible;
  transform: none !important;
}

.context-balanced-links {
  position: absolute;
  inset: 0;
  width: 240px;
  height: 210px;
  overflow: visible;
  z-index: 1;
}

.context-balanced-links line {
  stroke: rgba(125, 249, 255, 0.76);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
  filter: drop-shadow(0 0 9px rgba(125, 249, 255, 0.34));
  animation: contextBalancedLineFlow 2.8s linear infinite;
}

@keyframes contextBalancedLineFlow {
  to {
    stroke-dashoffset: -28;
  }
}

.context-balanced-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.20);
  box-shadow: 0 0 28px rgba(125, 249, 255, 0.16);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.context-balanced-main {
  left: 120px;
  top: 108px;
  width: 82px;
  height: 82px;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #14b8a6, #2563eb);
  font-size: 27px;
  letter-spacing: -0.06em;
  box-shadow: 0 0 58px rgba(6, 182, 212, 0.52);
}

.context-balanced-goals {
  left: 58px;
  top: 54px;
  min-width: 74px;
  height: 40px;
  transform: translate(-50%, -50%);
}

.context-balanced-notes {
  left: 182px;
  top: 54px;
  min-width: 74px;
  height: 40px;
  transform: translate(-50%, -50%);
}

.context-balanced-feedback {
  left: 120px;
  top: 170px;
  min-width: 122px;
  height: 40px;
  transform: translate(-50%, -50%);
}

@media (max-width: 760px) {
  .visual-content {
    min-height: 198px;
  }

  .context-map-balanced {
    width: 220px;
    height: 194px;
    transform: scale(0.94) !important;
  }

  .context-balanced-links {
    transform: scale(0.9167);
    transform-origin: top left;
  }

  .context-balanced-main {
    left: 110px;
    top: 99px;
    width: 76px;
    height: 76px;
    font-size: 24px;
  }

  .context-balanced-goals {
    left: 53px;
    top: 50px;
  }

  .context-balanced-notes {
    left: 167px;
    top: 50px;
  }

  .context-balanced-feedback {
    left: 110px;
    top: 156px;
  }
}

