:root {
  --bg: #07090a;
  --panel: #101315;
  --panel-2: #15191c;
  --text: #f4f6f7;
  --muted: #a4adb3;
  --line: rgba(255, 255, 255, 0.12);
  --green: #00a84f;
  --blue: #039fe3;
  --yellow: #f4d400;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 12px clamp(20px, 4vw, 64px);
  background: linear-gradient(180deg, rgba(3, 4, 5, 0.94), rgba(3, 4, 5, 0));
}

.brand { display: inline-flex; align-items: center; }
.site-logo { width: 180px; max-width: 35vw; height: auto; }

.primary-nav {
  display: flex;
  gap: 28px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav a { color: #dfe4e7; }
.primary-nav a:hover,
.primary-nav a:focus-visible { color: #fff; }

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-shade,
.hero-scan { position: absolute; inset: 0; }

.hero-media { z-index: -3; background: #090b0c; }

.hero-poster {
  position: absolute;
  inset: -4%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.06) 45%, rgba(0, 0, 0, 0.2)),
    url("../products/ab_crossfade/artwork/hero/01_HERO_ARTWORK_1920X1080.png") center / cover no-repeat;
  filter: contrast(1.08) saturate(0.9);
  transform: scale(1.04);
  animation: drift 14s ease-in-out infinite alternate;
}

.hero-shade {
  z-index: -2;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.26) 45%, rgba(7, 9, 10, 0.96));
}

.hero-scan {
  z-index: -1;
  opacity: 0.16;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.03) 4px);
}

.hero-content { width: min(92vw, var(--max)); padding-top: 16vh; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.leadintro{
    margin-top:2rem;
    margin-bottom:1rem;
    font-size:1.3rem;
    font-weight:700;
    color:#ffffff;
    max-width:700px;
}


h1, h2, h3, p { margin-top: 0; }

h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(3.8rem, 10vw, 8.8rem);
  line-height: 0.85;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.hero-a {
    color: var(--green);
}

.hero-b {
    color: var(--blue);
}

.hero-copy { max-width: 650px; color: #e6eaec; font-size: clamp(1.1rem, 2vw, 1.6rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 750;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button-primary { border-color: #fff; background: #fff; color: #060708; }
.button-primary:hover,
.button-primary:focus-visible { transform: translateY(-2px); }
.button-secondary { background: rgba(0, 0, 0, 0.28); backdrop-filter: blur(8px); }
.disabled { opacity: 0.5; pointer-events: none; }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); font-size: 1.5rem; animation: bounce 1.6s infinite; }

.section {
  width: min(92vw, var(--max));
  margin-inline: auto;
  padding: clamp(90px, 12vw, 160px) 0;
  border-top: 1px solid var(--line);
}

.intro { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 8vw, 110px); align-items: end; }
h2 { margin-bottom: 0; font-size: clamp(2.2rem, 5vw, 4.8rem); line-height: 0.98; letter-spacing: -0.045em; }
.product-stage { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: clamp(40px, 7vw, 90px); align-items: center; }
.stage-copy p { max-width: 520px; color: var(--muted); }
.text-link { border: 0; padding: 0; background: transparent; color: #fff; font-weight: 700; cursor: pointer; }
.text-link span { color: var(--yellow); }

.device-card {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.45);
}

.device-card img { width: 100%; border-radius: 10px; }
.device-glow { position: absolute; inset: 25% 10% -12%; z-index: -1; background: radial-gradient(ellipse, rgba(0, 168, 79, 0.22), transparent 62%); filter: blur(24px); }
.compact { max-width: 760px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 68px; border: 1px solid var(--line); background: var(--line); }
.feature-grid article { min-height: 280px; padding: 34px; background: var(--panel); }
.feature-number { display: block; margin-bottom: 78px; color: var(--yellow); font-size: 0.78rem; letter-spacing: 0.14em; }
.feature-grid h3 { margin-bottom: 12px; font-size: 1.35rem; }
.feature-grid p { margin: 0; color: var(--muted); }

.availability { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 8vw, 100px); }
.availability-panel { align-self: end; padding: 30px; border: 1px solid var(--line); background: var(--panel); }
.availability-panel p { color: var(--muted); }

footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 44px clamp(20px, 4vw, 64px);
  border-top: 1px solid var(--line);
  background: #040506;
}

.footer-logo { width: 105px; height: auto; }
footer p { margin-bottom: 4px; }
.small { color: #7e878d; font-size: 0.78rem; }

.video-dialog { width: min(94vw, 1000px); border: 1px solid var(--line); padding: 0; background: #080a0b; color: #fff; }
.video-dialog::backdrop { background: rgba(0, 0, 0, 0.88); backdrop-filter: blur(10px); }
.dialog-close { position: absolute; top: 8px; right: 12px; z-index: 2; border: 0; background: transparent; color: #fff; font-size: 2rem; cursor: pointer; }
.video-placeholder { padding: 18px; }
.video-placeholder img { width: 100%; }
.video-placeholder p { margin: 18px 4px 4px; color: var(--muted); }
code { color: var(--yellow); }

@keyframes drift { to { transform: scale(1.09) translate3d(-1%, 1%, 0); } }
@keyframes bounce { 50% { transform: translate(-50%, 8px); opacity: 0.6; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 820px) {
  .menu-button { display: block; }
  .primary-nav {
    position: absolute;
    top: 68px;
    right: 20px;
    display: none;
    flex-direction: column;
    gap: 16px;
    min-width: 220px;
    padding: 22px;
    border: 1px solid var(--line);
    background: rgba(7, 9, 10, 0.96);
  }
  .primary-nav.open { display: flex; }
  .hero-content { padding-top: 28vh; }
  .intro, .product-stage, .availability { grid-template-columns: 1fr; }
  .product-stage .stage-copy { order: 2; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-number { margin-bottom: 36px; }
  footer { grid-template-columns: 1fr; }
}

/* =========================================================
   FEATURES
   ========================================================= */

.features {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features .section-heading {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  margin-bottom: 3rem;
  text-align: center;
}

.features .section-heading h2 {
  max-width: 760px;
  margin-inline: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(1200px, calc(100% - 3rem));
  margin-inline: auto;
  gap: 1.25rem;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #0b0d0e;
}

.feature-card > img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  object-fit: cover;
}

.feature-number {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1.25rem;
  color: #ffe600;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 1.35rem 1.5rem 1.65rem;
}

.feature-content h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.15;
}

.feature-content h3::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 1rem;
  background:
    linear-gradient(
      90deg,
      #00a83d 0%,
      #00a83d 25%,
      rgba(255, 255, 255, 0.95) 50%,
      #0587d8 75%,
      transparent 100%
    );
}

.feature-content p {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
    width: min(620px, calc(100% - 2rem));
    gap: 1.5rem;
  }

  .features .section-heading {
    width: min(620px, calc(100% - 2rem));
    margin-bottom: 2rem;
  }

  .feature-card > img {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .feature-grid {
    width: calc(100% - 1.25rem);
  }

  .features .section-heading {
    width: calc(100% - 1.25rem);
  }

  .feature-content {
    padding: 1.15rem 1.2rem 1.4rem;
  }

  .feature-content p {
    margin-top: 1rem;
  }
}

.text-a,
.text-b {
  text-shadow: 0 0 5px currentColor;
}

.text-a {
  color: #00b84a;
}

.text-b {
  color: #078fe3;
}

.product-video {
    display: block;
    width: 100%;
    height: auto;
    background: #000;
}