/* ═══════════════════════════════════════════════════════════════════
   STRUCT PRODUTO v6 - Minimal product showcase, dark theme
   ═══════════════════════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #090b14;
  --surface: #0f1219;
  --card: #0d0f17;
  --border: rgba(255,255,255,0.06);
  --border-h: rgba(255,255,255,0.12);
  --t1: #f4f4f5;
  --t2: #a1a1aa;
  --t3: #71717a;
  --blue: #3b82f6;
  --blue-soft: rgba(59,130,246,0.06);
  --blue-border: rgba(59,130,246,0.18);
  --blue-glow: rgba(59,130,246,0.08);
  --font: 'Montserrat', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --max: 1120px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 16px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font); font-weight: 400; font-size: 1rem;
  line-height: 1.65; color: var(--t2); background: var(--bg);
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
::selection { background: var(--blue); color: white; }

.grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: 0.02;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 256px;
}

.container { max-width: var(--max); margin: 0 auto; padding-inline: 2rem; }

/* ═══ HERO ═════════════════════════════════════════════════════════ */
.hero {
  padding: 6rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Background slideshow */
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(9,11,20,0.55) 0%, rgba(9,11,20,0.3) 40%, rgba(9,11,20,0.7) 75%, var(--bg) 100%),
    radial-gradient(ellipse at center top, transparent 30%, var(--bg) 80%);
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-bg-img.active {
  opacity: 0.18;
}

.hero .container { position: relative; z-index: 2; }

.hero-update {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.hero-update-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: heroDotPulse 2s ease-in-out infinite;
}

@keyframes heroDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.hero-update span {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--t3);
}

.hero-logo {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin-bottom: 2.5rem;
}
.hero-logo-icon {
  width: 36px; height: 36px; border-radius: 8px;
}
.hero-logo span {
  font-weight: 800; font-size: 1.3rem; color: var(--t1);
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900; letter-spacing: -0.04em; line-height: 1.08;
  color: var(--t1); margin-bottom: 1.5rem;
}

.hero-sub {
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  color: var(--t3); line-height: 1.75; max-width: 580px; margin: 0 auto 3rem;
  text-wrap: balance;
}

.hero-stats {
  display: flex; justify-content: center; gap: clamp(2.5rem, 5vw, 5rem);
}
.hero-stat { text-align: center; }
.hero-stat-n {
  display: block; font-family: var(--mono); font-size: clamp(1.4rem, 2.8vw, 2rem);
  font-weight: 600; color: var(--t1); line-height: 1;
}
.hero-stat-l {
  display: block; font-size: 0.68rem; font-weight: 500; color: var(--t3);
  margin-top: 0.4rem; letter-spacing: 0.04em;
}

/* ═══ RIBBON ═══════════════════════════════════════════════════════ */
.ribbon-marquee {
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  margin-bottom: 1.25rem;
}
.ribbon-marquee::before, .ribbon-marquee::after {
  content:""; position: absolute; top: 0; bottom: 0; width: 3rem; z-index: 2; pointer-events: none;
}
.ribbon-marquee::before { left: 0; background: linear-gradient(to right, var(--card), transparent); }
.ribbon-marquee::after { right: 0; background: linear-gradient(to left, var(--card), transparent); }
.ribbon-track {
  display: flex; align-items: stretch; gap: 0.65rem; width: max-content;
  animation: ribbonScroll 55s linear infinite; padding: 0.85rem 0.5rem;
}
.ribbon-panel {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 0.6rem 0.65rem 0.45rem;
  background: rgba(255,255,255,0.015); border: 1px solid rgba(255,255,255,0.04);
  border-radius: 10px; flex-shrink: 0;
}
.ribbon-panel-buttons { display: flex; align-items: flex-start; gap: 0.15rem; flex: 1; }
.ribbon-panel-label {
  text-align: center; font-family: var(--mono); font-size: 0.48rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue);
  padding-top: 0.3rem; margin-top: 0.45rem;
  border-top: 1px solid rgba(59,130,246,0.08); white-space: nowrap;
}
.ribbon-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.2rem;
  padding: 0.3rem 0.25rem; border-radius: 5px; flex-shrink: 0;
}
.ribbon-btn img { width: 24px; height: 24px; }
.ribbon-btn span { font-size: 0.42rem; font-weight: 500; color: var(--t3); text-align: center; line-height: 1.15; white-space: pre-line; }
.ribbon-group { display: flex; flex-direction: column; gap: 0.2rem; flex-shrink: 0; }
.ribbon-group-buttons {
  display: flex; align-items: flex-start; gap: 0.1rem;
  padding: 0.2rem 0.25rem; background: rgba(59,130,246,0.03);
  border: 1px solid rgba(59,130,246,0.06); border-radius: 5px;
}
.ribbon-group-label {
  font-family: var(--mono); font-size: 0.36rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--t3);
  text-align: center; white-space: nowrap;
}
@keyframes ribbonScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══ SECTION COMMON ══════════════════════════════════════════════ */
.sec-head { text-align: center; margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.sec-head .pre {
  display: block; font-family: var(--mono); font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 0.65rem;
}
.sec-head h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--t1);
  text-wrap: balance;
}
.sec-desc {
  font-size: 0.92rem; color: var(--t3); line-height: 1.7;
  max-width: 580px; margin: 1rem auto 0;
  text-wrap: balance;
}
.sec { padding: clamp(2rem, 3vw, 2.5rem) 0; }

/* ═══ TOOLS ═══════════════════════════════════════════════════════ */
.tools {
  padding: clamp(2rem, 3vw, 2.5rem) 0;
}

.tools-split {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
}

/* Tabs horizontais */
.tools-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.15);
  overflow-x: auto;
  scrollbar-width: none;
}
.tools-tabs::-webkit-scrollbar { display: none; }

.tools-tab {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: none; border: none; cursor: pointer;
  text-align: center; transition: all 0.25s var(--ease);
  border-right: 1px solid var(--border);
  position: relative;
  white-space: nowrap;
  flex: 1;
  justify-content: center;
}
.tools-tab:last-child { border-right: none; }

.tools-tab::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--blue);
  opacity: 0; transition: opacity 0.25s var(--ease);
}
.tools-tab:hover { background: rgba(255,255,255,0.02); }
.tools-tab.active { background: rgba(59,130,246,0.04); }
.tools-tab.active::after { opacity: 1; }

.tools-tab-icon {
  width: 15px; height: 15px; flex-shrink: 0;
  color: var(--t3); opacity: 0.5;
  transition: all 0.25s var(--ease);
}
.tools-tab.active .tools-tab-icon { color: var(--blue); opacity: 1; }

.tools-tab-name {
  font-size: 0.82rem; font-weight: 600; color: var(--t3);
  transition: color 0.2s;
}
.tools-tab.active .tools-tab-name { color: var(--t1); }

.tools-tab-count {
  font-family: var(--mono); font-size: 0.55rem; font-weight: 500;
  color: var(--t3); opacity: 0.4;
  background: rgba(255,255,255,0.04);
  padding: 0.15rem 0.4rem; border-radius: 6px;
  line-height: 1;
}
.tools-tab.active .tools-tab-count {
  color: var(--blue); opacity: 0.8;
  background: var(--blue-soft);
}


/* Painel de conteudo */
.tools-detail {
  position: relative;
  padding: 2.5rem;
}

.tools-panel {
  display: none;
  flex-direction: column; gap: 1.5rem;
  animation: panelFadeIn 0.35s var(--ease);
}
.tools-panel.active { display: flex; }

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.tools-panel h3 {
  font-size: 1.35rem; font-weight: 800; color: var(--t1);
  letter-spacing: -0.02em;
}
.tools-panel > p {
  font-size: 0.9rem; color: var(--t3); line-height: 1.7;
  max-width: 520px;
}

/* Comandos */
.tools-cmds {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.tools-cmd {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  transition: all 0.2s var(--ease);
}
.tools-cmd:hover { background: rgba(255,255,255,0.025); }

.tools-cmd img {
  width: 28px; height: 28px; border-radius: 6px; flex-shrink: 0;
}
.tools-cmd strong {
  display: block; font-size: 0.82rem; font-weight: 600; color: var(--t1);
  margin-bottom: 0.1rem;
}
.tools-cmd span {
  font-size: 0.72rem; color: var(--t3); line-height: 1.4;
}

.tools-cmd-sm img { width: 22px; height: 22px; }
.tools-cmd-sm strong { font-size: 0.75rem; font-weight: 500; }
.tools-cmd-sm span { font-size: 0.65rem; }

/* PDB groups */
.tools-pdb {
  margin-top: 0.25rem;
}
.tools-pdb + .tools-pdb { margin-top: 0.75rem; }

.tools-pdb-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.tools-pdb-label {
  font-family: var(--mono); font-size: 0.55rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue);
  white-space: nowrap;
}
.tools-pdb-line {
  flex: 1; height: 1px;
  background: linear-gradient(to right, var(--blue-border), transparent);
}

.tools-pdb-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.15rem;
  padding-left: 0.25rem;
  border-left: 1px solid rgba(59,130,246,0.12);
}

/* Compat logos (importar) */
.tools-compat {
  display: flex; align-items: center; gap: 1rem;
  padding-top: 1rem; margin-top: 0.5rem;
  border-top: 1px solid var(--border);
}
.tools-compat-label {
  font-family: var(--mono); font-size: 0.55rem; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--t3);
  white-space: nowrap;
}
.tools-compat-logos {
  display: flex; gap: 0.5rem;
}
.tools-compat-logos img {
  width: 30px; height: 30px; border-radius: 50%;
  object-fit: contain; background: var(--surface); padding: 3px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.tools-compat-logos img:hover { border-color: var(--blue-border); }

/* ═══ VIDEO SHOWCASE ══════════════════════════════════════════════ */
.videos {
  padding: clamp(2rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--border);
}

.video-featured {
  position: relative;
  margin-bottom: 1.5rem;
}
.video-player {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
}
.video-player video {
  width: 100%; display: block;
}
.video-label {
  position: absolute; bottom: 1.25rem; left: 1.25rem;
  font-family: var(--mono); font-size: 0.65rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: white; background: rgba(0,0,0,0.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 0.4rem 0.85rem; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
}

.video-thumbs {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.6rem;
}
.video-thumb {
  background: none; border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; cursor: pointer; padding: 0;
  transition: all 0.25s var(--ease);
  display: flex; flex-direction: column;
}
.video-thumb:hover { border-color: var(--border-h); }
.video-thumb.active {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 4px 20px var(--blue-glow);
}
.video-thumb video {
  width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block;
  pointer-events: none;
}
.video-thumb span {
  display: block; font-family: var(--mono); font-size: 0.5rem; font-weight: 500;
  letter-spacing: 0.04em; color: var(--t3);
  padding: 0.45rem 0.5rem; text-align: center; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis;
}
.video-thumb.active span { color: var(--blue); }

/* ═══ PRECAST SLABS ══════════════════════════════════════════════ */
.precast {
  padding: clamp(2rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--border);
}

/* Pill Tabs Showcase */
.pill-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.pill-tabs {
  display: flex;
  gap: 0.35rem;
  padding: 0.3rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x;
}
.pill-tabs::-webkit-scrollbar { display: none; }

.pill-tab {
  padding: 0.55rem 1.15rem;
  border-radius: 100px;
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--t3);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
}
.pill-tab:hover { color: var(--t2); }
.pill-tab.active {
  background: var(--blue);
  color: white;
  box-shadow: 0 2px 12px rgba(59,130,246,0.3);
}

.pill-player {
  width: 100%;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.03);
}

.pill-video {
  display: none;
}
.pill-video.active {
  display: block;
  animation: pillFadeIn 0.4s var(--ease);
}

@keyframes pillFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pill-video video {
  width: 100%;
  display: block;
}

/* ═══ COVERFLOW GALLERY ══════════════════════════════════════════ */
.gallery {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}

.gallery .sec-head {
  margin-bottom: 0;
}

.coverflow {
  position: relative;
  overflow: hidden;
  padding: 0;
  perspective: 1200px;
}

/* Fade nas bordas */
.coverflow::before, .coverflow::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: clamp(4rem, 12vw, 10rem); z-index: 4; pointer-events: none;
}
.coverflow::before { left: 0; background: linear-gradient(to right, var(--bg), transparent); }
.coverflow::after { right: 0; background: linear-gradient(to left, var(--bg), transparent); }

.coverflow-track {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 480px;
}

.coverflow-slide {
  position: absolute;
  width: 780px;
  max-width: 58vw;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
  transition: all 0.55s var(--ease);
  cursor: pointer;
  will-change: transform, opacity;
}

.coverflow-slide img {
  width: 100%;
  display: block;
}

/* Botoes de navegacao */
.coverflow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(9,11,20,0.8);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--t2);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.coverflow-btn:hover {
  border-color: var(--blue-border);
  color: var(--t1);
  background: rgba(59,130,246,0.15);
}
.coverflow-btn svg { width: 18px; height: 18px; }
.coverflow-prev { left: clamp(1rem, 4vw, 3rem); }
.coverflow-next { right: clamp(1rem, 4vw, 3rem); }

/* ═══ LAUNCH ═════════════════════════════════════════════════════ */
.launch {
  padding: clamp(2rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--border);
}

.launch-card {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid var(--blue-border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(59,130,246,0.04) 0%, rgba(59,130,246,0.01) 100%);
  position: relative;
  overflow: hidden;
}
.launch-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(59,130,246,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.launch-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.launch-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 0 rgba(59,130,246,0.5);
  animation: launchPulse 2s ease-in-out infinite;
}

@keyframes launchPulse {
  0% { box-shadow: 0 0 0 0 rgba(59,130,246,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(59,130,246,0); }
  100% { box-shadow: 0 0 0 0 rgba(59,130,246,0); }
}

.launch-live {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}

.launch-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--t1);
  margin-bottom: 0.6rem;
}

.launch-desc {
  font-size: 0.9rem;
  color: var(--t3);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

.launch-countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.launch-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.launch-num {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--t1);
  line-height: 1;
  min-width: 2.5rem;
}

.launch-label {
  font-family: var(--mono);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--t3);
}

.launch-sep {
  font-family: var(--mono);
  font-size: 1.6rem;
  color: var(--t3);
  opacity: 0.3;
  line-height: 1;
  padding-top: 0.1rem;
}

/* ═══ FOOTER ══════════════════════════════════════════════════════ */
.footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
}
.footer-brand {
  display: flex; align-items: center; gap: 0.5rem;
  font-weight: 800; font-size: 1rem; color: var(--t1);
}
.footer-logo { width: 24px; height: 24px; border-radius: 5px; }
.footer-cta {
  font-family: var(--font); font-size: 0.78rem; font-weight: 600;
  text-decoration: none; padding: 0.55rem 1.3rem; border-radius: 10px;
  background: var(--blue); color: white; transition: all 0.25s var(--ease);
}
.footer-cta:hover { filter: brightness(1.15); transform: translateY(-1px); }

/* ═══ FAQ ════════════════════════════════════════════════════════ */
.faq {
  padding: clamp(2rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--border);
}

.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  transition: border-color 0.3s var(--ease);
}
.faq-item[open] { border-color: var(--blue-border); }

.faq-item summary {
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--t1);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: var(--mono);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--t3);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--blue);
}

.faq-item p {
  padding: 0 1.25rem 1.1rem;
  font-size: 0.82rem;
  color: var(--t3);
  line-height: 1.7;
}

/* ═══ ANIMATIONS ══════════════════════════════════════════════════ */
.sr {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.sr.vis { opacity: 1; transform: translateY(0); }
.reveal {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d) * 160ms + 200ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ═══ RESPONSIVE ══════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .tools-tab { padding: 0.85rem 1rem; flex: 0 0 auto; }
  .tools-tab-count { display: none; }
  .tools-detail { padding: 1.75rem 1.5rem; }
  .tools-detail { padding: 1.75rem 1.5rem; }
}

@media (max-width: 768px) {
  .hero { padding-top: 5rem; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }

  .tools-grid { grid-template-columns: 1fr; }
  .video-thumbs { grid-template-columns: repeat(3, 1fr); }
  .pill-tabs {
    overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch;
    border-radius: 12px; align-self: stretch; margin-inline: -1.25rem; padding-inline: 1.25rem;
    border: none; background: none;
  }
  .pill-tab { padding: 0.45rem 0.85rem; font-size: 0.7rem; flex-shrink: 0;
    background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: 100px;
  }
  .pill-tab.active { border-color: var(--blue); }
  .coverflow-track { height: 380px; }
  .coverflow-slide { width: 520px; }


  .footer-inner { flex-direction: column; gap: 1.25rem; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding-inline: 1.25rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero-sub { font-size: 0.88rem; }
  .video-thumbs { grid-template-columns: repeat(2, 1fr); }
  .precast-icons img { width: 28px; height: 28px; }
  .coverflow-track { height: 280px; }
  .coverflow-slide { width: 320px; max-width: 75vw; }
}
