/* ============================================
   Shortcut to the Edge — LMT IoT × Infineon
   ============================================ */

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

:root {
  --black: #000000;
  --black-soft: #0a0a0a;
  --red: #E00027;
  --orange: #FF9F39;
  --green: #04B276;
  --green-light: #64C0A9;
  --green-pale: #E2F3F1;
  --white: #FFFFFF;
  --gray: #888888;
  --gray-light: #aaaaaa;
  --surface: #0d0d0d;
  --surface-raised: #141414;
  --surface-border: rgba(255, 255, 255, 0.06);
  --nav-height: 72px;
  --max-width: 1200px;
  --radius: 16px;
  --radius-lg: 24px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--white);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: var(--green-light);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--green-pale); }

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

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.01em;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-radius: 100px;
  padding: 14px 32px;
  font-size: 0.95rem;
  box-shadow: 0 4px 24px rgba(224, 0, 39, 0.25), inset 0 1px 0 rgba(255,255,255,0.1);
}

.btn--primary:hover {
  background: #ff1a3d;
  box-shadow: 0 8px 40px rgba(224, 0, 39, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--large {
  padding: 18px 44px;
  font-size: 1.05rem;
}

/* Glowing animated border button */
.btn-glow-border {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 28px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  border-radius: 100px;
  background: var(--black);
  cursor: pointer;
  isolation: isolate;
  transition: color 0.3s;
}

.btn-glow-border span {
  position: relative;
  z-index: 2;
}

/* Rotating gradient — oversized, clipped by parent */
.btn-glow-border::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 400%;
  transform: translate(-50%, -50%);
  background: conic-gradient(
    #04B276 0deg,
    #64C0A9 60deg,
    transparent 120deg,
    transparent 180deg,
    #FF9F39 240deg,
    #E00027 300deg,
    transparent 340deg,
    #04B276 360deg
  );
  animation: btnGlowSpin 3s linear infinite;
  z-index: -2;
}

/* Inner mask — creates the border effect */
.btn-glow-border::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  border-radius: 100px;
  background: var(--black);
  z-index: -1;
  transition: background 0.3s;
}

.btn-glow-border {
  border-radius: 100px;
  overflow: hidden;
}

.btn-glow-border:hover::after {
  background: #0a0a0a;
}

.btn-glow-border:hover {
  color: var(--white);
}

@keyframes btnGlowSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  padding: 12px 28px;
  font-size: 0.9rem;
}
.btn--outline:hover {
  border-color: rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.04);
  color: var(--white);
}

/* --- Z-index layers --- */
main, footer {
  position: relative;
  z-index: 2;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.nav-scrolled {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--surface-border);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logos {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.nav__logo--lmt { height: 28px; width: auto; }
.nav__logo--infineon { height: 32px; width: auto; }
.nav__separator { color: rgba(255,255,255,0.25); font-size: 1rem; font-weight: 300; }
.nav__cta { padding: 10px 24px; font-size: 0.85rem; }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: visible;
  background: transparent;
}

.hero__inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--nav-height) clamp(1.5rem, 5vw, 3rem) 0;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero__canvas-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}
.hero__canvas-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none;
}

.hero__blur {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  background: rgba(0,0,0,0);
  transition: none;
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.hero__content {
  padding: 2rem 0 2rem 2rem;
  max-width: 520px;
  position: relative;
  z-index: 2;
}

.hero__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1.5rem;
  padding: 6px 14px;
  border: 1px solid rgba(4, 178, 118, 0.2);
  border-radius: 100px;
  background: rgba(4, 178, 118, 0.06);
}

.hero__title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--gray-light);
  margin-bottom: 1rem;
  font-weight: 400;
}

.hero__desc {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 440px;
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.hero__scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* --- Countdown --- */
.countdown-sentinel {
  height: 1px;
  position: relative;
  z-index: 2;
}

.countdown {
  position: sticky;
  top: var(--nav-height);
  z-index: 100;
  padding: 1rem clamp(1rem, 3vw, 1.5rem);
  background: transparent;
  transition: padding 0.3s ease;
}

.countdown--compact {
  padding: 0.5rem clamp(1rem, 3vw, 1.5rem);
}

.countdown--compact .countdown__card {
  padding: 0.75rem clamp(1rem, 3vw, 2rem);
  border-radius: 14px;
}

.countdown--compact .countdown__label {
  font-size: 0.9rem;
}

.countdown--compact .countdown__sub {
  max-height: 0;
  opacity: 0;
  margin: 0;
}

.countdown--compact .countdown__number {
  font-size: 1.5rem;
}

.countdown--compact .countdown__block {
  padding: 0.5rem 1rem;
}

.countdown--compact .countdown__unit {
  font-size: 0.6rem;
}

.countdown--compact .countdown__blob {
  opacity: 0.5;
}

.countdown__card {
  max-width: calc(var(--max-width) - 2rem);
  margin: 0 auto;
  padding: 2rem clamp(2rem, 5vw, 3rem);
  transition: padding 0.3s ease, border-radius 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(14, 14, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.countdown__blob {
  position: absolute;
  top: -40%;
  left: 25%;
  width: 55%;
  height: 180%;
  background: radial-gradient(ellipse at 40% 50%, rgba(4, 178, 118, 0.25) 0%, rgba(224, 0, 39, 0.18) 50%, transparent 75%);
  filter: blur(40px);
  pointer-events: none;
}

.countdown__text {
  flex: 1;
  position: relative;
  z-index: 1;
}

.countdown__label {
  transition: font-size 0.3s ease;
  font-size: 1.15rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.countdown__sub {
  transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
  max-height: 50px;
  overflow: hidden;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

.countdown__timer {
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.countdown__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.5rem;
  transition: padding 0.3s ease;
}

.countdown__block:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.countdown__number {
  transition: font-size 0.3s ease;
  font-size: 2.5rem;
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.countdown__unit {
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0.4rem;
}

/* --- Content panel — unified bg from countdown to FAQ --- */
.content-panel {
  position: relative;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.6) 85%,
    rgba(0, 0, 0, 0) 100%
  );
}

/* --- Sections --- */
.section {
  padding: clamp(5rem, 12vh, 8rem) 0;
  background: transparent;
  position: relative;
  z-index: 2;
}

.section:nth-child(even) {
  background: transparent;
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 640px;
}

.section__subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* --- Overview --- */
.overview__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.overview__content p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.overview__callout {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

/* Callout block */
.callout {
  background: rgba(4, 178, 118, 0.04);
  border-left: 2px solid var(--green);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
.callout p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  margin: 0;
  line-height: 1.7;
}

/* --- Eligibility --- */
.eligibility__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.eligibility__text .section__subtitle {
  margin-bottom: 0;
}

.eligibility__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.eligibility__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

.eligibility__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* --- Cards --- */
.card {
  background: var(--surface-raised);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
  background: #1a1a1a;
}

.card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(4, 178, 118, 0.08);
  color: var(--green);
  margin-bottom: 1rem;
}

.card__icon--large {
  width: 48px;
  height: 48px;
  border-radius: 12px;
}

.card__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.55;
}

.card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.card__desc {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* --- Kit Card (featured hero card) --- */
.kit-card {
  background: linear-gradient(135deg, var(--surface-raised), rgba(4, 178, 118, 0.04));
  border: 1px solid rgba(4, 178, 118, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.kit-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right, rgba(4, 178, 118, 0.08), transparent 70%);
  pointer-events: none;
}

.kit-card__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.kit-card__hero-img {
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 4 / 5;
}

.kit-card__hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  display: block;
}

.kit-card__title {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.25rem;
}

.kit-card__subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.kit-card__desc {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 640px;
  font-size: 0.95rem;
}

.kit-card__compat {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
}

/* --- Use-case flow --- */
.kit-card__usecase {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--surface-border);
}

.kit-card__usecase-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
}

.usecase__flow {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.usecase__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 120px;
  flex: 1;
}

.usecase__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(4, 178, 118, 0.08);
  color: var(--green);
  margin-bottom: 0.75rem;
}

.usecase__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.usecase__example {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.4;
}

.usecase__arrow {
  color: rgba(255,255,255,0.15);
  margin-top: 14px;
  flex-shrink: 0;
}

.usecase__examples-title {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}

.usecase__examples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.usecase__examples span {
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid var(--surface-border);
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.02);
}

/* --- Receive --- */
.receive__images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.receive__images picture {
  border-radius: 12px;
  overflow: hidden;
  background: #111;
  aspect-ratio: 1;
}

.receive__images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.receive__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* --- Process Steps --- */
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
}

.process__step {
  position: relative;
  padding: 2rem 1.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
}

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

.process__number {
  position: relative;
  height: 64px;
  margin-bottom: 1rem;
  overflow: visible;
}

.process__num-text {
  display: block;
  font-size: 3.2rem;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(4, 178, 118, 0.5), rgba(4, 178, 118, 0.2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 64px;
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.process__num-icon {
  position: absolute;
  top: 10px;
  left: 0;
  width: 44px;
  height: 44px;
  color: var(--green);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.process__step:hover .process__num-text {
  opacity: 0;
  transform: translateY(-8px);
}

.process__step:hover .process__num-icon {
  opacity: 0.8;
  transform: translateY(0);
}

.process__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.process__desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

/* --- FAQ --- */
.faq__layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.faq__list {
  width: 100%;
}

.faq__item {
  border-bottom: 1px solid var(--surface-border);
}

.faq__question {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  transition: color 0.2s;
}
.faq__question:hover { color: var(--green-light); }

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: '+';
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255,255,255,0.25);
  transition: transform 0.3s, color 0.3s;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

details[open] .faq__question::after {
  content: '\2212';
  color: var(--green);
}

.faq__answer {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  line-height: 1.7;
  padding: 0 0 1.25rem 0;
}

/* --- Apply CTA --- */
.apply {
  text-align: center;
  background: transparent !important;
  border-top: none;
  border-bottom: none;
  padding-top: 4rem;
}

.apply__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
}

.apply .section__title {
  max-width: 100%;
}

.apply__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.apply__contact {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.3);
}
.apply__contact a { color: var(--green-light); }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--surface-border);
  padding: 2rem 0;
  background: transparent;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__logos {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.3);
}
.footer__logo { opacity: 0.4; }
.footer__sep { color: rgba(255, 255, 255, 0.15); font-size: 0.85rem; }
.footer__social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.footer__social-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer__social-label {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.footer__social-icons {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer__social a {
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
  display: flex;
}
.footer__social a:hover { color: rgba(255,255,255,0.6); }
.footer__social-sep {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.08);
}

.footer__copy { font-size: 0.75rem; color: rgba(255, 255, 255, 0.2); }

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: zoom-out;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox.active .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.5rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Clickable images */
[data-lightbox] img {
  cursor: zoom-in;
}

/* --- Scroll Animations --- */
.animate-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.eligibility__grid .card:nth-child(1) { transition-delay: 0s; }
.eligibility__grid .card:nth-child(2) { transition-delay: 0.08s; }
.eligibility__grid .card:nth-child(3) { transition-delay: 0.16s; }
.eligibility__grid .card:nth-child(4) { transition-delay: 0.24s; }

.receive__grid .card:nth-child(1) { transition-delay: 0s; }
.receive__grid .card:nth-child(2) { transition-delay: 0.08s; }
.receive__grid .card:nth-child(3) { transition-delay: 0.16s; }
.receive__grid .card:nth-child(4) { transition-delay: 0.24s; }

.process__step:nth-child(1) { transition-delay: 0s; }
.process__step:nth-child(2) { transition-delay: 0.1s; }
.process__step:nth-child(3) { transition-delay: 0.2s; }
.process__step:nth-child(4) { transition-delay: 0.3s; }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .animate-in { opacity: 1; transform: none; }
}

/* --- Tablet --- */
@media (max-width: 1023px) {
  .hero__inner { justify-content: center; text-align: center; }
  .hero__content { padding: 1rem 0 2rem; }
  .hero__desc { margin-left: auto; margin-right: auto; }
  .hero__label { margin-left: auto; margin-right: auto; }

  .overview__layout { grid-template-columns: 1fr; gap: 2rem; }
  .eligibility__layout { grid-template-columns: 1fr; gap: 2rem; }
  .kit-card__layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .receive__images { grid-template-columns: repeat(2, 1fr); }
  .faq__layout { grid-template-columns: 1fr; gap: 2rem; }

  .receive__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process__step { border-right: none; border-bottom: 1px solid var(--surface-border); }
  .process__step:last-child { border-bottom: none; }
}

/* --- Mobile --- */
@media (max-width: 767px) {
  :root { --nav-height: 56px; }

  /* Mobile hero: cube fills top, text overlaps bottom */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    position: relative;
  }

  .hero__inner {
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 1.5rem 2rem;
    position: relative;
    z-index: 2;
  }

  .hero__canvas-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 65vh;
    z-index: 0;
    pointer-events: none;
    margin-left: 0;
  }

  .hero__blur { display: none; }

  .hero__content {
    padding: 0;
    text-align: center;
    position: relative;
    z-index: 2;
  }

  /* Gradient fade over bottom of cube for text readability */
  .hero__content::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: -1.5rem;
    right: -1.5rem;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.9));
    pointer-events: none;
  }

  .hero__label { font-size: 0.65rem; padding: 3px 8px; margin-bottom: 0.75rem; }
  .hero__title { font-size: 2.4rem; margin-bottom: 0.4rem; }
  .hero__subtitle { font-size: 0.95rem; margin-bottom: 0.5rem; }
  .hero__desc { font-size: 0.82rem; margin-bottom: 1.25rem; line-height: 1.55; display: block; }
  .hero .btn--large { padding: 16px 28px; font-size: 0.95rem; width: 100%; }
  .hero__scroll { display: none; }

  .countdown { padding: 0.5rem 0.75rem; }
  .countdown__card {
    padding: 0.6rem 0.75rem;
    border-radius: 12px;
    gap: 0.75rem;
  }
  .countdown__blob { display: none; }
  .countdown__sub { display: none; }
  .countdown__label { font-size: 0.75rem; }
  .countdown__timer { border-radius: 8px; }
  .countdown__block { padding: 0.35rem 0.6rem; }
  .countdown__number { font-size: 1.1rem; font-weight: 600; }
  .countdown__unit { font-size: 0.5rem; margin-top: 0; }

  /* Compact sticky on mobile — single tight row */
  .countdown--compact .countdown__card {
    flex-direction: row;
    padding: 0.4rem 0.75rem;
    border-radius: 10px;
    align-items: center;
  }
  .countdown--compact .countdown__label { font-size: 0.7rem; }
  .countdown--compact .countdown__block { padding: 0.25rem 0.5rem; }
  .countdown--compact .countdown__number { font-size: 0.9rem; }
  .countdown--compact .countdown__unit { font-size: 0.45rem; }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__label {
    margin-left: auto;
    margin-right: auto;
  }

  /* Mobile nav: compact */
  .nav__inner {
    padding: 0 0.75rem;
    gap: 0.5rem;
  }

  .nav__logos {
    gap: 6px;
    flex-shrink: 1;
    min-width: 0;
  }

  .nav__logo--lmt { height: 18px; }
  .nav__logo--infineon { height: 20px; }
  .nav__separator { font-size: 0.7rem; margin: 0 2px; }

  .btn-glow-border {
    padding: 7px 14px;
    font-size: 0.7rem;
  }

  .nav__cta.btn--primary {
    padding: 7px 14px;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .countdown__card { flex-direction: column; text-align: center; gap: 1.5rem; padding: 1.5rem; }
  .countdown__block { padding: 0.75rem 1.2rem; }
  .countdown__number { font-size: 2rem; }

  .section { padding: clamp(3rem, 8vh, 5rem) 0; }

  .eligibility__grid,
  .receive__grid,
  .process__grid {
    grid-template-columns: 1fr;
  }

  .process__step { border-right: none; border-bottom: 1px solid var(--surface-border); }
  .process__step:last-child { border-bottom: none; }

  .card { padding: 1.5rem; }

  .usecase__flow {
    flex-wrap: wrap;
    justify-content: center;
  }

  .usecase__arrow { display: none; }

  .usecase__step { min-width: 100px; flex: 0 0 45%; }

  .footer__inner { flex-direction: column; gap: 1rem; text-align: center; }

  /* On mobile, sections need solid bg since cube isn't fixed behind */
  .content-panel {
    background: var(--black);
  }

  .section {
    background: var(--black) !important;
  }

  .apply {
    background: var(--surface) !important;
  }

  .footer {
    background: var(--black) !important;
  }

}
