/* =========================================================
   PlaneoAI — Design System
   ========================================================= */

:root {
  /* Brand */
  --c-bg: #0b1220;
  --c-bg-soft: #0f1830;
  --c-surface: #121d36;
  --c-surface-2: #16243f;
  --c-border: rgba(255, 255, 255, 0.08);
  --c-border-strong: rgba(255, 255, 255, 0.16);

  --c-text: #e7ecf5;
  --c-text-muted: #9aa6bd;
  --c-text-dim: #6b7793;

  --c-accent: #6ea8ff;          /* electric blue */
  --c-accent-2: #4ee5d3;        /* aurora teal */
  --c-accent-3: #b88bff;        /* violet */
  --c-warn: #ffb454;            /* compliance amber */

  --grad-hero: linear-gradient(120deg, #6ea8ff 0%, #4ee5d3 55%, #b88bff 100%);
  --grad-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  --grad-cta: linear-gradient(120deg, #6ea8ff 0%, #4ee5d3 100%);

  /* Type */
  --ff-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-display: "Space Grotesk", "Inter", system-ui, sans-serif;

  /* Radii / shadows / motion */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.25), 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 20px 60px -10px rgba(110, 168, 255, 0.35);

  --t-fast: 160ms cubic-bezier(0.2, 0.6, 0.2, 1);
  --t-med: 320ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* =========================================================
   Base
   ========================================================= */

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

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

body {
  margin: 0;
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--c-accent);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--c-accent-2);
}

h1,
h2,
h3,
h4 {
  font-family: var(--ff-display);
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
  color: var(--c-text-muted);
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--c-accent);
  color: #06122c;
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
  font-weight: 600;
  transition: top var(--t-fast);
}
.skip-link:focus {
  top: 16px;
}

.muted {
  color: var(--c-text-dim);
  font-weight: 500;
}

/* =========================================================
   Decorative background
   ========================================================= */

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 75%);
  z-index: -2;
  pointer-events: none;
}

.bg-glow {
  position: fixed;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  z-index: -1;
  pointer-events: none;
}

.bg-glow--one {
  background: radial-gradient(circle, rgba(110, 168, 255, 0.55), transparent 65%);
  top: -260px;
  left: -200px;
}

.bg-glow--two {
  background: radial-gradient(circle, rgba(78, 229, 211, 0.45), transparent 65%);
  top: 30vh;
  right: -260px;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.85), rgba(11, 18, 32, 0.55));
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med), background var(--t-med);
}

.site-header.is-scrolled {
  border-color: var(--c-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-text);
  font-weight: 700;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.brand:hover {
  color: var(--c-text);
}

.brand__mark {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  color: var(--c-accent);
  background: rgba(110, 168, 255, 0.12);
  border: 1px solid rgba(110, 168, 255, 0.25);
  border-radius: 9px;
}

.brand__mark svg {
  width: 20px;
  height: 20px;
}

.brand__accent {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.site-nav a {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover {
  color: var(--c-text);
}

.site-nav .btn {
  margin-left: 6px;
}

@media (max-width: 720px) {
  .site-nav {
    gap: 14px;
  }
  .site-nav a:not(.btn) {
    display: none;
  }
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast),
    border-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--t-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--sm {
  padding: 10px 16px;
  font-size: 0.9rem;
}

.btn--primary {
  background: var(--grad-cta);
  color: #06122c;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  transform: translateY(-1px);
  color: #06122c;
  box-shadow: 0 24px 60px -12px rgba(110, 168, 255, 0.55);
}

.btn--ghost {
  color: var(--c-text);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--c-border-strong);
}

.btn--ghost:hover {
  color: var(--c-text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  padding: clamp(56px, 9vw, 120px) 0 clamp(80px, 12vw, 140px);
}

.hero__inner {
  position: relative;
  max-width: 880px;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--c-border-strong);
  color: var(--c-text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 28px;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  background: var(--c-accent-2);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(78, 229, 211, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.65; }
}

.hero__title {
  margin-bottom: 24px;
}

.hero__title .strike {
  position: relative;
  color: var(--c-text-dim);
  font-weight: 600;
}

.hero__title .strike::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -2%;
  top: 55%;
  height: 3px;
  background: var(--c-text-dim);
  transform: rotate(-2deg);
  opacity: 0.7;
}

.gradient-text {
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--c-text-muted);
  max-width: 640px;
  margin-bottom: 36px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero__pills li {
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
}

/* Hero visual */
.hero__visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 1100px) {
  .hero__visual {
    opacity: 0.5;
    right: -120px;
  }
}

@media (max-width: 820px) {
  .hero__visual {
    display: none;
  }
}

/* Hero product mockups: chat agent + dashboard */
.mock {
  position: absolute;
  background: rgba(18, 29, 54, 0.85);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-md);
  padding: 18px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  font-size: 0.85rem;
  color: var(--c-text);
  animation: floatY 7s ease-in-out infinite;
}

.mock--chat {
  width: 320px;
  top: 4%;
  left: 0;
  transform: rotate(-3deg);
  z-index: 2;
}

.mock--dash {
  width: 340px;
  bottom: 0;
  right: 0;
  transform: rotate(3deg);
  animation-delay: -3.5s;
  z-index: 1;
}

@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

.mock__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
}

.mock__head--dash {
  justify-content: space-between;
}

.mock__avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--grad-cta);
  color: #06122c;
  font-family: var(--ff-display);
  font-weight: 700;
}

.mock__title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.mock__title strong {
  font-size: 0.9rem;
}

.mock__title small {
  font-size: 0.72rem;
  color: var(--c-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mock__live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent-2);
  box-shadow: 0 0 0 3px rgba(78, 229, 211, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

.mock__bubble {
  font-size: 0.82rem;
  line-height: 1.45;
  padding: 9px 12px;
  border-radius: 12px;
  margin-bottom: 8px;
  max-width: 85%;
}

.mock__bubble--agent {
  background: rgba(110, 168, 255, 0.14);
  border: 1px solid rgba(110, 168, 255, 0.3);
  border-top-left-radius: 4px;
  color: #dfe9ff;
}

.mock__bubble--user {
  background: rgba(78, 229, 211, 0.12);
  border: 1px solid rgba(78, 229, 211, 0.3);
  border-top-right-radius: 4px;
  margin-left: auto;
  color: #d6fff7;
}

.mock__bubble--typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px;
}

.mock__bubble--typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  opacity: 0.55;
  animation: typing 1.2s infinite ease-in-out;
}

.mock__bubble--typing span:nth-child(2) { animation-delay: 0.15s; }
.mock__bubble--typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-3px); opacity: 1; }
}

.mock__badge {
  font-size: 0.68rem;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(78, 229, 211, 0.15);
  border: 1px solid rgba(78, 229, 211, 0.4);
  color: #d6fff7;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mock__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.mock__stat {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--c-border);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.mock__stat--high { border-color: rgba(255, 110, 110, 0.45); background: rgba(255, 110, 110, 0.08); }
.mock__stat--med  { border-color: rgba(255, 180, 84, 0.45); background: rgba(255, 180, 84, 0.08); }
.mock__stat--low  { border-color: rgba(78, 229, 211, 0.45); background: rgba(78, 229, 211, 0.08); }

.mock__stat-num {
  display: block;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

.mock__stat--high .mock__stat-num { color: #ff8585; }
.mock__stat--med  .mock__stat-num { color: #ffc77a; }
.mock__stat--low  .mock__stat-num { color: #7eecda; }

.mock__stat-label {
  font-size: 0.68rem;
  color: var(--c-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mock__heat {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 56px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c-border);
  margin-bottom: 12px;
}

.mock__heat span {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 4px;
  background: var(--grad-cta);
  opacity: 0.85;
  animation: heatPulse 2.6s ease-in-out infinite;
}

.mock__heat span:nth-child(odd) {
  background: linear-gradient(180deg, var(--c-accent-3), var(--c-accent));
  animation-delay: -1.3s;
}

@keyframes heatPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

.mock__foot {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mock__foot span {
  font-size: 0.68rem;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--c-text-muted);
}

/* =========================================================
   Sections
   ========================================================= */

.section {
  padding: clamp(72px, 10vw, 120px) 0;
  position: relative;
}

.section__head {
  max-width: 760px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-accent-2);
  margin-bottom: 16px;
}

.section__lead {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  max-width: 640px;
  margin-inline: auto;
}

/* Solution flow */
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 16px;
}

.flow__step {
  background: var(--grad-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  transition: transform var(--t-med), border-color var(--t-med);
}

.flow__step:hover {
  transform: translateY(-4px);
  border-color: var(--c-border-strong);
}

.flow__num {
  display: inline-block;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--c-accent);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.flow__step h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.flow__step p {
  font-size: 0.95rem;
  margin: 0;
}

.flow__arrow {
  align-self: center;
  font-size: 1.4rem;
  color: var(--c-text-dim);
}

@media (max-width: 880px) {
  .flow {
    grid-template-columns: 1fr;
  }
  .flow__arrow {
    display: none;
  }
}

/* Benefits */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

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

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

.benefit {
  position: relative;
  background: var(--grad-card);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform var(--t-med), border-color var(--t-med),
    background var(--t-med);
}

.benefit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mx, 50%) var(--my, 0%),
    rgba(110, 168, 255, 0.12),
    transparent 40%
  );
  opacity: 0;
  transition: opacity var(--t-med);
  pointer-events: none;
}

.benefit:hover {
  transform: translateY(-4px);
  border-color: var(--c-border-strong);
}

.benefit:hover::before {
  opacity: 1;
}

.benefit__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(110, 168, 255, 0.12);
  border: 1px solid rgba(110, 168, 255, 0.25);
  color: var(--c-accent);
  margin-bottom: 22px;
}

.benefit__icon svg {
  width: 22px;
  height: 22px;
}

.benefit h3 {
  font-size: 1.2rem;
  color: var(--c-text);
  margin-bottom: 12px;
}

.benefit p {
  font-size: 0.95rem;
}

.benefit p strong {
  color: var(--c-text);
  font-weight: 600;
}

.benefit__why {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--c-border);
  font-size: 0.88rem;
  color: var(--c-text-dim);
}

.benefit__why span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent-2);
  margin-bottom: 6px;
}

.benefit__why em {
  color: var(--c-text-muted);
  font-style: italic;
}

.benefit--cta {
  background: linear-gradient(140deg, rgba(110, 168, 255, 0.18), rgba(78, 229, 211, 0.08));
  border-color: rgba(110, 168, 255, 0.35);
  align-items: flex-start;
  justify-content: center;
}

.benefit--cta h3 {
  font-size: 1.4rem;
}

.benefit--cta p {
  color: var(--c-text-muted);
  margin-bottom: 22px;
}

/* =========================================================
   Expertise
   ========================================================= */

.expertise {
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 56px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  position: relative;
  overflow: hidden;
}

.expertise::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(
    from 180deg at 50% 50%,
    rgba(110, 168, 255, 0.18),
    rgba(78, 229, 211, 0.18),
    rgba(184, 139, 255, 0.18),
    rgba(110, 168, 255, 0.18)
  );
  border-radius: var(--r-xl);
  z-index: -1;
  opacity: 0.5;
  filter: blur(40px);
}

.expertise__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
}

.built-by {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 14px;
  margin-bottom: 20px;
  border: 1px solid var(--c-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  color: var(--c-text-muted);
  transition: border-color var(--t-fast), background var(--t-fast),
    transform var(--t-fast);
}

.built-by:hover {
  border-color: var(--c-border-strong);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.built-by__label {
  font-family: var(--ff-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

.built-by__logo {
  height: 22px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 40px;
}

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

.stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat__num {
  font-family: var(--ff-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--c-text-muted);
}

.expertise__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.expertise__card {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  transition: transform var(--t-med), border-color var(--t-med);
}

.expertise__card:hover {
  transform: translateY(-3px);
  border-color: var(--c-border-strong);
}

.expertise__card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.expertise__card p {
  margin: 0;
  font-size: 0.95rem;
}

.trust-strip {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
  text-align: center;
}

.trust-strip__label {
  font-family: var(--ff-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin: 0 0 20px;
}

.trust-strip__logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: center;
}

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

.trust-strip__logos li {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  padding: 14px 18px;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.92);
  transition: background var(--t-fast), border-color var(--t-fast),
    transform var(--t-fast);
}

.trust-strip__logos li:hover {
  background: #ffffff;
  border-color: var(--c-border-strong);
  transform: translateY(-2px);
}

.trust-strip__logos img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* =========================================================
   CTA
   ========================================================= */

.section--cta {
  padding-bottom: clamp(48px, 8vw, 96px);
}

.cta-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  padding: clamp(36px, 5vw, 56px);
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, rgba(110, 168, 255, 0.18), rgba(78, 229, 211, 0.08));
  border: 1px solid rgba(110, 168, 255, 0.3);
  box-shadow: var(--shadow-glow);
}

@media (max-width: 820px) {
  .cta-card {
    grid-template-columns: 1fr;
  }
}

.cta-card h2 {
  margin-bottom: 14px;
}

.cta-card p {
  color: var(--c-text-muted);
  margin: 0;
}

.cta-card__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 820px) {
  .cta-card__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--c-border);
  padding: 36px 0 48px;
  margin-top: 32px;
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer__brand p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: var(--c-text-dim);
}

.site-footer__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-text-dim);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.site-footer__meta .dot {
  opacity: 0.6;
}

/* =========================================================
   Reveal animation
   ========================================================= */

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms cubic-bezier(0.2, 0.6, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

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

/* =========================================================
   Innovation page
   ========================================================= */

.page-hero {
  padding: clamp(64px, 10vw, 120px) 0 clamp(40px, 6vw, 64px);
  text-align: center;
}

.page-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin: 14px auto 24px;
  max-width: 14ch;
}

.page-hero__subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--c-text-muted);
  max-width: 680px;
  margin: 0 auto 36px;
}

.page-hero__awards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.award-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-border-strong);
  color: var(--c-text);
  font-size: 0.88rem;
  font-weight: 500;
}

.award-pill svg {
  width: 16px;
  height: 16px;
  color: var(--c-warn);
}

.award-pill--soon {
  background: linear-gradient(120deg, rgba(110, 168, 255, 0.16), rgba(78, 229, 211, 0.08));
  border-color: rgba(110, 168, 255, 0.4);
}

.section--cases {
  padding-top: clamp(40px, 6vw, 80px);
}

/* A single case study row */
.case {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 6vw, 72px) 0;
  border-bottom: 1px dashed var(--c-border);
}

.case:last-child {
  border-bottom: none;
}

.case--reverse .case__meta {
  order: 2;
}

@media (max-width: 880px) {
  .case,
  .case--reverse {
    grid-template-columns: 1fr;
  }
  .case--reverse .case__meta {
    order: 0;
  }
}

.case__meta h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin: 14px 0 16px;
}

.case__client {
  display: inline-block;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-right: 12px;
}

.case__year {
  font-size: 0.85rem;
  color: var(--c-text-dim);
  letter-spacing: 0.04em;
}

.case__stats {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.case__stats li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
  color: var(--c-text-muted);
}

.case__stats li span {
  font-family: var(--ff-display);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.case__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.case__tags span {
  font-size: 0.78rem;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
}

/* Case visuals */
.case__visual {
  display: grid;
  place-items: center;
  min-height: 420px;
  position: relative;
}

.case__visual::before {
  content: "";
  position: absolute;
  inset: 10% -10%;
  background: radial-gradient(ellipse at center, rgba(110, 168, 255, 0.18), transparent 65%);
  filter: blur(40px);
  z-index: 0;
}

.case__visual > * {
  position: relative;
  z-index: 1;
}

/* Phone mockup */
.phone {
  width: 280px;
  height: 560px;
  border-radius: 38px;
  background: #06122c;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6),
    inset 0 0 0 6px #0b1220, inset 0 0 0 7px rgba(255, 255, 255, 0.08);
  position: relative;
  padding: 18px 14px;
  animation: floatY 7s ease-in-out infinite;
}

.phone__notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #06122c;
  border-radius: 14px;
  z-index: 2;
}

.phone__screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #0e1a36, #121d36);
  border-radius: 28px;
  padding: 38px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.phone__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--c-text-muted);
  padding-bottom: 6px;
}

.phone__brand {
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--c-text);
}

/* Phone — Quick Quote camera */
.phone__camera {
  position: relative;
  height: 180px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1c2c52, #0e1830);
  border: 1px solid var(--c-border-strong);
  overflow: hidden;
}

.phone__frame {
  position: absolute;
  inset: 30px;
  border: 2px dashed rgba(78, 229, 211, 0.55);
  border-radius: 12px;
}

.phone__scan {
  position: absolute;
  left: 30px;
  right: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-accent-2), transparent);
  top: 30px;
  animation: scanY 2.4s ease-in-out infinite;
  box-shadow: 0 0 12px var(--c-accent-2);
}

@keyframes scanY {
  0%, 100% { top: 30px; }
  50% { top: calc(100% - 32px); }
}

.phone__detect {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(78, 229, 211, 0.08);
  border: 1px solid rgba(78, 229, 211, 0.3);
}

.phone__detect strong { font-size: 0.9rem; }
.phone__detect small { font-size: 0.72rem; color: var(--c-text-muted); }

.phone__quote {
  margin-top: auto;
  padding: 14px;
  border-radius: 12px;
  background: var(--grad-cta);
  color: #06122c;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.phone__quote-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.phone__quote-value {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}

.phone__quote-meta {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.8;
}

/* Phone — Digital ID */
.id-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  background: rgba(255, 255, 255, 0.02);
}

.id-step--done {
  border-color: rgba(78, 229, 211, 0.4);
  background: rgba(78, 229, 211, 0.06);
}

.id-step--active {
  border-color: rgba(110, 168, 255, 0.4);
  background: rgba(110, 168, 255, 0.08);
}

.id-step__num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--c-text);
}

.id-step--done .id-step__num {
  background: var(--c-accent-2);
  color: #06122c;
}

.id-step--active .id-step__num {
  background: var(--c-accent);
  color: #06122c;
}

.id-step strong { font-size: 0.86rem; display: block; }
.id-step small { font-size: 0.72rem; color: var(--c-text-muted); }

.id-step > div { flex: 1; }

.id-step__check {
  color: var(--c-accent-2);
  font-weight: 700;
  font-size: 1.1rem;
}

.id-status {
  margin-top: auto;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--c-text-muted);
}

.id-status__bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.id-status__bar span {
  display: block;
  height: 100%;
  width: 70%;
  background: var(--grad-cta);
  animation: progress 2.4s ease-in-out infinite;
}

@keyframes progress {
  0% { width: 25%; }
  50% { width: 80%; }
  100% { width: 25%; }
}

/* Athora dashboard mockup */
.dashboard {
  width: min(380px, 100%);
  background: rgba(18, 29, 54, 0.85);
  border: 1px solid var(--c-border-strong);
  border-radius: var(--r-lg);
  padding: 22px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: floatY 7s ease-in-out infinite;
}

.dashboard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dashboard__live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dashboard__balance {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(110, 168, 255, 0.18), rgba(78, 229, 211, 0.08));
  border: 1px solid rgba(110, 168, 255, 0.3);
}

.dashboard__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-text-muted);
}

.dashboard__value {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.8rem;
  background: var(--grad-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.dashboard__delta {
  font-size: 0.78rem;
  color: var(--c-accent-2);
  font-weight: 600;
}

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

.dashboard__row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c-border);
}

.dashboard__row span:last-child {
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--c-text);
}

.dashboard__chart {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
}

.dashboard__chart span {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 4px;
  background: var(--grad-cta);
  opacity: 0.85;
  animation: heatPulse 3.2s ease-in-out infinite;
}

.dashboard__chart span:nth-child(odd) {
  background: linear-gradient(180deg, var(--c-accent-3), var(--c-accent));
}

/* Bridge section */
.section--bridge {
  padding-top: clamp(40px, 6vw, 80px);
}

.bridge {
  text-align: center;
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  padding: clamp(36px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}

.bridge::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: conic-gradient(
    from 180deg at 50% 50%,
    rgba(110, 168, 255, 0.18),
    rgba(78, 229, 211, 0.18),
    rgba(184, 139, 255, 0.18),
    rgba(110, 168, 255, 0.18)
  );
  border-radius: var(--r-xl);
  z-index: -1;
  opacity: 0.5;
  filter: blur(40px);
}

.bridge h2 {
  margin: 12px auto 32px;
  max-width: 22ch;
}

.bridge__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
  text-align: left;
}

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

.bridge__item {
  padding: 22px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c-border);
}

.bridge__item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--c-text);
}

.bridge__item p {
  font-size: 0.92rem;
  margin: 0;
}

.bridge__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* =========================================================
   Meet Plana + What is AI governance
   ========================================================= */

.section--plana {
  position: relative;
}

.plana {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

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

.plana__card {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border-strong);
  padding: clamp(28px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}

.plana__card--intro::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(140deg, rgba(110, 168, 255, 0.5), rgba(78, 229, 211, 0.35), transparent 60%);
  border-radius: var(--r-lg);
  z-index: -1;
  opacity: 0.5;
  filter: blur(24px);
}

.plana__head {
  display: flex;
  align-items: center;
  gap: 16px;
}

.plana__avatar {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.6rem;
  background: var(--grad-cta);
  color: #06122c;
  box-shadow: 0 12px 32px -8px rgba(110, 168, 255, 0.55);
  flex-shrink: 0;
}

.plana__avatar > span:first-child {
  line-height: 1;
}

.plana__online {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-accent-2);
  border: 3px solid var(--c-bg);
  box-shadow: 0 0 0 3px rgba(78, 229, 211, 0.18);
  animation: pulse 2.4s ease-in-out infinite;
}

.plana__head h3 {
  font-size: 1.6rem;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}

.plana__role {
  margin: 0;
  font-size: 0.92rem;
  color: var(--c-accent-2);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.plana__quote {
  margin: 0;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: rgba(110, 168, 255, 0.08);
  border-left: 3px solid var(--c-accent);
  color: var(--c-text);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.55;
}

.plana__list-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin: 0;
}

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

.plana__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.plana__list strong {
  color: var(--c-text);
  font-weight: 600;
  margin-right: 4px;
}

.plana__bullet {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(110, 168, 255, 0.14);
  border: 1px solid rgba(110, 168, 255, 0.35);
  color: var(--c-accent);
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 2px;
}

.plana__card--intro .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Explainer card */
.plana__card--explainer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.plana__kicker {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent-2);
}

.plana__h3 {
  font-size: 1.6rem;
  margin: 0;
}

.plana__lead {
  margin: 0;
  font-size: 1rem;
  color: var(--c-text-muted);
}

.plana__footnote {
  margin: 0;
  padding-top: 12px;
  border-top: 1px dashed var(--c-border);
  font-size: 0.88rem;
  color: var(--c-text-dim);
  font-style: italic;
}

.qa {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  counter-reset: qa;
}

.qa__item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--c-border);
  transition: transform var(--t-med), border-color var(--t-med);
}

.qa__item:hover {
  transform: translateX(2px);
  border-color: var(--c-border-strong);
}

.qa__num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(110, 168, 255, 0.12);
  border: 1px solid rgba(110, 168, 255, 0.3);
  color: var(--c-accent);
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1rem;
}

.qa__item h4 {
  margin: 0 0 6px;
  font-family: var(--ff-display);
  font-size: 1.02rem;
  color: var(--c-text);
}

.qa__item p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--c-text-muted);
}

.qa__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(78, 229, 211, 0.1);
  border: 1px solid rgba(78, 229, 211, 0.3);
  color: var(--c-accent-2);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}
