/* ===== page-reviews.css =====
   Premium SaaS Landing Page Styles for Client Reviews
   Loaded conditionally via Assets.php
========================================= */

:root {
  --rev-primary: #2563EB;
  --rev-secondary: #7C3AED;
  --rev-accent: #06B6D4;
  --rev-success: #22C55E;
  --rev-warning: #F59E0B;
  --rev-dark: #f8fafc;
  /* Light background */
  --rev-surface: #ffffff;
  /* White surface */
  --rev-surface-light: rgba(0, 0, 0, 0.05);
  /* Darker hover overlay for light theme */
  --rev-light: #0f172a;
  /* Dark text */

  --rev-gradient-1: linear-gradient(135deg, var(--rev-primary), var(--rev-secondary));
  --rev-gradient-2: linear-gradient(135deg, var(--rev-secondary), var(--rev-accent));
  --rev-gradient-3: linear-gradient(135deg, #4338ca, #3b82f6);

  --rev-glass-bg: rgba(255, 255, 255, 0.7);
  /* Light glass */
  --rev-glass-border: rgba(0, 0, 0, 0.1);
  /* Dark border for glass */
  --rev-glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);

  --rev-radius-lg: 24px;
  --rev-radius-md: 16px;
  --rev-radius-sm: 8px;

  --rev-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--rev-dark);
  color: var(--rev-light);
  overflow-x: hidden;
}

/* Typography Enhancements */
.rev-text-gradient {
  background: var(--rev-gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.rev-text-gradient-alt {
  background: var(--rev-gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Premium Buttons */
.btn-rev-primary {
  background: var(--rev-gradient-1);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  transition: var(--rev-transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-rev-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--rev-gradient-2);
  z-index: -1;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.btn-rev-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
  color: #fff;
}

.btn-rev-primary:hover::before {
  opacity: 1;
}

.btn-rev-outline {
  background: transparent;
  color: var(--rev-light);
  border: 1px solid var(--rev-glass-border);
  border-radius: 50px;
  padding: 12px 28px;
  font-weight: 600;
  transition: var(--rev-transition);
  backdrop-filter: blur(10px);
}

.btn-rev-outline:hover {
  background: var(--rev-surface-light);
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--rev-light);
  transform: translateY(-2px);
}

/* Glassmorphism Utilities */
.rev-glass-panel {
  background: var(--rev-glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--rev-glass-border);
  border-radius: var(--rev-radius-lg);
  box-shadow: var(--rev-glass-shadow);
}

/* Background Effects (Aurora & Blobs) */
.rev-background-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -10;
  overflow: hidden;
  background-color: var(--rev-dark);
}

.rev-blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.5;
  border-radius: 50%;
  animation: floatBlob 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.rev-blob-1 {
  width: 600px;
  height: 600px;
  background: rgba(37, 99, 235, 0.3);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.rev-blob-2 {
  width: 500px;
  height: 500px;
  background: rgba(124, 58, 237, 0.3);
  bottom: 10%;
  right: -5%;
  animation-delay: -5s;
}

.rev-blob-3 {
  width: 400px;
  height: 400px;
  background: rgba(6, 182, 212, 0.2);
  top: 40%;
  left: 40%;
  animation-delay: -10s;
}

@keyframes floatBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(30px, -50px) scale(1.1);
  }

  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }

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

/* Hero Section */
.rev-hero {
  padding: 160px 0 100px;
  position: relative;
  text-align: center;
}

.rev-hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.rev-hero-badge i {
  color: var(--rev-warning);
  margin-right: 8px;
}

.rev-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 24px;
}

.rev-hero p.lead {
  font-size: 1.25rem;
  color: var(--rev-text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
}

/* Social Proof Strip */
.rev-social-proof {
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.02), transparent);
}

.rev-stat-item {
  text-align: center;
}

.rev-stat-val {
  font-size: 2rem;
  font-weight: 700;
  color: var(--rev-light);
  display: block;
}

.rev-stat-label {
  font-size: 0.875rem;
  color: var(--rev-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Review Cards Section */
.rev-testimonials {
  padding: 100px 0;
}

.rev-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.rev-card {
  height: 100%;
  padding: 30px;
  transition: var(--rev-transition);
  position: relative;
  overflow: hidden;
}

.rev-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--rev-gradient-1);
  opacity: 0;
  transition: opacity 0.3s;
}

.rev-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
}

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

.rev-quote-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  color: rgba(0, 0, 0, 0.03);
  z-index: 0;
}

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

.rev-stars {
  color: var(--rev-warning);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.rev-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--rev-text-muted);
  margin-bottom: 24px;
  font-style: italic;
}

.rev-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rev-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--rev-primary);
}

.rev-author-info h5 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--rev-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.rev-verified {
  color: var(--rev-accent);
  font-size: 0.8rem;
}

.rev-author-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--rev-text-muted);
}

/* Features Strip */
.rev-features {
  padding: 80px 0;
  background: rgba(154, 223, 255, 0.2);
}

.rev-feature-card {
  text-align: center;
  padding: 30px 20px;
  transition: var(--rev-transition);
  border-radius: var(--rev-radius-md);
  border: 1px solid transparent;
}

.rev-feature-card:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: var(--rev-glass-border);
  transform: translateY(-5px);
}

.rev-feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--rev-accent);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
  transition: var(--rev-transition);
}

.rev-feature-card:hover .rev-feature-icon {
  background: var(--rev-gradient-1);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

/* Client Logos Marquee */
.rev-logos {
  padding: 60px 0;
  overflow: hidden;
}

.rev-marquee-container {
  display: flex;
  width: 200%;
  animation: revMarquee 20s linear infinite;
}

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

.rev-marquee-track {
  display: flex;
  justify-content: space-around;
  width: 50%;
}

.rev-logo-item {
  opacity: 0.5;
  filter: grayscale(100%);
  transition: var(--rev-transition);
  padding: 0 30px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rev-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.rev-logo-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.05);
  color: var(--rev-primary);
}

@keyframes revMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* CTA Section */
.rev-cta {
  padding: 100px 0;
}

.rev-cta-box {
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.rev-cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%);
  z-index: 0;
}

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

/* Modal Redesign */
.modal-backdrop.show {
  opacity: 0.8;
  backdrop-filter: blur(5px);
}

.rev-modal .modal-content {
  background: var(--rev-surface);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--rev-radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
  color: var(--rev-light);
}

.rev-modal .modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 24px 32px;
}

.rev-modal .modal-title {
  font-weight: 700;
}

.rev-modal .btn-close {
  color: var(--rev-light);
  opacity: 0.7;
  font-size: 1.2rem;
}

.rev-modal .btn-close::before {
  content: '\f00d';
  /* FontAwesome times */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.rev-modal .btn-close:hover {
  opacity: 1;
}

.rev-modal .modal-body {
  padding: 32px;
}

.rev-form-control {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--rev-radius-sm);
  color: var(--rev-light);
  padding: 12px 16px;
  transition: var(--rev-transition);
}

.rev-form-control:focus {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--rev-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  color: var(--rev-light);
}

.rev-form-control::placeholder {
  color: #6B7280;
}

.rev-form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #9CA3AF;
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .rev-hero h1 {
    font-size: 2.5rem;
  }

  .rev-hero {
    padding: 120px 0 60px;
  }

  .rev-stat-item {
    margin-bottom: 20px;
  }
}