* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --orange: #e05a1e;
  --orange-glow: rgba(224, 90, 30, 0.35);
  --orange-dim: rgba(224, 90, 30, 0.12);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-35: rgba(255, 255, 255, 0.35);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-06: rgba(255, 255, 255, 0.06);
  --white-03: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.07);
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}
html {
  scroll-behavior: smooth;
}
body {
  background: #000;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  overflow-x: hidden;
}

/* ===== CUSTOM MAGNETIC CURSOR ===== */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.3s var(--ease-spring),
    height 0.3s var(--ease-spring),
    opacity 0.3s;
  mix-blend-mode: normal;
}
.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(224, 90, 30, 0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    width 0.5s var(--ease-spring),
    height 0.5s var(--ease-spring),
    border-color 0.3s,
    transform 0.12s ease;
}
.cursor.hovering {
  width: 18px;
  height: 18px;
  background: #fff;
}
.cursor-follower.hovering {
  width: 64px;
  height: 64px;
  border-color: rgba(224, 90, 30, 0.9);
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 140px 80px 60px;
  position: relative;
  overflow: hidden;
  min-height: 58vh;
}
/* cinematic ambient light */
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(
      ellipse at 65% -5%,
      rgba(224, 90, 30, 0.13) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 5% 90%,
      rgba(224, 90, 30, 0.05) 0%,
      transparent 45%
    );
  animation: headerBreath 7s ease-in-out infinite alternate;
}
@keyframes headerBreath {
  from {
    opacity: 0.7;
    transform: scale(1);
  }
  to {
    opacity: 1;
    transform: scale(1.04);
  }
}
/* horizontal scan line */
.page-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(224, 90, 30, 0.4) 50%,
    transparent 100%
  );
  top: 0;
  transform: translateY(0);
  z-index: 1;
  animation: scanLine 6s linear infinite;
}
@keyframes scanLine {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100vh);
    opacity: 0;
  }
}
.page-header-inner {
  position: relative;
  z-index: 2;
}

.page-eyebrow {
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeIn 0.6s var(--ease-spring) 0.15s forwards;
}
.page-eyebrow::before {
  content: "";
  display: inline-block;
  height: 1px;
  background: var(--orange);
  width: 0;
  animation: lineExpand 0.7s var(--ease-spring) 0.6s forwards;
}
@keyframes lineExpand {
  to {
    width: 36px;
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

.page-title {
  font-family: "Syne", sans-serif;
  font-size: 72px;
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 0.95;
  background: linear-gradient(160deg, #fff 45%, rgba(255, 255, 255, 0.3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(28px) skewY(1deg);
  animation: titleIn 1s var(--ease-spring) 0.25s forwards;
}
@keyframes titleIn {
  to {
    opacity: 1;
    transform: translateY(0) skewY(0deg);
  }
}

.page-sub {
  font-size: 15px;
  color: var(--white-35);
  max-width: 460px;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(16px);
  animation: slideUp 0.7s var(--ease-spring) 0.5s forwards;
}
.page-stats {
  display: flex;
  gap: 56px;
  margin-top: 44px;
  opacity: 0;
  transform: translateY(16px);
  animation: slideUp 0.7s var(--ease-spring) 0.65s forwards;
}
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-stat span:first-child {
  font-family: "Syne", sans-serif;
  font-size: 38px;
  font-weight: 800;
  color: #fff;
  display: block;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.6));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-stat span:last-child {
  font-size: 10px;
  color: var(--white-35);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

/* ===== FILTER BAR ===== */
.filter-bar {
  padding: 20px 80px 40px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  font-size: 11.5px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white-03);
  color: var(--white-35);
  cursor: pointer;
  font-family: "DM Sans", sans-serif;
  letter-spacing: 0.3px;
  transition:
    color 0.25s,
    border-color 0.25s,
    background 0.25s,
    transform 0.35s var(--ease-spring),
    box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
/* liquid fill from bottom */
.filter-btn::before {
  content: "";
  position: absolute;
  bottom: -110%;
  left: -5%;
  right: -5%;
  height: 120%;
  background: linear-gradient(180deg, transparent, var(--orange));
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  transition: bottom 0.4s var(--ease-spring);
  z-index: 0;
}
.filter-btn:hover::before {
  bottom: -10%;
}
.filter-btn:hover {
  color: #fff;
  border-color: rgba(224, 90, 30, 0.6);
  transform: translateY(-2px);
}
.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  box-shadow:
    0 6px 28px rgba(224, 90, 30, 0.45),
    0 0 0 1px rgba(224, 90, 30, 0.15);
  transform: translateY(-2px);
}
.filter-btn > * {
  position: relative;
  z-index: 1;
}
.filter-btn:active {
  transform: scale(0.95);
}

/* ===== GRID ===== */
.machines-grid {
  padding: 0 80px 120px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

/* ===== CARD ===== */
.machine-card {
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(36px) scale(0.96);
  transition:
    border-color 0.4s var(--ease-out),
    transform 0.5s var(--ease-spring),
    background 0.4s ease,
    box-shadow 0.4s ease;
  will-change: transform;
}
/* mouse-tracked gradient */
.machine-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 0%),
    rgba(224, 90, 30, 0.11) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
/* top glow edge */
.machine-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  z-index: 1;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(224, 90, 30, 0.7),
    transparent
  );
  opacity: 0;
  transform: scaleX(0);
  transition:
    opacity 0.4s ease,
    transform 0.5s var(--ease-spring);
}
.machine-card:hover {
  border-color: rgba(224, 90, 30, 0.5);
  background: rgba(255, 255, 255, 0.048);
  transform: translateY(-10px) scale(1.015);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(224, 90, 30, 0.08),
    0 0 80px rgba(224, 90, 30, 0.05);
}
.machine-card:hover::before {
  opacity: 1;
}
.machine-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}
.machine-card:active {
  transform: translateY(-4px) scale(0.99);
}
.machine-card.visible {
  animation: cardIn 0.75s var(--ease-spring) forwards;
}
@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ===== CARD IMAGE ===== */
.card-img-wrap {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.card-img-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.55));
  pointer-events: none;
}
.card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* mix-blend-mode removed for perf */
  filter: brightness(1.1) contrast(1.05);
  transition:
    transform 0.65s var(--ease-spring),
    filter 0.5s ease;
  will-change: transform;
}
.machine-card:hover .card-img {
  transform: scale(1.14) translateY(-8px) rotate(0.5deg);
  filter: brightness(1.28) contrast(1.12);
}

/* ===== CARD BODY ===== */
.card-body {
  padding: 20px 22px 0;
  flex: 1;
  position: relative;
  z-index: 2;
}
.card-cat {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 8px;
}
.card-name {
  font-family: "Syne", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 8px;
  transition:
    letter-spacing 0.35s var(--ease-spring),
    color 0.25s;
}
.machine-card:hover .card-name {
  letter-spacing: 0.3px;
}
.card-count {
  font-size: 12px;
  color: var(--white-35);
}
.card-count span {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* ===== CARD FOOTER ===== */
.card-divider {
  height: 1px;
  margin: 14px 22px 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.07),
    transparent
  );
  transition: background 0.5s ease;
}
.machine-card:hover .card-divider {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(224, 90, 30, 0.35),
    transparent
  );
}
.card-footer {
  padding: 14px 22px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition:
    gap 0.35s var(--ease-spring),
    letter-spacing 0.35s;
}
.machine-card:hover .card-hover {
  gap: 16px;
  letter-spacing: 1px;
}
.card-tag {
  font-size: 10px;
  padding: 4px 10px;
  background: var(--white-06);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--white-35);
  transition: all 0.3s ease;
}
.machine-card:hover .card-tag {
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
}
.iot-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  padding: 4px 10px;
  background: rgba(224, 90, 30, 0.1);
  border: 1px solid rgba(224, 90, 30, 0.35);
  border-radius: 20px;
  color: var(--orange);
  font-weight: 500;
  transition:
    background 0.35s,
    box-shadow 0.35s,
    transform 0.35s var(--ease-spring);
}
.machine-card:hover .iot-tag {
  background: rgba(224, 90, 30, 0.22);
  box-shadow: 0 0 20px rgba(224, 90, 30, 0.35);
  transform: scale(1.06);
}
.iot-tag svg {
  flex-shrink: 0;
}
.machine-card.hidden {
  display: none;
}

/* ===== FOOTER STRIP ===== */
.page-footer-strip {
  border-top: 1px solid var(--border);
  padding: 32px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.page-footer-strip span {
  font-size: 12px;
  color: var(--white-35);
}
.page-footer-strip a {
  font-size: 12px;
  color: var(--orange);
  text-decoration: none;
  transition: letter-spacing 0.35s var(--ease-spring);
}
.page-footer-strip a:hover {
  letter-spacing: 1px;
}

/* ===== PAGE TRANSITION ===== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #000;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.55s var(--ease-in-out);
  pointer-events: none;
}
.page-transition.out {
  transform: scaleY(1);
  transform-origin: bottom;
}
.page-transition.in {
  transform: scaleY(0);
  transform-origin: top;
}

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

/* ========================================
   TABLET
======================================== */
@media (max-width: 1024px) {
  .page-header {
    padding: 120px 40px 50px;
    min-height: auto;
  }

  .page-title {
    font-size: clamp(48px, 8vw, 64px);
  }

  .filter-bar {
    padding: 20px 40px 30px;
  }

  .machines-grid {
    padding: 0 40px 100px;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .page-footer-strip {
    padding: 30px 40px;
  }

  .page-stats {
    gap: 32px;
    flex-wrap: wrap;
  }
}

/* ========================================
   MOBILE
======================================== */
@media (max-width: 768px) {
    .filter-bar {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      overflow: visible;
    }

    .filter-btn {
      width: 100%;
    }
  .page-header {
    padding: 110px 24px 40px;
    min-height: auto;
    text-align: center;
  }

  .page-eyebrow {
    justify-content: center;
  }

  .page-title {
    font-size: clamp(42px, 12vw, 56px);
    letter-spacing: -2px;
  }

  .page-sub {
    max-width: 100%;
    margin: 0 auto;
    font-size: 14px;
  }

  .page-stats {
    margin-top: 32px;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .page-stat span:first-child {
    font-size: 28px;
  }

  .filter-bar {
    padding: 16px 24px 24px;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .machines-grid {
    padding: 0 24px 80px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .card-img-wrap {
    height: 240px;
  }

  .card-body {
    padding: 18px;
  }

  .card-footer {
    padding: 14px 18px 18px;
  }

  .page-footer-strip {
    padding: 24px;
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ========================================
   SMALL MOBILE
======================================== */
@media (max-width: 480px) {
  .page-header {
    padding: 100px 20px 32px;
  }

  .page-title {
    font-size: 38px;
  }

  .machines-grid {
    padding: 0 20px 70px;
  }

  .card-img-wrap {
    height: 200px;
    padding: 20px;
  }

  .page-stat span:first-child {
    font-size: 24px;
  }

  .page-stat span:last-child {
    font-size: 9px;
  }
}

/* .filter-hint {
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,.45);
  margin-top: 8px;
} */


/* ================================================================
   MOBILE BRIGHTNESS + PREMIUM POLISH  (auto-generated)
   Hard hex values — correct at ANY screen brightness level
================================================================ */
@media (max-width: 768px) {

  /* CARD BACKGROUNDS */
  .why-card, .infra-stat-box, .infra-floor, .quality-pillar,
  .story-img-cell, .explore-card, .pl-card, .bake-card, .ind-card,
  .machine-card, .blog-card, .timeline-card, .featured-card,
  .stat-block, .r-card, .t-card, .pkg-card, .pkg-info-card,
  .pkg-manpower-card, .contact-info-card, .post-sidebar-box,
  .flow-step-box, .iot-card, .infra-img-main, .tl-img-frame,
  .why-features .why-card, .cert-grid .cert-card,
  .export-panel, .r-card, .rating-callout { background: #1e1e1e; border-color: #3a3a3a; }

  /* BODY / DESCRIPTION TEXT */
  .why-card p, .infra-floor-body, .infra-floor-detail, .infra-intro,
  .quality-intro, .quality-pillar-body-inner li, .quality-pillar-sub,
  .story-body-text p, .explore-card-desc, .explore-header-sub,
  .about-hero-desc, .section-body, .why-header-right p,
  .pl-card-desc, .pl-hero-sub, .pl-card-flow span,
  .machine-card-desc, .bake-card-desc, .blog-card-excerpt,
  .blog-card-subtitle, .featured-desc, .timeline-desc,
  .tl-body, .r-quote, .t-card-quote, .pkg-desc, .pkg-info-sub,
  .line-meta-text, .post-content p, .detail-desc, .hero-desc,
  .page-sub, .csa-sub, .ind-sub, .bake-sub, .about-body,
  .process-sub, .cta-sub, .card-models, .card-count,
  .terms-clause-body p, .pp-section p, .pp-list li,
  .contact-subtitle, .footer-tagline, .blog-hero-desc,
  .step-label, .cta-sub { color: #cccccc; }

  /* SECONDARY / LABEL TEXT */
  .about-hero-stat-label, .infra-stat-box-label, .pl-stat-label,
  .csa-stat-l, .stat-label, .t-stat-label, .pkg-info-label,
  .pkg-manpower-label, .card-cat, .section-eyebrow,
  .line-hero-eyebrow, .flow-step-num, .blog-card-date,
  .post-hero-date, .r-loc, .t-card-loc, .cert-milestone-label,
  .line-nav-prev-hint, .line-nav-next-hint, .contact-info-label,
  .breadcrumb, .breadcrumb a, .back-btn,
  .pkg-machine-note { color: #aaaaaa; }

  /* CARD TITLES */
  .why-card h3, .infra-floor-name, .quality-pillar-title,
  .explore-card-title, .pl-card-name, .machine-card-name,
  .bake-card-name, .blog-card-title, .featured-name,
  .timeline-event-name, .tl-headline, .t-card-name,
  .pkg-card-name, .card-name, .cta-title,
  .models-cta-text h4, .iot-card-title,
  .contact-info-value { color: #ffffff; font-size: 15px; }

  /* STAT NUMBERS */
  .about-hero-stat-num, .infra-stat-box-num, .pl-stat-num,
  .csa-stat-n, .stat-num, .t-stat-num, .pkg-info-value,
  .pkg-manpower-value, .history-meta-num,
  .rating-big { color: #ffffff; font-size: 24px; }

  /* PILL / TAG CHIPS */
  .pl-card-capacity, .pl-card-machine-tag, .infra-badge,
  .line-meta-badge, .tl-tag, .model-tag, .card-tag,
  .pkg-tag, .pkg-material, .detail-tag,
  .filter-pill, .filter-btn { background: #252525; border-color: #3d3d3d; color: #cccccc; }

  /* SECTION TITLES */
  .section-title, .pl-lines-title, .pl-overview-title,
  .bake-title, .ind-title, .about-title, .featured-title,
  .timeline-title, .t-hero-title { font-size: clamp(28px, 7vw, 40px); }

  /* FLOW */
  .flow-step-name { color: #ffffff; }
  .flow-step-box { background: #1e1e1e; border-color: #3a3a3a; }

  /* FOOTER */
  .footer-col ul li a { color: #aaaaaa; }
  .footer-col h4.footer-col-title { color: #888888; }
  .footer-address { color: #aaaaaa; }
  .footer-bottom span, .footer-bottom-links a { color: #666666; }

  /* TESTIMONIALS */
  .t-card-quote, .r-quote { color: #cccccc; }
  .cert-milestone-year { color: #888888; }

  /* PACKAGES */
  .pkg-machine-name { color: #eeeeee; }
  .pkg-capacity-row span { color: #cccccc; }
  .pkg-capacity-row span:first-child { color: #eeeeee; }
  .pkg-note, .pkg-desc { color: #cccccc; }

  /* BLOG */
  .post-related-title { color: #cccccc; }

  /* MACHINE / MODEL */
  .detail-desc, .iot-card-desc, .right-sub,
  .models-cta-text p { color: #cccccc; }
  .specs-table td:first-child { color: #aaaaaa; }
  .specs-table td:last-child { color: #eeeeee; }

  /* PRIVACY / TERMS */
  .terms-notice, .pp-note { color: #cccccc; }
}

@media (max-width: 480px) {
  .pl-card-name, .machine-card-name, .bake-card-name,
  .why-card h3, .explore-card-title { font-size: 14px; }
  .section-title, .pl-lines-title { font-size: clamp(26px, 8vw, 34px); }
}


/* ================================================================
   PREMIUM MICRO-ANIMATIONS (auto-generated)
   Smooth, tasteful — respects prefers-reduced-motion
================================================================ */

/* Scroll reveal base */
.reveal, .fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible, .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }

/* Card hover lift — premium feel */
.why-card, .infra-stat-box, .infra-floor, .explore-card,
.pl-card, .bake-card, .ind-card, .machine-card, .blog-card,
.featured-card, .stat-block, .r-card, .t-card, .pkg-card,
.pkg-info-card, .timeline-card, .contact-info-card {
  transition: border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Shimmer on card hover */
.why-card::after, .explore-card::after, .pl-card::after,
.machine-card::after, .blog-card::after, .pkg-card::after {
  content: "";
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224,90,30,0.6), transparent);
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.4s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-card:hover::after, .explore-card:hover::after,
.pl-card:hover::after, .machine-card:hover::after,
.blog-card:hover::after, .pkg-card:hover::after {
  opacity: 1; transform: scaleX(1);
}

/* Stat number count-up glow on hover */
.about-hero-stat:hover .about-hero-stat-num,
.infra-stat-box:hover .infra-stat-box-num,
.stat-block:hover .stat-number {
  text-shadow: 0 0 20px rgba(255,255,255,0.15);
}

/* Link underline slide */
.footer-col ul li a,
.drawer-link,
.toc-pill,
.filter-pill {
  transition: color 0.25s, padding-left 0.3s cubic-bezier(0.16,1,0.3,1),
              background 0.25s, border-color 0.25s, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}

/* Button press feedback */
.nav-cta:active, .fcta-btn-primary:active,
.line-cta-btn-primary:active, .pkg-cta-primary:active,
.enquire-submit:active {
  transform: scale(0.97) translateY(0);
}

/* Image scale on card hover */
.bake-card:hover .bake-card-img,
.ind-line-pill:hover .ind-line-pill-icon img,
.blog-card:hover img { transform: scale(1.06); }

/* Smooth border-radius pulse on active nav item */
.island-item.active .island-icon svg {
  filter: drop-shadow(0 0 4px rgba(224,90,30,0.6));
}

/* Orange accent line slide-in on section hover */
.pl-card-cta-text, .view-btn, .blog-card-cta,
.explore-card-cta, .featured-details {
  transition: letter-spacing 0.35s cubic-bezier(0.16,1,0.3,1),
              opacity 0.3s, transform 0.35s cubic-bezier(0.16,1,0.3,1);
}

/* Tablet-specific enhancements */
@media (min-width: 769px) and (max-width: 1024px) {
  .why-card:hover, .explore-card:hover, .pl-card:hover,
  .machine-card:hover, .blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.55), 0 0 0 1px rgba(224,90,30,0.06);
  }
}

/* Desktop-specific enhancements */
@media (min-width: 1025px) {
  .why-card:hover, .explore-card:hover, .pl-card:hover,
  .machine-card:hover, .blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 72px rgba(0,0,0,0.65), 0 0 0 1px rgba(224,90,30,0.07);
  }
  /* Subtle parallax depth on hero sections */
  .pl-hero-bg, .about-hero-orb, .blog-hero-orb {
    will-change: transform;
  }
}

/* Mobile — no hover transforms (tap only) */
@media (max-width: 768px) {
  .why-card:hover, .explore-card:hover, .pl-card:hover,
  .machine-card:hover, .blog-card:hover, .infra-floor:hover,
  .quality-pillar:hover { transform: none; }
  .why-card:active { transform: scale(0.98); }
  .pl-card:active, .blog-card:active, .machine-card:active { transform: scale(0.98); }
  .island-item:active { transform: scale(0.92); }
}

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

/* ========================================
   FLOATING FILTER (desktop only, shown after scrolling past filter-bar)
======================================== */
.filter-bar-floating {
  display: none;
  position: fixed;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
  z-index: 60;
  flex-direction: column;
  gap: 8px;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.filter-bar-floating.visible {
  opacity: 1;
  pointer-events: auto;
}
.filter-bar-floating .filter-btn {
  font-size: 10.5px;
  padding: 7px 14px;
  white-space: nowrap;
  text-align: left;
}
@media (min-width: 769px) {
  .filter-bar-floating {
    display: flex;
  }
}
