@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #090A0F;
  --surface: #171923;
  --text: #F7F9FA;
  --muted: #8A8FA0;
  --accent: #09E2FF;
  --accent-dim: rgba(9, 226, 255, 0.15);
  --accent-glow-grad: linear-gradient(90deg, rgba(9, 226, 255, 0.45) 8%, rgba(6, 180, 200, 0.35) 40%, rgba(9, 226, 255, 0.25) 76%, rgba(120, 240, 255, 0.4) 89%);
  --border: rgba(138, 143, 160, 0.22);
  --header-bg: rgba(23, 25, 35, 0.92);
  --btn-color: #090A0F;
  --btn-bg: #09E2FF;
  --header-link-hover: #F7F9FA;
  --header-link-hover-bg: rgba(9, 226, 255, 0.12);
  --faq-h-text: #F7F9FA;
  --faq-content-text: #8A8FA0;
  --hr-color: rgba(138, 143, 160, 0.25);
  --footer-link: #8A8FA0;
  --footer-link-hover: #09E2FF;
  --hero-gradient: #090A0F;
}

html {
  scroll-behavior: smooth;
}

html.tw-dark {
  color-scheme: dark;
}

body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

/* Typography helpers */
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.section-title {
  font-weight: 700;
  font-size: clamp(32px, 3.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-desc {
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.7;
  max-width: 70ch;
}

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

/* Accent glow (replaces purple-bg-grad) */
.accent-glow {
  background: var(--accent-glow-grad);
  filter: blur(50px);
  opacity: 0.55;
  pointer-events: none;
}

/* Header floating capsule */
header.nord-header {
  background-color: var(--header-bg) !important;
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  position: fixed;
  z-index: 20;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100vw;
  height: 60px;
  padding: 0 3%;
  top: 0;
  border-radius: 0;
}

@media (min-width: 1024px) {
  header.nord-header {
    top: 1rem;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 72rem;
    padding: 0 1rem;
    border-radius: 0.75rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 1rem;
  }

  #collapse-btn {
    display: none !important;
  }

  header > .collapsible-header {
    display: contents;
  }

  header.nord-header nav {
    justify-self: center;
    min-width: 0;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.8125rem;
  }

  header.nord-header .header-cta-wrap {
    justify-self: end;
  }

  .header-links {
    padding: 8px 9px;
  }

  .header-links--mobile-only {
    display: none !important;
  }
}

/* Brand logo — НОРД + ЧАТ */
.brand {
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand-mark {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.brand-nord {
  color: #1a1d26;
}

.brand-chat {
  color: #09E2FF;
}

header.nord-header .brand-nord {
  color: #F7F9FA;
}

header.nord-header .brand {
  gap: 11px;
}

header.nord-header .btn-header {
  box-shadow: 0 5px 18px rgba(9, 226, 255, 0.14);
}

header.nord-header .btn-header:hover {
  box-shadow: 0 5px 18px rgba(9, 226, 255, 0.16);
}

footer .brand-nord {
  color: #F7F9FA;
}

footer .brand--footer {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
  margin-bottom: 8px;
}

footer .brand--footer .brand-word {
  white-space: nowrap;
  flex-shrink: 0;
}

footer .brand--footer .brand-mark {
  flex-shrink: 0;
}

header > .collapsible-header {
  display: flex;
  gap: 1rem;
  background-color: inherit;
  place-content: center;
  overflow: hidden;
  transition: width 0.3s ease, height 0.3s ease;
}

.animated-collapse {
  transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.header-links {
  position: relative;
  display: flex;
  min-width: fit-content;
  padding: 8px 10px;
  z-index: 2;
  cursor: pointer;
  transition: background-color 0.5s, color 0.3s;
  color: var(--muted);
}

.header-links:hover {
  color: var(--header-link-hover);
}

.header-links::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background-color: var(--header-link-hover-bg);
  transform: scale(40%);
  opacity: 0;
  border-radius: 9999px;
  transition: all 300ms;
}

.header-links:hover::after {
  transform: scale(100%);
  opacity: 1;
}

/* Buttons */
.btn {
  padding: 12px 20px;
  width: max-content;
  border-radius: 9999px;
  color: var(--btn-color);
  background-color: var(--btn-bg);
  justify-content: center;
  align-items: center;
  display: flex;
  cursor: pointer;
  font-weight: 700;
  border: none;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 28px rgba(9, 226, 255, 0.22);
}

.btn:hover {
  filter: brightness(1.05);
}

.btn-outline {
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  filter: none;
}

.btn-header {
  padding: 10px 16px;
  font-size: 14px;
  white-space: nowrap;
}

.header-login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.header-login-link:hover {
  color: var(--text);
}

@media (min-width: 1280px) {
  .btn-header {
    padding: 10px 18px;
  }
}

header.nord-header .header-cta-wrap {
  flex-wrap: nowrap;
}

@media (max-width: 1024px) {
  header.nord-header .header-cta-wrap {
    width: 100%;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
  }

  header.nord-header .header-cta-wrap .btn-header,
  header.nord-header .header-cta-wrap .header-login-link {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .header-login-link {
    padding: 10px 16px;
    border-radius: 9999px;
    border: 1px solid var(--border);
    color: var(--text);
  }

  .header-login-link:hover {
    border-color: var(--accent);
    color: var(--accent);
  }
}

/* Hero */
.hero-section {
  background-image:
    radial-gradient(circle at center, rgba(9, 226, 255, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center;
  background-repeat: repeat;
  background-color: var(--bg);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 70% 15%, rgba(9, 226, 255, 0.1), transparent 55%),
    radial-gradient(700px 400px at 20% 80%, rgba(9, 226, 255, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero-bg-gradient {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--hero-gradient) 18%, rgba(9, 10, 15, 0) 82%, var(--hero-gradient) 97%);
}

.hero-showcase-wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
  perspective: 1200px;
  perspective-origin: center center;
}

.hero-showcase-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(760px, 88%);
  height: min(420px, 70%);
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(9, 226, 255, 0.12) 0%, rgba(9, 226, 255, 0.04) 42%, transparent 72%);
  filter: blur(28px);
  pointer-events: none;
  z-index: 0;
}

#hero-product {
  transform: perspective(1200px) translateX(0) translateY(12px) scale(0.8) rotateX(70deg);
  transform-origin: center center;
  will-change: transform;
}

#hero-product.is-flat {
  transform: none;
}

.hero-demo-glow {
  position: absolute;
  left: 50%;
  top: 5%;
  width: min(280px, 60vw);
  height: min(280px, 60vw);
  transform: translateX(-50%);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  #hero-product {
    transform: none;
    will-change: auto;
  }
}

.hero-showcase {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 32px;
  padding: clamp(20px, 3vw, 36px);
  background: rgba(23, 25, 35, 0.72);
  border: 1px solid rgba(138, 143, 160, 0.2);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (min-width: 1024px) {
  .hero-showcase-wrap {
    padding: 0 4%;
  }
}

@media (max-width: 640px) {
  .hero-showcase {
    border-radius: 24px;
    padding: 14px;
  }
}

/* Legacy animated border — kept for compatibility, unused in hero */
.animated-border {
  position: relative;
  overflow: visible;
  border-radius: 16px;
}

.animated-border::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 30%;
  height: 100%;
  border-radius: inherit;
  background-color: var(--accent);
  background-repeat: no-repeat;
  background-position: 0% 0%;
  filter: blur(1.5rem);
  opacity: 0.75;
  box-shadow: inset 0 0 20px 5px var(--accent);
  z-index: -2;
  pointer-events: none;
  animation: slide 10s ease-in-out infinite;
}

.animated-border::before {
  filter: blur(1.5rem);
  opacity: 0.25;
  will-change: transform;
}

@keyframes slide {
  0% { left: -100%; }
  100% { left: 100%; }
}

.hero-shot {
  background: rgba(9, 10, 15, 0.55);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(138, 143, 160, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  padding: clamp(8px, 1.5vw, 12px);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Home screen demo (from webapp HomeScreen) */
.home-demo {
  --home-accent: #09E2FF;
  --home-accent-glow: rgba(9, 226, 255, 0.65);
  --home-bg: #0d0f16;
  --home-text: #f0f6fc;
  --home-text-muted: rgba(255, 255, 255, 0.35);
  --home-card: rgba(255, 255, 255, 0.03);
  --home-card-border: rgba(255, 255, 255, 0.07);
  --home-border-subtle: rgba(255, 255, 255, 0.05);
  --home-btn-soft: rgba(255, 255, 255, 0.05);
  --home-btn-soft-border: rgba(255, 255, 255, 0.08);
  --home-accent-bg-strong: rgba(0, 212, 255, 0.12);
  --home-accent-border: rgba(0, 212, 255, 0.2);
  background: linear-gradient(180deg, rgba(13, 15, 22, 0.96) 0%, rgba(9, 10, 15, 0.98) 100%);
  color: var(--home-text);
  font-family: 'Manrope', system-ui, sans-serif;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
}

.home-demo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(1.25rem, 12px) 16px 8px;
  flex-shrink: 0;
}

.home-demo-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.home-demo-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-demo-logo-mark {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-demo-logo-mark img {
  display: block;
  width: 32px;
  height: 32px;
}

.home-demo-logo-word {
  display: inline-flex;
  align-items: baseline;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.08em;
  line-height: 1;
  white-space: nowrap;
}

.home-demo-logo-nord {
  color: #fff;
}

.home-demo-logo-chat {
  color: #00d4ff;
}

.home-demo-plan-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: var(--home-card-border);
  color: var(--home-text-muted);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.home-demo-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.home-demo-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--home-btn-soft);
  border: 1px solid var(--home-btn-soft-border);
  cursor: default;
  padding: 0;
}

.home-demo-scroll {
  flex: 1;
  overflow: hidden;
  padding: 0 20px 12px;
}

.home-demo-welcome {
  text-align: center;
  margin-bottom: 16px;
}

.home-demo-headline {
  font-weight: 800;
  font-size: 22px;
  line-height: 1.28;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  padding: 0 8px;
}

.home-demo-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--home-text-muted);
  margin: 0 0 20px;
}

.home-demo-segments {
  position: relative;
  display: flex;
  max-width: 320px;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 9999px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.home-demo-segment {
  flex: 1;
  position: relative;
  z-index: 1;
  padding: 12px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--home-text-muted);
  border-radius: 9999px;
  transition: color 0.18s ease;
}

.home-demo-segment.is-active {
  font-weight: 800;
  color: var(--home-accent);
}

.home-demo-segment-indicator {
  position: absolute;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  height: calc(100% - 8px);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  transition: transform 0.22s ease, background 0.22s ease;
}

.home-demo-segments[data-active="communication"] .home-demo-segment-indicator {
  transform: translateX(100%);
}

.home-demo-track-card {
  margin-top: 4px;
  border-radius: 24px;
  padding: 12px 8px 4px;
}

.home-demo-gauge-desc {
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  color: var(--home-accent);
  margin: 0 0 12px;
  padding: 0 4px;
}

.home-demo-gauge-wrap {
  position: relative;
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
}

.home-demo-gauge {
  display: block;
  width: 100%;
  height: auto;
}

.home-demo-gauge-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 6px;
  pointer-events: none;
}

.home-demo-gauge-pct {
  margin-top: 4px;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--home-accent);
}

.home-demo-start-btn {
  display: block;
  margin: 20px auto 0;
  padding: 14px 24px;
  border: none;
  border-radius: 9999px;
  background: var(--home-accent);
  color: #090A0F;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: default;
}

.home-demo-section {
  margin-bottom: 22px;
}

.home-demo-section--last {
  margin-bottom: 8px;
}

.home-demo-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #00d4ff;
}

.home-demo-section-meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--home-text-muted);
  display: flex;
  gap: 6px;
}

.home-demo-goal-bar {
  height: 10px;
  border-radius: 9999px;
  overflow: hidden;
  background: var(--home-btn-soft);
}

.home-demo-goal-fill {
  height: 100%;
  width: 2%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #00d4ff, #04cffc);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.4);
}

.home-demo-empty-panel {
  border-radius: 24px;
  padding: 20px;
  background: var(--home-card);
  border: 1px solid var(--home-card-border);
  font-size: 15px;
  font-weight: 800;
}

.home-demo-today {
  display: flex;
  border-radius: 24px;
  overflow: hidden;
  background: var(--home-card);
  border: 1px solid var(--home-card-border);
}

.home-demo-today-cell {
  flex: 1;
  padding: 16px 8px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.055);
}

.home-demo-today-cell:last-child {
  border-right: none;
}

.home-demo-today-num {
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.home-demo-today-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 8px;
  color: var(--home-text-muted);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 16px;
}

.home-demo-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 8px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(12, 14, 22, 0.92);
  flex-shrink: 0;
}

.home-demo-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 56px;
  padding: 0 8px;
  border: none;
  background: none;
  cursor: default;
  color: var(--home-text-muted);
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.home-demo-nav-btn.is-active {
  color: var(--home-text);
}

.home-demo[data-track="communication"] {
  --home-accent: #FF6B9D;
  --home-accent-glow: rgba(255, 107, 157, 0.6);
}

@media (min-width: 1024px) {
  .home-demo {
    max-width: 390px;
    min-height: 620px;
  }

  .home-demo-headline {
    font-size: 24px;
  }

  .home-demo-segment {
    font-size: 16px;
  }

  .home-demo-gauge-desc {
    font-size: 17px;
  }

  .home-demo-start-btn {
    font-size: 16px;
    padding: 16px 24px;
  }
}

/* Bento cards */
.bento-card {
  background: rgba(23, 25, 35, 0.72);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 180px at 10% 0%, rgba(9, 226, 255, 0.08), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .bento-card:hover {
    border-color: rgba(9, 226, 255, 0.35);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.24);
    transform: translateY(-5px);
  }

  .bento-card:hover::before {
    opacity: 1;
  }
}

@media (hover: none) {
  .bento-card:active {
    border-color: rgba(9, 226, 255, 0.28);
    transform: scale(0.995);
  }
}

.bento-card-kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
}

.bento-card-kicker--muted {
  color: var(--muted);
}

.bento-card-title {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.25;
  margin-top: 10px;
}

.bento-card-text {
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

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

.bento-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.bento-list li i {
  color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.bento-list li i.bi-x-lg {
  color: #c45c6a;
}

.ba-item strong {
  display: block;
  color: var(--text);
  font-weight: 700;
  line-height: 1.35;
}

.ba-item em {
  display: block;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}

.ba-item--solo {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
}

/* Compare pairs — problem → result */
.compare-pairs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.compare-pair {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: stretch;
}

.compare-pair-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.25rem;
  opacity: 0.7;
  padding: 0 0.25rem;
}

.bento-card--problem {
  border-color: rgba(196, 92, 106, 0.22);
}

.bento-card--result {
  border-color: rgba(9, 226, 255, 0.22);
}

/* What — Pixa asymmetric: compact | hero | compact */
.what-bento {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  grid-template-rows: auto;
  gap: 1rem;
  align-items: stretch;
}

.bento-card--what-hero {
  min-height: 320px;
  padding: 32px;
  border-color: rgba(9, 226, 255, 0.28);
  box-shadow: 0 20px 56px rgba(9, 226, 255, 0.06);
}

.bento-card--what-compact {
  min-height: 240px;
  padding: 22px;
}

/* Steps — alternating left / right */
.steps-flow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-row {
  display: flex;
  width: 100%;
}

.step-row--left {
  justify-content: flex-start;
}

.step-row--right {
  justify-content: flex-end;
}

.step-card {
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .step-card {
    max-width: 58%;
  }

  .step-row--left .step-card {
    transform: translateX(0);
  }

  .step-row--right .step-card {
    transform: translateX(0);
  }
}

/* Progress bento */
.progress-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.bento-card--progress-large {
  grid-column: span 2;
  min-height: 340px;
}

.bento-card--progress-stat {
  min-height: 160px;
  padding: 22px;
}

.bento-card--progress-stat .bento-card-title {
  margin-top: 0;
  font-size: 20px;
}

/* Advantages bento */
.advantages-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.bento-card--adv-large {
  min-height: 280px;
  padding: 32px;
}

.bento-card--adv-compact {
  min-height: 200px;
  padding: 22px;
}

.bento-card--adv-compact .bento-card-title {
  font-size: 20px;
}

/* Pricing */
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card.highlight {
  border-color: rgba(9, 226, 255, 0.45);
  box-shadow: 0 24px 64px rgba(9, 226, 255, 0.12);
}

.pricing-card .btn {
  margin-top: auto;
}

/* FAQ */
.faq-accordion {
  background-color: inherit;
  color: var(--faq-h-text);
  cursor: pointer;
  padding: 15px 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  transition: height 0.4s;
  font-weight: 600;
}

.faq .content {
  padding: 0 18px;
  color: var(--faq-content-text);
  height: max-content;
  overflow: hidden;
  background-color: transparent;
  max-height: 0;
  transition: max-height 0.4s, padding 0.4s;
  line-height: 1.7;
}

hr {
  border-color: var(--hr-color);
  border-style: solid;
}

/* Final CTA */
.cta-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 200px at 20% 20%, var(--accent-dim), transparent 60%);
  pointer-events: none;
}

/* Footer */
.footer-link {
  width: fit-content;
  color: var(--footer-link);
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--footer-link-hover);
}

/* Reveal animation initial state */
.reveal-up,
.reveal-intro {
  opacity: 0;
}

.reveal-up {
  transform: translateY(100%);
}

.reveal-intro {
  transform: translateY(55%);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up,
  .reveal-intro {
    opacity: 1;
    transform: none;
  }
}

.no-js .reveal-up,
.no-js .reveal-intro,
.reveal-up.is-visible,
.reveal-intro.is-visible {
  opacity: 1;
  transform: none;
}

/* Section spacing & Pixa layered backgrounds — one glow spot per section */
.nord-section {
  padding: 100px 5%;
  position: relative;
  isolation: isolate;
}

.nord-section::before {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.32;
  width: min(360px, 70vw);
  height: min(360px, 70vw);
  background: radial-gradient(circle, rgba(9, 226, 255, 0.2) 0%, rgba(9, 226, 255, 0) 72%);
}

.nord-section::after {
  display: none;
}

.nord-section--glow-right::before {
  top: 12%;
  right: 4%;
  left: auto;
}

.nord-section--glow-left::before {
  top: 18%;
  left: 2%;
  right: auto;
}

.nord-section--glow-center::before {
  top: 8%;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  opacity: 0.26;
}

.nord-section--airy {
  padding-top: 88px;
  padding-bottom: 88px;
}

.nord-section > .tw-w-full {
  position: relative;
  z-index: 1;
}

.bento-grid {
  width: 100%;
}

@media (min-width: 1280px) {
  header.nord-header nav {
    font-size: 0.875rem;
  }

  .header-links {
    padding: 8px 12px;
  }
}

@media (max-width: 1024px) {
  header .collapsible-header {
    position: fixed;
    top: 60px;
    left: 0;
    flex-direction: column;
    opacity: 0;
    height: 0;
    min-height: 0;
    width: 100vw;
    justify-content: space-between;
    padding: 5% 5% 8%;
    place-items: center;
    text-align: center;
    background-color: rgba(9, 10, 15, 0.96);
    overflow-y: auto;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
    z-index: 19;
    transition: height 0.35s ease, opacity 0.35s ease, min-height 0.35s ease;
  }

  header .collapsible-header.is-open {
    border-top: 1px solid rgba(9, 226, 255, 0.12);
  }

  header .collapsible-header nav {
    gap: 1.25rem;
    font-size: 1rem;
  }

  header .collapsible-header .header-links {
    font-size: 1.05rem;
    padding: 10px 16px;
  }

  .nord-section {
    padding: 64px 4%;
  }

  .nord-section::before {
    opacity: 0.24;
  }

  .bento-card {
    background: rgba(23, 25, 35, 0.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
  }

  .compare-pair {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .compare-pair-arrow {
    transform: rotate(90deg);
    padding: 0.25rem 0;
  }

  .what-bento {
    grid-template-columns: 1fr;
  }

  .bento-card--what-hero {
    order: -1;
    min-height: 260px;
  }

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

  .bento-card--progress-large {
    grid-column: span 2;
  }

  .advantages-bento {
    grid-template-columns: 1fr;
  }

  .step-row--left,
  .step-row--right {
    justify-content: stretch;
  }

  .step-card {
    max-width: 100%;
  }

  .pricing-card {
    background: rgba(23, 25, 35, 0.38);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
  }

  .cta-panel {
    padding: 32px 24px;
    background: rgba(23, 25, 35, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

@media (max-width: 640px) {
  .section-title {
    font-size: clamp(28px, 8vw, 40px);
  }

  .nord-section {
    padding: 52px 3%;
  }

  .bento-card {
    padding: 22px 20px;
    border-radius: 20px;
  }

  .compare-pairs {
    gap: 1rem;
  }

  .bento-card--what-compact {
    min-height: auto;
  }

  .bento-card--what-hero {
    min-height: 240px;
    padding: 24px;
  }

  .progress-bento {
    grid-template-columns: 1fr;
  }

  .bento-card--progress-large {
    grid-column: span 1;
  }

  .bento-card--adv-large {
    min-height: auto;
    padding: 24px;
  }

  .hero-showcase-wrap {
    padding: 0 2%;
  }

  .hero-demo-glow {
    width: 200px;
    height: 200px;
    top: 2%;
  }

  .home-demo {
    min-height: 500px;
  }

  .home-demo-headline {
    font-size: 20px;
  }

  .home-demo-scroll {
    padding: 0 16px 8px;
  }
}
