﻿/* ── Hero Section ── */
.dariba-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.hero-left {
  background: var(--clr-hero-left);
  padding: 120px 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.hero-right {
  background: var(--clr-hero-right);
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
}
.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clr-accent);
  animation: hero-pulse 2s ease-in-out infinite;
}
@keyframes hero-pulse {
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:0.4;transform:scale(0.7)}
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--size-hero);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
}
.hero-static { display: block; }

.hero-animated-wrap {
  display: block;
  overflow: hidden;
  height: 54px;
  margin-top: 4px;
}
.hero-word-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.55s cubic-bezier(0.77,0,0.18,1);
}
.hero-word {
  height: 54px;
  line-height: 54px;
  font-style: italic;
  color: var(--clr-accent);
  display: block;
}

.hero-sub {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.hero-dots {
  display: flex;
  gap: 6px;
}
.hero-dot-btn {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  transition: all 0.3s;
}
.hero-dot-btn.active {
  background: var(--clr-accent);
  width: 20px;
  border-radius: 3px;
}

/* ── Right panel canvas ── */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-sweep {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--clr-accent);
  top: -2px;
  box-shadow: 0 0 24px var(--clr-accent);
  opacity: 0;
  transition: top 0.75s linear, opacity 0.1s;
}
.hero-clarity {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.5s;
}
.hero-clarity.visible { opacity: 1; }

.clarity-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 16px;
}
.clarity-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.clarity-table th {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 0 0 8px;
  text-align: left;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.clarity-table td {
  padding: 8px 0;
  border-bottom: 0.5px solid rgba(255,255,255,0.05);
}
.clarity-table td:first-child { color: #fff; font-weight: 500; }
.clarity-table td:nth-child(2) { color: var(--clr-accent); }
.clarity-row { opacity: 0; transform: translateX(12px); transition: opacity 0.3s, transform 0.3s; }
.clarity-row.visible { opacity: 1; transform: translateX(0); }

.clarity-replay {
  margin-top: 20px;
  background: rgba(255,255,255,0.08);
  border: 0.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.5);
  font-size: 11px;
  padding: 6px 14px;
  border-radius: 20px;
  align-self: flex-start;
  transition: background 0.2s;
}
.clarity-replay:hover { background: rgba(255,255,255,0.15); }

@media(max-width:900px){
  .dariba-hero{ grid-template-columns:1fr; }
  .hero-right{ min-height:50vh; }
  .hero-left{ padding:80px 24px 48px; }
}
