/* ====================================================================== */
/* ==================== LOCAL FONTS (SCOPED TO PAGE) ==================== */
/* ====================================================================== */
@font-face {
  font-family: "AnistonLogo";
  src: url("./fonts/aniston-logo-font.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Avenir55Roman";
  src: url("./fonts/Avenir55Roman_normal_normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Page-scoped theme tokens */
#yz6030-page {
  --page-bg: #ffffff;       /* white */
  --page-smoke: #f7f7f8;    /* smoke white */
  --ink: #111111;           /* primary text */
  --muted: #5f6368;         /* secondary text */
  --line: #1a1a1a;          /* accents/lines */
  --pill-bg: #ffffff;
  --pill-border: rgba(0,0,0,0.08);
  --shadow-strong: 0 24px 64px rgba(0,0,0,0.12);
  --shadow-soft: 0 10px 28px rgba(0,0,0,0.08);
  font-family: "Avenir55Roman", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
}

html {
  scroll-behavior: smooth;
}






/* ===================== HOMEPAGE SECTION 1 (IMAGES-ONLY, NO CROPPING) CSS START HERE ===================== */
/* ===================== HOMEPAGE SECTION 1 (IMAGES-ONLY, WITH ENTRY ANIMATIONS) ===================== */

.cin-hero {
  background: var(--page-bg);
  color: var(--ink);
  position: relative;
  min-height: min(92vh, 820px);
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 24px) 0px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* ===================== MEDIA LAYER ===================== */
.cin-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cin-slides {
  position: absolute;
  inset: 0;
}

/* Show full image without cropping, cross-fade between them */
.cin-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill; /* full image visible */
  object-position: center center;
  background: var(--page-bg);
  opacity: 0;
  transition: opacity 900ms ease;
  will-change: opacity;
  filter: saturate(1.03) contrast(1.04);
}

.cin-slide.is-active {
  opacity: 1;
}

/* optional subtle vignette */
.cin-slides::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* light overlay for contrast */
.cin-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* background:
    radial-gradient(90% 60% at 50% 50%, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.12) 55%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.18) 30%, rgba(255, 255, 255, 0) 60%); */
}

/* ===================== CONTENT ===================== */
.cin-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: min(92vw, 1100px);
  padding: 12px;
}

/* Cinematic title */
.cin-title {
  --ls: 0.6;
  --glow: .25;
  margin: 0 0 12px;
  transition: transform 200ms ease;
}

/* OUTLINE EFFECT */
.cin-title .t-strong {
  display: block;
  font-weight: 100;
  font-size: clamp(2rem, 6.6vw, 4.2rem);
  letter-spacing: var(--ls, 0.6px);
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-text-stroke: 2px #000;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
}

/* subtitle */
.cin-title .t-thin {
  display: block;
  margin-top: 6px;
  font-weight: 400;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  color: var(--line);
  letter-spacing: 0.2px;
}

/* ===================== CONTROLS ===================== */
.cin-controls {
  display: grid;
  gap: 10px;
  place-items: center;
}

.cin-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.cpill {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 1.3rem;
  box-shadow: var(--shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
}

.cpill:hover {
  transform: translateY(-2px);
}

.cpill.is-active {
  border-color: rgba(0, 0, 0, 0.22);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

/* ===================== ANIMATIONS ===================== */
.cin-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
}

@keyframes charRise {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pillIn {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* reveal triggers */
.is-revealed .cin-title .t-strong .char {
  animation: charRise 700ms cubic-bezier(.2, .7, 0, 1) forwards;
  animation-delay: calc(var(--i) * 35ms);
}

.is-revealed .cin-title .t-thin .char {
  animation: charRise 1000ms cubic-bezier(.2, .7, 0, 1) forwards;
  animation-delay: calc(400ms + var(--i) * 65ms);
}

.is-revealed .cin-pills .cpill {
  animation: pillIn 600ms cubic-bezier(.2, .7, 0, 1) forwards;
  animation-delay: calc(1500ms + var(--i) * 120ms);
}

/* Reduced motion fallback */
@media (prefers-reduced-motion: reduce) {
  .cin-slide, .char, .cpill {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .cin-hero { min-height: 76vh; }
}

/* ===================== HOMEPAGE SECTION 1 (IMAGES-ONLY, NO CROPPING) CSS END HERE ===================== */








/* ====================================================================== */
/* ===================== SECOND A SECTION CSS START HERE =================== */
/* ====================================================================== */

.yz6030-features-section {
  background: white;
  color: var(--ink);
  padding: clamp(16px, 3vw, 26px) 0px;
  margin-top: 5rem;
}

.yz6030-features-wrap {
  max-width: none;
  width: 100%;
  margin: 0 ;
}

.yz6030-features-head {
  text-align: center;
  margin-bottom: clamp(18px, 5vw, 32px);
}
.yz6030-title {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  margin: 0 0 8px;
  color: var(--ink);
}
.yz6030-subtitle {
  font-size: clamp( 1.3rem, 1.5vw, 1.1rem);
  color: var(--muted);
  margin: 0;
}

/* Wide image card */
.yz6030-feature-hero {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  margin: 0 auto clamp(22px, 4.5vw, 40px);
  aspect-ratio: 16/7.5;
  background: #fff;
  /* box-shadow: var(--shadow-strong); */
}
.yz6030-feature-hero-img {
  width: 100%;
  height: 100%;
  object-fit: stretch;
  transform: scale(1.03);
  opacity: 0;
  transition: opacity 800ms ease, transform 900ms ease;
  filter: contrast(1.06) saturate(1.05);
}
.yz6030-feature-hero-img.is-visible {
  opacity: 1;
  transform: scale(1.01);
}

/* One-line quick specs — pill marquee */
.yz6030-quick-specs-title {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--ink);
  text-align: center;
}
.spec-strip {
  position: relative;
  overflow: hidden;
  width: 100%;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-soft);
}
.spec-track {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  white-space: nowrap;
  will-change: transform;
}
.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--pill-bg);
  color: var(--ink);
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  font-size:  1.3rem;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
  transition: transform 200ms ease;
}
.spec-pill:hover {
  transform: translateY(-2px);
}

/* ====================== SECOND SECTION CSS END HERE ==================== */













/* ===================== SECOND B HERO (scoped & fixed) ===================== */
/* Quick knobs (edit these first) */
.eh-hero{
  --text-gutter: clamp(8px, 3vw, 32px);      /* left/right padding for text only */
  --img-height-desktop: 60vh;                 /* ⬅️ right image height on desktop */
  --img-height-mobile: 56vh;                  /* ⬅️ right image height on mobile */
  --content-max: 56ch;                        /* paragraph line length */
  --section-gap: 16px;                        /* space above/below section */
  --reveal-offset: 10px;                      /* rise-in distance */
  --reveal-dur: .7s;                          /* rise-in duration */
}

/* Section container */
.eh-hero{
  background:#fff;
  /* margin-block: var(--section-gap); */
  
}

/* Full-width wrapper; text inside keeps gutters, image can bleed right */
.eh-outer{
  width:100%;
  padding-inline: var(--text-gutter);
  box-sizing: border-box;
}

/* Two columns: text left, image right */
.eh-inner{
  display:grid;
  grid-template-columns: 1fr 1fr;
  align-items:center;
  gap: clamp(20px, 5vw, 64px);
}

/* --------------------- TEXT --------------------- */
.eh-content{
  display:grid;
  align-content:center;
  gap:1rem;
  max-width:620px;
}

.eh-eyebrow{
  text-transform:uppercase;
  letter-spacing:.06em;
  opacity:.7;
  font-size: 1.3rem;
  margin:0;
}
.eh-title{
  margin:0;
  font-weight:700;
  font-size:clamp(2rem, 3.8vw, 3rem);
  line-height:1.1;
}
.eh-desc{
  margin:0;
  max-width: var(--content-max);
  font-size:clamp(1.3rem, 1.3vw, 1.15rem);
  line-height:1.6;
}
.eh-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.4rem;
  padding:.9rem 1.25rem;
  border:2px solid #000;
  border-radius:999px;
  color:#000;
  background:transparent;
  font-weight:600;
  text-decoration:none;
  /* Smooth transition */
  transition: 
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.2s ease;  
}
/* Hover state */
.eh-cta:hover {
  background-color: #000;   /* background turns black */
  color: #fff;              /* text turns white */
  transform: translateY(-2px); /* gentle lift */
}

/* --------------------- IMAGE --------------------- */
/* Keep the image in its own column; extend only to the RIGHT window edge
   without overlapping the text by using a safe negative margin. */
.eh-bleed-media{
  margin: 0;                       /* no extra spacing */
  /* Pull only the right side to the viewport edge: */
    /* ⬅️ makes the image meet the window edge */
  overflow:hidden;
  display:flex;
  align-items:center;
}

.eh-img{
  height: var(--img-height-desktop); /* ⬅️ adjust the right-image height */
  width: 100%;
  object-fit: cover;
  object-position: center;
  display:block;
  border-radius:0;
  user-select:none;
  -webkit-user-drag:none;
}

/* --------------------- REVEAL ANIMATION --------------------- */
.eh-reveal-seed{ opacity:0; transform: translateY(var(--reveal-offset)); }
.eh-reveal-now { animation: ehRise var(--reveal-dur) cubic-bezier(.2,.7,.2,1) forwards; }
.eh-content.eh-reveal-seed > *{ opacity:0; transform: translateY(var(--reveal-offset)); }
.eh-content.eh-reveal-now  > *{ animation: ehRise var(--reveal-dur) cubic-bezier(.2,.7,.2,1) forwards; }
.eh-content.eh-reveal-now  > *:nth-child(1){ animation-delay:.05s; }
.eh-content.eh-reveal-now  > *:nth-child(2){ animation-delay:.15s; }
.eh-content.eh-reveal-now  > *:nth-child(3){ animation-delay:.25s; }
.eh-content.eh-reveal-now  > *:nth-child(4){ animation-delay:.35s; }

@keyframes ehRise{ to{ opacity:1; transform: translateY(0); } }

@media (prefers-reduced-motion: reduce){
  .eh-reveal-seed, .eh-content.eh-reveal-seed > *{ opacity:1 !important; transform:none !important; }
  .eh-reveal-now, .eh-content.eh-reveal-now > *{ animation:none !important; }
}

/* --------------------- RESPONSIVE --------------------- */
@media (max-width: 900px){
  .eh-inner{ grid-template-columns: 1fr; gap: 20px; }

  .eh-content{ text-align:center; margin-inline:auto; }

  .eh-bleed-media{
    margin-right: 0;            /* stop bleeding on small screens */
  }

  .eh-img{
    width:100vw;                /* fill the full screen width */
    height: var(--img-height-mobile); /* ⬅️ mobile image height */
    margin-left: 50%;
    transform: translateX(-50%);/* keep perfectly centered */
  }
}







/* ===================== THIRD SECTION CSS START HERE ===================== */
.yz6030-showcase-section {
  background: var(--page-bg); /* alternate back to pure white after smoke section */
  color: var(--ink);
  padding: clamp(12px, 6.5vw, 32px) 0;
  position: relative;
}

.yz6030-showcase-wrap {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
}

.yz6030-showcase-head {
  text-align: center;
  margin-bottom: clamp(18px, 3.5vw, 28px);
}
.yz6030-showcase-head .yz6030-title {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  margin: 0 0 6px;
  color: var(--ink);
}
.yz6030-showcase-head .yz6030-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: clamp( 1.3rem, 1.5vw, 1.1rem);
}

/* Horizontal image rail */
.showcase-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(70%, 1fr); /* large cards on desktop */
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
  padding: 10px;
}
.showcase-track::-webkit-scrollbar { display: none; }

@media (max-width: 1024px) {
  .showcase-track { grid-auto-columns: 78%; }
}
@media (max-width: 768px) {
  .showcase-track { grid-auto-columns: 86%; }
}
@media (max-width: 480px) {
  .showcase-track { grid-auto-columns: 90%; }
}

.showcase-card {
  position: relative;
  scroll-snap-align: center;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-strong);
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 700ms ease, opacity 700ms ease, box-shadow 300ms ease;
}
.showcase-card.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.showcase-card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 800ms ease;
}
.showcase-card:hover img { transform: scale(1.05); }

/* Small corner chip label */
.showcase-card .chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  font-size:  1.3rem;
  color: var(--ink);
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow-soft);
  pointer-events: none;
}

/* Edge gradients hinting more content */
.edge-fade {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 65%;
  pointer-events: none;
  z-index: 2;
}
/* .edge-fade.left  { left: 0;  background: linear-gradient(90deg, var(--page-bg), rgba(255,255,255,0)); }
.edge-fade.right { right: 0; background: linear-gradient(-90deg, var(--page-bg), rgba(255,255,255,0)); } */

/* Dragging cursor feedback */
.showcase-track.dragging { cursor: grabbing; }
/* ===================== THIRD SECTION CSS END HERE ===================== */










/* ===================== FOURTH SECTION CSS START HERE ===================== */
.yz6030-materials-section {
  background: var(--page-bg);
  color: var(--ink);
  /* ↓↓↓ Reduce total section height and remove left/right space ↓↓↓ */
  padding: 20px 0; /* smaller top-bottom padding, 0 on sides */
  margin: 0;
  width: 100%;
}

.yz6030-materials-wrap {
  max-width: 100%;   /* full width */
  margin: 0 auto;
  padding: 0;
}

.yz6030-materials-head {
  text-align: center;
  margin-bottom: 20px; /* tighter heading spacing */
}
.yz6030-materials-head .yz6030-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin: 0 0 4px;
}
.yz6030-materials-head .yz6030-subtitle {
  margin: 0;
  color: var(--muted);
}

/* Stage (main image container) */
.materials-stage {
  position: relative;
  overflow: hidden;
  background: transparent; /* remove card background */
  border: none;            /* no border */
  border-radius: 0;        /* remove rounded corners */
  box-shadow: none;        /* remove shadow */

  /* ↓↓↓ Decrease image height overall ↓↓↓ */
  height: 125vh; /* adjust to control total visible image height */
  /* try 50vh or 70vh depending on your layout */
}

.materials-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* keep full image visible */
  pointer-events: none;
  border-radius: 0; /* remove rounded corners */
}

/* Lens */
.mat-lens {
  --size: clamp(120px, 20vw, 200px);
  position: absolute;
  width: var(--size);
  height: var(--size);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #eee center/cover no-repeat;
  box-shadow:
    0 10px 25px rgba(0,0,0,0.15),
    inset 0 0 0 2px rgba(255,255,255,0.85);
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: left 240ms ease, top 240ms ease, background-image 240ms ease;
}

/* Pills (on-image buttons) */
.mat-pills {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.mat-pill {
  position: absolute;
  pointer-events: auto;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-size:  1.3rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.mat-pill:hover { transform: translateY(-2px); }
.mat-pill.is-active {
  border-color: rgba(0,0,0,0.25);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

/* Move each pill manually (adjust freely) */
.mat-pill[data-type="frame"]   { left: 26%; top: 68%; }
.mat-pill[data-type="cover"]   { left: 35%; top: 55%; }
.mat-pill[data-type="speaker"] { left: 51%; top: 46%; }
.mat-pill[data-type="rear"]    { left: 68.5%; top: 75%; }

/* Buttons below image */
.mat-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px; /* spacing under image */
}
.mat-btn {
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-size:  1.3rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}
.mat-btn:hover { transform: translateY(-2px); }
.mat-btn.is-active {
  border-color: rgba(0,0,0,0.3);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Caption */
.mat-caption {
  text-align: center;
  color: var(--muted);
  margin: 8px 0 0;
  font-size:  1.3rem;
}

/* Responsive tweak */
@media (max-width: 480px) {
  .materials-stage { height: 50vh; } /* smaller on phones */
  .mat-pill, .mat-btn { font-size: 0.8rem; padding: 6px 10px; }
}
/* ===================== FOURTH SECTION CSS END HERE ===================== */





/* ===================== FIFTH SECTION DRIVER EXPLODED VIEW SECTION CSS ===================== */
.yz6030-driver-section {
  --section-bg: white;        /* background color */
  --section-margin: 60px;          /* top/bottom margin from other sections */
  --stage-height: 120vh;           /* overall image height (desktop) */
  --lens-size: clamp(120px, 20vw, 200px);
  --font-color: #111;
  --muted-color: #666;

  background: var(--section-bg);
  color: var(--font-color);
  margin-block: var(--section-margin);
  width: 100%;
  padding: 20px 0;
}

.yz6030-driver-wrap {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}

.yz6030-driver-head {
  text-align: center;
  margin-bottom: 20px;
}
.yz6030-driver-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin: 0 0 4px;
  font-weight: 700;
}
.yz6030-driver-subtitle {
  margin: 0;
  color: var(--muted-color);
}

/* Stage (image area) */
.driver-stage {
  position: relative;
  overflow: hidden;
  background: transparent;
  height: var(--stage-height);
  width: 100%;
}
.driver-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Lens */
.drv-lens {
  position: absolute;
  width: var(--lens-size);
  height: var(--lens-size);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #eee center/cover no-repeat;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15),
              inset 0 0 0 2px rgba(255,255,255,0.85);
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: left 240ms ease, top 240ms ease, background-image 240ms ease;
}

/* Pills (on-image tags) */
.drv-pills {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.drv-pill {
  position: absolute;
  pointer-events: auto;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  font-size:  1.3rem;
  padding: 8px 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
}
.drv-pill:hover { transform: translateY(-2px); }
.drv-pill.is-active {
  border-color: rgba(0,0,0,0.3);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Manual pill positions (fine-tune visually) */
.drv-pill[data-type="cone"]    { left: 31%; top: 45%; }
.drv-pill[data-type="coil"]    { left: 49.5%; top: 33%; }
.drv-pill[data-type="magnet"]  { left: 65%; top: 45%; }
.drv-pill[data-type="spider"]  { left: 42%; top: 62%; }
.drv-pill[data-type="dustcap"] { left: 9%; top: 45%; }

/* Buttons under image */
.drv-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.drv-btn {
  border: 1px solid rgba(0,0,0,0.1);
  background: #fff;
  color: var(--font-color);
  padding: 10px 16px;
  border-radius: 999px;
  font-size:  1.3rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
}
.drv-btn:hover { transform: translateY(-2px); }
.drv-btn.is-active {
  border-color: rgba(0,0,0,0.3);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Caption */
.drv-caption {
  text-align: center;
  color: var(--muted-color);
  margin: 8px 0 0;
  font-size:  1.3rem;
}

/* Animation reveal on scroll */
.reveal.visible .driver-img {
  animation: fadeIn 1s ease forwards;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
  .driver-stage { height: 60vh; }
  .drv-pill, .drv-btn { font-size: 0.8rem; padding: 6px 10px; }
}
@media (max-width: 480px) {
  .driver-stage { height: 50vh; }
}
/* ===================== HIDE PILLS ON SMALLER SCREENS ===================== */

/* For tablets and smaller */
@media (max-width: 768px) {
  .mat-pills,
  .drv-pills {
    display: none !important;
  }
}

/* For phones (extra safeguard) */
@media (max-width: 480px) {
  .mat-pills,
  .drv-pills {
    display: none !important;
  }
}

/* ===================== FIFTH SECTION ENDS  ===================== */






/* ===================== SIXTH SECTION CSS START HERE ===================== */
.yz6030-compare-section {
  background: var(--page-bg); /* pure white after smoke section */
  color: var(--ink);
  padding: clamp(56px, 7vw, 96px) 20px;
}

.yz6030-compare-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.yz6030-compare-head {
  text-align: center;
  margin-bottom: clamp(20px, 3.8vw, 34px);
}
.yz6030-compare-head .yz6030-title {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  margin: 0 0 6px;
}
.yz6030-compare-head .yz6030-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: clamp( 1.3rem, 1.5vw, 1.1rem);
}

/* Viewport */
.compare-viewport {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: transparent; /* fallback under non-transparent images */
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-strong);
  height: min(64vw, 620px);
  min-height: 320px;
  transform: translateY(18px) scale(0.98);
  opacity: 0;
  transition: transform 700ms ease, opacity 700ms ease;
}
.compare-viewport.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Images */
.cmp-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; /* images already have background */
}
.cmp-after-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
  width: var(--pos, 50%);
  transition: width 120ms ease;
}

/* Divider line */
.cmp-divider {
  position: absolute; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.6), rgba(0,0,0,0.1));
  left: 50%;
  pointer-events: none;
}

/* Handle (knob + bar) */
.cmp-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: var(--shadow-soft);
  cursor: grab;
  display: grid; place-items: center;
  outline: none;
}
.cmp-handle:active { cursor: grabbing; }
.cmp-handle .bar {
  position: absolute; width: 2px; height: 140px;
  background: rgba(0,0,0,0.2);
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
}
.cmp-handle .knob {
  width: 14px; height: 14px; border-radius: 999px;
  background: #111;
}

/* Chips */
.cmp-chip {
  position: absolute; top: 12px;
  background: rgba(255,255,255,0.9);
  color: var(--ink);
  border: 1px solid rgba(0,0,0,0.08);
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  font-size:  1.3rem;
  pointer-events: none;
}
.cmp-chip.left  { left: 12px; }
.cmp-chip.right { right: 12px; }

/* Responsive heights */
@media (max-width: 768px){
  .compare-viewport { height: min(70vw, 520px); }
}
@media (max-width: 480px){
  .compare-viewport { height: min(84vw, 440px); }
  .cmp-handle .bar { height: 110px; }
  .cmp-chip { font-size:  1.3rem; }
}
/* ===================== SIXTH SECTION CSS END HERE ===================== */













/* ===================== SEVENTH SECTION CSS START HERE ===================== */
.yz6030-downloads-section {
  background: var(--page-bg); /* alternate after white previous section */
  color: var(--ink);
  /* padding: clamp(56px, 7vw, 96px) 0px; */
}

.yz6030-downloads-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.yz6030-downloads-head {
  text-align: center;
  margin-bottom: clamp(22px, 4vw, 40px);
}
.yz6030-downloads-head .yz6030-title {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  margin: 0 0 6px;
  color: var(--ink);
}
.yz6030-downloads-head .yz6030-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: clamp( 1.3rem, 1.5vw, 1.1rem);
}

/* Layout */
.downloads-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(18px, 3vw, 28px);
  align-items: center;
}
@media (max-width: 992px){
  .downloads-grid { grid-template-columns: 1fr; }
}

/* Visual */
.downloads-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-strong);
  /* padding: clamp(12px, 2vw, 16px); */
  perspective: 1000px;
}
.downloads-png {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: contrast(1.06) saturate(1.05) brightness(1)
          drop-shadow(0 10px 30px rgba(0,0,0,0.12));
  transform: translateZ(0);
  transition: transform 180ms ease;
}
/* glossy sweep */
.downloads-shine {
  position: absolute; inset: -20% -40%;
  pointer-events: none;
  background: linear-gradient(100deg,
              rgba(255,255,255,0) 30%,
              rgba(255,255,255,0.9) 50%,
              rgba(255,255,255,0) 70%);
  mix-blend-mode: soft-light;
  animation: dlShine 9s ease-in-out infinite;
}
@keyframes dlShine {
  0% { transform: translateX(-60%); }
  50%{ transform: translateX(60%); }
  100%{ transform: translateX(-60%); }
}

/* Cards */
.downloads-cards {
  display: grid;
  gap: 14px;
}
.dl-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-strong);
  padding: 14px;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 700ms ease, opacity 700ms ease;
}
.dl-card.visible { transform: translateY(0); opacity: 1; }

.dl-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: var(--shadow-soft);
}
.dl-icon svg { width: 22px; height: 22px; }

.dl-content { display: grid; gap: 6px; }
.dl-title { margin: 0; font-size: 1.05rem; color: var(--ink); }
.dl-meta  { margin: 0; font-size:  1.3rem; color: var(--muted); }

/* Button with ripple */
.dl-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  margin-top: 2px;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 12px;
  background: linear-gradient(180deg, #111 0%, #333 100%);
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.dl-btn .btn-icon svg { width: 18px; height: 18px; display:block; }
.dl-btn .btn-ripple {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  opacity: 0;
}
.dl-btn .btn-ripple.run {
  animation: btnRipple 600ms ease-out;
}
@keyframes btnRipple {
  0%   { opacity: 0.5; transform: translate(-50%, -50%) scale(0); }
  100% { opacity: 0;   transform: translate(-50%, -50%) scale(18); }
}

/* Toast */
.dl-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  color: var(--ink);
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: var(--shadow-strong);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
  z-index: 60;
}
.dl-toast .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #09c372;
  box-shadow: 0 0 0 0 rgba(9,195,114,0.5);
  animation: dlPulse 1.6s ease-out infinite;
}
@keyframes dlPulse {
  0% { box-shadow: 0 0 0 0 rgba(9,195,114,0.5); }
  100%{ box-shadow: 0 0 0 12px rgba(9,195,114,0); }
}
.dl-toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ===== Modal popup (Available soon…) ===== */
.dl-modal {
  border: none;
  padding: 0;
  background: none;
  max-width: 90vw;
}
.dl-modal::backdrop {
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
}
.dl-modal-card {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: var(--shadow-strong);
  padding: 18px 16px;
  width: min(420px, 90vw);
  display: grid;
  gap: 10px;
}
.dl-modal-card h3 {
  margin: 0;
  font-size: 1.1rem;
}
.dl-modal-card p {
  margin: 0;
  color: var(--muted);
  font-size:  1.3rem;
}
.dl-modal-close {
  justify-self: end;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  background: linear-gradient(180deg, #111 0%, #333 100%);
  color: #fff;
  padding: 8px 12px;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}
.dl-modal[open] {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background: transparent; /* keep backdrop handled by ::backdrop */
  padding: 0;
  border: none;
}
/* ===================== SEVENTH SECTION CSS END HERE ===================== */




















/* ===================== EIGHT SECTION CSS — FIXED ===================== */
.yz6030-faq-section {
  background: var(--page-bg);
  color: var(--ink);
  padding: clamp(56px, 7vw, 96px) 20px;
}

.yz6030-faq-wrap { max-width: 1000px; margin: 0 auto; }

/* Header */
.yz6030-faq-head {
  text-align: center;
  margin-bottom: clamp(22px, 4vw, 40px);
}
.yz6030-faq-head .yz6030-title {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  margin: 0 0 6px;
  color: var(--ink);
}
.yz6030-faq-head .yz6030-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: clamp( 1.3rem, 1.5vw, 1.1rem);
}

/* Stage */
.faq-stage {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-strong);
  padding: clamp(16px, 2.4vw, 22px);
}

/* Watermark */
.faq-bg-png {
  position: absolute;
  right: -5%;
  bottom: -10%;
  width: min(70%, 720px);
  height: auto;
  object-fit: contain;
  opacity: 0.06;
  filter: contrast(1.05) saturate(1.02);
  pointer-events: none;
}

/* Accordion */
.faq-accordion { position: relative; z-index: 1; display: grid; gap: 10px; }

.faq-item {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 600ms ease, opacity 600ms ease;
}
.faq-item.visible { transform: translateY(0); opacity: 1; }

/* Question row */
.faq-q {
  width: 100%;
  text-align: left;
  padding: 16px 48px 16px 16px;
  background: transparent;
  border: none;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 14px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Chevron */
.faq-chevron {
  position: absolute;
  right: 16px; top: 50%;
  width: 14px; height: 14px;
  transform: translateY(-50%) rotate(45deg);
  transition: transform 200ms ease;
}
.faq-q[aria-expanded="true"] .faq-chevron {
  transform: translateY(-50%) rotate(-135deg);
}
.faq-chevron::before,
.faq-chevron::after {
  content: "";
  position: absolute;
  inset: 0;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  opacity: 0.8;
  border-radius: 1px;
}

/* Answer panel — no default height; JS controls it */
.faq-a {
  display: none;             /* shown/hidden by JS */
  overflow: hidden;
  transition: height 260ms ease;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.faq-a-inner { padding: 12px 16px 16px 16px; color: var(--muted); }

/* Open state */
.faq-item.is-open .faq-a { display: block; }

/* Responsive watermark */
@media (max-width: 640px){
  .faq-bg-png { right: -20%; bottom: -16%; width: min(100%, 600px); }
}
