/* ================================================================
   IBBOT.CSS
   Estilos exclusivos do ibbot.html
   ================================================================ */

:root { --nav-accent: var(--red); }

/* Nav active state */
.nav-links a.active { color: var(--red); }

/* Hero */
.hero {
  min-height: 100vh;
  padding-top: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  mask-image: radial-gradient(ellipse 90% 80% at 30% 50%, black 20%, transparent 100%);
}

.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 70% at 15% 50%, rgba(255,31,31,0.13) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 80%, rgba(139,0,0,0.06) 0%, transparent 70%);
}

.hero-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--red) 30%, var(--red) 70%, transparent);
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 3rem 4rem 2.5rem;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero-kicker::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(80px, 11vw, 150px);
  line-height: .84;
  letter-spacing: -.01em;
  margin-bottom: 1.75rem;
}

.hero-title .red { color: var(--red); text-shadow: 0 0 40px rgba(255,31,31,0.35); }

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  color: var(--mid);
  max-width: 380px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 52px 2.5rem 4rem 0;
}

.robot-placeholder {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 3/4;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}
.robot-placeholder::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), transparent 70%);
}
.robot-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,31,31,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,31,31,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

.robot-icon {
  font-family: var(--font-display);
  font-size: 96px;
  color: rgba(255,31,31,0.15);
  line-height: 1;
  position: relative;
  z-index: 1;
}

.robot-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
  z-index: 1;
}

.robot-status {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(255,120,120,.7);
  position: relative;
  z-index: 1;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.5s ease infinite;
}

.robot-coords {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  z-index: 1;
}
.rc-val.r { color: var(--red); }

/* Stats Bar */
.stats-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 47px,
    rgba(255,255,255,0.02) 47px,
    rgba(255,255,255,0.02) 48px
  );
}

.stat-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: background .25s;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg2); }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 100px);
  line-height: .82;
  color: var(--red);
  letter-spacing: -.02em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .75rem;
  line-height: 1.4;
}

/* Kicker line default (ibbot usa vermelho) */
.kicker-line { background: var(--red); }

/* Sobre */
.sobre-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 3.5rem;
}
.sobre-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.sobre-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.sobre-card:nth-child(3) { grid-column: 1; grid-row: 2; }
.sobre-card:nth-child(4) { grid-column: 2; grid-row: 2; }
.sobre-card {
  background: var(--bg2);
  padding: 2rem;
  transition: background .25s;
}
.sobre-card:hover { background: var(--bg3); }

.sobre-card-num {
  font-family: var(--font-display);
  font-size: 52px;
  color: rgba(255,31,31,.1);
  line-height: 1;
  margin-bottom: .75rem;
}
.sobre-card-title { font-size: 16px; font-weight: 600; margin-bottom: .5rem; }
.sobre-card-body { font-size: 13px; font-weight: 300; color: var(--mid); line-height: 1.7; }

/* Dia a dia */
.dia-grid { margin-bottom: 3.5rem; }

.dia-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.dia-item:last-child { border-bottom: none; }
.dia-num {
  font-family: var(--font-display);
  font-size: 56px;
  color: rgba(255,255,255,.05);
  line-height: 1;
  letter-spacing: -.02em;
}
.dia-content {}
.dia-title { font-size: 15px; font-weight: 600; margin-bottom: .375rem; }
.dia-body { font-size: 13px; font-weight: 300; color: var(--mid); line-height: 1.7; }

/* Showcases */
.showcase-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 3.5rem;
}

.showcase-card {
  background: var(--bg2);
  padding: 0;
  position: relative;
  overflow: hidden;
  transition: background .3s;
  display: flex;
  flex-direction: column;
}

.showcase-card:hover { background: var(--bg3); }

.showcase-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
  border-bottom: 1px solid var(--border);
}

.showcase-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }

.showcase-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .5rem;
}

.showcase-title { font-size: 14px; font-weight: 600; margin-bottom: .375rem; line-height: 1.3; }
.showcase-desc { font-size: 12px; font-weight: 300; color: var(--mid); line-height: 1.6; }

/* CTA Final */
.cta-section {
  border-top: 1px solid var(--border);
  padding: 7rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: 'IBBOT';
  position: absolute;
  right: -0.05em;
  bottom: -0.1em;
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 220px);
  color: rgba(255,31,31,.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 120px);
  line-height: .84;
  letter-spacing: -.01em;
  margin-bottom: 1.25rem;
  width: 100%;
}

.cta-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(80px, 15vw, 180px);
  line-height: .85;
  color: rgba(255,255,255,.03);
  letter-spacing: -.02em;
  text-align: center;
  padding: 2rem 2.5rem 0;
  border-top: 1px solid var(--border);
  user-select: none;
  pointer-events: none;
}

/* Override pulse animation (ibbot adds opacity) */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 6px var(--red); opacity: 1; }
  50%      { box-shadow: 0 0 12px var(--red); opacity: .7; }
}

/* Responsividade */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content { padding: 0 1.25rem 3rem; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-card:nth-child(n) { grid-column: 1; grid-row: auto; }
  .showcase-grid { grid-template-columns: 1fr; }
  .cta-section { grid-template-columns: 1fr; gap: 2rem; }
}
