/* ======================================
   SPEEDSTER — Index / Landing Page
   ====================================== */

/* ── Hero (video bg — text stays white here) ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.78) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, transparent 30%, transparent 60%, rgba(0,0,0,0.85) 100%);
}

/* Hero Content — explicit white since it sits on dark video */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-eyebrow {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.45em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out) 0.3s forwards;
}
.hero-title {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(5.5rem, 17vw, 15rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-title .line-1 {
  opacity: 0;
  transform: translateY(40px);
  animation: riseUp 1s var(--ease-out) 0.5s forwards;
}
.hero-title .line-2 {
  opacity: 0;
  transform: translateY(40px);
  animation: riseUp 1s var(--ease-out) 0.65s forwards;
  color: transparent;
  -webkit-text-stroke: 1.5px #ffffff;
}
.hero-sub {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin-top: 28px;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out) 1s forwards;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  opacity: 0;
  animation: fadeIn 0.8s var(--ease-out) 1.2s forwards;
}
.hero-cta:hover {
  border-color: rgba(255,255,255,0.8);
  color: #ffffff;
}

/* ── Spec Callouts (on dark video) ── */
.callouts {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}
.callout {
  position: absolute;
  display: flex;
  align-items: center;
  opacity: 0;
}
.callout-body {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 12px 18px;
  min-width: 130px;
}
.callout-value {
  font-size: 0.72rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.08em;
}
.callout-label {
  font-size: 0.56rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-top: 3px;
}
.callout-line {
  width: 56px;
  height: 1px;
  background: rgba(255,255,255,0.25);
  flex-shrink: 0;
}

.callout-tl {
  top: 22%; left: 8%;
  flex-direction: row;
  animation: calloutFadeL 0.7s var(--ease-out) 0.9s forwards;
}
.callout-tr {
  top: 22%; right: 8%;
  flex-direction: row-reverse;
  animation: calloutFadeR 0.7s var(--ease-out) 1.1s forwards;
}
.callout-bl {
  bottom: 22%; left: 8%;
  flex-direction: row;
  animation: calloutFadeL 0.7s var(--ease-out) 1.3s forwards;
}
.callout-br {
  bottom: 22%; right: 8%;
  flex-direction: row-reverse;
  animation: calloutFadeR 0.7s var(--ease-out) 1.5s forwards;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.8s forwards;
}
.scroll-indicator span {
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease-in-out 2s infinite;
}

/* ── Specs Section (white bg) ── */
.specs-section {
  background: var(--bg);
  padding: 120px 56px;
}
.specs-header {
  max-width: 560px;
  margin-bottom: 80px;
}
.section-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-dim);
}
.section-body {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-dim);
  max-width: 440px;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.spec-card {
  background: var(--bg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.spec-card:hover {
  background: var(--surface);
}
.spec-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 36px; right: 36px;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.spec-card:hover::after {
  transform: scaleX(1);
}
.spec-number {
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--text-faint);
  letter-spacing: 0.3em;
  margin-bottom: 28px;
}
.spec-icon {
  width: 36px;
  height: 36px;
  color: var(--text-mid);
  margin-bottom: 24px;
}
.spec-name {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.spec-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.spec-value span {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-mid);
}
.spec-desc {
  font-size: 0.76rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-dim);
}

/* ── Feature Strip ── */
.feature-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
}
.strip-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  animation: scrollStrip 22s linear infinite;
  width: max-content;
}
.strip-track span {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.strip-track .dot {
  color: var(--text-faint);
  letter-spacing: 0;
}

/* ── Manifesto Section ── */
.manifesto-section {
  background: var(--bg);
  padding: 140px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  border-top: 1px solid var(--border);
}
.manifesto-label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.manifesto-quote {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  border-left: 2px solid var(--border-dark);
  padding-left: 28px;
  margin-bottom: 32px;
}
.manifesto-quote em {
  font-style: italic;
  font-weight: 300;
  color: var(--text-mid);
}
.manifesto-body {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--text-dim);
  max-width: 460px;
  margin-bottom: 40px;
}
.manifesto-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.manifesto-numbers {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.big-stat {
  border-bottom: 1px solid var(--border);
  padding-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.big-stat:last-child { border-bottom: none; padding-bottom: 0; }
.stat-val {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 0.9;
  color: var(--text);
  letter-spacing: -0.03em;
}
.stat-val small {
  font-size: 0.5em;
  font-weight: 300;
  color: var(--text-mid);
}
.stat-unit {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-top: 10px;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--text-dim);
}

/* ── Keyframes ── */
@keyframes riseUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes calloutFadeL {
  from { opacity: 0; transform: translateX(-16px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes calloutFadeR {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.1; }
}
@keyframes scrollStrip {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .manifesto-section { grid-template-columns: 1fr; gap: 60px; }
}
@media (max-width: 768px) {
  .specs-section { padding: 80px 24px; }
  .specs-grid { grid-template-columns: 1fr; }
  .manifesto-section { padding: 80px 24px; }
  .callout-tl, .callout-tr, .callout-bl, .callout-br { display: none; }
}
