/* ─── DESIGN TOKENS ─────────────────────────────────────────────────────── */

:root {
  --bg:            #FFFFFF;
  --bg-alt:        #F8FAFC;
  --accent:        #3B82F6;
  --accent-2:      #06B6D4;
  --gradient:      linear-gradient(135deg, #3B82F6 0%, #06B6D4 100%);
  --gradient-h:    linear-gradient(135deg, #5B9BFF 0%, #22D3EE 100%);
  --heading:       #0F172A;
  --body:          #475569;
  --muted:         #94A3B8;
  --muted-2:       #CBD5E1;
  --card-bg:       #FFFFFF;
  --card-border:   #E2E8F0;
  --card-shadow:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --card-shadow-h: 0 12px 32px rgba(59,130,246,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --input-bg:      #F8FAFC;
  --input-border:  #E2E8F0;
  --input-border-f:#3B82F6;
  --nav-h:         64px;
}

/* ─── RESET & BASE ──────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Cabinet Grotesk', sans-serif;
  background: var(--bg);
  color: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: 'Cabinet Grotesk', sans-serif;
  color: var(--heading);
  line-height: 1.15;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; }

/* ─── GATE ───────────────────────────────────────────────────────────────── */

#gate {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  z-index: 9999;
}

.gate-logo {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

#pass-input {
  width: 300px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 16px;
  color: var(--heading);
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#pass-input::placeholder { color: var(--muted); }

#pass-input:focus {
  border-color: var(--input-border-f);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}

#unlock-btn {
  width: 300px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--gradient);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}

#unlock-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@keyframes shake {
  0%,100% { transform: translateX(0); }
  20%      { transform: translateX(-8px); }
  40%      { transform: translateX(8px); }
  60%      { transform: translateX(-5px); }
  80%      { transform: translateX(5px); }
}

#pass-input.shake {
  animation: shake 0.35s ease;
  border-color: #EF4444;
}

/* ─── APP ────────────────────────────────────────────────────────────────── */

#app { display: none; }

/* ─── NAVBAR ─────────────────────────────────────────────────────────────── */

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  border-color: var(--card-border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  padding: 7px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--heading);
  background: var(--bg-alt);
}

.nav-cta {
  color: #fff !important;
  background: var(--gradient) !important;
  padding: 8px 18px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  transition: opacity 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  opacity: 0.9 !important;
  transform: translateY(-1px) !important;
  background: var(--gradient-h) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--heading);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── LAYOUT ─────────────────────────────────────────────────────────────── */

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 40px;
}

.container-md { max-width: 1000px; }
.container-sm { max-width: 760px; }

section { padding: 112px 0 96px; }

.bg-alt { background: var(--bg-alt); }

/* ─── SECTION HEADER ─────────────────────────────────────────────────────── */

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading);
}

.section-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  margin-top: 14px;
}

/* ─── SCROLL REVEAL ──────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}

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

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.25s;
}

.btn-primary {
  padding: 15px 36px;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59,130,246,0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59,130,246,0.36);
  background: var(--gradient-h);
}

.btn-full {
  width: 100%;
  margin-top: 4px;
}

/* ─── HERO ───────────────────────────────────────────────────────────────── */

#hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + 80px) 40px 100px;
  text-align: center;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  animation: blobFloat 7s ease-in-out infinite alternate;
}

.hero-blob-1 {
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(59,130,246,0.12) 0%, transparent 70%);
  top: -80px;
  left: -100px;
  animation-delay: 0s;
}

.hero-blob-2 {
  width: 500px;
  height: 380px;
  background: radial-gradient(ellipse, rgba(6,182,212,0.1) 0%, transparent 70%);
  top: 40px;
  right: -80px;
  animation-delay: 2s;
}

@keyframes blobFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(20px, 15px) scale(1.06); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-inner.visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 1.5px solid rgba(59,130,246,0.25);
  border-radius: 100px;
  padding: 7px 16px;
  margin-bottom: 28px;
}

#hero h1 {
  font-size: 60px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--heading);
  line-height: 1.06;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--body);
  max-width: 580px;
  margin: 0 auto 40px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
}

.trust-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent-2);
}

/* ─── TIMELINE (#jak-to-probiha) ────────────────────────────────────────── */

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Dashed track behind number circles, from center of col1 to center of col4 */
.timeline::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(59,130,246,0.35) 0,
    rgba(59,130,246,0.35) 8px,
    transparent 8px,
    transparent 20px
  );
  pointer-events: none;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(59,130,246,0.3);
  letter-spacing: -0.02em;
}

.timeline-body {
  padding: 28px 20px 0;
  text-align: center;
}

.timeline-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(6,182,212,0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.timeline-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.timeline-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
  line-height: 1.3;
}

.timeline-body p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--body);
}

/* ─── MARKETPLACE LOGOS ──────────────────────────────────────────────────── */

.logos-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}

.logo-badge {
  background: var(--bg);
  border: 1.5px solid var(--card-border);
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.logo-badge:hover {
  transform: translateY(-3px);
  box-shadow: var(--card-shadow-h);
  border-color: rgba(59,130,246,0.22);
}

.logo-badge img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}


/* ─── AI FEATURES (alternating rows) ────────────────────────────────────── */

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 72px;
}

.ai-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "visual text";
  gap: 64px;
  align-items: center;
}

.ai-feature--reversed {
  grid-template-areas: "text visual";
}

.ai-feature-visual {
  grid-area: visual;
  position: relative;
  border-radius: 24px;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(59,130,246,0.06) 0%, rgba(6,182,212,0.06) 100%);
  border: 1.5px solid rgba(59,130,246,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.ai-feature:hover .ai-feature-visual {
  border-color: rgba(59,130,246,0.22);
  box-shadow: 0 16px 40px rgba(59,130,246,0.1);
}

.ai-feature-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(59,130,246,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.ai-feature-glow--2 {
  background: radial-gradient(ellipse at 70% 60%, rgba(6,182,212,0.12) 0%, transparent 60%);
}

.ai-feature-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(59,130,246,0.14) 0%, rgba(6,182,212,0.1) 100%);
  border: 1.5px solid rgba(59,130,246,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: transform 0.3s, box-shadow 0.3s;
}

.ai-feature:hover .ai-feature-icon {
  transform: scale(1.04);
  box-shadow: 0 8px 24px rgba(59,130,246,0.18);
}

.ai-feature-icon svg {
  width: 44px;
  height: 44px;
  color: var(--accent);
}

.ai-feature--reversed .ai-feature-icon svg {
  color: var(--accent-2);
}

.ai-feature-text {
  grid-area: text;
}

.ai-feature-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.ai-feature-text h3 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--heading);
  margin-bottom: 16px;
  line-height: 1.2;
}

.ai-feature-text p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--body);
  max-width: 420px;
}

/* ─── SERVICES GRID (2-col list) ─────────────────────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 64px;
}

.service-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.service-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(59,130,246,0.1) 0%, rgba(6,182,212,0.08) 100%);
  border: 1px solid rgba(59,130,246,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s, box-shadow 0.25s;
}

.service-item:hover .service-icon {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59,130,246,0.15);
}

.service-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.service-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 7px;
  line-height: 1.3;
}

.service-text p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--body);
}

/* ─── FIT BLOCK (#pro-koho) ──────────────────────────────────────────────── */

.fit-block {
  background: var(--bg);
  border: 1.5px solid var(--card-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.fit-yes {
  padding: 44px 52px;
}

.fit-divider {
  height: 1px;
  background: var(--card-border);
  margin: 0 52px;
}

.fit-no {
  padding: 36px 52px;
}

.fit-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 21px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 28px;
}

.fit-heading-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fit-heading-icon svg {
  width: 17px;
  height: 17px;
}

.fit-heading-icon--yes {
  background: rgba(59,130,246,0.1);
  color: var(--accent);
}

.fit-heading-icon--no {
  background: rgba(100,116,139,0.1);
  color: var(--muted);
}

.fit-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fit-list li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
  padding-left: 28px;
  position: relative;
}

.fit-list--yes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gradient);
}

.fit-list--no li {
  color: var(--muted);
}

.fit-list--no li::before {
  content: '–';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--muted-2);
  font-size: 16px;
  line-height: 1.55;
}

/* ─── FAQ ────────────────────────────────────────────────────────────────── */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1.5px solid var(--card-border);
  border-radius: 14px;
  background: var(--card-bg);
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.faq-item--open,
.faq-item:focus-within {
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 2px 12px rgba(59,130,246,0.06);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--heading);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--accent); }

.faq-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.3s;
}

.faq-item--open .faq-icon {
  transform: rotate(180deg);
  color: var(--accent);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.22,1,0.36,1),
              padding 0.4s cubic-bezier(0.22,1,0.36,1);
}

.faq-item--open .faq-a {
  max-height: 400px;
}

.faq-a p {
  padding: 0 24px 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--body);
}

/* ─── CONTACT ────────────────────────────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}

.contact-left h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading);
  margin: 12px 0 16px;
}

.contact-left > p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  max-width: 420px;
}

.contact-info {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--heading);
}

.contact-info-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}

.contact-info-item--muted {
  color: var(--body);
  font-weight: 400;
}

/* ─── FORM ───────────────────────────────────────────────────────────────── */

#contact-form {
  background: var(--bg);
  border: 1.5px solid var(--card-border);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--heading);
}

.label-opt {
  font-weight: 400;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--heading);
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--input-border-f);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.form-msg {
  min-height: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.form-msg--success { color: #059669; }
.form-msg--error   { color: #DC2626; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */

footer {
  padding: 48px 0;
  border-top: 1.5px solid var(--card-border);
  background: var(--bg);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.footer-nav a {
  font-size: 14px;
  color: var(--body);
  padding: 4px 10px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.footer-nav a:hover {
  color: var(--heading);
  background: var(--bg-alt);
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
}

.footer-legal {
  font-size: 12px;
  color: var(--muted-2);
}

/* ─── RESPONSIVE — DESKTOP NAV ───────────────────────────────────────────── */

@media (min-width: 860px) {
  .nav-hamburger { display: none; }
  .nav-links { display: flex; }
}

@media (max-width: 859px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 20px;
    gap: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }

  .nav-links.open { display: flex; }

  .nav-link {
    padding: 12px 16px;
    border-radius: 10px;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }
}

/* ─── RESPONSIVE — TABLET ────────────────────────────────────────────────── */

@media (min-width: 640px) {
  .logos-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ─── RESPONSIVE — DESKTOP ────────────────────────────────────────────────── */

@media (min-width: 900px) {
  .logos-row {
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
  }
  /* Tighter padding in 6-col so logos have more room */
  .logos-row .logo-badge {
    padding: 20px 14px;
  }
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
}

@media (max-width: 900px) {
  /* Timeline 2-col on tablet */
  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 32px;
  }

  /* Remove the horizontal track on non-desktop */
  .timeline::before { display: none; }

  /* AI features: stack on tablet */
  .ai-feature,
  .ai-feature--reversed {
    grid-template-columns: 1fr;
    grid-template-areas: "visual" "text";
    gap: 32px;
  }

  .ai-feature-visual {
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 3 / 2;
  }

  .ai-feature-text h3 { font-size: 24px; }
  .ai-feature-text p { max-width: none; }

  /* Services: stack to 1 col on small tablet */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .fit-yes { padding: 36px 40px; }
  .fit-no  { padding: 28px 40px; }
  .fit-divider { margin: 0 40px; }
}

@media (min-width: 640px) and (max-width: 900px) {
  /* Services 2-col on medium tablet */
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 40px;
  }
}

/* ─── RESPONSIVE — MOBILE ────────────────────────────────────────────────── */

@media (max-width: 640px) {
  section { padding: 80px 0 64px; }

  #hero { padding: calc(var(--nav-h) + 56px) 24px 80px; }

  .container { padding: 0 24px; }

  #hero h1 { font-size: 38px; }

  .section-header h2 { font-size: 30px; }

  .hero-trust { gap: 20px; }

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

  .timeline::before { display: none; }

  /* Vertical timeline on mobile */
  .timeline-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 32px;
    position: relative;
  }

  /* Vertical connector between steps */
  .timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 52px;
    left: 26px;
    width: 2px;
    bottom: 0;
    background-image: repeating-linear-gradient(
      180deg,
      rgba(59,130,246,0.3) 0,
      rgba(59,130,246,0.3) 8px,
      transparent 8px,
      transparent 18px
    );
  }

  .timeline-num {
    flex-shrink: 0;
  }

  .timeline-body {
    padding: 0;
    text-align: left;
    margin-top: 12px;
  }

  .timeline-icon {
    margin: 0 0 12px;
  }

  .contact-left h2 { font-size: 30px; }

  #contact-form { padding: 24px; }

  .fit-yes { padding: 28px 24px; }
  .fit-no  { padding: 24px 24px; }
  .fit-divider { margin: 0 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }

  #hero h1 { font-size: 32px; }

  .section-header h2 { font-size: 26px; }

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

  #pass-input,
  #unlock-btn {
    width: calc(100vw - 48px);
    max-width: 300px;
  }
}

/* ─── REDUCED MOTION ─────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .hero-inner {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .hero-blob { animation: none; }
  .btn-primary:hover,
  .logo-badge:hover,
  .ai-feature:hover .ai-feature-visual,
  .ai-feature:hover .ai-feature-icon,
  .service-item:hover .service-icon { transform: none; }
}
