/* ============================================
   PALISADE SOLUTIONS — Professional Defense Site
   Dark navy + brushed steel palette
   Redesigned 2026-05-30: Product-focused, buyer-first
   ============================================ */

/* ---------- Custom Properties ---------- */
:root {
  --color-bg:       #0d1117;
  --color-bg-alt:   #161b22;
  --color-surface:  #1c2128;
  --color-surface-2: #21262d;
  --color-border:   #30363d;
  --color-border-lt: #3a424d;

  --color-text:     #c9d1d9;
  --color-text-bright: #e6edf3;
  --color-text-dim: #7d8590;
  --color-text-muted: #484f58;

  /* Steel / silver accent (from logo) */
  --color-steel:    #929ba3;
  --color-steel-lt: #d0d4d8;

  /* Primary accent — muted blue (defense/gov feel) */
  --accent:         #58a6ff;
  --accent-dim:     #1f3a5c;
  --accent-bg:      rgba(88, 166, 255, 0.08);

  /* Secondary accent — subtle green for success/security */
  --accent-green:   #3fb950;
  --accent-green-bg: rgba(63, 185, 80, 0.08);

  /* Warning / urgency accent */
  --accent-amber:   #d29922;
  --accent-amber-bg: rgba(210, 153, 34, 0.08);

  /* Fonts */
  --font-body:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:  'JetBrains Mono', 'Consolas', monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Prevent horizontal overflow on mobile */
html {
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
img { display: block; max-width: 100%; }

::selection {
  background: var(--accent);
  color: var(--color-bg);
}

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  /* Force side margins on ALL content on mobile */
  .hero__content,
  .problem__intro,
  .problem__stories,
  .products__grid,
  .pipeline__flow,
  .pipeline__summary,
  .section__header,
  .why__grid,
  .about__content,
  .about__team,
  .about__trust,
  .contact__grid,
  .access__content {
    padding-left: 0;
    padding-right: 0;
  }
}

.section {
  padding: 120px 0;
  position: relative;
}

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

/* ---------- Typography / Section Headers ---------- */
.section__label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text-bright);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--color-text-dim);
  max-width: 600px;
  line-height: 1.7;
}

.section__desc--wide {
  max-width: 800px;
}

.section__header {
  margin-bottom: 64px;
}

.section__header .section__desc {
  margin-top: 8px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.25s var(--ease);
  letter-spacing: 0.01em;
}

.btn--primary {
  background: var(--accent);
  color: var(--color-bg);
}
.btn--primary:hover {
  background: #79c0ff;
  box-shadow: 0 4px 20px rgba(88, 166, 255, 0.3);
  transform: translateY(-1px);
}

.btn--outline {
  border: 1px solid var(--color-border-lt);
  color: var(--color-text);
}
.btn--outline:hover {
  border-color: var(--color-text-dim);
  background: var(--color-surface);
}

.btn--full { width: 100%; }

/* =============================================
   NAVIGATION
   ============================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9000;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(13, 17, 23, 0.92);
  backdrop-filter: blur(16px);
  border-color: var(--color-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo-img {
  height: 36px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s;
}
.nav__logo:hover .nav__logo-img { opacity: 1; }

/* On mobile, make logo more prominent */
@media (max-width: 640px) {
  .nav__logo-img {
    height: 44px;
  }
}

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

.nav__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-dim);
  transition: color 0.25s;
  position: relative;
}
.nav__link:hover { color: var(--color-text-bright); }
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}
.nav__link:hover::after { width: 100%; }

.nav__link--cta {
  padding: 8px 20px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  transition: all 0.25s;
}
.nav__link--cta:hover {
  background: var(--accent);
  color: var(--color-bg);
}
.nav__link--cta::after { display: none; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--color-text);
  transition: all 0.3s;
}
.nav__hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.active span:nth-child(2) { opacity: 0; }
.nav__hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  z-index: 8999;
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
}
.mobile-menu.active { display: flex; }

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}
.mobile-menu__link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-text-dim);
  transition: color 0.3s;
}
.mobile-menu__link:hover { color: var(--color-text-bright); }
.mobile-menu__link--cta { color: var(--accent); }

/* =============================================
   BETA GATE
   ============================================= */
.beta-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.beta-gate.hidden {
  display: none;
}

.beta-gate__card {
  text-align: center;
  max-width: 400px;
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 40px 28px;
}

@media (max-width: 640px) {
  .beta-gate {
    padding: 20px;
  }
  .beta-gate__card {
    padding: 32px 24px;
  }
  .beta-gate__title {
    font-size: 1.5rem;
  }
  .beta-gate__text {
    font-size: 0.9rem;
  }
}

.beta-gate__logo {
  height: 64px;
  width: auto;
  margin: 0 auto 32px;
  opacity: 0.9;
}

.beta-gate__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text-bright);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.beta-gate__text {
  font-size: 0.95rem;
  color: var(--color-text-dim);
  line-height: 1.6;
  margin-bottom: 32px;
}

.beta-gate__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.beta-gate__input {
  font-family: var(--font-mono);
  font-size: 1rem;
  padding: 14px 20px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text-bright);
  outline: none;
  text-align: center;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.beta-gate__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.15);
}

.beta-gate__input::placeholder {
  color: var(--color-text-muted);
  text-transform: none;
  letter-spacing: normal;
}

.beta-gate__error {
  font-size: 0.85rem;
  color: #f85149;
  min-height: 1.2em;
}

/* Gate tabs */
.beta-gate__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
}

.beta-gate__tab {
  flex: 1;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-dim);
  background: var(--color-surface);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.beta-gate__tab--active {
  background: var(--accent-bg);
  color: var(--accent);
}

.beta-gate__tab:not(.beta-gate__tab--active):hover {
  color: var(--color-text);
}

/* Gate form fields */
.beta-gate__field {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  outline: none;
  width: 100%;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: none;
}

.beta-gate__field:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.15);
}

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

.beta-gate__form--hidden {
  display: none;
}

.beta-gate__footer {
  margin-top: 32px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.beta-gate__footer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
}

.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}

.hero__bg canvas {
  width: 100%; height: 100%;
  opacity: 0.25;
}

.hero__gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(88, 166, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(63, 185, 80, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, transparent 60%, var(--color-bg) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 80px 0 120px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  padding: 6px 16px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-dim);
  border-radius: 20px;
  margin-bottom: 24px;
  animation: fadeUp 0.6s var(--ease) both;
}

.hero__badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero__title {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 700;
  color: var(--color-text-bright);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  animation: fadeUp 0.6s var(--ease) 0.1s both;
}

.hero__title-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--color-text-dim);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 640px;
  animation: fadeUp 0.6s var(--ease) 0.2s both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeUp 0.6s var(--ease) 0.3s both;
}

.hero__trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s var(--ease) 0.4s both;
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-dim);
}

.hero__trust-item svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hero__trust-item--highlight {
  color: var(--accent);
  font-weight: 600;
}

.hero__trust-item--highlight svg {
  color: var(--accent-green);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   PROBLEM SECTION — Story-driven
   ============================================= */
.problem__intro {
  margin-bottom: 64px;
}

.problem__intro .section__desc {
  margin-top: 16px;
}

.problem__stories {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.problem__story {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.problem__story-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-bg);
  border: 1px solid var(--accent-dim);
  border-radius: 12px;
  color: var(--accent);
  margin-top: 4px;
}

.problem__story-content {
  flex: 1;
}

.problem__story-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-bright);
  line-height: 1.3;
  margin-bottom: 12px;
}

.problem__story-text {
  font-size: 1rem;
  color: var(--color-text-dim);
  line-height: 1.7;
  margin-bottom: 16px;
}

.problem__story-quote {
  padding: 20px 24px;
  background: var(--color-surface);
  border-left: 3px solid var(--accent-dim);
  border-radius: 0 8px 8px 0;
}

.problem__story-quote p {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.65;
  font-style: italic;
}

/* =============================================
   PRODUCTS
   ============================================= */
.products__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 40px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.product-card:hover {
  border-color: var(--color-border-lt);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.product-card__badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-dim);
  border-radius: 4px;
  color: var(--accent);
  margin-bottom: 24px;
}

.product-card__badge--alt {
  background: var(--accent-green-bg);
  border-color: rgba(63, 185, 80, 0.2);
  color: var(--accent-green);
}

.product-card__icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.product-card__name {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text-bright);
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.product-card__tagline {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.product-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-dim);
  line-height: 1.7;
  margin-bottom: 24px;
}

.product-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.product-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text);
}

.product-card__features li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* =============================================
   PIPELINE / HOW IT WORKS
   ============================================= */
.pipeline__flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 48px;
}

.pipeline__step {
  flex: 1;
  text-align: center;
  padding: 32px 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.pipeline__step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 16px;
}

.pipeline__step-icon {
  color: var(--accent);
  margin-bottom: 16px;
}

.pipeline__step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-bright);
  margin-bottom: 10px;
}

.pipeline__step-desc {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  line-height: 1.6;
}

.pipeline__connector {
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  align-self: center;
}

.pipeline__summary {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 32px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-dim);
  border-radius: 8px;
}

.pipeline__summary p {
  font-size: 1.05rem;
  color: var(--color-text);
  line-height: 1.7;
  font-weight: 500;
}

/* =============================================
   WHY PALISADE
   ============================================= */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.why__card {
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.why__card:hover {
  border-color: var(--color-border-lt);
  transform: translateY(-2px);
}

.why__card-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.why__card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text-bright);
  margin-bottom: 8px;
  line-height: 1.3;
}

.why__card p {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  line-height: 1.6;
}

/* Stagger why cards */
.why__card:nth-child(2)[data-animate] { transition-delay: 0.06s; }
.why__card:nth-child(3)[data-animate] { transition-delay: 0.12s; }
.why__card:nth-child(4)[data-animate] { transition-delay: 0.18s; }
.why__card:nth-child(5)[data-animate] { transition-delay: 0.24s; }
.why__card:nth-child(6)[data-animate] { transition-delay: 0.3s; }

/* =============================================
   ABOUT — Redesigned for anonymous team
   ============================================= */
.about__content {
  margin-bottom: 64px;
}

.about__text {
  max-width: 800px;
}

.about__text p {
  font-size: 1rem;
  color: var(--color-text-dim);
  margin-top: 16px;
  line-height: 1.7;
}

.about__team {
  margin-bottom: 48px;
}

.about__team-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text-bright);
  margin-bottom: 24px;
}

.about__team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.about__member {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  transition: border-color 0.3s;
}

.about__member:hover {
  border-color: var(--color-border-lt);
}

.about__member-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-bg);
  border: 1px solid var(--accent-dim);
  border-radius: 8px;
  color: var(--accent);
}

.about__member-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-bright);
  margin-bottom: 6px;
}

.about__member-desc {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  line-height: 1.5;
  margin-bottom: 12px;
}

.about__certs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.about__cert {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 12px;
  background: var(--accent-green-bg);
  border: 1px solid rgba(63, 185, 80, 0.2);
  border-radius: 4px;
  color: var(--accent-green);
  font-weight: 500;
}

/* Trust signals bar */
.about__trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding: 24px 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  justify-content: center;
}

.about__trust-item--highlight .about__trust-label {
  color: var(--accent);
  font-weight: 600;
}

.about__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.about__trust-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-dim);
  letter-spacing: 0.02em;
}

/* =============================================
   CONTACT
   ============================================= */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

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

.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--color-text);
}

.contact__detail svg { color: var(--accent); flex-shrink: 0; }

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact__field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-dim);
  letter-spacing: 0.02em;
}

.contact__field input,
.contact__field textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}

.contact__field input:focus,
.contact__field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.1);
}

.contact__field input::placeholder,
.contact__field textarea::placeholder {
  color: var(--color-text-muted);
}

.contact__form-note {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  text-align: center;
}

/* =============================================
   REQUEST ACCESS / GATED CONTENT
   ============================================= */
.access__content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.access__info .section__desc {
  margin-top: 16px;
}

.access__includes {
  margin-top: 32px;
}

.access__includes h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 16px;
}

.access__includes ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.access__includes li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-text-dim);
}

.access__includes li svg {
  color: var(--accent);
  flex-shrink: 0;
}

.access__form-wrap {
  position: sticky;
  top: 96px;
}

.access__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.access__form-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-bright);
  margin-bottom: 4px;
}

/* =============================================
   FORM SUCCESS STATE
   ============================================= */
.form-success {
  text-align: center;
  padding: 56px 32px;
  background: var(--color-surface);
  border: 2px solid var(--accent-green);
  border-radius: 12px;
  animation: successPop 0.4s var(--ease) both;
}

.form-success__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-bg);
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(63, 185, 80, 0.4);
}

.form-success__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-bright);
  margin-bottom: 12px;
}

.form-success__text {
  font-size: 1rem;
  color: var(--color-text-dim);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto;
}

@keyframes successPop {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 64px 0 32px;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
}

.footer__logo {
  height: 32px;
  width: auto;
  opacity: 0.7;
  margin-bottom: 12px;
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  max-width: 280px;
}

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

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

.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}

.footer__col a {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  transition: color 0.25s;
}
.footer__col a:hover { color: var(--color-text-bright); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.footer__legal { font-family: var(--font-mono); }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger product cards */
.product-card:nth-child(2)[data-animate] { transition-delay: 0.1s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .products__grid { grid-template-columns: 1fr; gap: 24px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .access__content { grid-template-columns: 1fr; gap: 40px; }
  .about__team-grid { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; }
  .footer__links { flex-wrap: wrap; gap: 32px; }

  .pipeline__flow { flex-direction: column; align-items: stretch; }
  .pipeline__connector { justify-content: center; padding: 12px 0; }
  .pipeline__connector svg { transform: rotate(90deg); }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .section { padding: 64px 0; }

  .hero__content { padding: 48px 0 64px; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* Extra breathing room on all sections */
  .section .container {
    padding: 0 28px;
  }

  .product-card {
    padding: 24px 20px;
  }

  .why__card {
    padding: 20px 18px;
  }

  .problem__story-quote {
    padding: 14px 16px;
  }
  .hero__trust { flex-direction: column; gap: 12px; }
  .hero__title { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .hero__badge { font-size: 0.7rem; padding: 5px 12px; }
  .hero__subtitle { font-size: 1rem; }
  .hero__actions { margin-bottom: 36px; }

  /* Enable flex ordering on mobile */
  .main-sections {
    display: flex;
    flex-direction: column;
  }

  /* MOBILE REORDER: Products before Problem
     So defense conference phone viewers see WHAT you do first,
     not a wall of text about legacy problems */
  .problem { order: 2; }
  .products { order: 1; }
  .pipeline { order: 3; }
  .why { order: 4; }
  .about { order: 5; }
  .contact { order: 6; }
  .access { order: 7; }

  /* Tighten problem stories on mobile */
  .problem__story { flex-direction: column; }
  .problem__story-icon { align-self: flex-start; width: 44px; height: 44px; }
  .problem__story-icon svg { width: 24px; height: 24px; }
  .problem__story-title { font-size: 1.05rem; }
  .problem__story-text { font-size: 0.9rem; }
  .problem__story-quote { padding: 16px; }
  .problem__story-quote p { font-size: 0.85rem; }
  .problem__stories { gap: 32px; }

  /* Tighten products on mobile */
  .product-card { padding: 28px; }
  .product-card__name { font-size: 1.4rem; }
  .product-card__desc { font-size: 0.9rem; }

  /* Tighten why cards on mobile — show 2 cols on wider phones */
  .why__grid { grid-template-columns: 1fr; }
  .why__card { padding: 24px; }
  .why__card h3 { font-size: 0.95rem; }
  .why__card p { font-size: 0.85rem; }

  /* Pipeline compact on mobile */
  .pipeline__step { padding: 24px 16px; }
  .pipeline__step-title { font-size: 1rem; }
  .pipeline__step-desc { font-size: 0.85rem; }

  .about__trust { flex-direction: column; gap: 12px; align-items: flex-start; padding: 20px; }
  .about__member { flex-direction: column; }

  .access__form-wrap { position: static; }
  .access__form { padding: 24px; }

  .footer__links { flex-direction: column; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
