/* ===========================================================
   9001 WEST HIGHLAND PINES, LLC — Agricultural Drone Systems
   Global stylesheet (all pages)
   =========================================================== */

:root {
  --color-bg: #0A1412;
  --color-surface: rgba(190, 215, 205, 0.05);
  --color-glass: rgba(150, 195, 180, 0.08);
  --color-primary: #2C7A66;
  --color-accent: #D89A52;
  --color-mist: #B8D4CC;
  --color-text: #E8F1ED;
  --color-muted: #647A72;
  --color-border: rgba(44, 122, 102, 0.22);
  --color-glow: rgba(44, 122, 102, 0.4);
  --color-mint: #7FDCC0;
  --color-deep: #050C0A;

  --font-head: "Bricolage Grotesque", sans-serif;
  --font-body: "Onest", sans-serif;
  --font-mono: "Geist Mono", monospace;

  --nav-h: 74px;
  --depth-shadow: 0 4px 8px rgba(0, 0, 0, 0.5),
    0 20px 48px rgba(0, 0, 0, 0.55), 0 0 80px rgba(44, 122, 102, 0.07);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

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

::selection {
  background: var(--color-primary);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-mint);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: 900px;
}

.section {
  position: relative;
  padding: 110px 0;
  perspective: 1300px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-block;
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-bottom: 20px;
}

.section-lead {
  color: var(--color-mist);
  max-width: 640px;
  font-size: 1.05rem;
}

.center {
  text-align: center;
}

.center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Glass ---------- */
.glass {
  background: rgba(44, 122, 102, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(44, 122, 102, 0.18);
  border-radius: 12px;
  box-shadow: var(--depth-shadow);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass,
  .nav {
    background: rgba(10, 20, 18, 0.9) !important;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 28px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background 0.3s ease, color 0.3s ease;
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text);
  box-shadow: 0 0 24px var(--color-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) translateZ(8px);
  box-shadow: 0 0 34px rgba(216, 154, 82, 0.55),
    0 12px 30px rgba(0, 0, 0, 0.5);
  background: #34917a;
}

.btn-ghost {
  background: rgba(44, 122, 102, 0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(216, 154, 82, 0.45);
  color: var(--color-text);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
  box-shadow: 0 0 24px rgba(216, 154, 82, 0.3);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-deep);
  box-shadow: 0 0 24px rgba(216, 154, 82, 0.4);
  font-weight: 700;
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 34px rgba(216, 154, 82, 0.6);
}

.link-arrow {
  color: var(--color-mint);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.link-arrow:hover {
  transform: translateZ(8px) translateX(4px);
  color: var(--color-accent);
}

/* ===========================================================
   NAV
   =========================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 20, 18, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: background 0.3s ease, backdrop-filter 0.3s ease,
    box-shadow 0.3s ease, border-color 0.3s ease;
}

.nav.scrolled {
  background: rgba(6, 12, 10, 0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(44, 122, 102, 0.5);
  box-shadow: 0 6px 30px rgba(44, 122, 102, 0.18);
}

.nav-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  color: var(--color-accent);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(216, 154, 82, 0.5));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--color-text);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--color-mist);
  position: relative;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-text);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  color: var(--color-text);
}

.hamburger svg {
  width: 26px;
  height: 26px;
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(6, 12, 10, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.drawer a {
  font-family: var(--font-head);
  font-size: 1.6rem;
  padding: 12px 20px;
  color: var(--color-mist);
}

.drawer a.active,
.drawer a:hover {
  color: var(--color-accent);
}

.drawer .btn {
  margin-top: 18px;
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  perspective: 1400px;
  padding-top: var(--nav-h);
}

.hero-layers {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero-bg {
  transform: translateZ(-200px) scale(1.25);
  background: radial-gradient(
      ellipse 120% 80% at 50% 118%,
      rgba(216, 154, 82, 0.34) 0%,
      rgba(216, 154, 82, 0.08) 26%,
      transparent 52%
    ),
    radial-gradient(
      ellipse 100% 70% at 50% 40%,
      rgba(44, 122, 102, 0.18) 0%,
      transparent 60%
    ),
    linear-gradient(180deg, #050C0A 0%, #0A1412 45%, #0C1D18 100%);
}

/* Fog banks */
.fog {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  background: radial-gradient(
    ellipse at center,
    rgba(184, 212, 204, 0.9) 0%,
    transparent 70%
  );
  will-change: transform;
}

.fog-1 {
  width: 60vw;
  height: 26vh;
  top: 42%;
  left: -10%;
  opacity: 0.1;
  animation: fogDrift 20s ease-in-out infinite alternate;
}
.fog-2 {
  width: 48vw;
  height: 20vh;
  top: 58%;
  left: 30%;
  opacity: 0.08;
  animation: fogDrift 26s ease-in-out infinite alternate-reverse;
}
.fog-3 {
  width: 52vw;
  height: 22vh;
  top: 30%;
  left: 20%;
  opacity: 0.06;
  animation: fogDrift 14s ease-in-out infinite alternate;
}
.fog-4 {
  width: 44vw;
  height: 18vh;
  top: 68%;
  left: -5%;
  opacity: 0.12;
  animation: fogDrift 22s ease-in-out infinite alternate-reverse;
}

@keyframes fogDrift {
  from {
    transform: translateX(-15%);
  }
  to {
    transform: translateX(15%);
  }
}

/* Pine ridges */
.hero-mid {
  transform: translateZ(-80px) scale(1.1);
}

.ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  will-change: transform;
}

.ridge-1 {
  height: 42vh;
  background: linear-gradient(180deg, #0d2822 0%, #071612 100%);
  clip-path: polygon(
    0% 100%, 0% 62%, 6% 48%, 12% 60%, 18% 40%, 24% 56%, 30% 38%,
    37% 54%, 44% 34%, 50% 52%, 57% 36%, 64% 54%, 71% 38%, 78% 56%,
    85% 40%, 92% 58%, 100% 46%, 100% 100%
  );
  opacity: 0.85;
}

.ridge-2 {
  height: 34vh;
  background: linear-gradient(180deg, #113630 0%, #081b16 100%);
  clip-path: polygon(
    0% 100%, 0% 70%, 8% 52%, 15% 68%, 23% 46%, 31% 64%, 39% 44%,
    48% 62%, 56% 42%, 65% 60%, 73% 46%, 82% 64%, 90% 48%, 100% 62%, 100% 100%
  );
  opacity: 0.9;
  box-shadow: 0 0 60px rgba(44, 122, 102, 0.25);
}

.ridge-3 {
  height: 24vh;
  background: linear-gradient(180deg, #1a4d43 0%, #0a241e 100%);
  clip-path: polygon(
    0% 100%, 0% 74%, 10% 58%, 20% 74%, 30% 54%, 42% 72%, 52% 52%,
    63% 70%, 74% 54%, 85% 72%, 95% 58%, 100% 70%, 100% 100%
  );
  opacity: 0.95;
}

.ridge-glow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22vh;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  box-shadow: 0 0 24px var(--color-glow);
  opacity: 0;
  animation: ridgeReveal 1.5s ease-out 0.4s forwards;
}

@keyframes ridgeReveal {
  to {
    opacity: 0.65;
  }
}

/* Needle particles */
.needles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.needle {
  position: absolute;
  top: -10vh;
  width: 2px;
  height: 12px;
  border-radius: 2px;
  opacity: 0;
  animation: needleFall linear infinite;
}

@keyframes needleFall {
  0% {
    transform: translateY(-10vh) translateX(0);
    opacity: 0;
  }
  20% {
    opacity: 0.5;
  }
  80% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(110vh) translateX(30px);
    opacity: 0;
  }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 5;
  transform-style: preserve-3d;
}

.hero-fg {
  transform: translateZ(40px);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.6vw, 5.4rem);
  max-width: 15ch;
  margin-bottom: 22px;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-mist) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--color-mist);
  max-width: 620px;
  margin-bottom: 14px;
}

.hero-clarifier {
  font-size: 0.9rem;
  color: var(--color-accent);
  margin-bottom: 30px;
  font-weight: 500;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.floaty {
  animation: float 5s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * 0.5s);
}

@keyframes float {
  from {
    transform: translateY(-9px);
  }
  to {
    transform: translateY(9px);
  }
}

.coord-tag {
  position: absolute;
  bottom: 26px;
  right: 26px;
  z-index: 6;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--color-mist);
  opacity: 0.28;
  transform: translateZ(20px);
}

/* Gliding drone */
.hero-drone {
  position: absolute;
  top: 30%;
  left: 0;
  width: 90px;
  color: var(--color-mist);
  z-index: 4;
  filter: drop-shadow(0 0 9px rgba(44, 122, 102, 0.8));
  animation: highlandGlide 14s linear infinite;
}

@keyframes highlandGlide {
  0% {
    transform: translateX(-6vw) translateY(0) translateZ(60px);
    opacity: 0;
  }
  8% {
    opacity: 0.9;
  }
  50% {
    transform: translateX(45vw) translateY(-38px) translateZ(60px);
  }
  92% {
    opacity: 0.9;
  }
  100% {
    transform: translateX(95vw) translateY(0) translateZ(60px);
    opacity: 0;
  }
}

/* Inner-page hero (shorter) */
.hero-inner {
  min-height: 62vh;
}

.hero-inner h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.4rem);
}

/* ===========================================================
   STATS BAR
   =========================================================== */
.stats {
  position: relative;
  z-index: 20;
  margin: -60px auto 0;
  max-width: 1080px;
  padding: 32px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  transform: translateZ(30px);
}

.stat {
  text-align: center;
  padding: 8px 12px;
  border-right: 1px solid var(--color-border);
  transition: transform 0.3s ease;
}

.stat:last-child {
  border-right: none;
}

.stat:hover {
  transform: translateY(-4px);
}

.stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  color: var(--color-primary);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.stat:hover .stat-num {
  color: var(--color-accent);
  text-shadow: 0 0 20px rgba(216, 154, 82, 0.5);
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-top: 6px;
}

/* ===========================================================
   3D ENTRANCE
   =========================================================== */
.reveal {
  opacity: 0;
  transform: rotateX(8deg) translateY(60px);
  transform-origin: center bottom;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: transform, opacity;
}

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

/* ===========================================================
   MISSION / TWO-COLUMN
   =========================================================== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  transform-style: preserve-3d;
}

.panel {
  padding: 40px;
  transform-style: preserve-3d;
}

.tilt {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.panel p {
  color: var(--color-mist);
  margin: 16px 0;
}

/* Blueprint schematic */
.blueprint {
  position: relative;
  min-height: 360px;
  padding: 30px;
  overflow: hidden;
  transform-style: preserve-3d;
}

.blueprint::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
      0deg,
      rgba(44, 122, 102, 0.12) 0px,
      rgba(44, 122, 102, 0.12) 1px,
      transparent 1px,
      transparent 28px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(44, 122, 102, 0.12) 0px,
      rgba(44, 122, 102, 0.12) 1px,
      transparent 1px,
      transparent 28px
    );
  opacity: 0.5;
  pointer-events: none;
}

.corner-bracket::after,
.corner-bracket::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-accent);
  opacity: 0.7;
}

.corner-bracket::before {
  top: 14px;
  left: 14px;
  border-right: none;
  border-bottom: none;
}

.corner-bracket::after {
  bottom: 14px;
  right: 14px;
  border-left: none;
  border-top: none;
}

.bp-anno {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--color-mint);
  letter-spacing: 0.06em;
}

/* CSS drone schematic */
.schematic {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 20px auto;
  transform-style: preserve-3d;
}

.sch-frame {
  position: absolute;
  inset: 42%;
  width: 16%;
  height: 16%;
  border: 2px solid var(--color-primary);
  border-radius: 4px;
  transform: translateZ(0);
}

.sch-arm {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44%;
  height: 2px;
  background: var(--color-primary);
  transform-origin: left center;
}

.sch-rotor {
  position: absolute;
  width: 66px;
  height: 66px;
  border: 2px dashed var(--color-mint);
  border-radius: 50%;
  transform: translateZ(40px);
  animation: spin 8s linear infinite;
}

.sch-sensor {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 14px var(--color-accent);
  transform: translateZ(60px);
}

@keyframes spin {
  to {
    transform: translateZ(40px) rotate(360deg);
  }
}

/* ===========================================================
   CARD GRID (prototypes)
   =========================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  transform-style: preserve-3d;
}

.card {
  position: relative;
  padding: 32px 28px;
  border-top: 3px solid var(--color-primary);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border-top: 2px solid var(--color-accent);
  border-right: 2px solid var(--color-accent);
  opacity: 0.6;
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  transform: translateZ(30px);
  display: inline-block;
}

.card h3 {
  font-size: 1.5rem;
  margin: 10px 0 12px;
}

.card p {
  color: var(--color-mist);
  font-size: 0.96rem;
  margin-bottom: 18px;
}

.card-icon {
  width: 68px;
  height: 68px;
  color: var(--color-mint);
  margin-bottom: 18px;
  filter: drop-shadow(0 0 8px rgba(127, 220, 192, 0.4));
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.chip {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  padding: 5px 11px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  color: var(--color-mist);
  transition: background 0.3s ease, color 0.3s ease;
}

.chip:hover {
  background: rgba(216, 154, 82, 0.16);
  color: var(--color-accent);
}

/* ===========================================================
   TECH PILLARS
   =========================================================== */
.pillars-section {
  position: relative;
  background: linear-gradient(180deg, #071612 0%, #050C0A 100%);
  clip-path: polygon(0 4vw, 100% 0, 100% calc(100% - 4vw), 0 100%);
  padding: 150px 0;
  margin: 40px 0;
}

.pillars-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 60% at 50% 50%,
    rgba(44, 122, 102, 0.16) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.pillars-section::after {
  content: "";
  position: absolute;
  top: 4vw;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(216, 154, 82, 0.6), transparent);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  transform-style: preserve-3d;
}

.pillar {
  padding: 32px 24px;
  text-align: center;
  transform: translateZ(20px);
}

.pine-icon {
  width: 72px;
  height: 84px;
  margin: 0 auto 20px;
  background: linear-gradient(180deg, var(--color-primary), #0f3129);
  clip-path: polygon(50% 0, 68% 34%, 58% 34%, 76% 64%, 62% 64%, 82% 92%, 18% 92%, 38% 64%, 24% 64%, 42% 34%, 32% 34%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow: 0 0 24px var(--color-glow);
}

.pine-icon svg {
  width: 30px;
  height: 30px;
  color: var(--color-mint);
  margin-bottom: 18px;
}

.pillar h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
}

.pillar p {
  color: var(--color-mist);
  font-size: 0.9rem;
}

/* ===========================================================
   APPLICATIONS STRIP
   =========================================================== */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.pill {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  padding: 14px 24px;
  border: 1px solid var(--color-border);
  border-radius: 40px;
  color: var(--color-mist);
  transition: transform 0.4s ease, background 0.3s ease, color 0.3s ease,
    box-shadow 0.3s ease;
  will-change: transform;
}

.pill:hover {
  background: rgba(216, 154, 82, 0.9);
  color: var(--color-deep);
  transform: translateY(-6px);
  box-shadow: 0 0 26px rgba(216, 154, 82, 0.45);
}

/* ===========================================================
   CTA BANNER
   =========================================================== */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 90% at 50% 120%,
    rgba(44, 122, 102, 0.28) 0%,
    transparent 60%
  );
  pointer-events: none;
}

.cta-panel {
  position: relative;
  z-index: 3;
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 40px;
  text-align: center;
  transform: translateZ(40px);
}

.cta-panel h2 {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  margin-bottom: 18px;
}

.cta-panel p {
  color: var(--color-mist);
  max-width: 560px;
  margin: 0 auto 30px;
}

/* ===========================================================
   FOOTER
   =========================================================== */
.footer {
  position: relative;
  border-top: 2px solid var(--color-primary);
  background: rgba(6, 12, 10, 0.6);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 64px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer h4 {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 16px;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.footer p,
.footer li {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
  list-style: none;
}

.footer a {
  color: var(--color-mist);
  transition: color 0.25s ease;
}

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

.footer .brand {
  margin-bottom: 16px;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-mist);
  transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.socials a svg {
  width: 18px;
  height: 18px;
}

.socials a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-3px);
  box-shadow: 0 0 20px var(--color-glow);
}

.disclaimer {
  font-size: 0.8rem !important;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 22px;
  max-width: 900px;
}

.copyright {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--color-muted);
  margin-top: 14px;
}

/* ===========================================================
   ABOUT PAGE
   =========================================================== */
.disclaimer-panel {
  border-left: 4px solid var(--color-primary);
  padding: 36px 40px;
}

.disclaimer-panel h2 {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.disclaimer-panel p {
  color: var(--color-mist);
  margin-bottom: 16px;
}

.pull-quote {
  padding: 60px 40px;
  text-align: center;
}

.pull-quote blockquote {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(1.6rem, 3.6vw, 2.6rem);
  color: var(--color-text);
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.2;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), transparent);
  box-shadow: 0 0 16px var(--color-glow);
}

.tl-item {
  position: relative;
  padding: 0 0 40px 30px;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 14px var(--color-accent);
  animation: pulseDot 1.9s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(216, 154, 82, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(216, 154, 82, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(216, 154, 82, 0);
  }
}

.tl-year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--color-accent);
  letter-spacing: 0.1em;
}

.tl-item h4 {
  font-size: 1.15rem;
  margin: 6px 0;
}

.tl-item p {
  color: var(--color-mist);
  font-size: 0.94rem;
}

.value-card {
  padding: 28px;
  border-left: 3px solid var(--color-primary);
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--color-mist);
  font-size: 0.92rem;
}

/* Team */
.team-card {
  padding: 32px 28px;
  text-align: center;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: radial-gradient(circle at 35% 30%, var(--color-mint), var(--color-primary) 55%, #0e2b24);
  box-shadow: 0 0 26px var(--color-glow), inset 0 0 20px rgba(216, 154, 82, 0.25);
}

.team-card h3 {
  font-size: 1.25rem;
}

.team-title {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  margin: 6px 0 12px;
}

.team-card p {
  color: var(--color-mist);
  font-size: 0.9rem;
}

/* ===========================================================
   PROTOTYPES / SPEC TABLES
   =========================================================== */
.proto-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  margin-bottom: 80px;
  transform-style: preserve-3d;
}

.proto-block.rev {
  direction: rtl;
}

.proto-block.rev > * {
  direction: ltr;
}

.proto-info h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  margin: 10px 0 14px;
}

.proto-info p {
  color: var(--color-mist);
  margin-bottom: 20px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  overflow: hidden;
  border-radius: 10px;
}

.spec-table th {
  background: rgba(44, 122, 102, 0.28);
  color: var(--color-text);
  text-align: left;
  padding: 12px 16px;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.spec-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-mist);
  background: rgba(44, 122, 102, 0.05);
}

.spec-table td.key {
  color: var(--color-accent);
  font-weight: 600;
}

/* ===========================================================
   TECHNOLOGY / PROGRESS BARS
   =========================================================== */
.progress-list {
  display: grid;
  gap: 26px;
  max-width: 780px;
  margin: 0 auto;
}

.progress-item .prog-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.prog-head .pct {
  color: var(--color-accent);
}

.prog-track {
  height: 12px;
  border-radius: 20px;
  background: rgba(44, 122, 102, 0.12);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.prog-fill {
  height: 100%;
  width: 0;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-mint));
  transition: width 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.prog-fill.full {
  box-shadow: 0 0 18px rgba(216, 154, 82, 0.6);
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.big-blueprint {
  position: relative;
  min-height: 440px;
  padding: 40px;
  overflow: hidden;
  transform-style: preserve-3d;
}

/* ===========================================================
   CONTACT
   =========================================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  transform-style: preserve-3d;
}

.form-panel {
  padding: 40px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--color-mist);
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 15px;
  background: rgba(10, 20, 18, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(44, 122, 102, 0.2);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field select option {
  background: var(--color-bg);
}

.field.error input,
.field.error select,
.field.error textarea {
  border-color: #d96a4a;
  box-shadow: 0 0 0 3px rgba(217, 106, 74, 0.18);
}

.err-msg {
  color: #e59275;
  font-size: 0.76rem;
  display: none;
}

.field.error .err-msg {
  display: block;
}

.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.spinner {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(127, 220, 192, 0.25);
  border-top-color: var(--color-mint);
  border-radius: 50%;
  animation: spin360 0.8s linear infinite;
  display: none;
}

@keyframes spin360 {
  to {
    transform: rotate(360deg);
  }
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 18px;
  border-radius: 10px;
  background: rgba(44, 122, 102, 0.12);
  border: 1px solid var(--color-border);
  color: var(--color-mist);
  animation: floatIn 0.6s ease-out;
}

.form-success svg {
  width: 30px;
  height: 30px;
  color: var(--color-mint);
  flex-shrink: 0;
}

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

.contact-details {
  padding: 40px;
  position: relative;
}

.accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-accent);
  border-radius: 12px 12px 0 0;
}

.contact-details h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.contact-details .meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.contact-details p {
  color: var(--color-mist);
  font-size: 0.92rem;
  margin-bottom: 8px;
}

/* CSS 3D map */
.map-3d {
  position: relative;
  margin-top: 26px;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  perspective: 700px;
  border: 1px solid var(--color-border);
}

.map-grid {
  position: absolute;
  inset: -40%;
  background-image: repeating-linear-gradient(
      0deg,
      rgba(44, 122, 102, 0.4) 0px,
      rgba(44, 122, 102, 0.4) 1px,
      transparent 1px,
      transparent 30px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(44, 122, 102, 0.4) 0px,
      rgba(44, 122, 102, 0.4) 1px,
      transparent 1px,
      transparent 30px
    );
  transform: rotateX(58deg);
  background-color: rgba(10, 20, 18, 0.5);
}

.map-dot {
  position: absolute;
  top: 44%;
  left: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-mint);
  box-shadow: 0 0 16px var(--color-mint);
  transform: translate(-50%, -50%);
  animation: mapPulse 1.9s infinite;
  z-index: 3;
}

@keyframes mapPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.9);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.map-coord {
  position: absolute;
  bottom: 10px;
  left: 12px;
  z-index: 4;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--color-mist);
  letter-spacing: 0.06em;
}

.map-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, #0d2822);
  clip-path: polygon(0 60%, 12% 40%, 24% 58%, 38% 34%, 52% 56%, 66% 36%, 80% 58%, 92% 42%, 100% 56%, 100% 100%, 0 100%);
  z-index: 2;
}

/* FAQ */
.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-item.open {
  border-left: 3px solid var(--color-primary);
}

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

.faq-q svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: transform 0.35s ease;
}

.faq-item.open .faq-q svg {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-a p {
  padding: 0 24px 24px;
  color: var(--color-mist);
  font-size: 0.95rem;
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

@media (max-width: 768px) {
  .nav-links,
  .nav-cta .btn {
    display: none;
  }
  .hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .two-col,
  .proto-block,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .proto-block.rev {
    direction: ltr;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 0;
  }
  .stat:nth-child(2) {
    border-right: none;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 80px 0;
  }
}

@media (max-width: 480px) {
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .two-fields {
    grid-template-columns: 1fr;
  }
  .panel,
  .form-panel,
  .contact-details {
    padding: 28px 22px;
  }
}

/* ===========================================================
   EXPANSION — pricing, checkout, blog, resources, global UI
   =========================================================== */

/* Breadcrumb */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--color-muted);
  padding: 18px 0 0;
}
.breadcrumb .wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}
.breadcrumb a {
  color: var(--color-mist);
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--color-accent);
}
.breadcrumb span[aria-current] {
  color: var(--color-accent);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 30px;
  border-radius: 20px;
}
.price-card.featured {
  border-color: rgba(216, 154, 82, 0.45);
  box-shadow: 0 0 40px rgba(216, 154, 82, 0.16);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 30px;
  background: var(--color-accent);
  color: var(--color-deep);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
}
.price-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin: 6px 0 4px;
}
.price-amount {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-mint);
  margin: 10px 0 6px;
}
.price-amount .unit {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--color-muted);
  font-weight: 400;
  margin-left: 4px;
}
.price-desc {
  color: var(--color-mist);
  font-size: 0.94rem;
  margin-bottom: 22px;
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.price-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--color-mist);
}
.price-features li svg {
  flex-shrink: 0;
  color: var(--color-mint);
  margin-top: 2px;
}

/* Comparison table */
.compare-wrap {
  overflow-x: auto;
  border-radius: 16px;
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
}
.compare-table th,
.compare-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}
.compare-table th {
  background: rgba(44, 122, 102, 0.16);
  color: var(--color-mist);
  font-weight: 500;
  text-align: center;
}
.compare-table th:first-child {
  text-align: left;
}
.compare-table td:first-child {
  color: var(--color-text);
  font-family: var(--font-body);
}
.compare-table td {
  text-align: center;
  color: var(--color-mist);
}
.compare-table .yes {
  color: var(--color-mint);
}
.compare-table .no {
  color: var(--color-muted);
  opacity: 0.5;
}

/* Add-ons */
.addon-card {
  text-align: left;
}
.addon-price {
  font-family: var(--font-mono);
  color: var(--color-accent);
  font-size: 0.95rem;
  margin-top: 8px;
  display: inline-block;
}

/* Checkout */
.checkout-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 30px;
  align-items: start;
}
.order-summary {
  padding: 34px 30px;
  border-left: 3px solid var(--color-primary);
  position: sticky;
  top: 100px;
}
.order-summary h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.order-line {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
}
.order-line.mono {
  font-family: var(--font-mono);
  color: var(--color-mist);
}
.order-addon {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--color-mist);
}
.order-addon input {
  accent-color: var(--color-accent);
}
.order-addon.selected {
  color: var(--color-accent);
}
.order-addon .a-price {
  margin-left: auto;
}
.order-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}
.order-total .amount {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--color-accent);
  text-shadow: 0 0 24px rgba(216, 154, 82, 0.35);
}
.order-extra-fields {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.checkout-form h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  margin: 26px 0 14px;
  color: var(--color-mist);
}
.checkout-form h3:first-child {
  margin-top: 0;
}
.payment-methods {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.pay-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  cursor: pointer;
  color: var(--color-mist);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pay-option input {
  accent-color: var(--color-accent);
}
.pay-option:has(input:checked) {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.card-fields {
  display: none;
}
.card-fields.show {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}
.card-fields .field:first-child {
  grid-column: 1 / -1;
}
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--color-mist);
  margin: 14px 0;
}
.checkbox-row input {
  margin-top: 3px;
  accent-color: var(--color-accent);
}
.checkbox-row a {
  color: var(--color-mint);
}

/* Security badges + trust */
.security-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.sec-badge {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-mist);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.sec-badge:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.trust-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin: 12px 0 8px;
}
.trust-card p {
  color: var(--color-mist);
  font-size: 0.9rem;
}

/* Testimonial carousel */
.carousel {
  position: relative;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-slide {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 10px;
}
@media (min-width: 768px) {
  .carousel-slide {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (min-width: 1100px) {
  .carousel-slide {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}
.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 30px;
}
.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: rgba(44, 122, 102, 0.08);
  color: var(--color-mist);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.carousel-arrow:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}
.carousel-dots {
  display: flex;
  gap: 8px;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}
.carousel-dot.active {
  background: var(--color-accent);
  transform: scale(1.3);
}

/* Partnership logos */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.logo-tile {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--color-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 10px;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.logo-tile:hover {
  color: var(--color-accent);
  border-color: rgba(216, 154, 82, 0.5);
  transform: translateY(-4px);
}
@media (max-width: 900px) {
  .logo-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Webinar banner */
.webinar-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 44px 46px;
}
.webinar-date {
  font-family: var(--font-mono);
  color: var(--color-accent);
  font-size: 0.86rem;
  margin-top: 6px;
}

/* Awards */
.award-badge {
  padding: 26px 20px;
  text-align: center;
}
.award-badge svg {
  width: 40px;
  height: 40px;
  color: var(--color-accent);
  margin: 0 auto 14px;
}
.award-badge p {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--color-mist);
  letter-spacing: 0.02em;
}

/* Live chat widget */
.chat-widget {
  position: fixed;
  right: 24px;
  bottom: 84px;
  z-index: 90;
  width: 260px;
  padding: 20px;
}
.chat-widget h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  margin-bottom: 6px;
}
.chat-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-mist);
  margin-bottom: 14px;
}
.chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6fce8e;
  box-shadow: 0 0 8px #6fce8e;
  animation: pulseDot 1.9s infinite;
}
@media (max-width: 768px) {
  .chat-widget {
    display: none;
  }
}

/* Contact method cards */
.contact-method-card {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-method-card .cm-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-method-card .cm-value {
  font-family: var(--font-head);
  font-size: 1.05rem;
}
.contact-method-card .cm-action {
  margin-top: 6px;
  font-size: 0.82rem;
  color: var(--color-mint);
}

/* Testimonials (base card) */
.testimonial-card {
  border-left: 3px solid var(--color-primary);
  padding: 32px 28px;
}
.testimonial-quote {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 20px;
}
.testimonial-quote::before {
  content: "\201C";
  color: var(--color-accent);
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 0;
  display: block;
  margin-bottom: 10px;
}
.testimonial-attribution {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--color-mist);
}
.testimonial-attribution strong {
  color: var(--color-accent);
  display: block;
  font-weight: 500;
}

/* Blog */
.blog-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 32px;
  align-items: start;
}
.blog-card {
  display: flex;
  flex-direction: column;
}
.blog-meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--color-muted);
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}
.blog-tag {
  background: rgba(216, 154, 82, 0.14);
  color: var(--color-accent);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}
.blog-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-card p {
  color: var(--color-mist);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 16px;
}
.blog-link {
  color: var(--color-mint);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s ease, text-shadow 0.2s ease;
}
.blog-link:hover {
  transform: translateZ(8px) translateX(3px);
  text-shadow: 0 0 12px var(--color-glow);
}
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 28px 24px;
  position: sticky;
  top: 100px;
}
.blog-sidebar h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--color-mist);
  margin-bottom: 14px;
}
.search-box {
  position: relative;
}
.search-box input {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 0.86rem;
}
.search-box input:focus {
  outline: none;
  border-color: var(--color-primary);
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  color: var(--color-mist);
  cursor: pointer;
  background: transparent;
  transition: all 0.2s ease;
}
.filter-pill.active,
.filter-pill:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.recent-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.recent-item a {
  font-family: var(--font-head);
  font-size: 0.94rem;
  color: var(--color-text);
  text-decoration: none;
  display: block;
  margin-bottom: 3px;
}
.recent-item a:hover {
  color: var(--color-mint);
  text-shadow: 0 0 10px var(--color-glow);
}
.recent-item span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-muted);
}

/* Resources */
.resource-group {
  margin-bottom: 60px;
}
.resource-group-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 26px;
}
.resource-group-head h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
}
.resource-card {
  display: flex;
  flex-direction: column;
}
.resource-meta {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--color-accent);
  margin-bottom: 10px;
}
.resource-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.resource-card p {
  color: var(--color-mist);
  font-size: 0.88rem;
  flex: 1;
  margin-bottom: 18px;
}
.resource-card .btn {
  align-self: flex-start;
}
.play-icon {
  width: 40px;
  height: 40px;
  color: var(--color-mint);
  margin-bottom: 12px;
}

/* Newsletter */
.newsletter {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin: 34px 0;
}
.newsletter-label {
  font-family: var(--font-body);
  color: var(--color-mist);
  font-size: 0.94rem;
}
.newsletter-form {
  display: flex;
  gap: 10px;
}
.newsletter-form input {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  min-width: 220px;
}
.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-primary);
}

/* Footer 5-col */
.footer-grid.five {
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-text);
  border: 1px solid rgba(216, 154, 82, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  box-shadow: 0 0 24px rgba(216, 154, 82, 0.45);
}

/* Cookie consent */
.cookie-consent {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  max-width: 620px;
  margin: 0 auto;
  padding: 20px 24px;
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  transform: translateY(140%);
  transition: transform 0.4s ease;
}
.cookie-consent.visible {
  transform: translateY(0);
}
.cookie-consent p {
  font-size: 0.86rem;
  color: var(--color-mist);
  flex: 1;
  min-width: 220px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
}

/* Search modal */
.search-trigger {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-mist);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-right: 6px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.search-trigger:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(5, 12, 10, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 20px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.search-panel {
  width: 100%;
  max-width: 560px;
  padding: 24px;
  border-radius: 18px;
}
.search-panel input {
  width: 100%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--color-text);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
.search-panel input:focus {
  outline: none;
  border-color: var(--color-primary);
}
.search-results {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 44vh;
  overflow-y: auto;
}
.search-results a {
  display: flex;
  flex-direction: column;
  padding: 12px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-text);
}
.search-results a:hover {
  background: rgba(44, 122, 102, 0.16);
}
.search-results a span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--color-muted);
}
.search-empty {
  margin-top: 16px;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-family: var(--font-mono);
}
.search-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--color-mist);
  cursor: pointer;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .checkout-grid,
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .order-summary,
  .blog-sidebar {
    position: static;
  }
  .footer-grid.five {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .card-fields.show {
    grid-template-columns: 1fr;
  }
  .card-fields .field:first-child {
    grid-column: auto;
  }
  .footer-grid.five {
    grid-template-columns: 1fr;
  }
  .newsletter {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Disable 3D on touch / small screens */
@media (hover: none), (max-width: 768px) {
  .tilt {
    transform: none !important;
  }
  .layer,
  .hero-fg,
  .hero-mid,
  .hero-bg,
  .ridge {
    transform: none !important;
  }
  .stats,
  .pillar,
  .cta-panel,
  .card-tag {
    transform: none !important;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.001ms !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .fog,
  .needle,
  .hero-drone {
    display: none !important;
  }
}

/* ---------- Resources page ---------- */
.resources-layout {
  display: grid;
  grid-template-columns: 2.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.resources-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.resource-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border-top: 3px solid var(--color-primary);
}
.resource-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  background: rgba(216, 154, 82, 0.12);
  border: 1px solid rgba(216, 154, 82, 0.3);
  margin-bottom: 14px;
}
.resource-icon svg {
  width: 22px;
  height: 22px;
}
.resource-card h3 {
  font-size: 1.08rem;
  margin: 0 0 6px;
}
.resource-meta {
  color: var(--color-muted);
  font-size: 0.78rem;
  margin-bottom: 18px;
}
.btn-sm {
  padding: 10px 20px;
  min-height: 40px;
  font-size: 0.86rem;
}

/* ---------- Blog post page ---------- */
.post-hero-image {
  perspective: 1000px;
}
.post-image-placeholder {
  height: 320px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(44, 122, 102, 0.35), rgba(216, 154, 82, 0.2)),
    radial-gradient(circle at 30% 30%, rgba(127, 220, 192, 0.25), transparent 60%);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-mint);
}
.post-image-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.7;
}
.post-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 32px;
  align-items: start;
}
.post-content {
  padding: 40px 36px;
  color: var(--color-mist);
  font-size: 1rem;
  line-height: 1.75;
}
.post-content h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--color-text);
  margin: 32px 0 14px;
}
.post-content p {
  margin-bottom: 16px;
}
.post-content ul {
  margin: 0 0 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.post-content blockquote {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-text);
  border-left: 3px solid var(--color-primary);
  padding: 8px 0 8px 22px;
  margin: 24px 0;
}
.code-block {
  background: rgba(10, 20, 18, 0.6);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--color-accent);
  font-size: 0.82rem;
  overflow-x: auto;
  margin: 20px 0;
}
.post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: sticky;
  top: 100px;
}
.post-sidebar .glass {
  padding: 26px 22px;
}
.post-sidebar h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--color-mist);
  margin-bottom: 14px;
}
.author-card {
  text-align: center;
}
.avatar-sphere {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: radial-gradient(circle at 35% 30%, var(--color-mint), var(--color-primary) 55%, #0e2b24);
  box-shadow: 0 0 22px var(--color-glow), inset 0 0 18px rgba(216, 154, 82, 0.25);
}
.share-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
}
.share-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-mist);
  border: 1px solid var(--color-border);
  transition: color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.share-icons a svg {
  width: 16px;
  height: 16px;
}
.share-icons a:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 14px var(--color-glow);
}
.related-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.related-pills .filter-pill {
  text-align: left;
  text-decoration: none;
}
.post-pagination {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .resources-layout,
  .post-layout {
    grid-template-columns: 1fr;
  }
  .resources-grid {
    grid-template-columns: 1fr 1fr;
  }
  .post-sidebar,
  .blog-sidebar {
    position: static;
  }
}

@media (max-width: 560px) {
  .resources-grid {
    grid-template-columns: 1fr;
  }
}
