/* ========================================
   HOME PAGE STYLES
   ======================================== */

/* ── HERO ───────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: rgba(0, 245, 212, 0.06);
  top: 10%;
  left: -10%;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: rgba(124, 58, 237, 0.08);
  bottom: 0%;
  right: -5%;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  line-height: 1.08;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 58ch;
  margin: 0 auto 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 20px 36px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: -0.04em;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: var(--text-muted);
}

.scroll-mouse {
  position: absolute;
  right: calc(100% + 14px); /* Perfectly detached exactly 14px left of the text */
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 40px;
  border: 2px solid var(--border-subtle);
  border-radius: 14px;
  display: flex;
  justify-content: center;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-orange); /* Neon green mapping */
  border-radius: 2px;
  margin-top: 6px;
  animation: scrollWheel 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(107, 255, 46, 0.5); /* Glowing wheel */
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* ── TRUSTED BY ─────────────────────────── */
.trusted-section {
  padding: 60px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.trusted-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 100px;
  background: rgba(107, 255, 46, 0.03);
  filter: blur(40px);
  pointer-events: none;
}

.trusted-heading {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 56px;
  position: relative;
  z-index: 5;
}

.trust-marquee-wrapper {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.trust-marquee-wrapper::before,
.trust-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.trust-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.trust-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

.trust-marquee {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 0 40px;
  animation: scrollMarquee 25s linear infinite;
  white-space: nowrap;
}

.trust-marquee:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 40px)); }
}

.trust-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-muted);
  opacity: 0.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.4s ease, color 0.4s ease, text-shadow 0.4s ease;
  cursor: default;
}

.trust-logo:hover {
  opacity: 1;
  color: var(--text-primary);
  text-shadow: 0 0 15px rgba(107, 255, 46, 0.4);
}

/* ── FEATURES GRID ──────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.features-grid .card h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

/* ── SERVICES PREVIEW ───────────────────── */
.services-preview {
  background: var(--bg-secondary);
}

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.service-card:hover::before {
  opacity: 1;
}

.service-number {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--border-subtle);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.service-card:hover .service-number {
  color: var(--accent-cyan);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-icon svg {
  width: 22px;
  height: 22px;
}

.service-card:hover .service-icon {
  background: rgba(0, 245, 212, 0.15);
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.2);
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: none;
}

/* ── STATS SECTION ──────────────────────── */
.stats-section {
  background: var(--bg-primary);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.stat-block {
  padding: 48px 32px;
  background: var(--bg-card);
  text-align: center;
  transition: var(--transition);
}

.stat-block:hover {
  background: var(--bg-hover);
}

.stat-big {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 4vw, 4rem);
  font-weight: 700;
  color: var(--accent-cyan);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── TESTIMONIALS ───────────────────────── */
.testimonials-section {
  background: var(--bg-secondary);
  overflow: hidden;
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  min-width: 100%;
  padding: 56px 60px;
  background: var(--bg-card);
  position: relative;
}

.quote-icon {
  font-size: 6rem;
  line-height: 1;
  color: var(--accent-cyan);
  opacity: 0.12;
  font-family: Georgia, serif;
  position: absolute;
  top: 24px;
  left: 40px;
  pointer-events: none;
}

.quote-text {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--text-primary);
  margin-bottom: 32px;
  max-width: 70ch;
  font-style: italic;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  flex-shrink: 0;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.author-role {
  color: var(--text-muted);
  font-size: 0.7rem;
}

.quote-rating {
  font-size: 1rem;
  color: #F59E0B;
  letter-spacing: 2px;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-secondary);
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-subtle);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slider-dot.active {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  width: 24px;
  border-radius: 4px;
}

/* ── CTA SECTION ────────────────────────── */
.cta-section {
  background: var(--bg-primary);
}

.cta-box {
  background: var(--bg-card);
  background-image: radial-gradient(circle at top right, rgba(107, 255, 46, 0.15) 0%, transparent 60%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan), var(--accent-purple));
}

.cta-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(0, 245, 212, 0.04);
  border-radius: 50%;
  top: -100px;
  right: 100px;
  filter: blur(80px);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 14px;
}

.cta-content p {
  margin-bottom: 32px;
  font-size: 1rem;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-visual {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 245, 212, 0.15);
}

.cta-ring-1 {
  width: 100%;
  height: 100%;
  animation: pulse 3s ease-in-out infinite;
}

.cta-ring-2 {
  width: 70%;
  height: 70%;
  animation: pulse 3s ease-in-out infinite 0.5s;
  border-color: rgba(0, 245, 212, 0.2);
}

.cta-ring-3 {
  width: 42%;
  height: 42%;
  animation: pulse 3s ease-in-out infinite 1s;
  border-color: rgba(0, 245, 212, 0.3);
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.cta-core {
  width: 64px;
  height: 64px;
  background: var(--accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  z-index: 1;
  box-shadow: 0 0 40px rgba(0, 245, 212, 0.35);
}

/* ── RESPONSIVE ─────────────────────────── */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-visual {
    display: none;
  }

  .cta-box {
    padding: 48px 36px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(2.4rem, 10vw, 3.5rem);
  }

  .hero-stats {
    gap: 20px;
    padding: 16px 20px;
  }

  .stat-sep {
    display: none;
  }

  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .stat-block {
    padding: 32px 20px;
  }

  .testimonial-card {
    padding: 36px 24px;
  }

  .quote-text {
    font-size: 1rem;
  }

  .cta-box {
    padding: 36px 24px;
    flex-direction: column;
  }

  .trust-logos {
    gap: 24px;
  }
}