*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --dark: #333333;
  --white: #FFFFFF;
  --white-off: #F5F3F0;
  --blue: #2A3957;
  --grey: #A89F91;
  --gold-dim: #CBA135;
  --gold-dimmer: #C47B06;
  --gold: #FFD700;
  --bg: #FFFFFF;
  --text: #1a1a1a;
  --text-dim: rgba(0,0,0,0.5);
  --text-dimmer: rgba(0,0,0,0.3);
  --gradient: linear-gradient(135deg, var(--gold-dim), var(--gold));
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.15) transparent;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gradient);
  z-index: 1000;
  width: 0%;
  transition: width 0.1s linear;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s, backdrop-filter 0.4s;
}

nav.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.15em;
}

.nav-cta {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.5rem 1.0rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 100px;
  transition: all 0.3s;
}

.nav-cta:hover {
  border-color: var(--gold-dim);
  color: var(--gold-dim);
}

/* Hero stays dark */
#hero {
  background: #010101;
  color: #f1f1f2;
}

section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8rem 2rem;
  position: relative;
}

section:nth-of-type(odd) {
  background: rgba(0,0,0,0.010);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

#hero {
  height: 100vh;
  min-height: 100vh;
  padding: 0;
  position: relative;
  overflow: hidden;
}

#hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.hero-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}

.accent-line {
  width: 60px;
  height: 3px;
  background: var(--gradient);
  margin: 0 auto 2rem;
}

.hero-tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

#hero .scroll-indicator span {
  color: rgba(255,255,255,0.85);
}

#hero .scroll-line {
  background: linear-gradient(to bottom, rgba(255,255,255,0.85), transparent);
}

.hero-tagline .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: float 2.5s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dimmer);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-dimmer), transparent);
}

/* Nav over dark hero needs light text */
nav .nav-logo,
nav .nav-cta {
  transition: color 0.4s, border-color 0.3s;
}

nav:not(.scrolled) .nav-cta {
  color: rgba(255,255,255);
  border-color: rgba(255,255,255);
}

nav.scrolled .nav-logo img {
  filter: invert(1);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dimmer);
  margin-bottom: 2rem;
}

.section-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  font-size: clamp(1.2rem, 3vw, 2rem);
  text-align: center;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.7);
  line-height: 1.6;
  max-width: 700px;
  margin-bottom: 1.5rem;
}

.section-sub {
  font-weight: 300;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
  max-width: 500px;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.brief-grid {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
  width: 100%;
}

.brief-card {
  width: 220px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(0,0,0,0.08);
  /*border-radius: 8px;*/
  background: var(--white);
  text-align: center;
  transition: border-color 0.5s, transform 0.5s;
}

.brief-card:hover {
  border-color: rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.brief-card .keyword {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.brief-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.chat-feed {
  margin-top: 3rem;
  max-width: 560px;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--white);
  padding: 0 2rem;
  position: relative;
  height: 22rem;
}

.chat-msg {
  position: absolute;
  left: 2rem;
  right: 2rem;
  top: 0;
  opacity: 0;
  transform: translateY(24rem);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.chat-msg.slot-exit {
  opacity: 0;
  transform: translateY(calc(-3rem - 50%));
}

.chat-msg.slot-prev {
  opacity: 0.25;
  transform: translateY(calc(5.5rem - 50%));
}

.chat-msg.slot-current {
  opacity: 1;
  transform: translateY(calc(11rem - 50%));
}

.chat-msg.slot-next {
  opacity: 0.25;
  transform: translateY(calc(16.5rem - 50%));
}

.chat-name {
  color: var(--gold-dimmer);
  font-weight: 400;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}

.chat-name.human {
  color: var(--text);
}

.ai-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.45rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  background: var(--gold-dimmer);
  color: var(--white);
  line-height: 1;
}

.chat-text {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.output-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 800px;
  width: 100%;
}

.output-item {
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.08);
  transition: border-color 0.5s, transform 0.5s;
  background: var(--white);
}

.output-item:hover {
  border-color: rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.output-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.output-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

#speed {
  position: relative;
}

.speed-comparison {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
  width: 100%;
  padding: 3rem 2rem;
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--white);
}

.speed-block {
  text-align: center;
}

.speed-value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1;
}

.speed-value.old {
  color: var(--text-dimmer);
  text-decoration: line-through;
  text-decoration-color: var(--gold-dim);
}

.speed-value.new {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.speed-unit {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

.speed-arrow {
  font-size: 2rem;
  color: var(--text-dimmer);
}

.count-up {
  display: inline-block;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 800px;
  width: 100%;
}

.value-card {
  padding: 2.5rem 2rem;
  border: 1px solid rgba(0,0,0,0.08);
  transition: border-color 0.5s, transform 0.5s;
  background: var(--white);
}

.value-card:hover {
  border-color: rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.value-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  letter-spacing: 0.08em;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.7;
  letter-spacing: 0.08em;
}


.cta-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 300;
  font-size: clamp(1.2rem, 3vw, 2rem);
  text-align: center;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.7);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 100px;
  background: var(--gradient);
  color: #000;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(0,184,197,0.3), 0 5px 20px rgba(204,0,204,0.2);
}

.cta-button svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s;
}

.cta-button:hover svg {
  transform: translateX(3px);
}

.status-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-dim);
  animation: pulse 2s ease-in-out infinite;
  vertical-align: middle;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px rgba(0,184,197,0.6); }
  50% { opacity: 0.4; box-shadow: none; }
}

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  section { padding: 5rem 1.5rem; }
  .hero-content { padding: 0 1rem; }
  .brief-grid { flex-direction: column; align-items: center; }
  .speed-comparison { flex-direction: column; gap: 1.5rem; align-items: center; text-align: center; }
  .speed-arrow { transform: rotate(90deg); }
  .output-grid { grid-template-columns: repeat(2, 1fr); margin-left: 1rem; margin-right: 1rem; }
  .values-grid { grid-template-columns: 1fr; margin-left: 1rem; margin-right: 1rem; }
  .chat-feed { padding: 1.2rem 1.2rem; height: 30rem; }
  .chat-msg { left: 1.2rem; right: 1.2rem; }
  .chat-msg.slot-exit { transform: translateY(calc(-4rem - 50%)); }
  .chat-msg.slot-prev { transform: translateY(calc(6rem - 50%)); }
  .chat-msg.slot-current { transform: translateY(calc(14rem - 50%)); }
  .chat-msg.slot-next { transform: translateY(calc(22rem - 50%)); }
  .section-heading { padding: 0 0.5rem; }
  .section-sub { padding: 0 0.5rem; }
}

.section-divider {
  width: 40px;
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 0 auto;
}

/* Logo grid */

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  justify-content: center;
  gap: 1.2rem;
  margin-top: 3rem;
}

.logo-cell {
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  transition: border-color 0.5s, transform 0.5s;
}

.logo-cell:hover {
  border-color: rgba(0,0,0,0.15);
  transform: translateY(-4px);
}

.logo-cell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.4s;
}

.logo-cell:hover img {
  opacity: 1;
}

@media (max-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 180px));
    gap: 0.8rem;
  }

  .logo-cell {
    padding: 0.5rem;
  }
}
