/* ═══════════════════════════════════════════
   DESIGN SYSTEM — LIGHT THEME
   ═══════════════════════════════════════════ */
:root {
  --navy: #eef3ff;
  --navy-deep: #ffffff;
  --navy-mid: #f4f6fb;
  --teal: #2b7fff;
  --teal-light: #1f6fe5;
  --teal-dim: rgba(43,127,255,0.10);
  --teal-glow: rgba(43,127,255,0.06);
  --orange: #e8794a;
  --orange-dim: rgba(232,121,74,0.1);
  --white: #0f172a;
  --white-pure: #ffffff;
  --gray-50: #1f2937;
  --gray-100: #2b3344;
  --gray-300: #51596b;
  --gray-500: #8a92a4;
  --gray-700: #d9dee8;
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-card: 0 1px 3px rgba(15,23,42,0.05), 0 10px 30px rgba(15,23,42,0.06);
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-display);
  background: var(--navy-deep);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 3rem; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 4px 20px rgba(15,23,42,0.04);
  transition: background 0.3s;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.65rem;
  font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em;
}
.nav-logo-mark {
  width: 34px; height: 34px; background: var(--teal); border-radius: 9px;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
  color: var(--white-pure); letter-spacing: 0.02em;
}
.nav-logo img { height: 28px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 500; color: var(--gray-300);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--white); background: rgba(15,23,42,0.05); }
.nav-link.active { color: var(--teal-light); }
.nav-cta-btn {
  margin-left: 0.75rem; padding: 0.55rem 1.3rem;
  background: var(--teal); color: var(--white-pure);
  border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta-btn:hover { background: var(--teal-light); transform: translateY(-1px); }

/* Nav dropdown */
.nav-dropdown { position: relative; display: flex; align-items: center; align-self: stretch; }
.nav-dropdown-toggle {
  display: flex; align-items: center; gap: 0.3rem;
  background: none; border: none;
  padding: 0.5rem 1rem; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.88rem; font-weight: 500;
  color: var(--gray-300); cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown-toggle svg { width: 10px; height: 10px; transition: transform 0.25s; }
.nav-dropdown:hover .nav-dropdown-toggle { color: var(--white); background: rgba(15,23,42,0.05); }
.nav-dropdown:hover .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0;
  min-width: 190px;
  background: var(--white-pure);
  border: 1px solid rgba(15,23,42,0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 34px rgba(15,23,42,0.14);
  padding: 0.4rem;
  display: flex; flex-direction: column; gap: 0.1rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-link {
  padding: 0.6rem 0.8rem; border-radius: var(--radius-sm);
  font-size: 0.88rem; font-weight: 500; color: var(--gray-300);
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.nav-dropdown-link:hover { color: var(--teal); background: var(--teal-dim); }
.nav-dropdown-toggle.active { color: var(--teal-light); }
.nav-dropdown-link.active { color: var(--teal); }

/* Mobile hamburger */
.nav-hamburger {
  display: none; background: none; border: none; padding: 0.5rem;
  color: var(--white); cursor: pointer;
}
.nav-hamburger svg { width: 24px; height: 24px; }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--white-pure); border-bottom: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 12px 30px rgba(15,23,42,0.1);
  padding: 1rem; flex-direction: column; gap: 0.25rem; z-index: 999;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { padding: 0.75rem 1rem; width: 100%; }

/* ═══════════════════════════════════════════
   SHARED PRIMITIVES
   ═══════════════════════════════════════════ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; position: relative; }
.section-dark { background: var(--navy-deep); }
.section-mid { background: var(--navy-mid); }
.section-navy { background: linear-gradient(180deg, #eef3ff 0%, #e6edfd 100%); }
.section-dark, .section-navy { border-top: 1px solid rgba(15,23,42,0.06); }

.label {
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700;
  color: var(--teal); text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 0.75rem; display: block;
}
.heading-xl {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800; line-height: 1.06; letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.heading-lg {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.heading-md {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 600; line-height: 1.25; letter-spacing: -0.015em;
}
.text-body {
  font-size: 1.05rem; line-height: 1.7; color: var(--gray-300);
  max-width: 580px;
}
.text-body-wide { max-width: 680px; }
.teal { color: var(--teal); }
.teal-light { color: var(--teal-light); }

.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem; border-radius: var(--radius-md);
  font-size: 0.95rem; font-weight: 600;
  transition: all 0.25s var(--ease-smooth);
}
.btn-primary { background: var(--teal); color: var(--white-pure); box-shadow: 0 4px 14px rgba(43,127,255,0.25); }
.btn-primary:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(43,127,255,0.3); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(15,23,42,0.18);
}
.btn-outline:hover { border-color: rgba(15,23,42,0.4); background: rgba(15,23,42,0.03); }
.btn-ghost { background: transparent; color: var(--teal); padding: 0.5rem 0; }
.btn-ghost:hover { color: var(--teal-light); }
.btn-ghost::after { content: ' →'; }

.card {
  background: var(--white-pure);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.card:hover {
  border-color: rgba(43,127,255,0.35);
  box-shadow: 0 8px 30px rgba(43,127,255,0.13);
  transform: translateY(-2px);
}

/* Staggered fade-in */
.fade-up {
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.7s var(--ease-out) forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 8rem 0 5rem; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute;
  top: -30%; right: -15%; width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(43,127,255,0.10) 0%, transparent 55%);
  pointer-events: none;
  animation: hero-glow 10s ease-in-out infinite;
}
@keyframes hero-glow {
  0%, 100% { opacity: 0.6; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.08) rotate(3deg); }
}
/* Subtle grid lines */
.hero::after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(15,23,42,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; position: relative; z-index: 1;
}
.hero-text { max-width: 560px; }
.hero-overline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  color: var(--teal-light); letter-spacing: 0.06em;
  margin-bottom: 1.75rem;
  background: var(--teal-dim); padding: 0.4rem 1rem; border-radius: 100px;
  border: 1px solid rgba(43,127,255,0.2);
}
.hero-overline-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal);
  animation: blink 2.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1}50%{opacity:0.25} }

.hero-title { margin-bottom: 1.75rem; }
.hero-desc {
  font-size: 1.15rem; line-height: 1.7; color: var(--gray-300);
  margin-bottom: 2.5rem; max-width: 480px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-platforms {
  font-size: 0.78rem; color: var(--gray-500); font-weight: 500;
  display: flex; align-items: center; gap: 0.5rem;
}
.hero-platforms::before {
  content: ''; width: 24px; height: 1px; background: var(--gray-700);
}

/* Hero visual — device mockup with floating elements */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-device {
  width: 100%; max-width: 480px;
  background: var(--white-pure);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--radius-xl); padding: 1.75rem;
  box-shadow: 0 30px 80px rgba(15,23,42,0.14), inset 0 1px 0 rgba(255,255,255,0.8);
}
.device-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
}
.device-title {
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
  color: var(--gray-300); text-transform: uppercase; letter-spacing: 0.1em;
}
.device-status {
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700;
  color: var(--teal); background: var(--teal-dim);
  padding: 0.2rem 0.55rem; border-radius: 4px;
}

/* Mini task list */
.task-list { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.task-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 0.9rem; border-radius: var(--radius-sm);
  background: #f4f6fb;
  border: 1px solid rgba(15,23,42,0.06);
  font-size: 0.82rem; color: var(--gray-100);
  transition: all 0.3s;
}
.task-item:nth-child(1) { animation: slideIn 0.5s 0.8s var(--ease-out) both; }
.task-item:nth-child(2) { animation: slideIn 0.5s 1s var(--ease-out) both; }
.task-item:nth-child(3) { animation: slideIn 0.5s 1.2s var(--ease-out) both; }
.task-item:nth-child(4) { animation: slideIn 0.5s 1.4s var(--ease-out) both; }
@keyframes slideIn { from { opacity:0; transform:translateX(-12px); } to { opacity:1; transform:translateX(0); } }

.task-check {
  width: 20px; height: 20px; border-radius: 6px; flex-shrink: 0;
  display: grid; place-items: center;
}
.task-check.done { background: var(--teal-dim); }
.task-check.done svg { width: 12px; height: 12px; stroke: var(--teal); fill: none; stroke-width: 2.5; }
.task-check.pending { border: 1.5px solid var(--gray-700); background: transparent; }
.task-check.auto { background: var(--teal); }
.task-check.auto svg { stroke: var(--white-pure); }
.task-time {
  margin-left: auto; font-family: var(--font-mono); font-size: 0.6rem;
  color: var(--gray-500);
}
.task-auto-tag {
  margin-left: auto; font-family: var(--font-mono); font-size: 0.55rem;
  font-weight: 700; color: var(--teal); background: var(--teal-dim);
  padding: 0.15rem 0.45rem; border-radius: 3px; letter-spacing: 0.04em;
}

.device-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
  padding-top: 1.25rem; border-top: 1px solid rgba(15,23,42,0.08);
}
.stat-val {
  font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 0.15rem;
}
.stat-label {
  font-family: var(--font-mono); font-size: 0.55rem;
  color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.08em;
}

/* Floating badge */
.hero-float {
  position: absolute; animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-float-motion {
  top: -0.5rem; right: -1rem;
  background: var(--white-pure); border: 1px solid rgba(43,127,255,0.3);
  border-radius: var(--radius-md); padding: 0.75rem 1rem;
  box-shadow: 0 12px 32px rgba(15,23,42,0.13);
  animation-delay: 0s;
}
.hero-float-motion .hf-title {
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700;
  color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.hero-float-motion .hf-desc {
  font-size: 0.72rem; color: var(--gray-300);
}

/* ═══════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════ */
.stats-bar {
  padding: 3rem 0;
  background: var(--navy);
  border-top: 1px solid rgba(15,23,42,0.07);
  border-bottom: 1px solid rgba(15,23,42,0.07);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  text-align: center;
}
.stats-number {
  font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}
.stats-text {
  font-size: 0.82rem; color: var(--gray-300); font-weight: 500;
}

/* ═══════════════════════════════════════════
   CHALLENGE SECTION
   ═══════════════════════════════════════════ */
.challenge-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.challenge-visual {
  background: var(--navy); border-radius: var(--radius-xl);
  padding: 2.5rem; border: 1px solid rgba(15,23,42,0.07);
  position: relative; overflow: hidden;
}
.challenge-flow {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.flow-step {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.6rem 0.75rem; border-radius: var(--radius-sm);
  font-size: 0.78rem; color: var(--gray-300);
  background: var(--white-pure);
  border-left: 2px solid var(--gray-700);
}
.flow-step .flow-icon {
  width: 20px; font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--gray-500); text-align: center; flex-shrink: 0;
}
.flow-divider {
  text-align: center; padding: 0.5rem 0;
  font-family: var(--font-mono); font-size: 0.65rem; font-weight: 700;
  color: var(--teal); letter-spacing: 0.1em;
}
.flow-step.solution {
  border-left-color: var(--teal); background: var(--teal-dim);
  color: var(--teal-light);
}

/* ═══════════════════════════════════════════
   PLATFORM SECTION
   ═══════════════════════════════════════════ */
.platform-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 2rem;
}
.platform-card { position: relative; overflow: hidden; }
.platform-card-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--teal-dim); display: grid; place-items: center;
  margin-bottom: 1.25rem;
}
.platform-card-icon svg {
  width: 22px; height: 22px; stroke: var(--teal); fill: none; stroke-width: 1.5;
}
.platform-card h3 {
  font-size: 1.1rem; font-weight: 600; margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.platform-card p { font-size: 0.85rem; line-height: 1.6; color: var(--gray-300); }
.platform-card .card-tag {
  display: inline-block; margin-top: 1rem;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700;
  color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.08em;
  background: #eef1f6; padding: 0.2rem 0.55rem; border-radius: 4px;
}

/* ═══════════════════════════════════════════
   MOTION IQ SECTION
   ═══════════════════════════════════════════ */
#motion-iq .motion-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.motion-steps { display: flex; flex-direction: column; gap: 1.5rem; }
.motion-step {
  display: flex; gap: 1.25rem; align-items: flex-start;
}
.motion-step-num {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 10px;
  background: var(--teal-dim); display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; color: var(--teal);
}
.motion-step h4 { font-size: 1rem; font-weight: 600; margin-bottom: 0.3rem; }
.motion-step p { font-size: 0.85rem; line-height: 1.6; color: var(--gray-300); }

.motion-signals {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.signal-card {
  background: var(--white-pure); border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--radius-md); padding: 1.5rem; text-align: center;
  box-shadow: var(--shadow-card);
}
.signal-card svg {
  width: 28px; height: 28px; stroke: var(--teal); fill: none; stroke-width: 1.5;
  margin: 0 auto 0.75rem;
}
.signal-card h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.3rem; }
.signal-card p { font-size: 0.75rem; color: var(--gray-500); line-height: 1.5; }

/* ═══════════════════════════════════════════
   SHIFTS IQ SECTION
   ═══════════════════════════════════════════ */
.shifts-features {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem;
  margin-top: 2.5rem;
}
.shift-feat {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.5rem; border-radius: var(--radius-md);
  background: var(--white-pure); border: 1px solid rgba(15,23,42,0.08);
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.shift-feat:hover { border-color: rgba(43,127,255,0.35); box-shadow: 0 8px 26px rgba(43,127,255,0.12); }
.shift-feat-icon {
  width: 36px; height: 36px; flex-shrink: 0; border-radius: 9px;
  background: var(--teal-dim); display: grid; place-items: center;
}
.shift-feat-icon svg { width: 18px; height: 18px; stroke: var(--teal); fill: none; stroke-width: 1.5; }
.shift-feat h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 0.25rem; }
.shift-feat p { font-size: 0.8rem; color: var(--gray-300); line-height: 1.5; }

/* ═══════════════════════════════════════════
   USE CASES
   ═══════════════════════════════════════════ */
.use-cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}
.uc-card { position: relative; overflow: hidden; }
.uc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--teal); opacity: 0; transition: opacity 0.3s;
}
.uc-card:hover::before { opacity: 1; }
.uc-industry {
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700;
  color: var(--teal); text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}
.uc-card h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
.uc-card p { font-size: 0.82rem; line-height: 1.6; color: var(--gray-300); margin-bottom: 1rem; }

/* ═══════════════════════════════════════════
   PRIVACY
   ═══════════════════════════════════════════ */
.privacy-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  margin-top: 2rem;
}
.priv-card { padding: 2rem; border-radius: var(--radius-lg); }
.priv-yes {
  background: rgba(43,127,255,0.07);
  border: 1px solid rgba(43,127,255,0.22);
}
.priv-no {
  background: rgba(232,121,74,0.07);
  border: 1px solid rgba(232,121,74,0.2);
}
.priv-card h3 {
  font-size: 1rem; font-weight: 600; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.priv-card h3 svg { width: 18px; height: 18px; fill: none; stroke-width: 2; }
.priv-card ul { list-style: none; }
.priv-card li {
  font-size: 0.85rem; color: var(--gray-300); line-height: 1.6;
  padding: 0.35rem 0 0.35rem 1.5rem; position: relative;
}
.priv-card li::before {
  position: absolute; left: 0; font-weight: 700; font-size: 0.85rem;
}
.priv-yes li::before { content: '✓'; color: var(--teal); }
.priv-no li::before { content: '×'; color: var(--orange); }

/* ═══════════════════════════════════════════
   BLOG
   ═══════════════════════════════════════════ */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.blog-card .blog-date {
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600;
  color: var(--gray-500); text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.blog-card h3 {
  font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem;
  letter-spacing: -0.01em; line-height: 1.35;
}
.blog-card p { font-size: 0.8rem; color: var(--gray-300); line-height: 1.55; margin-bottom: 1rem; }

/* ═══════════════════════════════════════════
   APPSTORE BANNER
   ═══════════════════════════════════════════ */
.appstore-bar {
  padding: 3rem 0;
  background: var(--navy);
  border-top: 1px solid rgba(15,23,42,0.07);
  border-bottom: 1px solid rgba(15,23,42,0.07);
  text-align: center;
}
.appstore-bar h3 {
  font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem;
}
.appstore-bar p {
  font-size: 0.88rem; color: var(--gray-300); margin-bottom: 1.5rem;
}
.appstore-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.appstore-link {
  padding: 0.6rem 1.4rem; border-radius: var(--radius-sm);
  background: var(--white-pure); border: 1px solid rgba(15,23,42,0.1);
  font-size: 0.85rem; font-weight: 600; color: var(--white);
  box-shadow: var(--shadow-card);
  transition: all 0.2s;
}
.appstore-link:hover { background: var(--teal-dim); border-color: var(--teal); }

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-field {
  display: flex; flex-direction: column; gap: 0.35rem;
}
.form-field label {
  font-size: 0.8rem; font-weight: 600; color: var(--gray-300);
}
.form-field input, .form-field textarea {
  padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  background: var(--white-pure); border: 1px solid rgba(15,23,42,0.15);
  color: var(--white); font-family: var(--font-display); font-size: 0.9rem;
  transition: border-color 0.2s;
  outline: none;
}
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--teal);
}
.form-field textarea { min-height: 120px; resize: vertical; }

/* ═══════════════════════════════════════════
   CTA
   ═══════════════════════════════════════════ */
.cta-section { text-align: center; padding: 7rem 0; }
.cta-section .heading-lg { max-width: 700px; margin: 0 auto 1rem; }
.cta-section .text-body { max-width: 520px; margin: 0 auto 2.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 3rem 2rem;
  border-top: 1px solid rgba(15,23,42,0.08);
}
.footer-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 0.78rem; color: var(--gray-500); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.82rem; color: var(--gray-300); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .hero-device { max-width: 400px; margin: 0 auto; }
  .challenge-grid { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: 1fr 1fr; }
  #motion-iq .motion-grid { grid-template-columns: 1fr; }
  .shifts-features { grid-template-columns: 1fr; }
  .use-cases-grid { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .privacy-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .section { padding: 4.5rem 0; }
  .container { padding: 0 1.25rem; }
  .platform-grid { grid-template-columns: 1fr; }
  .use-cases-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .hero { padding: 6rem 0 3rem; }
  .hero-float-motion { display: none; }
  .footer { padding: 2.5rem 1.25rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.25rem; row-gap: 0.5rem; }
}

/* ═══════════════════════════════════════════
   CASE STUDY CAROUSEL
   ═══════════════════════════════════════════ */
.carousel { max-width: 920px; margin: 0 auto; }
.carousel-viewport { overflow: hidden; }
.carousel-track { display: flex; transition: transform 0.55s var(--ease-out); }
.carousel-slide { min-width: 100%; }
.carousel-card { display: block; padding: 3rem; }
.carousel-card .heading-lg { margin-bottom: 1rem; }
.carousel-meta {
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gray-500);
}
.carousel-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 1.75rem;
}
.carousel-arrow {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white-pure); border: 1px solid rgba(15,23,42,0.12);
  color: var(--white); font-size: 1.25rem; line-height: 1;
  display: grid; place-items: center; cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.carousel-arrow:hover { background: var(--teal-dim); border-color: var(--teal); transform: translateY(-2px); }
.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gray-700); border: none; padding: 0; cursor: pointer;
  transition: background 0.25s, width 0.25s;
}
.carousel-dot.active { background: var(--teal); width: 24px; border-radius: 4px; }
@media (max-width: 600px) {
  .carousel-card { padding: 2rem 1.5rem; }
}
/* no shadows inside carousels */
.carousel-card, .carousel-card:hover { box-shadow: none; }
.carousel .shift-feat, .carousel .shift-feat:hover { box-shadow: none; }

/* ═══════════════════════════════════════════
   COOKIE CONSENT
   ═══════════════════════════════════════════ */
.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 10001;
  padding: 1rem;
  pointer-events: none;
}
.cookie-consent[hidden] { display: none; }
.cookie-consent__panel {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(15,23,42,0.1);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(15,23,42,0.16);
  pointer-events: auto;
}
.cookie-consent__main[hidden],
.cookie-consent__preferences[hidden] { display: none !important; }
.cookie-consent__main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem 2rem;
  align-items: center;
}
.cookie-consent__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}
.cookie-consent__text {
  font-size: 0.88rem;
  color: var(--gray-300);
  line-height: 1.55;
  max-width: 58rem;
}
.cookie-consent__text a {
  color: var(--teal-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-end;
}
.cookie-consent__btn { white-space: nowrap; }
.cookie-consent__link-btn,
.cookie-consent__footer-link {
  background: none;
  border: none;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gray-300);
  cursor: pointer;
  transition: color 0.2s;
}
.cookie-consent__link-btn:hover,
.cookie-consent__footer-link:hover { color: var(--white); }
.cookie-consent__footer-link { padding: 0; font-size: 0.82rem; font-weight: 500; }
.cookie-consent__prefs-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.cookie-consent__category {
  padding: 1rem 0;
  border-top: 1px solid rgba(15,23,42,0.08);
}
.cookie-consent__category-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
}
.cookie-consent__category-head strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
}
.cookie-consent__category-head p {
  font-size: 0.82rem;
  color: var(--gray-300);
  line-height: 1.5;
  max-width: 42rem;
}
.cookie-consent__always-on {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-500);
  padding-top: 0.15rem;
}
.cookie-consent__switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  cursor: pointer;
}
.cookie-consent__switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-consent__switch-ui {
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: var(--gray-700);
  position: relative;
  transition: background 0.2s;
}
.cookie-consent__switch-ui::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--white-pure);
  box-shadow: 0 1px 4px rgba(15,23,42,0.18);
  transition: transform 0.2s;
}
.cookie-consent__switch input:checked + .cookie-consent__switch-ui {
  background: var(--teal);
}
.cookie-consent__switch input:checked + .cookie-consent__switch-ui::after {
  transform: translateX(20px);
}
.cookie-consent__switch input:focus-visible + .cookie-consent__switch-ui {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.cookie-consent__actions--prefs {
  margin-top: 1rem;
  justify-content: flex-start;
}
@media (max-width: 900px) {
  .cookie-consent__main {
    grid-template-columns: 1fr;
  }
  .cookie-consent__actions {
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .cookie-consent { padding: 0.75rem; }
  .cookie-consent__panel { padding: 1.1rem; }
  .cookie-consent__actions { flex-direction: column; align-items: stretch; }
  .cookie-consent__btn { width: 100%; justify-content: center; }
  .cookie-consent__category-head { flex-direction: column; }
}
