/* PawPatrol — Custom Styles */

:root {
  --blue: #0ea5e9;
  --blue-dark: #0284c7;
  --blue-light: #e0f2fe;
  --green: #10b981;
  --green-dark: #059669;
  --green-light: #d1fae5;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-light: #64748b;
  --white: #ffffff;
  --bg-soft: #f0f9ff;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

/* ---- NAV ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.nav-logo .paw-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.nav-logo span {
  font-size: 1.25rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 700 !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 2px 10px rgba(14,165,233,0.25);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(14,165,233,0.35) !important;
  color: var(--white) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f9ff 0%, #ecfdf5 60%, #f0fdf4 100%);
  padding: 5rem 1.5rem 4rem;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14,165,233,0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green-light);
  color: var(--green-dark);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}
.hero-badge svg { width: 14px; height: 14px; }
.hero-content h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}
.hero-content h1 .accent {
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 460px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(14,165,233,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 28px rgba(14,165,233,0.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-mid);
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid #cbd5e1;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-number {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.1;
  background: linear-gradient(135deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-bg {
  position: absolute;
  width: 90%;
  height: 90%;
  background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(16,185,129,0.1));
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  animation: blobPulse 6s ease-in-out infinite;
}
@keyframes blobPulse {
  0%, 100% { border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%; transform: scale(1); }
  50% { border-radius: 55% 45% 45% 55% / 55% 45% 55% 45%; transform: scale(1.04); }
}
.hero-image-wrap img {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 16px 40px rgba(14,165,233,0.2));
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---- SECTION COMMONS ---- */
section { padding: 5rem 1.5rem; }
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 560px;
  line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .section-subtitle { margin: 0 auto; }
.container { max-width: 1200px; margin: 0 auto; }

/* ---- FEATURES ---- */
.features {
  background: var(--white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.feature-card {
  background: var(--white);
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 2rem;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: default;
}
.feature-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 16px 40px rgba(14,165,233,0.12);
  border-color: var(--blue);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.feature-icon svg { width: 28px; height: 28px; }
.feature-icon.blue { background: var(--blue-light); }
.feature-icon.green { background: var(--green-light); }
.feature-icon.purple { background: #f3e8ff; }
.feature-icon.blue svg { color: var(--blue); }
.feature-icon.green svg { color: var(--green); }
.feature-icon.purple svg { color: #7c3aed; }
.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* ---- HOW IT WORKS ---- */
.how-it-works {
  background: linear-gradient(135deg, #f0f9ff 0%, #ecfdf5 100%);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.6% + 28px);
  right: calc(16.6% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  opacity: 0.3;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}
.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(14,165,233,0.3);
  position: relative;
  z-index: 1;
}
.step h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.step p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- TESTIMONIALS ---- */
.testimonials {
  background: var(--white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 900px;
  margin: 0 auto;
}
.testimonial-card {
  background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(14,165,233,0.1);
}
.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.2;
  font-family: Georgia, serif;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}
.testimonial-text {
  font-size: 0.98rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--white);
  flex-shrink: 0;
}
.author-avatar.blue { background: linear-gradient(135deg, var(--blue), #38bdf8); }
.author-avatar.green { background: linear-gradient(135deg, var(--green), #34d399); }
.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.author-dog {
  font-size: 0.8rem;
  color: var(--text-light);
}
.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.5rem;
}
.stars svg {
  width: 14px;
  height: 14px;
  color: #fbbf24;
  fill: #fbbf24;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.cta-banner h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.cta-banner p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  color: var(--blue-dark);
  padding: 0.9rem 2.25rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
}
.btn-white:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ---- FOOTER ---- */
footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 3rem 1.5rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand .nav-logo { margin-bottom: 0.75rem; }
.footer-brand .nav-logo span {
  background: linear-gradient(135deg, #38bdf8, #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 280px;
  color: #64748b;
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #e2e8f0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a {
  text-decoration: none;
  font-size: 0.9rem;
  color: #64748b;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: #38bdf8; }
.footer-bottom {
  max-width: 1200px;
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #475569;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---- MOBILE MENU ---- */
.mobile-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  flex-direction: column;
  gap: 1rem;
  z-index: 49;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  text-decoration: none;
  color: var(--text-mid);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
}
.mobile-menu a:last-child {
  border-bottom: none;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-align: center;
  font-weight: 700;
  margin-top: 0.5rem;
}

/* ---- AOS overrides ---- */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content h1, .hero-content p { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-image-wrap { order: -1; }
  .hero-image-wrap img { max-width: 320px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 640px) {
  section { padding: 3.5rem 1rem; }
  .hero { padding: 3rem 1rem 2.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .btn-primary, .btn-secondary { justify-content: center; }
}
