/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }

body {
  background: #000;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }

/* ── Layout ── */
.page-wrapper { max-width: 390px; margin: 0 auto; }

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(127, 29, 29, 0.4);
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
}

.header-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  ring: 1px solid rgba(127, 29, 29, 0.6);
  box-shadow: 0 0 0 1px rgba(127, 29, 29, 0.6);
}

.header-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.header-title .red { color: #dc2626; }

.header-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px 8px;
  font-size: 12px;
  color: #d4d4d8;
}

.header-meta svg { color: #d4d4d8; }

.online-count { font-weight: 600; color: #fff; }
.online-label { color: #ef4444; }

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.sep { color: #52525b; }

/* ── Main ── */
main {
  padding: 0 16px 112px;
}

/* ── Hero ── */
.hero {
  padding-top: 20px;
  text-align: center;
}

.hero h1 {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero h1 .highlight {
  color: #dc2626;
  text-shadow: 0 0 18px rgba(239, 68, 68, 0.7);
}

.hero p {
  margin-top: 8px;
  font-size: 13px;
  color: #a1a1aa;
}

/* ── Carrossel ── */
.carousel-section { margin-top: 16px; }

.carousel-outer {
  margin: 0 -16px;
  overflow: hidden;
  padding-left: 16px;
}

#carousel-track {
  display: flex;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  cursor: grab;
  user-select: none;
}

#carousel-track:active { cursor: grabbing; }

.carousel-slide {
  flex: 0 0 65%;
  padding-right: 8px;
  min-width: 0;
}

.video-card {
  position: relative;
  height: 300px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(127, 29, 29, 0.4);
  background: #000;
  box-shadow: 0 0 24px -10px rgba(239, 68, 68, 0.45);
}

.video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ── Dots ── */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.carousel-dot {
  height: 6px;
  border-radius: 9999px;
  border: none;
  background: #52525b;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 6px;
  padding: 0;
}

.carousel-dot.active {
  width: 20px;
  background: #dc2626;
}

/* ── CTA Button ── */
.btn-cta {
  display: block;
  width: 100%;
  margin-top: 12px;
  border-radius: 12px;
  background: linear-gradient(to bottom, #ef4444, #b91c1c);
  padding: 14px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.55);
  outline: 1px solid rgba(248, 113, 113, 0.4);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.btn-cta:active {
  transform: scale(0.98);
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.4);
}

/* ── Pitch section ── */
.pitch {
  margin-top: 24px;
  text-align: center;
}

.pitch h2 {
  font-size: 16px;
  font-weight: 700;
}

.pitch h2 .red { color: #ef4444; }

.pitch p {
  margin-top: 8px;
  font-size: 12px;
  color: #71717a;
}

/* ── Features ── */
.features {
  margin-top: 20px;
}

.features-label {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #e4e4e7;
  margin-bottom: 10px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid rgba(127, 29, 29, 0.5);
  background: rgba(9, 9, 11, 0.8);
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 0 18px -8px rgba(239, 68, 68, 0.4);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.2);
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.4);
  color: #ef4444;
}

.feature-icon svg { width: 16px; height: 16px; }

.feature-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.feature-desc {
  font-size: 12px;
  color: #71717a;
  margin-top: 2px;
}

/* ── Phone mockup ── */
.phone-section {
  margin-top: 32px;
  text-align: center;
}

.phone-section > p { font-size: 14px; font-weight: 600; }

.phone-mockup {
  display: inline-block;
  margin-top: 16px;
  width: 240px;
  border-radius: 32px;
  border: 4px solid #27272a;
  background: #09090b;
  padding: 12px;
  box-shadow: 0 0 40px -10px rgba(239, 68, 68, 0.5);
}

.phone-notch {
  width: 64px;
  height: 8px;
  border-radius: 9999px;
  background: #3f3f46;
  margin: 0 auto 8px;
}

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

.phone-thumb {
  aspect-ratio: 1;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.6), #18181b, #000);
  display: grid;
  place-items: center;
}

.play-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.6);
  display: grid;
  place-items: center;
}

.play-icon {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #ef4444;
}

.phone-members {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  color: #71717a;
}

.phone-members svg { color: #ef4444; width: 14px; height: 14px; }
.phone-members strong { color: #fff; }

/* ── Footer ── */
footer {
  margin-top: 32px;
  border-top: 1px solid rgba(127, 29, 29, 0.3);
  padding-top: 16px;
  text-align: center;
  font-size: 10px;
  color: #52525b;
}

footer p + p { margin-top: 2px; }

/* ── Sticky CTA bar ── */
.sticky-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 50;
  border-top: 1px solid rgba(127, 29, 29, 0.5);
  background: rgba(0, 0, 0, 0.95);
  padding: 12px 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
}

.sticky-bar .inner {
  max-width: 390px;
  margin: 0 auto;
}
