/* Styles for Anti-Gravity Testimonials Page */

.drift-section {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 700px;
  padding-top: 100px; /* Leave space for the floating navbar capsule */
  overflow: hidden;
  background-color: #ffffff;
  /* SaaS-style grid overlay */
  background-image: 
    radial-gradient(rgba(10, 66, 26, 0.05) 1.5px, transparent 1.5px),
    linear-gradient(to right, rgba(10, 66, 26, 0.01) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 66, 26, 0.01) 1px, transparent 1px);
  background-size: 32px 32px, 96px 96px, 96px 96px;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--color-border-light);
}

/* Ambient glow blobs in background */
.drift-glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  left: 10%;
  top: 10%;
  background: radial-gradient(circle, rgba(63, 168, 114, 0.04) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.drift-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  right: 15%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(224, 139, 32, 0.03) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

/* Fixed centered brand typography */
.fixed-title-bg {
  position: absolute;
  text-align: center;
  pointer-events: none;
  z-index: 2;
  max-width: 900px;
  padding: 0 24px;
}

.fixed-title-bg h1 {
  font-family: var(--font-serif), Georgia, serif;
  font-size: clamp(2.5rem, 6.5vw, 4.75rem);
  color: var(--color-primary-forest);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0;
}

.fixed-title-bg p {
  font-family: var(--font-sans), sans-serif;
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-top: 16px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

/* Drift Canvas containing the cards */
.drift-canvas {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: auto;
}

/* Testimonial card drifting styles */
.testimonial-drift-card {
  position: absolute;
  width: 320px;
  background: #ffffff;
  border: 1px solid rgba(10, 66, 26, 0.06);
  border-radius: 20px;
  padding: 26px;
  cursor: grab;
  user-select: none;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  will-change: transform, opacity;
}

.testimonial-drift-card:active {
  cursor: grabbing;
}

.testimonial-drift-card:hover {
  border-color: rgba(63, 168, 114, 0.3);
}

.card-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-charcoal);
  margin: 0 0 20px 0;
  font-weight: 450;
  position: relative;
}

.card-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(10, 66, 26, 0.05);
  padding-top: 14px;
}

.card-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(63, 168, 114, 0.08);
  color: var(--color-primary-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid rgba(63, 168, 114, 0.15);
}

.author-meta h4 {
  font-size: 0.85rem;
  margin: 0;
  color: var(--color-primary-forest);
  font-weight: 600;
}

.author-meta p {
  font-size: 0.75rem;
  margin: 2px 0 0 0;
  color: var(--color-text-muted);
}

/* Card Depth Shadows mapped via inline variables */
.depth-far {
  box-shadow: 0 4px 12px rgba(10, 66, 26, 0.02);
}

.depth-mid {
  box-shadow: 0 10px 25px rgba(10, 66, 26, 0.04);
}

.depth-near {
  box-shadow: 0 20px 40px rgba(10, 66, 26, 0.07);
}

/* Call To Action banner below the canvas */
.drift-cta-bar {
  background-color: var(--color-bg-cream);
  padding: 40px 0;
  text-align: center;
  border-bottom: 1px solid var(--color-border-light);
}

.drift-cta-bar p {
  font-size: 1.1rem;
  color: var(--color-primary-forest);
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-weight: 600;
}
