:root {
  --bg: #050816;
  --bg-soft: #0b1120;
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.09);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f8fafc;
  --muted: rgba(226, 232, 240, 0.72);
  --accent: #8b5cf6;
  --accent-2: #06b6d4;
  --accent-3: #60a5fa;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(139, 92, 246, 0.24), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.18), transparent 22%),
    linear-gradient(180deg, #030712 0%, #050816 40%, #090d1a 100%);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.space-bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 2px),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.06), transparent 1.5px),
    radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.08), transparent 2px),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05), transparent 1.5px);
  background-size: 260px 260px;
  opacity: 0.35;
  pointer-events: none;
  z-index: -3;
  animation: drift 20s linear infinite;
}

.logo{
    height:75px;
    width:auto;
    object-fit:contain;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("https://www.transparenttextures.com/patterns/stardust.png");
  opacity: 0.07;
  pointer-events: none;
  z-index: -2;
}

.stars {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: white;
  opacity: 0.75;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
  animation: twinkle linear infinite;
}

.hero {
  min-height: 100vh;
  padding: 24px clamp(18px, 4vw, 48px) 48px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.nav {
  width: min(1200px, 100%);
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.55);
}

.nav-btn,
.primary-btn,
.secondary-btn,
.filter-btn {
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.nav-btn {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
}

.primary-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(139, 92, 246, 0.25);
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.05);
}

.nav-btn:hover,
.primary-btn:hover,
.secondary-btn:hover,
.filter-btn:hover {
  transform: translateY(-2px);
}

.hero-content {
  width: min(1200px, 100%);
  margin: auto;
  padding-top: 40px;
  text-align: left;
}

.eyebrow,
.section-heading p {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero h1 {
  max-width: 900px;
  margin: 14px 0 16px;
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 0.98;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin: 30px 0 36px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card,
.metric,
.review-card,
.featured-card,
.cta-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.stat-card {
  border-radius: 24px;
  padding: 22px;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #fff, #b7ccff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
}

main {
  width: min(1200px, calc(100% - 36px));
  margin: 0 auto 80px;
}

.section-heading {
  margin: 24px 0 22px;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
}

.featured-section,
.reviews-section,
.logo-section,
.cta-section {
  margin-top: 42px;
}

.featured-card {
  border-radius: 32px;
  padding: 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}

.featured-left img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 24px;
}

.featured-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 14px;
}

.rating {
  color: #fbbf24;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.featured-right h3 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  line-height: 1.2;
}

.featured-right p {
  color: var(--muted);
  line-height: 1.9;
  margin: 0 0 18px;
}

.featured-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.featured-meta strong {
  font-size: 1.05rem;
}

.featured-meta span {
  color: var(--muted);
}

.metrics-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.metric {
  border-radius: 24px;
  padding: 20px;
  text-align: center;
}

.metric span {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #e9ddff;
}

.metric p {
  margin: 0;
  color: var(--muted);
}

.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 11px 16px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
}

.filter-btn.active {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(6, 182, 212, 0.35));
  border-color: rgba(255, 255, 255, 0.2);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-card {
  border-radius: 28px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.review-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-top img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
}

.review-name {
  display: flex;
  flex-direction: column;
}

.review-name strong {
  font-size: 1rem;
}

.review-name span {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 2px;
}

.review-stars {
  color: #fbbf24;
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.review-text {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
  flex: 1;
}

.review-tag {
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #dbeafe;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
}

/* logo-carousel */

.logo-carousel {
  overflow: hidden;
  position: relative;
  margin-top: 24px;
  padding: 14px 0;
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: scrollLogos 26s linear infinite;
}

.logo-carousel:hover .logo-track {
  animation-play-state: paused;
}

.logo-item {
  flex: 0 0 auto;
  width: 180px;
  height: 120px;
  display: grid;
  place-items: center;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(14px);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.logo-item:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.logo-item img {
  max-width: 100%;
  max-height: 77px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.05);
  opacity: 0.82;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0) brightness(1);
  opacity: 1;
  transform: scale(1.03);
}

@keyframes scrollLogos {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .logo-item {
    width: 150px;
    height: 80px;
  }

  .logo-item img {
    max-height: 42px;
  }

  .logo-track {
    animation-duration: 18s;
  }
}

.cta-card {
  border-radius: 34px;
  padding: 42px 28px;
  text-align: center;
}

.cta-card p {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-2);
  font-weight: 700;
  font-size: 0.8rem;
}

.cta-card h2 {
  max-width: 780px;
  margin: 14px auto 26px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.15;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-60px, 40px, 0); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

@media (max-width: 1000px) {
  .hero-stats,
  .metrics-section,
  .reviews-grid,
  .logo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-left img {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 18px;
  }

  .nav {
    height: auto;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-stats,
  .metrics-section,
  .reviews-grid,
  .logo-strip {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .primary-btn,
  .secondary-btn,
  .nav-btn {
    width: 100%;
  }
}