/* =========================================================
   CHAMPION SHOP 3D — DESIGN SYSTEM
   Troque cores, fontes, raios, sombras e espaçamentos aqui.
   ========================================================= */
:root {
  --font-display: "Segoe UI Variable Display", "Inter", "Segoe UI", Arial, sans-serif;
  --font-body: "Segoe UI Variable Text", "Inter", "Segoe UI", Arial, sans-serif;

  --color-primary: #ff0b74;
  --color-primary-strong: #d9005c;
  --color-primary-soft: #ffdfed;
  --color-secondary: #6d4aff;
  --color-secondary-strong: #4724cf;
  --color-accent: #19d3ff;
  --color-success: #28d79f;
  --color-warning: #ffb84d;
  --color-danger: #ff5b6e;

  --color-ink: #f8f8ff;
  --color-muted: #b9bbd1;
  --color-heading: #ffffff;
  --color-bg: #080817;
  --color-bg-alt: #0e0e25;
  --color-surface: rgba(20, 20, 48, 0.82);
  --color-surface-strong: #171734;
  --color-surface-soft: rgba(255, 255, 255, 0.06);
  --color-border: rgba(255, 255, 255, 0.12);
  --color-border-strong: rgba(255, 255, 255, 0.2);

  --container: 1200px;
  --header-height: 76px;
  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.22);
  --shadow-md: 0 20px 55px rgba(0, 0, 0, 0.34);
  --shadow-glow: 0 20px 80px rgba(255, 11, 116, 0.22);
  --transition: 180ms ease;
  --section-space: clamp(72px, 9vw, 120px);
}

[data-theme="light"] {
  --color-ink: #22223a;
  --color-muted: #65677d;
  --color-heading: #121225;
  --color-bg: #f7f7fb;
  --color-bg-alt: #ffffff;
  --color-surface: rgba(255, 255, 255, 0.9);
  --color-surface-strong: #ffffff;
  --color-surface-soft: rgba(20, 20, 48, 0.05);
  --color-border: rgba(20, 20, 48, 0.1);
  --color-border-strong: rgba(20, 20, 48, 0.18);
  --shadow-sm: 0 12px 35px rgba(50, 45, 95, 0.09);
  --shadow-md: 0 24px 70px rgba(50, 45, 95, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--color-ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(109, 74, 255, 0.18), transparent 30%),
    radial-gradient(circle at 90% 12%, rgba(255, 11, 116, 0.12), transparent 26%),
    var(--color-bg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

::selection { background: var(--color-primary); color: white; }

.container { width: min(calc(100% - 32px), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-space); position: relative; }
.section--compact { padding-block: clamp(48px, 6vw, 80px); }
.section--surface {
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0));
  border-block: 1px solid var(--color-border);
}
.section-header { max-width: 750px; margin-bottom: 40px; }
.section-header--center { text-align: center; margin-inline: auto; }
.section-header h2 { margin: 12px 0 14px; }
.section-header p { margin: 0; color: var(--color-muted); font-size: 1.06rem; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-heading);
  line-height: 1.12;
  letter-spacing: -0.035em;
}
h1 { font-size: clamp(2.75rem, 6.6vw, 6.3rem); margin: 0; }
h2 { font-size: clamp(2rem, 4.5vw, 4rem); }
h3 { font-size: clamp(1.12rem, 2vw, 1.45rem); }
p { margin-top: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--color-accent);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.gradient-text {
  color: transparent;
  background: linear-gradient(110deg, #fff 15%, #ff78b6 48%, #7ce8ff 88%);
  -webkit-background-clip: text;
  background-clip: text;
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.muted { color: var(--color-muted); }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.stack { display: grid; gap: 20px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: 10px; }
.gap-md { gap: 18px; }

/* Announcement */
.announcement {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 7px 16px;
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, var(--color-secondary-strong), var(--color-primary-strong));
  font-size: .84rem;
  font-weight: 700;
}
.announcement a { text-decoration: underline; text-underline-offset: 3px; }

/* Header */
.site-header {
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--color-border);
  background: color-mix(in srgb, var(--color-bg) 84%, transparent);
  backdrop-filter: blur(18px);
}
.navbar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 10px 30px rgba(255, 11, 116, .28);
}
.logo-mark svg { width: 26px; height: 26px; }
.logo-copy strong { display: block; color: var(--color-heading); font-size: 1.02rem; letter-spacing: -.02em; line-height: 1.1; }
.logo-copy span { display: block; color: var(--color-muted); font-size: .66rem; letter-spacing: .17em; text-transform: uppercase; margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 5px; }
.nav-links > a,
.nav-dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  color: var(--color-muted);
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: .9rem;
  transition: background var(--transition), color var(--transition);
}
.nav-links > a:hover, .nav-links > a.active, .nav-dropdown > button:hover { color: var(--color-heading); background: var(--color-surface-soft); }
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 260px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-strong);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: grid; grid-template-columns: 38px 1fr; gap: 10px; align-items: center; padding: 10px; border-radius: 10px; }
.dropdown-menu a:hover { background: var(--color-surface-soft); }
.dropdown-menu i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: var(--color-surface-soft); font-style: normal; }
.dropdown-menu strong { font-size: .86rem; color: var(--color-heading); }
.dropdown-menu small { display: block; color: var(--color-muted); font-size: .72rem; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: var(--color-surface-soft);
  cursor: pointer;
  transition: var(--transition);
}
.icon-btn:hover { transform: translateY(-2px); border-color: var(--color-border-strong); }
.icon-btn svg { width: 19px; height: 19px; }
.menu-toggle { display: none; }
.cart-count {
  position: absolute;
  margin: -23px 0 0 25px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 99px;
  background: var(--color-primary);
  color: white;
  font-size: .64rem;
  font-weight: 900;
}

/* Buttons */
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  font-weight: 850;
  line-height: 1;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { color: white; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-strong)); box-shadow: 0 12px 35px rgba(255, 11, 116, .25); }
.btn-primary:hover { box-shadow: 0 16px 42px rgba(255, 11, 116, .35); }
.btn-secondary { color: white; background: linear-gradient(135deg, var(--color-secondary), var(--color-secondary-strong)); }
.btn-outline { color: var(--color-heading); border-color: var(--color-border-strong); background: rgba(255,255,255,.04); backdrop-filter: blur(8px); }
.btn-ghost { color: var(--color-muted); background: transparent; }
.btn-sm { min-height: 40px; padding: 10px 14px; border-radius: 11px; font-size: .84rem; }
.btn-block { width: 100%; }

/* Hero */
.hero {
  min-height: calc(100svh - var(--header-height) - 36px);
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("assets/hero-robot-chave.png");
  background-size: cover;
  background-position: center right;
  filter: saturate(1.08) contrast(1.06);
  transform: scale(1.015);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 5, 19, .99) 0%, rgba(8, 8, 28, .94) 34%, rgba(8, 8, 28, .58) 55%, rgba(8, 8, 28, .08) 82%),
    linear-gradient(0deg, var(--color-bg) 0%, transparent 23%);
}
.hero-grid { width: 100%; display: grid; grid-template-columns: minmax(0, 660px) 1fr; gap: 40px; align-items: center; padding-block: 85px 100px; }
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 11px 7px 7px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-pill);
  background: rgba(10,10,32,.55);
  backdrop-filter: blur(12px);
  color: #fff;
  font-size: .79rem;
  font-weight: 800;
}
.hero-badge span { padding: 5px 9px; border-radius: var(--radius-pill); background: var(--color-primary); }
.hero h1 { max-width: 680px; text-shadow: 0 12px 50px rgba(0,0,0,.45); }
.hero-copy { max-width: 590px; margin: 24px 0 30px; color: #d7d7ea; font-size: clamp(1rem, 1.5vw, 1.18rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px 24px; color: #d8d8e8; font-size: .86rem; font-weight: 700; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--color-success); }
.hero-panel {
  align-self: end;
  justify-self: end;
  width: min(100%, 340px);
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  background: rgba(10,10,32,.62);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
}
.hero-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.status-dot { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-size: .76rem; font-weight: 800; }
.status-dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 0 6px rgba(40,215,159,.12); }
.hero-panel h3 { margin: 0 0 5px; color: white; }
.hero-panel p { margin-bottom: 17px; color: #c9c9da; font-size: .88rem; }
.file-mini {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px;
  border: 1px dashed rgba(255,255,255,.24);
  border-radius: 13px;
  background: rgba(255,255,255,.05);
}
.file-mini i { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(145deg, var(--color-secondary), var(--color-primary)); font-style: normal; }
.file-mini strong { display: block; color: #fff; font-size: .86rem; }
.file-mini small { color: #aeb0c4; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.75); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.scroll-cue i { width: 24px; height: 37px; border: 2px solid rgba(255,255,255,.55); border-radius: 20px; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 7px; border-radius: 3px; background: white; transform: translateX(-50%); animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translate(-50%, 0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 12px); } }

/* Cards and grids */
.card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.card-hover { transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition); }
.card-hover:hover { transform: translateY(-7px); border-color: var(--color-border-strong); box-shadow: var(--shadow-md); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { padding: 26px; position: relative; isolation: isolate; min-height: 260px; }
.service-card::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; right: -85px; bottom: -95px; background: radial-gradient(circle, color-mix(in srgb, var(--service-color, var(--color-primary)) 32%, transparent), transparent 68%); z-index: -1; }
.service-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 15px; color: var(--service-color, var(--color-primary)); background: color-mix(in srgb, var(--service-color, var(--color-primary)) 13%, transparent); }
.service-icon svg { width: 27px; height: 27px; }
.service-card h3 { margin: 0 0 10px; }
.service-card p { color: var(--color-muted); font-size: .92rem; }
.service-link { position: absolute; left: 26px; bottom: 24px; display: inline-flex; align-items: center; gap: 7px; font-weight: 850; font-size: .86rem; }
.service-link svg { width: 16px; transition: transform var(--transition); }
.service-link:hover svg { transform: translateX(4px); }

.stats-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); overflow: hidden; }
.stat { padding: 25px; text-align: center; border-right: 1px solid var(--color-border); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--color-heading); font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.04em; }
.stat span { color: var(--color-muted); font-size: .82rem; }

.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.category-card { min-height: 130px; display: grid; place-items: center; text-align: center; padding: 18px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-surface-soft); transition: var(--transition); }
.category-card:hover { transform: translateY(-4px); background: var(--color-surface); border-color: var(--color-border-strong); }
.category-card i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg, rgba(109,74,255,.2), rgba(255,11,116,.16)); font-style: normal; font-size: 1.3rem; }
.category-card strong { margin-top: 9px; font-size: .84rem; }

/* Product cards */
.product-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 13px; border: 1px solid var(--color-border); border-radius: var(--radius-pill); color: var(--color-muted); background: var(--color-surface-soft); cursor: pointer; font-size: .8rem; font-weight: 800; }
.chip.active, .chip:hover { color: white; border-color: transparent; background: linear-gradient(135deg, var(--color-secondary), var(--color-primary)); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { position: relative; }
.product-media { height: 220px; position: relative; display: grid; place-items: center; background:
  radial-gradient(circle at 50% 42%, rgba(109,74,255,.22), transparent 48%),
  linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.01));
  border-bottom: 1px solid var(--color-border);
}
.product-media img { width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 24px 28px rgba(0,0,0,.34)); transition: transform 300ms ease; }
.product-card:hover .product-media img { transform: scale(1.06) rotate(-2deg); }
.product-badge { position: absolute; top: 14px; left: 14px; padding: 6px 9px; border-radius: 8px; color: white; background: var(--color-primary); font-size: .67rem; font-weight: 900; text-transform: uppercase; }
.product-fav { position: absolute; top: 12px; right: 12px; }
.product-body { padding: 18px; }
.product-category { color: var(--color-accent); font-size: .7rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.product-card h3 { margin: 6px 0 8px; font-size: 1.05rem; letter-spacing: -.02em; }
.rating { display: flex; gap: 3px; color: #ffc857; font-size: .72rem; }
.price-row { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: 15px; }
.price { color: var(--color-heading); font-size: 1.28rem; font-weight: 900; letter-spacing: -.03em; }
.price small { display: block; color: var(--color-muted); font-size: .7rem; font-weight: 600; }
.add-cart { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 11px; background: linear-gradient(135deg, var(--color-secondary), var(--color-primary)); cursor: pointer; }
.add-cart svg { width: 18px; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-grid::before { content: ""; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--color-secondary), var(--color-primary), var(--color-accent)); opacity: .55; }
.process-step { position: relative; z-index: 1; text-align: center; padding: 0 18px; }
.step-number { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 18px; border: 1px solid var(--color-border-strong); border-radius: 18px; color: white; background: linear-gradient(145deg, var(--color-secondary-strong), var(--color-primary-strong)); box-shadow: 0 12px 35px rgba(109,74,255,.2); font-weight: 900; }
.process-step h3 { margin: 0 0 8px; }
.process-step p { color: var(--color-muted); font-size: .86rem; }

/* Industry */
.industry-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: stretch; }
.industry-visual {
  min-height: 560px;
  position: relative;
  padding: 34px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 70% 30%, rgba(25,211,255,.17), transparent 25%),
    radial-gradient(circle at 25% 70%, rgba(255,11,116,.2), transparent 28%),
    linear-gradient(145deg, #151542, #090919);
  overflow: hidden;
}
.industry-visual::before {
  content: "";
  position: absolute;
  inset: 12%;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 26px 26px;
  transform: perspective(650px) rotateX(64deg) translateY(25%);
  mask-image: radial-gradient(circle, black, transparent 72%);
}
.printer-illustration { position: absolute; inset: 80px 8% 60px; display: grid; place-items: center; }
.printer-box { width: min(360px, 80%); aspect-ratio: 1/1.05; position: relative; border: 5px solid rgba(255,255,255,.7); border-radius: 24px 24px 14px 14px; box-shadow: 0 0 70px rgba(25,211,255,.13), inset 0 0 45px rgba(255,255,255,.05); transform: perspective(900px) rotateY(-12deg); }
.printer-top { position: absolute; inset: 10% 12% 58%; border: 3px solid rgba(255,255,255,.35); border-radius: 12px; }
.printer-rail { position: absolute; left: 12%; right: 12%; top: 42%; height: 6px; border-radius: 10px; background: linear-gradient(90deg, var(--color-secondary), var(--color-accent)); box-shadow: 0 0 20px rgba(25,211,255,.65); }
.printer-head { position: absolute; width: 54px; height: 46px; top: calc(42% - 20px); left: 57%; border-radius: 9px 9px 15px 15px; background: linear-gradient(145deg, #fff, #8889a6); box-shadow: var(--shadow-sm); animation: print-head 4s ease-in-out infinite alternate; }
.printer-head::after { content: ""; position: absolute; width: 5px; height: 65px; left: calc(50% - 2px); top: 44px; background: linear-gradient(var(--color-primary), transparent); filter: drop-shadow(0 0 8px var(--color-primary)); }
.printer-bed { position: absolute; left: 13%; right: 13%; bottom: 15%; height: 44px; border-radius: 8px; background: linear-gradient(180deg, #636479, #222238); transform: perspective(420px) rotateX(55deg); box-shadow: 0 20px 30px rgba(0,0,0,.35); }
.printed-part { position: absolute; bottom: 23%; left: 50%; width: 90px; height: 90px; transform: translateX(-50%); border: 4px solid var(--color-primary); clip-path: polygon(50% 0, 92% 25%, 92% 75%, 50% 100%, 8% 75%, 8% 25%); background: rgba(255,11,116,.18); box-shadow: 0 0 30px rgba(255,11,116,.38); }
@keyframes print-head { to { left: 24%; } }
.industry-badge { position: absolute; padding: 12px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; background: rgba(8,8,24,.72); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); }
.industry-badge strong { display: block; color: #fff; font-size: .85rem; }
.industry-badge small { color: #bfc0d1; }
.industry-badge--one { left: 24px; bottom: 25px; }
.industry-badge--two { right: 24px; top: 24px; }
.industry-content { display: grid; gap: 16px; }
.industry-card { padding: 25px; display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.industry-card i { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--color-surface-soft); font-style: normal; font-size: 1.25rem; }
.industry-card h3 { margin: 0 0 6px; }
.industry-card p { margin: 0; color: var(--color-muted); font-size: .88rem; }

/* Community */
.community-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; }
.forum-card { padding: 28px; }
.topic-list { display: grid; gap: 10px; margin-top: 20px; }
.topic { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 13px; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-surface-soft); }
.avatar { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(145deg, var(--color-secondary), var(--color-primary)); font-weight: 900; }
.topic strong { display: block; color: var(--color-heading); font-size: .88rem; }
.topic small { color: var(--color-muted); }
.topic-meta { color: var(--color-muted); font-size: .72rem; text-align: right; }
.community-cta { padding: 32px; min-height: 100%; background:
  radial-gradient(circle at 80% 10%, rgba(25,211,255,.2), transparent 32%),
  linear-gradient(145deg, var(--color-secondary-strong), #171739 55%, var(--color-primary-strong)); }
.community-cta h2 { margin: 14px 0; font-size: clamp(2rem, 4vw, 3.2rem); }
.community-cta p { color: #e6e5f1; }
.member-stack { display: flex; margin: 25px 0 15px; }
.member-stack .avatar { margin-right: -9px; border: 3px solid #241850; }
.member-stack span { margin-left: 16px; align-self: center; font-size: .82rem; font-weight: 800; }

/* Articles */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.article-card { min-height: 370px; display: flex; flex-direction: column; }
.article-cover { height: 180px; position: relative; overflow: hidden; background: linear-gradient(145deg, #29295a, #101028); }
.article-cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 30% 30%, rgba(255,11,116,.3), transparent 25%), linear-gradient(135deg, transparent 45%, rgba(25,211,255,.18)); }
.article-cover .shape { position: absolute; width: 120px; height: 120px; left: calc(50% - 60px); top: 25px; border: 12px solid rgba(255,255,255,.75); transform: rotate(32deg); border-radius: 28px; box-shadow: 0 0 35px rgba(25,211,255,.3); }
.article-cover .shape--gear { border-radius: 50%; border-style: dashed; }
.article-cover .shape--layers { border: 0; background: repeating-linear-gradient(0deg, var(--color-primary) 0 4px, transparent 4px 12px); clip-path: polygon(50% 0, 100% 24%, 100% 75%, 50% 100%, 0 75%, 0 24%); }
.article-body { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.article-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--color-muted); font-size: .72rem; }
.article-body h3 { margin: 12px 0 9px; }
.article-body p { color: var(--color-muted); font-size: .86rem; }
.article-body a { margin-top: auto; font-weight: 850; font-size: .84rem; color: var(--color-accent); }

/* CTA */
.cta-shell { position: relative; overflow: hidden; padding: clamp(38px, 7vw, 78px); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); background:
  radial-gradient(circle at 14% 10%, rgba(255,255,255,.14), transparent 22%),
  radial-gradient(circle at 86% 90%, rgba(25,211,255,.18), transparent 25%),
  linear-gradient(120deg, var(--color-secondary-strong), #4b1e83 45%, var(--color-primary-strong));
  box-shadow: var(--shadow-glow);
}
.cta-shell::after { content: "3D"; position: absolute; right: -20px; bottom: -85px; color: rgba(255,255,255,.065); font-size: 16rem; font-weight: 950; line-height: 1; letter-spacing: -.12em; }
.cta-content { max-width: 700px; position: relative; z-index: 1; }
.cta-content h2 { margin: 12px 0 16px; color: white; }
.cta-content p { color: #eeeaf5; font-size: 1.02rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Footer */
.site-footer { padding-top: 70px; border-top: 1px solid var(--color-border); background: rgba(0,0,0,.14); }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .8fr); gap: 40px; padding-bottom: 48px; }
.footer-brand p { max-width: 380px; margin: 19px 0; color: var(--color-muted); font-size: .9rem; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--color-border); border-radius: 11px; background: var(--color-surface-soft); }
.footer-col h4 { margin: 0 0 16px; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }
.footer-col a { display: block; margin: 10px 0; color: var(--color-muted); font-size: .86rem; }
.footer-col a:hover { color: var(--color-heading); }
.footer-bottom { padding: 22px 0; border-top: 1px solid var(--color-border); display: flex; justify-content: space-between; gap: 18px; color: var(--color-muted); font-size: .78rem; }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 16px; }

/* Inner pages */
.page-hero { padding: clamp(70px, 10vw, 120px) 0 60px; border-bottom: 1px solid var(--color-border); background:
  radial-gradient(circle at 80% 30%, rgba(255,11,116,.14), transparent 24%),
  radial-gradient(circle at 20% 10%, rgba(109,74,255,.2), transparent 30%); }
.page-hero-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 40px; align-items: end; }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 5.6rem); }
.page-hero p { max-width: 650px; color: var(--color-muted); font-size: 1.05rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-bottom: 18px; color: var(--color-muted); font-size: .8rem; }
.breadcrumb span { color: var(--color-primary); }
.page-hero-panel { padding: 24px; }
.page-hero-panel strong { display: block; font-size: 2rem; color: var(--color-heading); }
.page-hero-panel small { color: var(--color-muted); }

/* Forms */
.form-card { padding: clamp(22px, 4vw, 38px); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-group { display: grid; gap: 7px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { color: var(--color-heading); font-size: .82rem; font-weight: 800; }
.field,
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--color-ink);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  outline: none;
  background: var(--color-surface-soft);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus, .field:focus { border-color: var(--color-secondary); box-shadow: 0 0 0 4px rgba(109,74,255,.12); background: var(--color-surface); }
.form-hint { color: var(--color-muted); font-size: .72rem; }
.check { display: flex; align-items: flex-start; gap: 9px; color: var(--color-muted); font-size: .8rem; }
.check input { width: auto; min-height: auto; margin-top: 4px; accent-color: var(--color-primary); }
.file-drop {
  min-height: 220px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 25px;
  border: 2px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
  cursor: pointer;
  transition: var(--transition);
}
.file-drop:hover, .file-drop.dragover { border-color: var(--color-primary); background: rgba(255,11,116,.06); }
.file-drop svg { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--color-primary); }
.file-drop strong { display: block; color: var(--color-heading); }
.file-drop small { color: var(--color-muted); }
.file-list { display: grid; gap: 8px; margin-top: 12px; }
.file-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-surface-soft); font-size: .8rem; }

.quote-layout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.quote-summary { position: sticky; top: calc(var(--header-height) + 18px); padding: 24px; }
.quote-summary h3 { margin-top: 0; }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--color-border); color: var(--color-muted); font-size: .84rem; }
.summary-line strong { color: var(--color-heading); }
.estimate { padding: 18px; margin-top: 18px; border-radius: 15px; background: linear-gradient(135deg, rgba(109,74,255,.18), rgba(255,11,116,.14)); }
.estimate span { display: block; color: var(--color-muted); font-size: .74rem; }
.estimate strong { color: var(--color-heading); font-size: 2rem; letter-spacing: -.04em; }

/* Catalog sidebar */
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.filter-panel { position: sticky; top: calc(var(--header-height) + 18px); padding: 20px; }
.filter-panel h3 { margin-top: 0; }
.filter-section { padding: 18px 0; border-top: 1px solid var(--color-border); }
.filter-section label { display: flex; gap: 9px; align-items: center; margin: 8px 0; color: var(--color-muted); font-size: .82rem; }
.filter-section input { accent-color: var(--color-primary); }
.catalog-head { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 18px; }
.search-box { position: relative; flex: 1; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--color-muted); }
.search-box input { padding-left: 42px; }
.catalog-sort { width: 190px; }

/* Services page */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin-bottom: 70px; }
.feature-row:nth-child(even) .feature-visual { order: 2; }
.feature-visual { min-height: 390px; position: relative; border-radius: var(--radius-lg); border: 1px solid var(--color-border); overflow: hidden; background:
  radial-gradient(circle at 70% 20%, rgba(25,211,255,.2), transparent 25%),
  radial-gradient(circle at 20% 80%, rgba(255,11,116,.25), transparent 28%),
  linear-gradient(145deg, #1c1c4d, #0b0b1d); }
.feature-visual .wireframe { position: absolute; inset: 16%; border: 2px solid rgba(255,255,255,.36); clip-path: polygon(50% 0, 100% 24%, 100% 75%, 50% 100%, 0 75%, 0 24%); box-shadow: inset 0 0 60px rgba(25,211,255,.12), 0 0 45px rgba(109,74,255,.2); }
.feature-visual .wireframe::before, .feature-visual .wireframe::after { content: ""; position: absolute; inset: 18%; border: inherit; clip-path: inherit; }
.feature-visual .wireframe::after { inset: 34%; }
.feature-copy h2 { margin: 10px 0 14px; font-size: clamp(2rem, 4vw, 3.2rem); }
.feature-copy p { color: var(--color-muted); }
.feature-list { display: grid; gap: 10px; margin: 20px 0 26px; }
.feature-list span { display: flex; gap: 9px; align-items: center; font-size: .88rem; font-weight: 750; }
.feature-list svg { width: 18px; color: var(--color-success); }

/* Account */
.auth-shell { width: min(100% - 32px, 1040px); margin: 60px auto; display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; }
.auth-visual { min-height: 630px; padding: 42px; position: relative; background:
  radial-gradient(circle at 25% 15%, rgba(25,211,255,.24), transparent 28%),
  radial-gradient(circle at 80% 75%, rgba(255,11,116,.3), transparent 30%),
  linear-gradient(145deg, var(--color-secondary-strong), #10102b 65%); }
.auth-visual::after { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; bottom: -40px; border: 35px solid rgba(255,255,255,.08); border-radius: 50%; }
.auth-visual h2 { margin-top: 50px; font-size: clamp(2.2rem, 5vw, 4rem); color: #fff; }
.auth-visual p { color: #ddddef; }
.auth-perks { display: grid; gap: 12px; margin-top: 28px; }
.auth-perks span { display: flex; gap: 9px; align-items: center; color: #fff; font-size: .88rem; }
.auth-main { padding: 42px; background: var(--color-surface-strong); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 30px; padding: 5px; border-radius: 13px; background: var(--color-surface-soft); }
.tab-btn { padding: 11px; border: 0; border-radius: 10px; color: var(--color-muted); background: transparent; cursor: pointer; font-weight: 850; }
.tab-btn.active { color: white; background: linear-gradient(135deg, var(--color-secondary), var(--color-primary)); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.divider { display: flex; align-items: center; gap: 12px; margin: 22px 0; color: var(--color-muted); font-size: .75rem; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--color-border); }

/* Forum page */
.forum-layout { display: grid; grid-template-columns: 1fr 300px; gap: 22px; }
.forum-feed { display: grid; gap: 12px; }
.forum-row { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; padding: 18px; align-items: center; }
.forum-row h3 { margin: 0 0 5px; font-size: 1rem; }
.forum-row p { margin: 0; color: var(--color-muted); font-size: .8rem; }
.forum-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { padding: 4px 8px; border-radius: 7px; color: var(--color-accent); background: rgba(25,211,255,.09); font-size: .66rem; font-weight: 800; }
.forum-numbers { min-width: 90px; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; text-align: center; color: var(--color-muted); font-size: .68rem; }
.forum-numbers strong { display: block; color: var(--color-heading); font-size: .9rem; }
.sidebar-card { padding: 20px; }
.sidebar-card h3 { margin-top: 0; }
.category-list { display: grid; gap: 8px; }
.category-list a { display: flex; justify-content: space-between; gap: 10px; padding: 10px; border-radius: 9px; color: var(--color-muted); font-size: .82rem; }
.category-list a:hover { color: var(--color-heading); background: var(--color-surface-soft); }

/* Modal and toast */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; opacity: 0; visibility: hidden; background: rgba(3,3,13,.76); backdrop-filter: blur(10px); transition: var(--transition); }
.modal-backdrop.open { opacity: 1; visibility: visible; }
.modal { width: min(100%, 560px); max-height: 90vh; overflow: auto; padding: 28px; border: 1px solid var(--color-border-strong); border-radius: var(--radius-md); background: var(--color-surface-strong); box-shadow: var(--shadow-md); transform: translateY(14px) scale(.98); transition: var(--transition); }
.modal-backdrop.open .modal { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 20px; }
.modal-head h3 { margin: 0; }
.toast-container { position: fixed; z-index: 120; right: 20px; bottom: 20px; display: grid; gap: 10px; }
.toast { min-width: 280px; max-width: 390px; padding: 14px 16px; border: 1px solid var(--color-border); border-radius: 13px; color: var(--color-heading); background: var(--color-surface-strong); box-shadow: var(--shadow-md); animation: toast-in 230ms ease; }
.toast strong { display: block; font-size: .86rem; }
.toast small { color: var(--color-muted); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }

/* Responsive */
@media (max-width: 1050px) {
  .nav-links { position: fixed; top: calc(var(--header-height) + 36px); left: 16px; right: 16px; max-height: calc(100vh - 130px); overflow: auto; display: none; align-items: stretch; flex-direction: column; padding: 14px; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: var(--color-surface-strong); box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links > a, .nav-dropdown > button { width: 100%; justify-content: space-between; padding: 13px; }
  .nav-dropdown { width: 100%; }
  .dropdown-menu { position: static; width: 100%; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; margin-top: 5px; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open:hover .dropdown-menu { display: block; }
  .menu-toggle { display: grid; }
  .nav-actions .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { justify-self: start; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .industry-wrap, .community-grid, .page-hero-grid, .quote-layout, .forum-layout { grid-template-columns: 1fr; }
  .quote-summary, .filter-panel { position: static; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { display: none; }
  .filter-panel.open { display: block; }
  .footer-grid { grid-template-columns: 1.2fr repeat(2, 1fr); }
  .footer-grid .footer-col:last-child { grid-column: 2; }
}

@media (max-width: 760px) {
  :root { --header-height: 68px; }
  .logo-copy span { display: none; }
  .hero { min-height: auto; }
  .hero::before { background-position: 66% center; }
  .hero::after { background: linear-gradient(90deg, rgba(5,5,19,.98) 0%, rgba(8,8,28,.86) 62%, rgba(8,8,28,.35)), linear-gradient(0deg, var(--color-bg), transparent 30%); }
  .hero-grid { padding-block: 70px 95px; }
  .hero-content { max-width: 94%; }
  .hero h1 { font-size: clamp(2.55rem, 13vw, 4.2rem); }
  .hero-panel { width: 100%; }
  .service-grid, .article-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--color-border); }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .process-grid::before { display: none; }
  .industry-visual { min-height: 430px; }
  .feature-row, .auth-shell { grid-template-columns: 1fr; }
  .feature-row:nth-child(even) .feature-visual { order: 0; }
  .auth-visual { min-height: 390px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group--full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid .footer-col:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .nav-actions .icon-btn:nth-child(1) { display: none; }
  .hero-actions, .cta-actions { display: grid; }
  .btn { width: 100%; }
  .category-grid, .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .product-media { height: 170px; }
  .product-body { padding: 14px; }
  .product-card h3 { font-size: .9rem; }
  .price { font-size: 1.05rem; }
  .process-grid { grid-template-columns: 1fr; }
  .industry-visual { min-height: 360px; }
  .printer-illustration { inset: 65px 4% 50px; }
  .industry-badge--two { display: none; }
  .topic, .forum-row { grid-template-columns: 42px 1fr; }
  .topic-meta, .forum-numbers { grid-column: 2; text-align: left; }
  .footer-grid { grid-template-columns: 1fr; }
  .auth-main, .auth-visual { padding: 28px; }
  .catalog-head, .product-toolbar { align-items: stretch; flex-direction: column; }
  .catalog-sort { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
