/* ClipLoop — Electric Lime on Night */

:root {
  --bg: #080808;
  --surface: #111111;
  --surface2: #1a1a1a;
  --accent: #CAFD11;
  --accent-dim: rgba(202, 253, 17, 0.12);
  --text: #F2F2F0;
  --text-muted: #888888;
  --border: #222222;
  --green: #4ADE80;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === HERO === */
.hero {
  padding: 80px 40px 80px;
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}

.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 420px;
}

/* Terminal */
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.terminal-bar {
  background: var(--surface2);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }

.terminal-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 8px;
}

.terminal-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }

.stream-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.stream-label {
  background: #FF3B30;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  letter-spacing: 0.08em;
}

.stream-name { color: var(--text); font-weight: 500; }
.stream-status { color: var(--text-muted); font-size: 11px; }

.moment-detected {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(202, 253, 17, 0.15);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: pulse 1.5s infinite;
}

.moment-text { color: var(--text); font-weight: 500; flex: 1; }

.moment-tag {
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.moment-tag.done {
  color: var(--green);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === MANIFESTO === */
.manifesto {
  padding: 100px 40px;
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-text {
  font-family: 'Syne', sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-muted);
  margin-bottom: 48px;
}

.manifesto-answer {
  font-size: 17px;
  color: var(--text);
  line-height: 1.8;
}

.manifesto-answer strong {
  color: var(--accent);
  font-weight: 600;
}

/* === WATCH / CLIP / PUBLISH === */
.watch, .clip, .publish {
  padding: 80px 40px;
  border-bottom: 1px solid var(--border);
}

.watch-inner, .clip-inner, .publish-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.clip-inner { direction: rtl; }
.clip-inner > * { direction: ltr; }

.watch-label, .clip-label, .publish-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.section-body {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Waveform */
.watch-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.waveform {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.wave-bar {
  flex: 1;
  height: 30%;
  background: var(--surface2);
  border-radius: 2px;
}

.wave-bar.peak { background: var(--accent); }

.detection-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--accent);
  font-weight: 500;
}

.detection-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.2s infinite;
}

/* Video frame */
.video-frame {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  height: 220px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.video-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.clip-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 4px;
}

.caption-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.caption-line {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.caption-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
}

/* Platforms */
.publish-platforms {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.platform-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
}

.platform-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-icon svg { width: 18px; height: 18px; }

.tiktok-icon { color: #FF0050; }
.yt-icon { color: #FF0000; }
.ig-icon { color: #E1306C; }

.platform-name {
  font-size: 14px;
  font-weight: 600;
  flex: 1;
}

.platform-status {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.platform-status.done { color: var(--green); }

/* === TESTIMONIALS === */
.testimonials {
  padding: 100px 40px;
  border-bottom: 1px solid var(--border);
}

.testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 64px;
}

.testimonials-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.testimonials-heading {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--text);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color 0.2s;
}

.testimonial-card:hover {
  border-color: rgba(202, 253, 17, 0.25);
}

.testimonial-quote {
  flex: 1;
}

.quote-mark {
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
  opacity: 0.6;
}

.testimonial-quote p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.author-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .testimonials { padding: 80px 24px; }
}
  padding: 120px 40px;
  border-bottom: 1px solid var(--border);
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.closing-text {
  font-family: 'Syne', sans-serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.closing-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}

/* === FOOTER === */
.footer {
  padding: 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  display: block;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 60px 24px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .manifesto { padding: 80px 24px; }
  .watch, .clip, .publish { padding: 60px 24px; }
  .watch-inner, .clip-inner, .publish-inner { grid-template-columns: 1fr; gap: 40px; direction: ltr; }
  .closing { padding: 80px 24px; }
  .footer { padding: 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}