/* ===================================================================
   PoolPal — Premium Marketing Site Styles
   =================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #ffbf00;
  --primary-dark: #e6ac00;
  --primary-light: #ffd54f;
  --primary-glow: rgba(255, 191, 0, 0.3);
  --accent: #ff6b35;
  --dark: #1a1a2e;
  --dark-soft: #2a2a3e;
  --text-primary: #2a2a2a;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --white: #ffffff;
  --off-white: #f9fafb;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 30px rgba(255, 191, 0, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul { list-style: none; }

img {
  max-width: 100%;
  display: block;
}

/* ---------- Utility ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

.text-center { text-align: center; }

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* ---------- Particle Background ---------- */
.particle-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: particleFloat linear infinite;
  opacity: 0;
}

.particle-gold {
  background: radial-gradient(circle, rgba(255, 191, 0, 0.3), transparent);
}

.particle-white {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5), transparent);
}

@keyframes particleFloat {
  0% {
    opacity: 0;
    transform: translateY(100vh) rotate(0deg);
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-10vh) rotate(720deg);
  }
}

/* ---------- HEADER / NAV ---------- */
.pp-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition-smooth);
}

.pp-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-md);
}

.pp-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
}

.pp-logo-link {
  display: flex;
  align-items: center;
  transition: transform var(--transition-fast);
}

.pp-logo-link:hover {
  transform: scale(1.05);
}

.pp-logo-img {
  height: 96px;
  width: auto;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
}

.pp-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pp-nav-link {
  position: relative;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: all var(--transition-smooth);
  overflow: hidden;
}

.pp-nav-link::before {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: all var(--transition-smooth);
  transform: translateX(-50%);
  border-radius: 2px;
}

.pp-nav-link:hover {
  color: var(--primary-dark);
  background: rgba(255, 191, 0, 0.06);
}

.pp-nav-link:hover::before {
  width: 60%;
}

.pp-nav-link i {
  margin-right: 8px;
  font-size: 14px;
  color: var(--primary);
  transition: transform var(--transition-smooth);
}

.pp-nav-link:hover i {
  transform: translateY(-2px) scale(1.15);
}

.pp-nav-cta {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--dark) !important;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-xl);
  box-shadow: 0 4px 15px var(--primary-glow);
  transition: all var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pp-nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px var(--primary-glow);
}

.pp-nav-cta::before { display: none; }

/* Mobile hamburger */
.pp-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-smooth);
}

.pp-hamburger:hover {
  box-shadow: var(--shadow-md);
  background: rgba(255, 191, 0, 0.08);
}

.pp-hamburger-lines {
  width: 22px;
  height: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pp-hamburger-lines span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 4px;
  transition: all var(--transition-smooth);
  transform-origin: center;
}

.pp-hamburger-lines span:nth-child(1) { width: 60%; }
.pp-hamburger-lines span:nth-child(3) { width: 80%; }

.pp-hamburger:hover .pp-hamburger-lines span { background: var(--primary); width: 100%; }

.pp-hamburger.active .pp-hamburger-lines span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  width: 100%;
}
.pp-hamburger.active .pp-hamburger-lines span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.pp-hamburger.active .pp-hamburger-lines span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  width: 100%;
}

/* Mobile overlay */
.pp-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.pp-mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.pp-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--white);
  z-index: 999;
  padding: 80px 24px 24px;
  transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.pp-mobile-menu.active {
  right: 0;
}

.pp-mobile-menu .pp-nav-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  margin-bottom: 8px;
  border-radius: var(--radius-md);
  background: var(--gray-50);
  border: 1px solid transparent;
}

.pp-mobile-menu .pp-nav-link:hover {
  background: rgba(255, 191, 0, 0.1);
  border-color: rgba(255, 191, 0, 0.2);
  transform: translateX(5px);
}

.pp-mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  font-size: 18px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.pp-mobile-close:hover {
  background: var(--primary);
  color: var(--white);
  transform: rotate(90deg);
}

/* ---------- HERO SECTION ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(160deg, #fffdf5 0%, #fff8e1 30%, #ffffff 60%, #fffbf0 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 191, 0, 0.08), transparent 70%);
  animation: heroPulse 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.05), transparent 70%);
  animation: heroPulse 10s ease-in-out infinite reverse;
}

@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.2); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 191, 0, 0.1);
  border: 1px solid rgba(255, 191, 0, 0.2);
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 24px;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 191, 0, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(255, 191, 0, 0); }
}

.hero-badge i {
  font-size: 12px;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.3) rotate(15deg); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--dark);
}

.hero-title .highlight {
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(90deg, rgba(255, 191, 0, 0.3), rgba(255, 191, 0, 0.1));
  z-index: -1;
  border-radius: 4px;
  animation: highlightGrow 1.5s ease-out forwards;
  transform-origin: left;
}

@keyframes highlightGrow {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 25px var(--primary-glow);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px var(--primary-glow);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--white);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-xl);
  border: 2px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 2;
}

.hero-image-glow {
  position: absolute;
  inset: -20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 191, 0, 0.15), rgba(255, 107, 53, 0.08));
  filter: blur(30px);
  z-index: 1;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

/* Floating stat cards on hero */
.hero-stat {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: statFloat 5s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-stat:nth-child(2) { animation-delay: -1.5s; }
.hero-stat:nth-child(3) { animation-delay: -3s; }

@keyframes statFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-stat-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 18px;
}

.hero-stat-icon.gold { background: rgba(255, 191, 0, 0.12); color: var(--primary-dark); }
.hero-stat-icon.green { background: rgba(34, 197, 94, 0.12); color: #16a34a; }
.hero-stat-icon.blue { background: rgba(59, 130, 246, 0.12); color: #2563eb; }

.hero-stat-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-stat-text span {
  font-size: 12px;
  color: var(--text-light);
}

.stat-1 { top: 10%; right: -12%; }
.stat-2 { bottom: -5%; right: -12%; }
.stat-3 { bottom: -5%; left: -8%; }

/* Hero scroll indicator */
.hero-scroll {
  display: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 5;
}

.hero-scroll span {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.1% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- FEATURES SECTION ---------- */
.features {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(255, 191, 0, 0.03), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 107, 53, 0.02), transparent 50%);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 191, 0, 0.08);
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.feature-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition-smooth);
  overflow: hidden;
  cursor: default;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 191, 0, 0.15);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 28px;
  transition: all var(--transition-smooth);
}

.feature-icon.icon-gold {
  background: rgba(255, 191, 0, 0.1);
  color: var(--primary-dark);
}

.feature-icon.icon-green {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
}

.feature-icon.icon-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
}

.feature-icon.icon-purple {
  background: rgba(139, 92, 246, 0.1);
  color: #7c3aed;
}

.feature-icon.icon-rose {
  background: rgba(244, 63, 94, 0.1);
  color: #e11d48;
}

.feature-icon.icon-teal {
  background: rgba(20, 184, 166, 0.1);
  color: #0d9488;
}

.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
  box-shadow: var(--shadow-glow);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- SERVICES SECTION ---------- */
.services-section {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-wide {
  grid-column: span 3;
}

.service-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(255, 191, 0, 0.12), rgba(255, 191, 0, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.service-tag {
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(255, 191, 0, 0.08);
  color: var(--primary-dark);
  border: 1px solid rgba(255, 191, 0, 0.15);
  white-space: nowrap;
}

.service-how-it-works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.service-step {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-step i {
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

.service-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.service-highlights span {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-highlights span i {
  color: var(--primary);
  font-size: 14px;
}

.service-vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.service-vehicle {
  text-align: center;
  padding: 20px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-light);
  transition: all 0.3s;
}

.service-vehicle:hover {
  background: rgba(255, 191, 0, 0.06);
  transform: translateY(-3px);
}

.service-vehicle i {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}

.service-vehicle strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.service-vehicle span {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

/* ---------- APP SHOWCASE SECTION ---------- */

/* --- Services Teaser (homepage) --- */
.svc-teaser {
  background: var(--off-white);
}

.svc-teaser-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.svc-teaser-item {
  text-align: center;
  padding: 32px 16px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.svc-teaser-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.svc-teaser-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  margin: 0 auto 14px;
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.svc-teaser-item:hover .svc-teaser-icon {
  transform: scale(1.15) rotate(5deg);
}

.svc-teaser-item h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.svc-teaser-cta {
  text-align: center;
  margin-top: 40px;
}

.app-showcase {
  position: relative;
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-soft) 100%);
  color: var(--white);
  overflow: hidden;
}

.app-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 80% 20%, rgba(255, 191, 0, 0.08), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.05), transparent 50%);
}

.app-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.app-text-side {
  max-width: 520px;
}

.app-text-side .section-label {
  background: rgba(255, 191, 0, 0.15);
  color: var(--primary-light);
}

.app-text-side .section-title {
  color: var(--white);
}

.app-text-side .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.app-features-list {
  margin: 32px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.app-feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-smooth);
}

.app-feature-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 191, 0, 0.3);
  transform: translateX(8px);
}

.app-feature-item i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 191, 0, 0.12);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 16px;
  flex-shrink: 0;
}

.app-feature-item span {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

.download-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--dark);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  transition: all var(--transition-smooth);
  box-shadow: var(--shadow-md);
}

.download-btn i {
  font-size: 22px;
}

.download-btn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.download-btn .btn-label {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.download-btn .btn-small {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-secondary);
}

.download-btn .btn-big {
  font-size: 15px;
  font-weight: 700;
}

.app-visual-side {
  display: flex;
  justify-content: center;
  position: relative;
}

.app-phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  background: linear-gradient(160deg, #2a2a3e, #1a1a2e);
  border-radius: 36px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #111;
  border-radius: 20px;
  z-index: 5;
}

.phone-screen {
  position: absolute;
  inset: 8px;
  border-radius: 30px;
  background: linear-gradient(160deg, #fff8e1, #ffffff);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 20px;
}

.phone-screen .phone-logo {
  width: 80%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 12px;
}

.phone-screen-text {
  text-align: center;
  color: var(--dark);
}

.phone-screen-text h4 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.phone-screen-text p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Glowing orbs around phone */
.phone-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
}

.phone-glow-1 {
  width: 200px;
  height: 200px;
  background: rgba(255, 191, 0, 0.15);
  top: -50px;
  right: -50px;
  animation: orbFloat 7s ease-in-out infinite;
}

.phone-glow-2 {
  width: 150px;
  height: 150px;
  background: rgba(255, 107, 53, 0.1);
  bottom: -30px;
  left: -40px;
  animation: orbFloat 9s ease-in-out infinite reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(15px, -20px); }
  66% { transform: translate(-10px, 15px); }
}

/* ---------- STATS SECTION ---------- */
.stats-section {
  background: linear-gradient(135deg, #fffdf5, #fff8e1);
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 191, 0, 0.1);
  transition: all var(--transition-smooth);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 191, 0, 0.3);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.cta-card {
  position: relative;
  background: linear-gradient(135deg, var(--primary), #ffa726);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(255, 191, 0, 0.25);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 50%);
  animation: ctaRotate 20s linear infinite;
}

@keyframes ctaRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-desc {
  font-size: 1.1rem;
  color: rgba(0, 0, 0, 0.65);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn-outline-dark:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

/* ---------- FOOTER ---------- */
.pp-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.pp-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  background-size: 200% 100%;
  animation: gradientSlide 4s linear infinite;
}

@keyframes gradientSlide {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
}

.footer-brand .pp-logo-img {
  height: 72px;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.1));
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-smooth);
}

.footer-col:hover .footer-heading::after {
  width: 50px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(6px);
}

.footer-links a:hover::before {
  width: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  transition: transform var(--transition-smooth);
}

.footer-contact-item:hover {
  transform: translateX(6px);
}

.footer-contact-item i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 191, 0, 0.1);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
  transition: all var(--transition-smooth);
}

.footer-contact-item:hover i {
  background: var(--primary);
  color: var(--dark);
}

.footer-contact-item span {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.footer-social a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  border-radius: var(--radius-sm);
  transform: scale(0);
  transition: transform var(--transition-smooth);
}

.footer-social a:hover {
  color: var(--dark);
  transform: translateY(-4px);
}

.footer-social a:hover::before {
  transform: scale(1);
}

.footer-social a i {
  position: relative;
  z-index: 1;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: var(--primary);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-smooth);
  z-index: 50;
  cursor: pointer;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--primary-glow);
}

/* ---------- ABOUT PAGE STYLES ---------- */
.about-hero {
  position: relative;
  padding: 140px 0 80px;
  background: linear-gradient(160deg, #fffdf5 0%, #fff8e1 40%, #ffffff 100%);
  text-align: center;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 191, 0, 0.06), transparent 70%);
  top: -200px;
  right: -100px;
  animation: heroPulse 10s ease-in-out infinite;
}

.about-hero .section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
}

.about-hero .section-desc {
  max-width: 650px;
}

.founder-cards {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.founder-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
  align-items: center;
  padding: 40px;
  border-radius: var(--radius-xl);
  transition: all var(--transition-smooth);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.founder-row:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 191, 0, 0.12);
}

.founder-row.reverse {
  grid-template-columns: 2fr 1fr;
}

.founder-row.reverse .founder-photo {
  order: 2;
}

.founder-photo {
  position: relative;
  text-align: center;
}

.founder-img-wrap {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: visible;
}

.founder-img-wrap::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  opacity: 0.3;
  transition: all var(--transition-smooth);
  z-index: 0;
}

.founder-row:hover .founder-img-wrap::before {
  opacity: 0.6;
  transform: scale(1.08) rotate(5deg);
}

.founder-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
  transition: transform var(--transition-smooth);
}

.founder-row:hover .founder-img-wrap img {
  transform: scale(1.05);
}

.founder-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 20px;
}

.founder-role {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 16px;
  background: rgba(255, 191, 0, 0.1);
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-dark);
}

.founder-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.founder-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-50);
  border-radius: 50%;
  color: var(--text-secondary);
  font-size: 14px;
  transition: all var(--transition-smooth);
}

.founder-socials a:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-3px);
}

.founder-bio p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.founder-bio strong {
  color: var(--text-primary);
  position: relative;
}

.founder-bio strong::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: rgba(255, 191, 0, 0.2);
  z-index: -1;
}

/* Values section (about page) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 191, 0, 0.04), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.value-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
}

.value-card:hover::before {
  opacity: 1;
}

.value-icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 191, 0, 0.1);
  color: var(--primary-dark);
  font-size: 24px;
  transition: all var(--transition-smooth);
}

.value-card:hover .value-icon {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 0 20px var(--primary-glow);
}

.value-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.value-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.value-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text { max-width: 100%; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-stat { display: none; }

  .app-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .app-text-side { max-width: 100%; margin: 0 auto; }
  .app-features-list { max-width: 480px; margin: 32px auto 40px; }
  .download-buttons { justify-content: center; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .svc-teaser-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card-wide {
    grid-column: span 2;
  }

  .service-vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .founder-row,
  .founder-row.reverse {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder-row.reverse .founder-photo {
    order: 0;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .pp-nav-links { display: none; }
  .pp-hamburger { display: flex; }

  .section-padding { padding: 70px 0; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card-wide {
    grid-column: span 1;
  }

  .service-vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-how-it-works {
    grid-template-columns: 1fr;
  }

  .svc-teaser-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .svc-teaser-item {
    padding: 24px 12px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .cta-card {
    padding: 50px 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary, .btn-secondary, .btn-dark, .btn-outline-dark {
    width: 100%;
    justify-content: center;
  }

  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .download-btn {
    width: 100%;
    justify-content: center;
  }

  .stat-card {
    padding: 24px 12px;
  }

  .app-phone-mockup {
    width: 240px;
    height: 480px;
  }

  .svc-teaser-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* =============================================================
   SERVICES PAGE — Premium Card UI with Animations
   ============================================================= */

/* --- Hero Banner --- */
.svc-hero {
  padding: 160px 0 80px;
  background: linear-gradient(160deg, var(--dark) 0%, #2a1a3e 60%, var(--dark-soft) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.svc-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 160%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255, 191, 0, 0.08), transparent 70%);
  pointer-events: none;
}

.svc-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 16px 0 20px;
}

.svc-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Card Grid (2-col app-style) --- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 0;
}

.svc-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s;
}

.svc-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

/* Image area */
.svc-card-visual {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.svc-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: #f8f8f8;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-card:hover .svc-card-visual img {
  transform: scale(1.12);
}

.svc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(26, 26, 46, 0.55) 100%);
  transition: opacity 0.4s;
}

.svc-card:hover .svc-card-overlay {
  opacity: 0.7;
}

/* Badge */
.svc-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  backdrop-filter: blur(8px);
}

.svc-badge--live {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.svc-badge--live i {
  font-size: 6px;
  animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.svc-badge--soon {
  background: rgba(255, 191, 0, 0.2);
  color: var(--primary);
  border: 1px solid rgba(255, 191, 0, 0.3);
}

/* Body (text area) */
.svc-card-body {
  padding: 28px 24px 32px;
}

.svc-card-body .svc-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 16px;
  transition: transform 0.4s var(--transition-bounce);
}

.svc-card:hover .svc-card-icon {
  transform: rotateY(180deg);
}

.svc-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.svc-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Active card highlight */
.svc-card--active {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(255, 191, 0, 0.1);
}

.svc-card--active .svc-card-overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(255, 191, 0, 0.3) 100%);
}

/* --- Detail Panels --- */
.svc-details {
  background: var(--off-white);
}

.svc-detail-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.4s, border-color 0.4s;
}

.svc-detail-panel:hover {
  box-shadow: var(--shadow-lg);
}

.svc-detail-flash {
  animation: panelFlash 1.2s ease;
}

@keyframes panelFlash {
  0%   { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(255, 191, 0, 0.25); }
  100% { border-color: rgba(0, 0, 0, 0.04); box-shadow: var(--shadow-sm); }
}

.svc-detail-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.svc-detail-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--white);
  flex-shrink: 0;
}

.svc-detail-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}

.svc-detail-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Vehicle chips */
.svc-detail-vehicles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.svc-vehicle-chip {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(255, 191, 0, 0.08);
  color: var(--primary-dark);
  border: 1px solid rgba(255, 191, 0, 0.18);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}

.svc-vehicle-chip:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Detail grid cards (goods vehicles, bus types) */
.svc-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}

.svc-detail-card {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  background: var(--off-white);
  transition: all 0.35s;
}

.svc-detail-card:hover {
  background: rgba(255, 191, 0, 0.06);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.svc-detail-card i {
  font-size: 30px;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.svc-detail-card strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.svc-detail-card span {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Steps (how it works) */
.svc-detail-how {
  margin-top: 24px;
}

.svc-detail-how h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.svc-detail-how h4 i {
  color: var(--primary);
}

.svc-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.svc-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--off-white);
  transition: all 0.3s;
}

.svc-step:hover {
  background: rgba(255, 191, 0, 0.06);
  transform: translateY(-3px);
}

.svc-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.svc-step-info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.svc-step-info span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Highlights */
.svc-detail-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.svc-detail-highlights span {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--off-white);
  transition: all 0.3s;
}

.svc-detail-highlights span:hover {
  background: rgba(255, 191, 0, 0.08);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.svc-detail-highlights span i {
  color: var(--primary);
  font-size: 16px;
}

/* --- Stagger entrance animation --- */
@keyframes svcCardIn {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.svc-card.revealed {
  animation: svcCardIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.svc-card.revealed.delay-1 { animation-delay: 0s; }
.svc-card.revealed.delay-2 { animation-delay: 0.12s; }
.svc-card.revealed.delay-3 { animation-delay: 0.24s; }

/* --- Search Bar --- */
.svc-search-wrap {
  margin-top: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.svc-search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 6px 8px 6px 20px;
  transition: all 0.3s;
}

.svc-search-box:focus-within {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 191, 0, 0.15);
}

.svc-search-icon {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  margin-right: 12px;
  flex-shrink: 0;
}

.svc-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-body);
  padding: 10px 0;
}

.svc-search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.svc-search-clear {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.svc-search-clear:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.svc-search-hint {
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
  min-height: 20px;
}

/* --- No Results --- */
.svc-no-results {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}

.svc-no-results i {
  font-size: 48px;
  color: var(--primary);
  opacity: 0.4;
  margin-bottom: 16px;
}

.svc-no-results h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.svc-no-results p {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* --- Card Features (tags under description) --- */
.svc-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.svc-card-features span {
  font-size: 11px;
  font-weight: 500;
  padding: 5px 12px;
  border-radius: 50px;
  background: rgba(255, 191, 0, 0.08);
  color: var(--primary-dark);
  border: 1px solid rgba(255, 191, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.svc-card-features span i {
  font-size: 10px;
  color: var(--primary);
}

/* --- Detail Gallery --- */
.svc-detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.svc-gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: pointer;
}

.svc-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-gallery-item:hover img {
  transform: scale(1.08);
}

.svc-gallery-item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 12px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* --- Why PoolPal Section --- */
.svc-why {
  background: var(--white);
}

.svc-why-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  margin: 12px 0 40px;
}

.svc-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc-why-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  transition: all 0.35s;
  border: 1px solid transparent;
}

.svc-why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 191, 0, 0.15);
}

.svc-why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--white);
  margin: 0 auto 18px;
}

.svc-why-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.svc-why-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Services Page Responsive --- */
@media (max-width: 1024px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-detail-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .svc-hero {
    padding: 140px 0 60px;
  }

  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .svc-card-visual {
    height: 150px;
  }

  .svc-card-body {
    padding: 20px 16px 24px;
  }

  .svc-card-title {
    font-size: 1.05rem;
  }

  .svc-card-desc {
    font-size: 0.82rem;
  }

  .svc-card-features {
    gap: 6px;
  }

  .svc-card-features span {
    font-size: 10px;
    padding: 4px 8px;
  }

  .svc-detail-panel {
    padding: 28px 20px;
  }

  .svc-detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-detail-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .svc-steps {
    grid-template-columns: 1fr;
  }

  .svc-detail-header {
    flex-direction: column;
    text-align: center;
  }

  .svc-detail-vehicles {
    justify-content: center;
  }

  .svc-detail-highlights {
    justify-content: center;
  }

  .svc-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .svc-search-wrap {
    max-width: 100%;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .svc-hero {
    padding: 130px 0 50px;
  }

  .svc-hero-title {
    font-size: 1.6rem;
  }

  .svc-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .svc-card-visual {
    height: 180px;
  }

  .svc-detail-grid {
    grid-template-columns: 1fr;
  }

  .svc-detail-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .svc-why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .svc-why-card {
    padding: 28px 20px;
  }

  .svc-search-box {
    padding: 4px 6px 4px 16px;
  }

  .svc-search-input {
    font-size: 14px;
  }
}

/* ---------- Print ---------- */
@media print {
  .pp-header, .pp-footer, .particle-bg, .back-to-top, .hero-scroll { display: none; }
  .hero { min-height: auto; padding: 20px 0; }
  body { color: #000; }
}
