/* =====================================================================
   AEGON TOOLS - ULTRA PREMIUM REVIEWS SECTION
   ===================================================================== */
.reviews-section {
  padding: 40px 0 60px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  border-radius: 0 0 34px 34px !important;
}

.rev-bg-glow {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.08), transparent 60%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
[data-theme="dark"] .rev-bg-glow {
  background: radial-gradient(circle, rgba(124, 92, 255, 0.15), transparent 60%);
}

.rev-header {
  text-align: center;
  margin-bottom: clamp(50px, 8vw, 70px);
  position: relative;
  z-index: 2;
}

.rev-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #f59e0b; /* Amber */
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.02));
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
  margin-bottom: 24px;
}

.rev-title {
  font-family: var(--font-display, 'Clash Display', sans-serif);
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink-strong);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.rev-grad {
  color: var(--violet); color: var(--violet);
  animation: whyShimmer 6s linear infinite;
}

.rev-desc {
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--muted);
  max-width: 600px;
  margin-inline: auto;
}

/* Marquee / Infinite Scroll */
.rev-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 2;
  /* Soft fade on edges */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 20px 0;
  margin-bottom: 60px;
}

.rev-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: revScroll 40s linear infinite;
}
.rev-marquee-track:hover {
  animation-play-state: paused;
}

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

/* Review Cards */
.rev-card {
  width: 420px;
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(255,255,255,0.6));
  border: 1px solid rgba(124, 92, 255, 0.15);
  border-radius: 24px;
  padding: 35px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, border-color 0.4s;
  box-shadow: 0 12px 30px -10px rgba(44, 37, 94, 0.05);
  position: relative;
}
[data-theme="dark"] .rev-card {
  background: linear-gradient(145deg, rgba(25, 22, 40, 0.7), rgba(15, 13, 25, 0.5));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.rev-card::after {
  content: '"';
  position: absolute;
  top: 10px;
  right: 25px;
  font-family: serif;
  font-size: 120px;
  color: rgba(124, 92, 255, 0.06);
  line-height: 1;
  pointer-events: none;
}
[data-theme="dark"] .rev-card::after {
  color: rgba(255, 255, 255, 0.04);
}

.rev-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 25px 50px -12px rgba(124, 92, 255, 0.15);
}
[data-theme="dark"] .rev-card:hover {
  border-color: rgba(124, 92, 255, 0.5);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.rev-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 20px;
}
.rev-star {
  width: 18px;
  height: 18px;
}

.rev-quote {
  font-size: 16px;
  color: var(--ink-strong);
  line-height: 1.7;
  margin: 0 0 30px 0;
  flex: 1;
  position: relative;
  z-index: 2;
}

.rev-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.rev-av {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), #ec4899);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(124, 92, 255, 0.3);
}
.rev-info {
  display: flex;
  flex-direction: column;
}
.rev-info strong {
  color: var(--ink-strong);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.rev-info strong svg {
  color: #10b981; /* Verified Green */
}
.rev-info span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}
.rev-tool {
  color: var(--violet);
  font-weight: 600;
}

/* Floating Stats Pill */
.rev-stats-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.rev-stats {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(145deg, rgba(255,255,255,0.9), rgba(255,255,255,0.6));
  border: 1px solid rgba(124, 92, 255, 0.2);
  border-radius: 999px;
  padding: 10px 30px;
  box-shadow: 0 15px 35px -10px rgba(124, 92, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
[data-theme="dark"] .rev-stats {
  background: linear-gradient(145deg, rgba(30, 26, 50, 0.8), rgba(20, 18, 35, 0.6));
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.r-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px;
}
.r-stat strong {
  font-family: var(--font-display, 'Clash Display', sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--ink-strong);
}
.r-stat span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.r-stat-div {
  width: 1px;
  height: 40px;
  background: var(--line);
}

/* Responsive */
@media (max-width: 992px) {
  .rev-stats {
    flex-wrap: wrap;
    border-radius: 24px;
    padding: 20px;
    gap: 15px;
  }
  .r-stat-div { display: none; }
  .r-stat { width: 45%; }
}
@media (max-width: 640px) {
  .rev-card { width: 320px; padding: 25px; }
  .rev-quote { font-size: 15px; }
  .r-stat { width: 100%; padding: 10px; }
}
