/* ============================================
   VibeSyncLab.dev — Liquid Glass Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --bg-deep: #07060e;
  --bg-mid: #0e0b1e;
  --bg-surface: #141025;

  --accent-cyan: #00d4ff;
  --accent-violet: #8b5cf6;
  --accent-pink: #d946ef;
  --accent-cyan-glow: rgba(0, 212, 255, 0.35);
  --accent-violet-glow: rgba(139, 92, 246, 0.3);

  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  --glass-highlight: rgba(255, 255, 255, 0.12);

  --text-primary: #f0f0f8;
  --text-secondary: #a0a0be;
  --text-muted: #6b6b8a;

  --radius-xl: 1rem;
  --radius-2xl: 1.25rem;
  --radius-full: 9999px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.22, 1.2, 0.36, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease-out-expo);
}

img {
  border-radius: var(--radius-2xl);
  max-width: 100%;
}

/* --- Animated Background --- */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-canvas::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80vw;
  height: 80vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  animation: float-orb-1 25s ease-in-out infinite;
}

.bg-canvas::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -15%;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  animation: float-orb-2 30s ease-in-out infinite;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.bg-orb--1 {
  width: 500px;
  height: 500px;
  top: 10%;
  right: 20%;
  background: rgba(217, 70, 239, 0.08);
  animation: float-orb-3 20s ease-in-out infinite;
}

.bg-orb--2 {
  width: 400px;
  height: 400px;
  bottom: 20%;
  left: 10%;
  background: rgba(0, 212, 255, 0.06);
  animation: float-orb-1 22s ease-in-out infinite reverse;
}

.bg-orb--3 {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  background: rgba(139, 92, 246, 0.07);
  animation: float-orb-2 18s ease-in-out infinite;
}

@keyframes float-orb-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, -60px) scale(1.1); }
  66% { transform: translate(-40px, 40px) scale(0.95); }
}

@keyframes float-orb-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-60px, -80px) scale(1.08); }
}

@keyframes float-orb-3 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(40px, 30px); }
  75% { transform: translate(-30px, -50px); }
}

/* --- Grid Overlay --- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 100%);
}

/* --- Glass Primitives --- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.6) brightness(1.05);
  -webkit-backdrop-filter: blur(24px) saturate(1.6) brightness(1.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  transition: all 0.4s var(--ease-out-expo);
}

.glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
}

.glass--strong {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(40px) saturate(1.8) brightness(1.1);
  -webkit-backdrop-filter: blur(40px) saturate(1.8) brightness(1.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
}

.glass--subtle {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px) saturate(1.3);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Typography --- */
.heading-xl {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.heading-lg {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.heading-md {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.heading-sm {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-secondary {
  color: var(--text-secondary);
}

.text-muted {
  color: var(--text-muted);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  position: relative;
  z-index: 1;
  padding: 7rem 0;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled {
  padding: 0.6rem 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(30px) saturate(1.8);
  -webkit-backdrop-filter: blur(30px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-2xl);
  transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled .navbar__inner {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.navbar__logo svg {
  flex-shrink: 0;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-out-expo);
  position: relative;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  border-radius: var(--radius-full);
  transition: width 0.3s var(--ease-out-expo);
}

.navbar__link:hover {
  color: var(--text-primary);
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-2xl);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-cyan-glow);
}

.btn--primary::before {
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-pink));
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-cyan-glow);
}

.btn--primary:hover::before {
  opacity: 1;
}

.btn--glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.btn--glass:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 var(--glass-highlight);
}

.btn--sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 5rem;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 800px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-violet);
  margin-bottom: 2rem;
  animation: fade-up 0.8s var(--ease-out-expo) 0.2s both;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--accent-violet);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero__title {
  margin-bottom: 1.5rem;
  animation: fade-up 0.8s var(--ease-out-expo) 0.4s both;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  animation: fade-up 0.8s var(--ease-out-expo) 0.6s both;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fade-up 0.8s var(--ease-out-expo) 0.8s both;
}

.hero__visual {
  margin-top: 4rem;
  animation: fade-up 1s var(--ease-out-expo) 1s both;
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.section-header__title {
  margin-bottom: 1rem;
}

.section-header__desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* --- Pain Point / Solution --- */
.pain-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.pain-card,
.solution-card {
  padding: 2.5rem;
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  transition: all 0.4s var(--ease-out-expo);
}

.pain-card {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.1);
}

.pain-card:hover {
  background: rgba(239, 68, 68, 0.07);
  border-color: rgba(239, 68, 68, 0.18);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(239, 68, 68, 0.08);
}

.solution-card {
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.1);
}

.solution-card:hover {
  background: rgba(0, 212, 255, 0.07);
  border-color: rgba(0, 212, 255, 0.18);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.08);
}

.pain-card__icon,
.solution-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.pain-card:hover .pain-card__icon {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.solution-card:hover .solution-card__icon {
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.pain-card__icon {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.solution-card__icon {
  background: rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
}

.pain-card__title,
.solution-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.pain-card__text,
.solution-card__text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* --- Feature Cards --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-violet), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 var(--glass-highlight);
}

.feature-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(0, 212, 255, 0.08);
  color: var(--accent-cyan);
  transition: all 0.4s var(--ease-out-expo);
}

.feature-card:nth-child(2) .feature-card__icon {
  background: rgba(139, 92, 246, 0.08);
  color: var(--accent-violet);
}

.feature-card:nth-child(3) .feature-card__icon {
  background: rgba(217, 70, 239, 0.08);
  color: var(--accent-pink);
}

.feature-card:nth-child(4) .feature-card__icon {
  background: rgba(34, 197, 94, 0.08);
  color: #22c55e;
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.08);
  box-shadow: 0 0 20px currentColor;
}

.feature-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card__desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.feature-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.12);
  color: var(--accent-cyan);
}

.feature-card:nth-child(2) .feature-card__tag {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.12);
  color: var(--accent-violet);
}

.feature-card:nth-child(3) .feature-card__tag {
  background: rgba(217, 70, 239, 0.06);
  border-color: rgba(217, 70, 239, 0.12);
  color: var(--accent-pink);
}

.feature-card:nth-child(4) .feature-card__tag {
  background: rgba(34, 197, 94, 0.06);
  border-color: rgba(34, 197, 94, 0.12);
  color: #22c55e;
}

/* --- Steps / How It Works --- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg,
    var(--accent-cyan),
    var(--accent-violet),
    var(--accent-pink),
    var(--accent-cyan));
  opacity: 0.2;
  z-index: 0;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  z-index: 1;
}

.step-card__number {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-cyan-glow);
  position: relative;
}

.step-card__number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(0, 212, 255, 0.15);
  animation: pulse-ring 3s ease-in-out infinite;
}

.step-card:nth-child(2) .step-card__number {
  background: linear-gradient(135deg, var(--accent-violet), var(--accent-pink));
  box-shadow: 0 4px 20px var(--accent-violet-glow);
}

.step-card:nth-child(2) .step-card__number::after {
  border-color: rgba(139, 92, 246, 0.15);
}

.step-card:nth-child(3) .step-card__number {
  background: linear-gradient(135deg, var(--accent-pink), #f97316);
  box-shadow: 0 4px 20px rgba(217, 70, 239, 0.3);
}

.step-card:nth-child(3) .step-card__number::after {
  border-color: rgba(217, 70, 239, 0.15);
}

.step-card:nth-child(4) .step-card__number {
  background: linear-gradient(135deg, #22c55e, var(--accent-cyan));
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.3);
}

.step-card:nth-child(4) .step-card__number::after {
  border-color: rgba(34, 197, 94, 0.15);
}

.step-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-card__desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.7;
}

/* --- Testimonial --- */
.testimonial {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.testimonial__card {
  padding: 3rem;
  position: relative;
}

.testimonial__card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-violet), transparent);
}

.testimonial__quote-mark {
  display: block;
  font-size: 4rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  font-family: Georgia, serif;
}

.testimonial__text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 2rem;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.testimonial__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testimonial__role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius-2xl);
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid var(--glass-border);
  transition: all 0.4s var(--ease-out-expo);
}

.stat-item:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.stat-item__number {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item__label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Multi-Testimonial --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-card-v2 {
  padding: 2rem;
  text-align: left;
  border-radius: var(--radius-2xl);
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border: 1px solid var(--glass-border);
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
}

.testimonial-card-v2::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 2rem;
  right: 2rem;
  height: 2px;
  border-radius: var(--radius-full);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
}

.testimonial-card-v2:nth-child(1)::before {
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-violet), transparent);
}

.testimonial-card-v2:nth-child(2)::before {
  background: linear-gradient(90deg, transparent, var(--accent-violet), var(--accent-pink), transparent);
}

.testimonial-card-v2:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.testimonial-card-v2:hover::before {
  opacity: 1;
}

.testimonial-card-v2__stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
  color: #fbbf24;
}

.testimonial-card-v2__text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-card-v2__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card-v2__avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-card-v2__name {
  font-weight: 600;
  font-size: 0.88rem;
}

.testimonial-card-v2__role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Footer --- */
.footer {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__logo {
  font-weight: 700;
  font-size: 1rem;
}

.footer__tagline {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.3s var(--ease-out-expo);
}

.footer__link:hover {
  color: var(--accent-cyan);
}

.footer__bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Docs Page --- */
.docs-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  min-height: calc(100vh - 100px);
  padding-top: 7rem;
}

.docs-sidebar {
  position: sticky;
  top: 6rem;
  height: fit-content;
  padding: 1.5rem;
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
}

.docs-sidebar__title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding: 0 0.75rem;
}

.docs-sidebar__nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.docs-sidebar__link {
  display: block;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-xl);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s var(--ease-out-expo);
}

.docs-sidebar__link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.docs-sidebar__link.active {
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.06);
}

.docs-content {
  padding: 0 1rem 4rem;
  max-width: 800px;
}

.docs-content h1 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.docs-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 3rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.docs-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
}

.docs-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.docs-content ul,
.docs-content ol {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  line-height: 1.8;
}

.docs-content li {
  margin-bottom: 0.5rem;
}

.docs-content code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 0.2em 0.5em;
  border-radius: 0.4rem;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.1);
  color: var(--accent-cyan);
}

.docs-content pre {
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.docs-content pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.docs-content .info-box {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-2xl);
  margin-bottom: 1.5rem;
  background: rgba(0, 212, 255, 0.04);
  border: 1px solid rgba(0, 212, 255, 0.1);
  font-size: 0.92rem;
}

.docs-content .info-box strong {
  color: var(--accent-cyan);
}

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* --- Utility Animations --- */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.4; }
  50% { transform: scale(1.15); opacity: 0; }
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- Mobile Menu --- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(7, 6, 14, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out-expo);
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__link {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.mobile-menu__link:hover {
  color: var(--text-primary);
}

.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .steps::before {
    display: none;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar__links {
    display: none;
  }

  .navbar__menu-btn {
    display: block;
  }

  .hero {
    padding: 7rem 0 4rem;
  }

  .heading-xl {
    font-size: 2rem;
  }

  .pain-solution {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .stats-bar {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-sidebar {
    position: static;
    max-height: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 4rem 0;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
