:root {
  --bg: #ffffff;
  --bg-elevated: #f6f7f9;
  --bg-card: #ffffff;
  --border: #e2e5eb;
  --text: #1a1d26;
  --text-muted: #5a6478;
  --blue: #1a7ae8;
  --green: #0fa87a;
  --orange: #e67a2e;
  --gradient: linear-gradient(135deg, var(--blue), var(--green), var(--orange));
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--green);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.site-header .nav-links a {
  color: var(--text-muted);
}

.site-header .nav-links a:hover,
.site-header .nav-links a.active {
  color: var(--text);
}

.site-header .nav-toggle span {
  background: var(--text);
}

/* Status bar */
.status-bar {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  text-align: center;
}

.status-badge {
  background: var(--gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.status-divider {
  opacity: 0.4;
}

.usa-badge {
  color: var(--text);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: 220px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-cta {
  padding: 0.5rem 1.25rem;
  background: var(--gradient);
  border-radius: 8px;
  color: #fff !important;
}

.nav-cta:hover {
  opacity: 0.9;
  color: #fff !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
  color: var(--text);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(43, 140, 255, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(45, 212, 160, 0.06), transparent),
    var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 2rem;
}

.usa-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2rem;
}

.usa-flag {
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-render {
  margin: 0;
}

.hero-render-img {
  width: 100%;
  height: auto;
  display: block;
  background: transparent;
}

.hero-logo-figure {
  position: relative;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-glow {
  position: absolute;
  inset: 10%;
  background: var(--gradient);
  filter: blur(48px);
  opacity: 0.3;
  z-index: 0;
  border-radius: 50%;
  animation: glow-pulse 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-logo-img {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  height: auto;
  display: block;
  pointer-events: none;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.22; transform: scale(0.95); }
  50%      { opacity: 0.38; transform: scale(1.05); }
}

.hero-render-caption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.printer-illustration {
  position: relative;
  height: 220px;
  margin-bottom: 1rem;
}

.printer-frame {
  position: absolute;
  inset: 20px 30px 40px;
  border: 3px solid var(--border);
  border-radius: 4px;
}

.printer-bed {
  position: absolute;
  bottom: 40px;
  left: 50px;
  right: 50px;
  height: 8px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  border-radius: 2px;
  opacity: 0.6;
}

.printer-head {
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 24px;
  background: var(--bg-elevated);
  border: 2px solid var(--orange);
  border-radius: 4px;
  animation: head-move 4s ease-in-out infinite;
}

.print-object {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 30px;
  background: var(--gradient);
  border-radius: 4px 4px 0 0;
  opacity: 0.8;
  animation: print-grow 4s ease-in-out infinite;
}

@keyframes head-move {
  0%, 100% { left: 35%; }
  50% { left: 65%; }
}

@keyframes print-grow {
  0%, 20% { height: 10px; }
  80%, 100% { height: 40px; }
}

.hero-card-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Features */
.features {
  padding: 5rem 0;
  background: var(--bg-elevated);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color 0.2s;
}

.feature-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-icon.blue { color: var(--blue); }
.feature-icon.green { color: var(--green); }
.feature-icon.orange { color: var(--orange); }

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* CTA Banner */
.cta-banner {
  padding: 4rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.cta-inner p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Page header */
.page-header {
  padding: 4rem 0 2rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.page-header .lead {
  margin-inline: auto;
}

/* Products */
.products {
  padding: 2rem 0 5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
}

.product-image {
  height: 180px;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-placeholder {
  width: 120px;
  height: 100px;
  border: 2px dashed var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 0.5rem;
}

.product-body {
  padding: 1.5rem;
}

.product-body h2 {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.product-tagline {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.product-specs {
  list-style: none;
  margin-bottom: 1.5rem;
}

.product-specs li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.product-specs li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* About */
.about-content {
  padding: 2rem 0 5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.about-text h2:first-child {
  margin-top: 0;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-list {
  list-style: none;
  color: var(--text-muted);
}

.about-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.about-list li:last-child {
  border-bottom: none;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Contact */
.contact {
  padding: 2rem 0 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-row {
  margin-bottom: 1.25rem;
}

.form-row label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: var(--text-muted);
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.info-card p {
  font-size: 0.95rem;
}

.contact-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

.contact-form h2 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.contact-form > p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.email-instructions {
  margin-bottom: 1.5rem;
}

.email-to,
.email-include {
  margin-bottom: 1.25rem;
}

.email-to h3,
.email-include h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.email-to p {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Footer */
.site-footer {
  width: 100%;
  background: var(--bg);
  border-top: 1px solid var(--border);
  box-shadow: 0 -1px 8px rgba(0, 0, 0, 0.06);
  padding: 3rem 0 0;
  margin-top: auto;
  color: var(--text);
}

.footer-inner {
  width: 100%;
  padding-inline: 4%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
}

.footer-logo {
  height: 180px;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 520px;
}

.site-footer h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.site-footer ul {
  list-style: none;
}

.site-footer li {
  margin-bottom: 0.4rem;
}

.site-footer a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--text);
}

.footer-bottom {
  width: 100%;
  padding: 1.25rem 4%;
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--bg-elevated);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    padding: 1rem;
    gap: 0.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav {
    position: relative;
    flex-wrap: wrap;
  }

  .hero-inner,
  .about-grid,
  .contact-grid,
  .feature-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-visual {
    order: -1;
  }

  .logo {
    height: 140px;
  }

  .footer-logo {
    height: 140px;
  }

  .hero-render-img {
    max-width: 100%;
  }

  .status-divider {
    display: none;
  }
}

/* ============================================
   3D-printer-themed animations & visual effects
   ============================================ */

/* --- Hero: animated layer-line background --- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

/* Horizontal "print layers" slowly rising, like a part being built */
.hero-layers {
  position: absolute;
  inset: -100px 0 0;
  background: repeating-linear-gradient(
    to top,
    rgba(26, 122, 232, 0.05) 0px,
    rgba(26, 122, 232, 0.05) 1px,
    transparent 1px,
    transparent 18px
  );
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 70%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 70%);
  animation: layers-rise 14s linear infinite;
}

@keyframes layers-rise {
  from { transform: translateY(0); }
  to { transform: translateY(-36px); }
}

/* Floating filament particles */
.filament-dot {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.5;
  animation: drift 12s ease-in-out infinite;
}

.dot-1 { width: 10px; height: 10px; background: var(--blue);   top: 18%; left: 8%;  animation-duration: 11s; }
.dot-2 { width: 6px;  height: 6px;  background: var(--orange); top: 32%; left: 16%; animation-duration: 14s; animation-delay: -3s; }
.dot-3 { width: 8px;  height: 8px;  background: var(--green);  top: 12%; left: 45%; animation-duration: 13s; animation-delay: -6s; }
.dot-4 { width: 5px;  height: 5px;  background: var(--blue);   top: 65%; left: 52%; animation-duration: 16s; animation-delay: -2s; }
.dot-5 { width: 12px; height: 12px; background: var(--orange); top: 75%; left: 12%; animation-duration: 15s; animation-delay: -8s; }
.dot-6 { width: 7px;  height: 7px;  background: var(--green);  top: 55%; left: 88%; animation-duration: 12s; animation-delay: -5s; }

@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%      { transform: translate(18px, -26px) scale(1.15); }
  50%      { transform: translate(-12px, -44px) scale(0.9); }
  75%      { transform: translate(10px, -18px) scale(1.05); }
}

/* --- Print-head line: nozzle extruding a trace under the headline --- */
.print-line {
  position: relative;
  height: 18px;
  max-width: 420px;
  margin-bottom: 1.5rem;
}

.print-trace {
  position: absolute;
  bottom: 2px;
  left: 0;
  height: 4px;
  width: 100%;
  border-radius: 2px;
  background: var(--gradient);
  transform-origin: left center;
  animation: extrude-trace 4s ease-in-out infinite;
}

.print-nozzle {
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 14px;
  height: 14px;
  background: linear-gradient(180deg, #3a4154, #1a1d26);
  clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
  animation: nozzle-travel 4s ease-in-out infinite;
}

.print-nozzle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 6px 2px rgba(230, 122, 46, 0.6);
  animation: nozzle-glow 1s ease-in-out infinite alternate;
}

@keyframes nozzle-travel {
  0%   { left: 0; }
  45%  { left: calc(100% - 14px); }
  50%  { left: calc(100% - 14px); }
  95%  { left: 0; }
  100% { left: 0; }
}

@keyframes extrude-trace {
  0%   { transform: scaleX(0); opacity: 1; }
  45%  { transform: scaleX(1); opacity: 1; }
  50%  { transform: scaleX(1); opacity: 0.35; }
  95%  { transform: scaleX(0.02); opacity: 0.35; transform-origin: left center; }
  100% { transform: scaleX(0); opacity: 1; }
}

@keyframes nozzle-glow {
  from { box-shadow: 0 0 4px 1px rgba(230, 122, 46, 0.4); }
  to   { box-shadow: 0 0 8px 3px rgba(230, 122, 46, 0.8); }
}

/* --- Gradient text shimmer --- */
.gradient-text {
  background: linear-gradient(
    110deg,
    var(--blue) 20%,
    var(--green) 40%,
    var(--orange) 60%,
    var(--blue) 80%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
  from { background-position: 100% 0; }
  to   { background-position: -150% 0; }
}

/* --- Hero render: floating 3D card with glow --- */

/* --- Layer divider between sections (print-layer seam) --- */
.layer-divider {
  height: 6px;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(26, 122, 232, 0.25) 0 24px,
      rgba(15, 168, 122, 0.25) 24px 48px,
      rgba(230, 122, 46, 0.25) 48px 72px
    );
  background-size: 144px 100%;
  animation: conveyor 6s linear infinite;
  opacity: 0.6;
}

@keyframes conveyor {
  from { background-position: 0 0; }
  to   { background-position: 144px 0; }
}

/* --- Scroll-reveal animations --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 3D tilt cards (driven by JS, smoothed by CSS) --- */
[data-tilt] {
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

[data-tilt].tilting {
  transition: transform 0.08s linear, box-shadow 0.25s ease-out;
}

/* --- Feature cards: lift, sheen sweep, gradient top edge --- */
.feature-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.feature-card:hover::after {
  left: 130%;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 29, 38, 0.12);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-elevated);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-card:hover .feature-icon {
  transform: translateZ(20px) scale(1.15) rotate(-6deg);
}

/* --- Product cards: same treatment --- */
.product-card {
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26, 29, 38, 0.12);
}

.product-placeholder {
  animation: placeholder-breathe 4s ease-in-out infinite;
}

@keyframes placeholder-breathe {
  0%, 100% { border-color: var(--border); }
  50%      { border-color: rgba(26, 122, 232, 0.45); }
}

/* --- Buttons: gradient sweep + lift --- */
.btn {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--green), var(--orange));
  background-size: 200% 200%;
  animation: gradient-shift 6s ease infinite;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 122, 232, 0.35);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(26, 29, 38, 0.1);
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* --- Nav links: animated extrusion underline --- */
.nav-links a:not(.nav-cta) {
  position: relative;
  padding-bottom: 3px;
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links a:not(.nav-cta):hover::after,
.nav-links a:not(.nav-cta).active::after {
  transform: scaleX(1);
}

/* --- Status badge pulse --- */
.status-badge {
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(26, 122, 232, 0.4); }
  50%      { box-shadow: 0 0 0 6px rgba(26, 122, 232, 0); }
}

/* --- CTA print progress bar --- */
.print-progress {
  max-width: 460px;
  margin: 0 auto 1.75rem;
}

.print-progress-track {
  height: 10px;
  border-radius: 5px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  overflow: hidden;
}

.print-progress-bar {
  height: 100%;
  width: 0;
  border-radius: 5px;
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.25) 0 8px,
      transparent 8px 16px
    ),
    var(--gradient);
  background-size: 32px 100%, 200% 100%;
  animation:
    print-fill 8s cubic-bezier(0.45, 0, 0.55, 1) infinite,
    stripes-move 1s linear infinite;
}

@keyframes print-fill {
  0%   { width: 0; }
  85%  { width: 100%; }
  95%  { width: 100%; opacity: 1; }
  100% { width: 100%; opacity: 0; }
}

@keyframes stripes-move {
  from { background-position: 0 0, 0 0; }
  to   { background-position: 32px 0, 0 0; }
}

.print-progress-label {
  margin-top: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  text-align: center;
}

/* --- Stat cards: subtle float stagger --- */
.stat-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: var(--shadow);
}

/* --- Reduced motion: switch everything off --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
