/* ─── OsirisBrain Website — Apple-Inspired White Minimal Design ─── */
/* Date: 2026-02-15 — Marketing landing page with trial + download flow */

/* ─── Reset & Base ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --text-primary: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;
  --bg-primary: #ffffff;
  --bg-surface: #fbfbfd;
  --bg-dark: #f5f5f7;
  --bg-card: #ffffff;
  --border-light: rgba(0, 0, 0, 0.06);
  --border-color: rgba(0, 0, 0, 0.1);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
  --max-width: 1080px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.5;
  overflow-x: hidden;
}

.hidden {
  display: none !important;
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--border-light);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.3px;
}

.nav__logo svg {
  color: var(--text-primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav__links a:hover {
  color: var(--text-primary);
}

.nav__cta {
  background: var(--text-primary);
  color: #fff !important;
  padding: 6px 16px;
  border-radius: 980px;
  font-size: 12px !important;
  font-weight: 500 !important;
  transition: opacity var(--transition) !important;
}

.nav__cta:hover {
  opacity: 0.85;
}

/* FIX 2026-02-17: Outlined chat button — distinct from solid Download CTA.
   Minimal border pill with icon, fills on hover for visual hierarchy. */
.nav__cta.nav__cta--chat {
  background: transparent;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav__cta.nav__cta--chat:hover {
  background: var(--text-primary);
  color: #fff !important;
  border-color: var(--text-primary);
  opacity: 1;
}

/* ─── Hamburger Button ─── */
.nav__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-primary);
  -webkit-tap-highlight-color: transparent;
}

.nav__hamburger svg {
  display: block;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 980px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  letter-spacing: -0.2px;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 14px 20px;
}

.btn--ghost:hover {
  background: rgba(69, 107, 255, 0.06);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn--outline:hover {
  background: var(--accent);
  color: #fff;
}

/* 2026-02-21: Hero is full-viewport-width so the brain canvas spans edge to edge.
   Content stays centered via the z-index:1 wrapper inside the HTML. */
.hero {
  text-align: center;
  padding: 140px 24px 100px;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  overflow: hidden;
}

.hero__badge {
  display: inline-block;
  padding: 5px 14px;
  background: var(--bg-dark);
  border-radius: 980px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(48px, 8vw, 80px);
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero__sub {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 32px;
  line-height: 1.5;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hero__note {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 400;
}

/* ─── Sections ─── */
.section {
  padding: 100px 24px;
  position: relative;
  overflow: hidden;
}

.section--dark {
  background: var(--bg-dark);
}

/* ─── Cortex Memory System Section ─── */
/* 2026-02-19: Matches existing Apple-minimalist design system */
.section--cortex {
  background: var(--bg-surface);
}
.section--cortex .section__inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.section--cortex .section__subtitle {
  max-width: 640px;
  margin: 0 auto 48px;
}
.cortex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.cortex-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.cortex-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.cortex-card__region {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--accent);
  margin-bottom: 4px;
}
.cortex-card__brain-area {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 14px;
  font-style: italic;
}
.cortex-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.cortex-card__desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.cortex-tagline {
  text-align: center;
  margin-top: 48px;
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 500;
}

@media (max-width: 768px) {
  .cortex-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-align: center;
}

.section__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.1;
}

.section__subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

/* ─── Features Grid ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  grid-auto-flow: dense;
  margin-top: 40px;
}

.tools-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.feature-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-card__icon svg {
  width: 20px;
  height: 20px;
}

.feature-card__title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.feature-card__desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ─── Bento Box Layout Modifiers ─── */
.feature-card--hero {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 20px;
  background: linear-gradient(145deg, #ffffff, #f5f5f7);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.feature-card--hero .feature-card__icon {
  width: 48px;
  height: 48px;
}

.feature-card--hero .feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card--hero .feature-card__title {
  font-size: 20px;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}

.feature-card--hero .feature-card__desc {
  font-size: 14px;
}

.feature-card--wide {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 20px;
  background: linear-gradient(145deg, #ffffff, #fbfbfd);
}

.feature-card--wide .feature-card__title {
  font-size: 17px;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card--hero,
  .feature-card--wide {
    grid-column: span 1;
    grid-row: span 1;
  }
}
/* ─── Security Grid ─── */
.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.security-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.security-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.security-card__number {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.security-card__title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.security-card__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.security-card__desc code {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ─── Steps Grid ─── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.step-card {
  text-align: center;
  padding: 24px 16px;
}

.step-card__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--text-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  margin: 0 auto 16px;
}

.step-card__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.step-card__desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── Pricing Grid ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 48px auto 0;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid #d2d2d7;
  border-radius: 28px;
  padding: 44px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s ease;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.pricing-card:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: #86868b;
}

.pricing-card--featured {
  background: #ffffff;
  border: 1.5px solid #0071e3;
  position: relative;
  box-shadow: 0 8px 30px rgba(0, 113, 227, 0.08);
}

.pricing-card--featured:hover {
  border-color: #0077ed;
  box-shadow: 0 24px 48px rgba(0, 113, 227, 0.15);
}

.pricing-card__badge {
  display: inline-block;
  padding: 6px 14px;
  background: #f5f5f7;
  border: none;
  border-radius: 980px;
  font-size: 12px;
  font-weight: 600;
  color: #1d1d1f;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 auto 24px auto;
}

.pricing-card--featured .pricing-card__badge {
  background: #0071e3;
  color: #ffffff;
}

.pricing-card__price {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #1d1d1f;
  margin-bottom: 4px;
}

.pricing-card__period {
  font-size: 15px;
  color: #86868b;
  margin-bottom: 32px;
}

.pricing-card__list {
  list-style: none;
  text-align: left;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-card__list li {
  font-size: 15px;
  color: #1d1d1f;
  padding: 12px 0 12px 24px;
  position: relative;
  border-bottom: 1px solid #d2d2d7;
}

.pricing-card__list li:last-child {
  border-bottom: none;
}

.pricing-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1d1d1f;
  font-weight: 600;
  font-size: 13px;
  opacity: 0.8;
}

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

/* 2026-02-19: Product Hunt promo banner — sits above pricing grid */
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 680px;
  margin: 48px auto 32px;
  padding: 32px 36px;
  background: #ffffff;
  border: 1px solid #d2d2d7;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.promo-banner__headline {
  color: #1d1d1f;
}

.promo-banner__tagline {
  color: #86868b;
}

.pricing-card__badge--promo {
  background: #ff3b30;
  color: #fff;
  border: none;
}

.promo-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6154, #ffbe5c);
}

.promo-banner__left {
  flex: 1;
}

.promo-banner__right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.pricing-card__badge--promo {
  background: linear-gradient(135deg, #ff6154, #da552f);
  color: #fff;
}

.promo-banner__headline {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 12px 0 8px;
}

.promo-banner__price {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -2px;
}

.promo-banner__slash {
  font-size: 15px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.promo-banner__tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 340px;
}

.pricing-card__counter {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 8px;
}

.counter-remaining {
  font-size: 28px;
  font-weight: 700;
  color: #ff6154;
  letter-spacing: -1px;
}

.counter-label {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.pricing-card__progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 97, 84, 0.12);
  border-radius: 4px;
  margin-bottom: 16px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #ff6154, #ffbe5c);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.btn--promo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 0 32px;
  background: linear-gradient(135deg, #ff6154, #da552f);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  height: 46px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.1s;
  white-space: nowrap;
}

.btn--promo:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  color: #fff;
}

/* ─── License Reveal (shown above downloads when trial starts) ─── */
.license-reveal {
  max-width: 520px;
  margin: 0 auto 40px;
  animation: fadeInDown 0.5s ease;
}

.license-reveal__box {
  background: var(--bg-dark);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}

.license-reveal__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.license-reveal__key {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-primary);
  padding: 12px;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-bottom: 16px;
  user-select: all;
}

.license-reveal__copy {
  font-size: 13px !important;
  padding: 8px 20px !important;
}

.license-reveal__note {
  font-size: 12px;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: 12px;
}

/* ─── Email Gate ─── */
.email-gate {
  max-width: 420px;
  margin: 0 auto 32px;
  text-align: center;
}

.email-gate__label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.email-gate__row {
  display: flex;
  gap: 0;
}

.email-gate__input {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-primary);
  background: #fff;
  outline: none;
  transition: border-color var(--transition);
}

.email-gate__input:focus {
  border-color: var(--accent);
}

.email-gate__error {
  font-size: 12px;
  color: #ff3b30;
  margin-top: 6px;
}

/* ─── Download Grid ─── */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font);
}

.download-card:hover {
  border-color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.download-card svg {
  flex-shrink: 0;
  color: var(--text-primary);
}

.download-card__info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.download-card__platform {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.download-card__arch {
  font-size: 11px;
  color: var(--text-tertiary);
}

.download-card__size {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* 2026-02-17: 'Last updated' date inside each download card */
.download-card__updated {
  grid-column: 1 / -1;
  font-size: 10px;
  color: var(--text-tertiary);
  opacity: 0.7;
  letter-spacing: 0.01em;
  margin-top: -4px;
}

/* ─── Footer ─── */
.footer {
  padding: 24px;
  border-top: 0.5px solid var(--border-light);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 13px;
  color: var(--text-tertiary);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--text-primary);
}

/* ─── Animations ─── */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .nav__hamburger {
    display: block;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    height: calc(100vh - 52px);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 60px;
    gap: 28px;
    z-index: 99;
    overflow-y: auto;
    animation: menuFadeIn 0.25s ease;
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links a {
    font-size: 18px !important;
    font-weight: 500;
  }

  .nav__links a:not(.nav__cta) {
    color: var(--text-primary);
  }

  @keyframes menuFadeIn {
    from {
      opacity: 0;
      transform: translateY(-12px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .hero__title {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .hero__sub {
    font-size: 15px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 8px;
  }

  .section {
    padding: 64px 20px;
  }

  .features-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }

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

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .promo-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
    max-width: 360px;
    padding: 24px 20px;
  }

  .promo-banner__tagline {
    max-width: 100%;
  }

  .download-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ─── Pricing Card Description ─── */
.pricing-card__desc {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.5;
  margin-bottom: 20px;
}

/* ─── Modal Overlay ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal {
  background: var(--bg-card);
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px 36px;
  position: relative;
  animation: modalIn 0.25s ease-out;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-tertiary);
  padding: 8px;
  border-radius: 50%;
  transition: background var(--transition);
}

.modal__close:hover {
  background: var(--bg-dark);
}

.modal__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.modal__subtitle {
  font-size: 14px;
  color: var(--text-tertiary);
  line-height: 1.5;
  margin-bottom: 28px;
}

.modal__submit {
  width: 100%;
  margin-top: 8px;
}

.modal__success {
  text-align: center;
  padding: 20px 0;
}

.modal__success-icon {
  color: var(--text-primary);
  margin-bottom: 20px;
}

/* ─── Form Fields ─── */
.form-field {
  margin-bottom: 20px;
}

.form-field__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-field__input {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text-primary);
  background: var(--bg-page);
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
}

.form-field__input:focus {
  border-color: var(--text-primary);
}

.form-field__input::placeholder {
  color: var(--text-tertiary);
}

.form-field__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-field__textarea {
  resize: vertical;
  min-height: 80px;
}

.form-field__disclaimer {
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.5;
  margin-top: 8px;
}

.form-field__error {
  font-size: 13px;
  color: #ff3b30;
  margin-bottom: 12px;
}

/* ─── Auto-Evolution Section (Pipeline) ─── */
.section--evolution {
}

.evolution-pipeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 56px;
  background: var(--bg-card);
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.evo-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.evo-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(0, 113, 227, 0.1);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.evo-step:hover .evo-icon {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 113, 227, 0.15);
  background: #ffffff;
}

.evo-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.evo-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 140px;
}

.evo-connector {
  color: var(--border-color);
  flex-shrink: 0;
  margin: 0 16px;
  padding-bottom: 40px;
}

.status-dot-blue {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulseDotBlue 2s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pulseDotBlue {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
    box-shadow: 0 0 6px var(--accent);
  }
  100% {
    transform: scale(1.1);
    opacity: 1;
    box-shadow:
      0 0 12px var(--accent),
      0 0 18px rgba(0, 113, 227, 0.4);
  }
}

@media (max-width: 768px) {
  .evolution-pipeline {
    flex-direction: column;
    gap: 32px;
    padding: 32px 24px;
  }
  .evo-connector {
    transform: rotate(90deg);
    padding-bottom: 0;
    margin: 0;
  }
}
