/* Reason: React landing page styling for analytee_react theme. */

:root {
  --react-bg: #f6faf9;
  --react-ink: #0f172a;
  --react-muted: #475569;
  --react-primary: #0f766e;
  --react-primary-700: #0b5b55;
  --react-accent: #22c55e;
  --react-card: #ffffff;
  --react-border: #e2e8f0;
  --react-glow: rgba(15, 118, 110, 0.18);
}

.theme-analytee-react {
  background: radial-gradient(circle at top, #e8f5f4, #f6faf9 55%, #f9fbff 100%);
  color: var(--react-ink);
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, sans-serif;
}

.theme-analytee-react .react-header {
  background: transparent;
}

.theme-analytee-react .react-header > .container > .flex {
  background: rgba(246, 250, 249, 0.9);
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.theme-analytee-react .react-header a,
.theme-analytee-react .react-header button {
  color: var(--react-ink);
}

.theme-analytee-react .react-header .bg-indigo-600 {
  background: var(--react-primary);
  box-shadow: 0 16px 30px var(--react-glow);
}

.theme-analytee-react .react-header .bg-indigo-600:hover {
  background: var(--react-primary-700);
}

.theme-analytee-react .react-header .text-indigo-600 {
  color: var(--react-primary);
}

.theme-analytee-react .react-header .dropdown-content {
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.theme-analytee-react .react-footer-shell {
  background: transparent;
}

.theme-analytee-react .react-footer-shell h2,
.theme-analytee-react .react-footer-shell a {
  color: var(--react-ink);
}

.theme-analytee-react .react-footer-shell .bg-indigo-600 {
  background: var(--react-primary);
  box-shadow: 0 16px 30px var(--react-glow);
}

.theme-analytee-react .react-footer-shell .bg-indigo-600:hover {
  background: var(--react-primary-700);
}

.theme-analytee-react .font-heading {
  font-family: 'Space Grotesk', 'DM Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  letter-spacing: -0.02em;
}

.react-landing {
  min-height: 100vh;
}

.react-hero {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(34, 197, 94, 0.08));
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.react-chip {
  border: 1px solid rgba(15, 118, 110, 0.25);
  background: rgba(15, 118, 110, 0.08);
  color: var(--react-primary);
}

.react-card {
  background: var(--react-card);
  border: 1px solid var(--react-border);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}

.react-card.accent {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12), rgba(34, 197, 94, 0.12));
  border-color: rgba(15, 118, 110, 0.2);
}

.react-button {
  background: var(--react-primary);
  color: #fff;
  box-shadow: 0 16px 30px var(--react-glow);
}

.react-button:hover {
  background: var(--react-primary-700);
}

.react-button.secondary {
  background: transparent;
  color: var(--react-primary);
  border: 1px solid rgba(15, 118, 110, 0.4);
  box-shadow: none;
}

.react-metric {
  border: 1px solid rgba(15, 118, 110, 0.12);
  background: #fff;
}

.react-video {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.2);
  background: #0f172a;
}

.react-video.hero-media {
  aspect-ratio: 4 / 3;
  max-height: 520px;
}

@media (max-width: 1024px) {
  .react-video.hero-media {
    aspect-ratio: 3 / 2;
    max-height: 480px;
  }
}

@media (max-width: 640px) {
  .react-video.hero-media {
    aspect-ratio: 4 / 3;
    max-height: 360px;
  }
}

.react-hero-image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.react-video .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15, 118, 110, 0.6), rgba(15, 23, 42, 0.2));
}

.react-video.hero-media .overlay {
  background: radial-gradient(1200px 600px at 80% 20%, rgba(16, 185, 129, 0.18), transparent 55%),
    linear-gradient(to top, rgba(2, 6, 23, 0.35), transparent 55%);
}

.react-video .play {
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 30px rgba(15, 118, 110, 0.35);
}

.react-video .hero-collage {
  position: absolute;
  inset: 0;
}

.react-video .hero-collage-item {
  position: absolute;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.3);
  object-fit: cover;
  background: #0f172a;
}

.react-video .hero-collage-item-1 {
  width: 72%;
  height: 55%;
  top: 10%;
  left: 12%;
}

.react-video .hero-collage-item-2 {
  width: 55%;
  height: 40%;
  bottom: 18%;
  left: 8%;
  transform: rotate(-2deg);
}

.react-video .hero-collage-item-3 {
  width: 50%;
  height: 38%;
  bottom: 10%;
  right: 8%;
  transform: rotate(2deg);
}

.react-video .hero-collage-item-3 + .hero-collage-item-4 {
  display: none;
}

.integration-card {
  color: var(--react-ink);
}

.integration-logo {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(15, 118, 110, 0.12), rgba(34, 197, 94, 0.08));
  display: grid;
  place-items: center;
  border: 1px solid rgba(15, 118, 110, 0.2);
}

.integration-logo img {
  position: relative;
  z-index: 1;
}

.integration-logo .integration-fallback {
  position: absolute;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.5);
}

.integration-logo.has-image .integration-fallback {
  opacity: 0;
}

.visual-card {
  color: var(--react-ink);
}

.visual-frame {
  position: relative;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(15, 118, 110, 0.18), rgba(15, 23, 42, 0.08));
  min-height: 192px;
  display: grid;
  place-items: center;
}

.visual-frame img {
  position: relative;
  z-index: 1;
}

.visual-frame .visual-fallback {
  position: absolute;
  font-weight: 700;
  font-size: 20px;
  color: rgba(15, 23, 42, 0.45);
}

.visual-frame.has-image .visual-fallback {
  opacity: 0;
}

.challenge-badge {
  background: rgba(244, 63, 94, 0.1);
  color: #9f1239;
  border: 1px solid rgba(244, 63, 94, 0.2);
}

.challenge-card {
  border: 1px solid rgba(15, 118, 110, 0.08);
}

.challenge-card .challenge-icon {
  background: var(--react-primary);
}

.challenge-card .challenge-label {
  color: var(--react-primary-700);
}

.challenge-card .challenge-foot {
  color: var(--react-primary);
}

.challenge-card.tone-red .challenge-icon { background: #ef4444; }
.challenge-card.tone-orange .challenge-icon { background: #f97316; }
.challenge-card.tone-amber .challenge-icon { background: #f59e0b; }
.challenge-card.tone-yellow .challenge-icon { background: #eab308; }

.challenge-card.tone-red .challenge-label { color: #b91c1c; }
.challenge-card.tone-orange .challenge-label { color: #c2410c; }
.challenge-card.tone-amber .challenge-label { color: #b45309; }
.challenge-card.tone-yellow .challenge-label { color: #a16207; }

.challenge-card.tone-red .challenge-foot { color: #b91c1c; }
.challenge-card.tone-orange .challenge-foot { color: #c2410c; }
.challenge-card.tone-amber .challenge-foot { color: #b45309; }
.challenge-card.tone-yellow .challenge-foot { color: #a16207; }

.react-section-title {
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 1.1;
}

.react-gradient-line {
  height: 2px;
  background: linear-gradient(90deg, rgba(15, 118, 110, 0.1), rgba(34, 197, 94, 0.7), rgba(15, 118, 110, 0.1));
}

.react-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.2);
}

.react-carousel-dot.active {
  background: var(--react-primary);
  width: 22px;
}

.testimonial-avatar {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  margin: 24px auto;
}

.react-footer {
  border-top: 1px solid rgba(15, 118, 110, 0.1);
  background: #eef7f6;
}

@media (max-width: 768px) {
  .react-video {
    border-radius: 20px;
  }
}
