/*
  Akredit-e Premium V2
  Mevcut erişilebilir ve responsive temel stilin üzerine kurulan sunum katmanı.
*/

:root {
  --premium-cream: #fffaf5;
  --premium-ice: #f3f8fb;
  --premium-blue: #0b4f91;
  --premium-glow: rgba(255, 122, 26, 0.18);
  --premium-shadow: 0 38px 100px rgba(24, 48, 79, 0.15);
  --premium-shadow-soft: 0 20px 55px rgba(24, 48, 79, 0.09);
}

body {
  background: #fbfcfe;
}

.site-header {
  height: 82px;
  background: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(196, 208, 222, 0.66);
  box-shadow: none;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 40px rgba(21, 42, 69, 0.08);
}

.site-nav {
  padding: 5px 6px 5px 18px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(202, 212, 225, 0.7);
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(24, 48, 79, 0.05);
}

.site-nav .nav-cta {
  padding: 11px 17px;
  border-radius: 11px;
}

.hero {
  min-height: 945px;
  padding: 164px 0 74px;
  background:
    radial-gradient(circle at 83% 18%, rgba(7, 152, 183, 0.12), transparent 25%),
    radial-gradient(circle at 11% 78%, rgba(255, 122, 26, 0.09), transparent 24%),
    linear-gradient(122deg, #ffffff 0%, #ffffff 47%, #f3f8fb 100%);
}

.hero::after {
  background-size: 68px 68px;
  opacity: 0.4;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(610px, 1.18fr);
  gap: 70px;
}

.hero-product-mark {
  display: inline-flex;
  align-items: center;
  margin-bottom: 19px;
  padding: 7px 12px 7px 8px;
  gap: 8px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(185, 198, 214, 0.8);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(24, 48, 79, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-product-mark i {
  position: relative;
  width: 23px;
  height: 23px;
  background: linear-gradient(145deg, var(--orange), #ff9e55);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 122, 26, 0.1);
}

.hero-product-mark i::after {
  position: absolute;
  inset: 7px;
  content: "";
  background: #ffffff;
  border-radius: 50%;
}

.hero-product-mark span {
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.hero-product-mark small {
  padding-left: 9px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  font-size: 0.67rem;
  font-weight: 650;
}

.hero .eyebrow {
  margin-bottom: 16px;
}

.hero h1 {
  max-width: 610px;
  margin-bottom: 23px;
  font-size: clamp(3.25rem, 5vw, 4.75rem);
  letter-spacing: -0.052em;
}

.hero-lead {
  max-width: 625px;
  font-size: clamp(1.03rem, 1.35vw, 1.18rem);
}

.hero-actions .button-primary span {
  margin-left: 10px;
  font-size: 1.15em;
  transition: transform 180ms ease;
}

.hero-actions .button-primary:hover span {
  transform: translateX(4px);
}

.button-play {
  position: relative;
  width: 24px;
  height: 24px;
  margin-right: 9px;
  background: var(--blue-soft);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 50%;
}

.button-play::after {
  position: absolute;
  top: 7px;
  left: 9px;
  width: 0;
  height: 0;
  content: "";
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid var(--blue);
}

.hero-evidence {
  display: flex;
  margin-top: 24px;
  gap: 22px;
}

.hero-evidence > span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
}

.hero-evidence > span + span {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.hero-evidence b {
  color: var(--navy);
  font-size: 1.15rem;
}

.hero-visual {
  isolation: isolate;
}

.hero-visual-aura {
  position: absolute;
  z-index: -1;
  inset: -110px -70px -90px -100px;
  pointer-events: none;
}

.hero-visual-aura span {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.hero-visual-aura span:first-child {
  top: 2%;
  right: 2%;
  width: 78%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(7, 152, 183, 0.14), transparent 65%);
  animation: premiumAura 10s ease-in-out infinite;
}

.hero-visual-aura span:nth-child(2) {
  bottom: -2%;
  left: 5%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 122, 26, 0.16), transparent 67%);
  animation: premiumAura 12s ease-in-out -5s infinite reverse;
}

.hero-visual-aura span:last-child {
  inset: 12% 0 auto 8%;
  width: 88%;
  aspect-ratio: 1.35;
  border: 1px solid rgba(37, 99, 235, 0.13);
  border-radius: 45%;
  transform: rotate(-8deg);
  animation: premiumOrbit 18s linear infinite;
}

@keyframes premiumAura {
  0%, 100% { opacity: 0.7; transform: scale(0.96) translate3d(0, 0, 0); }
  50% { opacity: 1; transform: scale(1.08) translate3d(-12px, 16px, 0); }
}

@keyframes premiumOrbit {
  to { transform: rotate(352deg); }
}

.app-frame-hero {
  border-color: rgba(165, 181, 200, 0.88);
  border-radius: 20px;
  box-shadow:
    0 50px 115px rgba(16, 40, 69, 0.19),
    0 16px 38px rgba(16, 40, 69, 0.1),
    0 0 0 8px rgba(255, 255, 255, 0.56);
}

.app-frame-hero .app-frame-bar {
  min-height: 44px;
  padding-inline: 17px;
}

.floating-note {
  border-color: rgba(190, 202, 216, 0.8);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(24, 48, 79, 0.13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.floating-note-three {
  top: -28px;
  left: 24%;
  animation: noteFloatThree 7s ease-in-out infinite;
}

@keyframes noteFloatThree {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}

.hero-metrics {
  margin-top: 78px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(192, 204, 219, 0.78);
  border-radius: 22px;
  box-shadow: 0 24px 65px rgba(24, 48, 79, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-metrics > div {
  min-height: 104px;
}

.hero-scroll-cue {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 29px;
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--muted-2);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero-scroll-cue i {
  position: relative;
  width: 21px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 20px;
}

.hero-scroll-cue i::after {
  position: absolute;
  top: 7px;
  left: 8px;
  width: 3px;
  height: 7px;
  content: "";
  background: var(--orange);
  border-radius: 10px;
  animation: scrollCue 2s ease-in-out infinite;
}

@keyframes scrollCue {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  55% { opacity: 1; transform: translateY(10px); }
}

.focus-card {
  border-color: rgba(202, 212, 224, 0.82);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(24, 48, 79, 0.06);
}

.focus-card:hover {
  box-shadow: 0 28px 66px rgba(24, 48, 79, 0.12);
  transform: translateY(-8px);
}

/* Bilimsel scroll story */
.science-story {
  position: relative;
  padding: 132px 0 150px;
  overflow: clip;
  background:
    radial-gradient(circle at 4% 30%, rgba(255, 122, 26, 0.09), transparent 20%),
    radial-gradient(circle at 96% 76%, rgba(7, 152, 183, 0.1), transparent 24%),
    #f4f7fa;
  border-block: 1px solid var(--line);
}

.story-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.story-backdrop::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: radial-gradient(rgba(8, 47, 103, 0.1) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  opacity: 0.25;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 65%, transparent);
}

.story-backdrop i {
  position: absolute;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(7, 152, 183, 0.12);
  border-radius: 50%;
}

.story-backdrop i:first-child { top: 12%; left: -115px; }
.story-backdrop i:nth-child(2) { top: 42%; right: -150px; width: 300px; height: 300px; }
.story-backdrop i:last-child { bottom: 8%; left: 8%; width: 120px; height: 120px; border-color: rgba(255, 122, 26, 0.14); }

.story-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 82px;
}

.story-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  align-items: start;
  gap: 72px;
}

.story-stage {
  position: sticky;
  top: 112px;
  padding: 30px;
  overflow: hidden;
  background:
    radial-gradient(circle at 96% 4%, color-mix(in srgb, var(--story-accent, var(--orange)) 10%, transparent), transparent 30%),
    rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(188, 201, 216, 0.9);
  border-radius: 30px;
  box-shadow: var(--premium-shadow);
  transition: background 300ms ease, border-color 300ms ease;
}

.story-stage[data-tone="orange"] { --story-accent: var(--orange); }
.story-stage[data-tone="cyan"] { --story-accent: var(--cyan); }
.story-stage[data-tone="blue"] { --story-accent: var(--blue); }
.story-stage[data-tone="teal"] { --story-accent: var(--green); }

.story-stage::before {
  position: absolute;
  top: 0;
  left: 30px;
  width: 118px;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--story-accent), color-mix(in srgb, var(--story-accent) 24%, transparent));
  border-radius: 0 0 5px 5px;
  transition: background 300ms ease;
}

.story-stage-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 22px;
}

.story-kicker,
.module-stage-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--story-accent, var(--orange-deep));
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-stage h3 {
  max-width: 600px;
  margin-bottom: 14px;
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
}

.story-stage > p {
  max-width: 690px;
  margin-bottom: 18px;
  font-size: 0.92rem;
}

.story-counter {
  display: inline-flex;
  align-items: baseline;
  padding: 8px 11px;
  gap: 4px;
  color: var(--muted-2);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.68rem;
  font-weight: 750;
}

.story-counter b {
  color: var(--story-accent);
  font-size: 1rem;
}

.story-points {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 23px;
  gap: 7px;
}

.story-points span {
  padding: 7px 10px;
  color: var(--ink-soft);
  background: color-mix(in srgb, var(--story-accent) 8%, white);
  border: 1px solid color-mix(in srgb, var(--story-accent) 24%, white);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 760;
}

.story-app-frame {
  border-radius: 17px;
  box-shadow: 0 20px 55px rgba(24, 48, 79, 0.13);
}

.story-screen-trigger img,
.module-screen-trigger img {
  will-change: opacity, transform, filter;
  transition: opacity 220ms ease, transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 220ms ease;
}

.story-stage.is-changing .story-screen-trigger img,
.module-stage.is-changing .module-screen-trigger img {
  opacity: 0;
  filter: blur(3px);
  transform: scale(1.02);
}

.story-progress {
  height: 4px;
  margin-top: 24px;
  overflow: hidden;
  background: #e5ebf1;
  border-radius: 999px;
}

.story-progress i {
  display: block;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--story-accent), color-mix(in srgb, var(--story-accent) 55%, white));
  border-radius: inherit;
  transition: width 420ms cubic-bezier(0.2, 0.8, 0.2, 1), background 300ms ease;
}

.story-steps {
  position: relative;
  padding: 32px 0 100px;
}

.story-steps::before {
  position: absolute;
  top: 42px;
  bottom: 120px;
  left: 25px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--line-strong), rgba(185, 198, 213, 0.2));
}

.story-step {
  --step-accent: var(--orange);
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  min-height: 430px;
  margin-bottom: 86px;
  padding: 34px 28px 34px 0;
  gap: 20px;
  cursor: default;
  opacity: 0.42;
  border: 1px solid transparent;
  border-radius: 24px;
  transform: translateX(10px) scale(0.985);
  transition: opacity 300ms ease, transform 380ms ease, background 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.story-step[data-tone="cyan"] { --step-accent: var(--cyan); }
.story-step[data-tone="blue"] { --step-accent: var(--blue); }
.story-step[data-tone="teal"] { --step-accent: var(--green); }

.story-step.is-active {
  padding-left: 20px;
  opacity: 1;
  background: rgba(255, 255, 255, 0.9);
  border-color: color-mix(in srgb, var(--step-accent) 28%, var(--line));
  box-shadow: 0 26px 65px rgba(24, 48, 79, 0.11);
  transform: none;
}

.story-step-number {
  position: relative;
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--muted-2);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(24, 48, 79, 0.08);
  font-size: 0.76rem;
  font-weight: 850;
  transition: color 300ms ease, background 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.story-step.is-active .story-step-number {
  color: #ffffff;
  background: var(--step-accent);
  border-color: var(--step-accent);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--step-accent) 12%, transparent);
}

.story-step-copy {
  align-self: center;
}

.story-step-copy small {
  display: block;
  margin-bottom: 8px;
  color: var(--step-accent);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.story-step-copy h3 {
  margin-bottom: 13px;
  font-size: clamp(1.7rem, 2.55vw, 2.35rem);
}

.story-step-copy p {
  margin-bottom: 22px;
  font-size: 0.9rem;
}

.story-step-copy ul {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 9px;
  list-style: none;
}

.story-step-copy li {
  position: relative;
  padding-left: 23px;
  color: var(--ink-soft);
  font-size: 0.79rem;
  font-weight: 690;
}

.story-step-copy li::before {
  position: absolute;
  top: 0.48em;
  left: 2px;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--step-accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--step-accent) 12%, transparent);
}

/* Etkileşimli modül keşfi */
#moduller {
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 68%, #f7fafc 100%);
}

.module-explorer {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  padding: 10px;
  gap: 10px;
  background: #eef3f7;
  border: 1px solid #d5dfe9;
  border-radius: 30px;
  box-shadow: var(--premium-shadow-soft);
}

.module-tabs {
  display: grid;
  align-content: start;
  max-height: 810px;
  padding: 5px;
  gap: 5px;
  overflow: auto;
  scrollbar-color: #bac8d7 transparent;
  scrollbar-width: thin;
}

.module-tab {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 18px;
  align-items: center;
  width: 100%;
  min-height: 82px;
  padding: 12px 12px;
  gap: 11px;
  color: var(--ink-soft);
  text-align: left;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.module-tab:hover {
  background: rgba(255, 255, 255, 0.64);
  transform: translateX(2px);
}

.module-tab.is-active {
  color: var(--navy);
  background: #ffffff;
  border-color: #ced9e5;
  box-shadow: 0 12px 32px rgba(24, 48, 79, 0.1);
}

.module-tab > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.module-tab b {
  overflow: hidden;
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-tab small {
  overflow: hidden;
  color: var(--muted-2);
  font-size: 0.66rem;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-tab > i {
  color: var(--line-strong);
  font-style: normal;
  font-weight: 850;
  transition: color 180ms ease, transform 180ms ease;
}

.module-tab.is-active > i {
  color: var(--orange);
  transform: translateX(3px);
}

.module-tab-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 13px;
}

.module-tab-icon img {
  width: 22px;
  height: 22px;
}

.module-tab-icon.cyan { background: var(--cyan-soft); }
.module-tab-icon.orange { background: var(--orange-soft); }
.module-tab-icon.purple { background: var(--purple-soft); }
.module-tab-icon.blue { background: var(--blue-soft); }
.module-tab-icon.green { background: var(--green-soft); }
.module-tab-icon.navy { background: #e9eff7; }
.module-tab-icon.red { background: #ffeded; }
.module-tab-icon.amber { background: #fff5df; }

.module-stage {
  display: flex;
  min-width: 0;
  min-height: 810px;
  padding: 44px;
  overflow: hidden;
  flex-direction: column;
  background:
    radial-gradient(circle at 92% 4%, rgba(7, 152, 183, 0.09), transparent 26%),
    #ffffff;
  border: 1px solid rgba(207, 218, 229, 0.9);
  border-radius: 23px;
}

.module-stage-copy {
  max-width: 760px;
}

.module-stage-kicker {
  color: var(--orange-deep);
}

.module-stage h3 {
  margin-bottom: 14px;
  font-size: clamp(2.05rem, 3.6vw, 3.35rem);
}

.module-stage-copy > p {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.module-stage-copy ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.module-stage-copy li {
  position: relative;
  padding: 8px 11px 8px 29px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 720;
}

.module-stage-copy li::before {
  position: absolute;
  top: 10px;
  left: 11px;
  color: var(--green);
  content: "✓";
  font-size: 0.68rem;
  font-weight: 900;
}

.module-stage-metric {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.module-stage-metric i {
  width: 27px;
  height: 2px;
  background: var(--orange);
}

.module-app-frame {
  margin-top: auto;
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(24, 48, 79, 0.15);
}

.module-screen-trigger .screen-zoom,
.story-screen-trigger .screen-zoom {
  opacity: 0;
}

.module-screen-trigger:hover .screen-zoom,
.story-screen-trigger:hover .screen-zoom {
  opacity: 1;
  transform: none;
}

/* Diğer yüzeylerde daha rafine derinlik */
.workflow-section,
.gallery-section,
.data-section {
  position: relative;
}

.workflow-steps li,
.gallery-card,
.data-cards article {
  border-radius: 18px;
}

.gallery-card {
  box-shadow: 0 15px 42px rgba(24, 48, 79, 0.07);
}

.gallery-card:hover {
  box-shadow: 0 26px 65px rgba(24, 48, 79, 0.14);
}

/* İki adımlı premium demo formu */
.contact-section {
  padding: 128px 0;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 122, 26, 0.1), transparent 25%),
    radial-gradient(circle at 92% 82%, rgba(7, 152, 183, 0.12), transparent 27%),
    linear-gradient(180deg, #f8fafc, #f1f6f9);
}

.contact-layout {
  gap: 18px;
}

.contact-panel,
.demo-form {
  min-height: 770px;
  border-radius: 28px;
}

.contact-panel {
  background:
    radial-gradient(circle at 88% 12%, rgba(7, 152, 183, 0.46), transparent 30%),
    linear-gradient(145deg, #0b4f91 0%, #082f67 58%, #082746 100%);
  box-shadow: 0 36px 90px rgba(8, 47, 103, 0.22);
}

.demo-form {
  position: relative;
  padding: 42px 46px;
  overflow: hidden;
  border-color: rgba(195, 207, 221, 0.9);
  box-shadow: var(--premium-shadow);
}

.demo-form::before {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 270px;
  height: 270px;
  content: "";
  background: radial-gradient(circle, rgba(7, 152, 183, 0.09), transparent 67%);
  border-radius: 50%;
  pointer-events: none;
}

.form-progress {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(60px, 1fr) auto;
  align-items: center;
  margin-bottom: 34px;
  gap: 14px;
}

.form-progress > span {
  display: grid;
  grid-template-columns: 36px auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  color: var(--muted-2);
}

.form-progress > span > i {
  display: grid;
  grid-row: 1 / 3;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--muted-2);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 850;
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.form-progress > span > b {
  font-size: 0.78rem;
  line-height: 1.2;
}

.form-progress > span > small {
  font-size: 0.62rem;
  font-weight: 650;
}

.form-progress > span.is-active {
  color: var(--navy);
}

.form-progress > span.is-active > i,
.form-progress > span.is-complete > i {
  color: #ffffff;
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 0 0 6px rgba(255, 122, 26, 0.1);
}

.form-progress > span.is-complete > i {
  font-size: 0;
}

.form-progress > span.is-complete > i::after {
  content: "✓";
  font-size: 0.74rem;
}

.form-progress > em {
  height: 2px;
  overflow: hidden;
  background: #e1e8ef;
  border-radius: 999px;
}

.form-progress > em > i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #ffad70);
  transition: width 360ms ease;
}

.form-step {
  position: relative;
  z-index: 1;
}

.js .form-step:not(.is-active) {
  display: none;
}

.js .form-step.is-active {
  animation: formStepIn 420ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes formStepIn {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}

.form-step .form-heading {
  margin-bottom: 25px;
  padding-bottom: 21px;
}

.form-step .form-heading h3 {
  font-size: clamp(1.72rem, 2.6vw, 2.25rem);
}

.form-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 26px;
  gap: 12px;
}

.form-step-actions-end {
  justify-content: flex-end;
  margin-top: 34px;
}

.form-next {
  min-height: 54px;
  color: #ffffff;
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(8, 47, 103, 0.18);
  cursor: pointer;
}

.form-next:hover {
  color: #ffffff;
  background: var(--premium-blue);
  box-shadow: 0 18px 36px rgba(8, 47, 103, 0.22);
}

.form-next span {
  margin-left: 12px;
  font-size: 1.12em;
}

.form-back {
  min-height: 52px;
  color: var(--muted);
  background: #ffffff;
  border-color: var(--line-strong);
  cursor: pointer;
}

.form-back:hover {
  color: var(--navy);
  border-color: var(--navy);
}

.form-back span {
  margin-right: 8px;
}

.interest-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.interest-field legend {
  width: 100%;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 750;
}

.interest-field legend small {
  margin-left: 7px;
  color: var(--muted-2);
  font-size: 0.66rem;
  font-weight: 600;
}

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

.interest-grid label {
  cursor: pointer;
}

.interest-grid input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.interest-grid span {
  display: flex;
  min-height: 43px;
  padding: 8px 10px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-align: center;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 0.68rem;
  font-weight: 720;
  line-height: 1.25;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.interest-grid label:hover span {
  color: var(--navy);
  background: #ffffff;
  border-color: #9fb0c3;
  transform: translateY(-1px);
}

.interest-grid input:focus-visible + span {
  outline: 3px solid rgba(37, 99, 235, 0.28);
  outline-offset: 2px;
}

.interest-grid input:checked + span {
  color: #a94702;
  background: var(--orange-soft);
  border-color: rgba(255, 122, 26, 0.5);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 26, 0.08);
}

.form-step[data-form-step="2"] .form-grid {
  gap: 16px;
}

.form-step[data-form-step="2"] .form-field textarea {
  min-height: 105px;
}

.form-step[data-form-step="2"] .form-consent {
  margin: 19px 0 0;
}

.form-step-actions .form-submit {
  min-width: 238px;
}

.demo-form > .form-status {
  position: relative;
  z-index: 1;
  margin-top: 16px;
}

.demo-form > .form-status.success {
  padding-left: 42px;
  background: linear-gradient(90deg, var(--green-soft), #f5fbf8);
}

.demo-form > .form-status.success::before {
  position: absolute;
  top: 50%;
  left: 15px;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  color: #ffffff;
  content: "✓";
  background: var(--green);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 900;
  transform: translateY(-50%);
}

@media (max-width: 1240px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(3rem, 4.8vw, 4.25rem);
  }

  .story-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
    gap: 44px;
  }

  .module-explorer {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .module-stage {
    padding: 36px;
  }
}

@media (max-width: 1160px) {
  .site-nav {
    padding-left: 10px;
  }

  .hero-scroll-cue {
    display: none;
  }

  .floating-note-three {
    display: none;
  }

  .story-stage {
    padding: 24px;
  }

  .story-step {
    min-height: 390px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    height: var(--header-height);
  }

  .site-nav {
    padding: 20px;
    border: 0;
    border-radius: 0;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 78px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .hero-copy {
    max-width: 790px;
  }

  .hero h1 {
    max-width: 770px;
    font-size: clamp(3.35rem, 8vw, 5rem);
  }

  .hero-visual {
    max-width: none;
  }

  .story-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .story-stage {
    position: relative;
    top: auto;
  }

  .story-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    gap: 16px;
  }

  .story-steps::before {
    display: none;
  }

  .story-step,
  .story-step.is-active {
    grid-template-columns: 48px 1fr;
    min-height: 0;
    margin: 0;
    padding: 27px 22px;
    gap: 14px;
    opacity: 1;
    background: rgba(255, 255, 255, 0.75);
    border-color: var(--line);
    transform: none;
  }

  .story-step.is-active {
    border-color: color-mix(in srgb, var(--step-accent) 38%, var(--line));
    box-shadow: 0 18px 45px rgba(24, 48, 79, 0.09);
  }

  .story-step-number {
    width: 46px;
    height: 46px;
  }

  .module-explorer {
    grid-template-columns: 1fr;
  }

  .module-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
  }

  .module-stage {
    min-height: 720px;
  }

  .contact-panel,
  .demo-form {
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: calc(var(--header-height) + 58px);
  }

  .hero-product-mark small {
    display: none;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 12vw, 3.45rem);
    letter-spacing: -0.045em;
  }

  .hero-grid > *,
  .hero-copy,
  .hero-visual {
    min-width: 0;
    width: 100%;
  }

  .hero .eyebrow,
  .hero-lead,
  .hero-lead strong {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero-evidence {
    display: grid;
    gap: 6px;
  }

  .hero-evidence > span + span {
    padding-left: 0;
    border-left: 0;
  }

  .hero-metrics {
    margin-top: 54px;
    border-radius: 18px;
  }

  .science-story {
    padding: 86px 0;
  }

  .story-heading {
    margin-bottom: 42px;
  }

  .story-stage {
    padding: 20px;
    border-radius: 21px;
  }

  .story-stage-head {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .story-counter {
    position: absolute;
    top: 18px;
    right: 18px;
  }

  .story-kicker {
    max-width: calc(100% - 76px);
  }

  .story-stage h3 {
    font-size: 1.65rem;
  }

  .story-points {
    display: grid;
    grid-template-columns: 1fr;
  }

  .story-points span {
    width: fit-content;
  }

  .story-steps {
    grid-template-columns: 1fr;
  }

  .story-step,
  .story-step.is-active {
    padding: 23px 18px;
  }

  .story-step-copy h3 {
    font-size: 1.55rem;
  }

  .module-explorer {
    padding: 7px;
    border-radius: 22px;
  }

  .module-tabs {
    display: flex;
    padding: 4px;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .module-tab {
    flex: 0 0 min(86%, 330px);
    scroll-snap-align: start;
  }

  .module-stage {
    min-height: 0;
    padding: 28px 20px 20px;
    border-radius: 17px;
  }

  .module-stage h3 {
    font-size: 2.15rem;
  }

  .module-stage-copy ul {
    display: grid;
  }

  .module-stage-copy li {
    width: fit-content;
  }

  .module-app-frame {
    margin-top: 28px;
  }

  .contact-section {
    padding: 84px 0;
  }

  .contact-panel,
  .demo-form {
    padding: 28px 22px;
    border-radius: 21px;
  }

  .form-progress {
    grid-template-columns: auto minmax(28px, 1fr) auto;
    gap: 8px;
  }

  .form-progress > span {
    grid-template-columns: 32px auto;
    column-gap: 7px;
  }

  .form-progress > span > i {
    width: 32px;
    height: 32px;
  }

  .form-progress > span > small {
    display: none;
  }

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

  .form-field-wide {
    grid-column: auto;
  }

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

  .form-step-actions {
    display: grid;
    grid-template-columns: 0.65fr 1.35fr;
  }

  .form-step-actions-end {
    display: flex;
  }

  .form-next,
  .form-step-actions .form-submit,
  .form-back {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 430px) {
  .container,
  .split-heading > *,
  .contact-layout > *,
  .form-step,
  .form-field {
    min-width: 0;
  }

  .section h2,
  .contact-heading h2,
  .contact-panel h3,
  .form-heading h3 {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 10vw, 2.45rem);
    overflow-wrap: normal;
  }

  .hero-product-mark {
    margin-bottom: 16px;
  }

  .story-step,
  .story-step.is-active {
    grid-template-columns: 42px 1fr;
    gap: 11px;
  }

  .story-step-number {
    width: 40px;
    height: 40px;
  }

  .form-progress > span > b {
    font-size: 0.7rem;
  }

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

  .form-step-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 350px) {
  .hero h1 {
    font-size: 1.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual-aura,
  .hero-scroll-cue {
    display: none;
  }

  .story-step,
  .story-step.is-active {
    opacity: 1;
    transform: none;
  }
}
