/* ===== MANGO CONSULTING — Design System ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;600;700;800&display=swap');

/* --- Tokens --- */
:root {
  --clr-primary: #FF9F43;
  --clr-primary-dark: #e8872e;
  --clr-secondary: #F6D365;
  --clr-accent: #56AB2F;
  --clr-accent-light: #a8e063;
  --clr-dark: #1a1a2e;
  --clr-dark-soft: #2d2d44;
  --clr-cream: #FFF8F0;
  --clr-cream-dark: #f5ecdf;
  --clr-white: #ffffff;
  --clr-text: #2c2c3a;
  --clr-text-muted: #6b6b80;
  --clr-glass: rgba(255, 255, 255, 0.12);
  --clr-glass-border: rgba(255, 255, 255, 0.2);
  --grad-mango: linear-gradient(135deg, #F7971E 0%, #FFD200 100%);
  --grad-sunset: linear-gradient(135deg, #FF9F43 0%, #F6D365 50%, #56AB2F 100%);
  --grad-dark: linear-gradient(180deg, #1a1a2e 0%, #2d2d44 100%);
  --grad-hero: linear-gradient(160deg, #1a1a2e 0%, #2a1f3d 40%, #3d2a1f 100%);
  --shadow-sm: 0 2px 8px rgba(255, 159, 67, 0.08);
  --shadow-md: 0 4px 20px rgba(255, 159, 67, 0.12);
  --shadow-lg: 0 8px 40px rgba(255, 159, 67, 0.16);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-w: 1200px;
  --nav-h: 72px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-body);
  color: var(--clr-text);
  background: var(--clr-cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-primary-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--clr-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.2; color: var(--clr-dark); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }
p { max-width: 65ch; }
.container { width: 90%; max-width: var(--max-w); margin: 0 auto; }

/* --- Utility --- */
.section-tag {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-primary);
  margin-bottom: 0.5rem;
}
.section-pad { padding: 5rem 0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Scroll Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Wavy Divider --- */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}
.wave-divider.flip { transform: rotate(180deg); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255, 248, 240, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 159, 67, 0.1);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--clr-dark);
}
.nav-brand img { width: 44px; height: 44px; border-radius: 50%; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }
.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--clr-primary);
  transition: width .3s;
}
.nav-links a:hover { color: var(--clr-dark); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--grad-mango);
  color: var(--clr-white) !important;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--clr-white) !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 3px;
  background: var(--clr-dark);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--grad-hero);
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  overflow: hidden;
  color: var(--clr-white);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/hero-illustration.png') center/cover no-repeat;
  opacity: 0.18;
}
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-text h1 {
  color: var(--clr-white);
  margin-bottom: 1.2rem;
}
.hero-text h1 .highlight {
  background: var(--grad-mango);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-text .tagline {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 50ch;
}
.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-visual img {
  max-width: 480px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--grad-mango);
  color: var(--clr-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(247, 151, 30, 0.4);
  transition: transform .25s, box-shadow .25s;
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(247, 151, 30, 0.5);
  color: var(--clr-white);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--clr-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background .2s, border-color .2s;
  text-decoration: none;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--clr-primary);
  color: var(--clr-white);
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.hero-badge .icon { font-size: 1.2rem; }

/* ===== PROBLEM SECTION ===== */
.problem {
  background: var(--clr-white);
  position: relative;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.problem-text h2 { margin-bottom: 1rem; }
.problem-text .lead {
  font-size: 1.15rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.5rem;
}
.pain-points { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.pain-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
}
.pain-points .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.problem-visual {
  background: var(--grad-mango);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  color: var(--clr-white);
  position: relative;
  overflow: hidden;
}
.problem-visual::after {
  content: '🐕';
  position: absolute;
  bottom: -10px; right: -10px;
  font-size: 8rem;
  opacity: 0.15;
}
.problem-visual blockquote {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  font-style: italic;
  line-height: 1.4;
}
.problem-visual .attribution {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ===== SERVICES ===== */
.services { background: var(--clr-cream); }
.services-header { text-align: center; margin-bottom: 3rem; }
.services-header p { margin: 0.8rem auto 0; color: var(--clr-text-muted); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform .3s, box-shadow .3s;
  border: 1px solid rgba(255, 159, 67, 0.08);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.service-card p { font-size: 0.9rem; color: var(--clr-text-muted); margin: 0 auto; }

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--clr-white); }
.how-it-works-header { text-align: center; margin-bottom: 3rem; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  width: 75%;
  height: 3px;
  background: var(--grad-mango);
  border-radius: 2px;
  z-index: 0;
}
.step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--grad-mango);
  color: var(--clr-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(247, 151, 30, 0.3);
}
.step h3 { margin-bottom: 0.4rem; }
.step p { font-size: 0.9rem; color: var(--clr-text-muted); margin: 0 auto; }

/* ===== PRICING ===== */
.pricing {
  background: var(--grad-dark);
  color: var(--clr-white);
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255,159,67,0.08) 0%, transparent 50%);
}
.pricing-header { text-align: center; margin-bottom: 3rem; position: relative; }
.pricing-header h2 { color: var(--clr-white); }
.pricing-header p { color: rgba(255,255,255,0.6); margin: 0.8rem auto 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  position: relative;
}
.price-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: transform .3s, border-color .3s;
  position: relative;
}
.price-card:hover {
  transform: translateY(-6px);
  border-color: var(--clr-primary);
}
.price-card.popular {
  border-color: var(--clr-primary);
  background: rgba(255, 159, 67, 0.1);
}
.price-card.popular::before {
  content: '⭐ Most Popular';
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad-mango);
  color: var(--clr-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  white-space: nowrap;
}
.price-card .tier-icon { font-size: 2.4rem; margin-bottom: 0.8rem; display: block; }
.price-card .tier-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--clr-white);
  margin-bottom: 0.5rem;
}
.price-card .price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
  color: var(--clr-primary);
}
.price-card .price span { font-size: 0.9rem; font-weight: 400; color: rgba(255,255,255,0.5); }
.price-card .setup {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.2rem;
}
.price-card .features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.price-card .features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
}
.price-card .features li::before {
  content: '🐾';
  flex-shrink: 0;
  font-size: 0.8rem;
}

/* ===== WHY MANGO ===== */
.why-mango { background: var(--clr-cream); }
.why-header { text-align: center; margin-bottom: 3rem; }
.why-header p { margin: 0.8rem auto 0; color: var(--clr-text-muted); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: var(--clr-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--clr-primary);
  transition: transform .3s;
}
.why-card:hover { transform: translateY(-4px); }
.why-card .icon { font-size: 2rem; margin-bottom: 0.8rem; display: block; }
.why-card h3 { margin-bottom: 0.5rem; }
.why-card p { font-size: 0.9rem; color: var(--clr-text-muted); }

/* ===== VERTICALS ===== */
.verticals { background: var(--clr-white); }
.verticals-header { text-align: center; margin-bottom: 3rem; }
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.vertical-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  background: var(--clr-dark);
  transition: transform .3s;
}
.vertical-card:hover { transform: scale(1.03); }
.vertical-card .card-bg {
  position: absolute;
  inset: 0;
  font-size: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.3;
}
.vertical-card .card-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(26,26,46,0.95));
  width: 100%;
}
.vertical-card h3 { color: var(--clr-white); margin-bottom: 0.3rem; }
.vertical-card p { color: rgba(255,255,255,0.7); font-size: 0.85rem; }

/* ===== STATS ===== */
.stats-section {
  background: var(--grad-mango);
  color: var(--clr-white);
  text-align: center;
  padding: 4rem 0;
}
.stats-section h2 {
  color: var(--clr-white);
  margin-bottom: 0.5rem;
}
.stats-section .subtitle {
  font-size: 1.1rem;
  opacity: 0.85;
  margin: 0 auto 2.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.stat-item h3 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--clr-white);
  margin-bottom: 0.3rem;
}
.stat-item p { font-size: 0.95rem; opacity: 0.85; margin: 0 auto; }

/* ===== CTA ===== */
.cta-section {
  background: var(--clr-cream);
  text-align: center;
}
.cta-card {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-mango);
}
.cta-card h2 { margin-bottom: 0.8rem; }
.cta-card p { color: var(--clr-text-muted); margin: 0 auto 2rem; }
.cta-card .mango-emoji { font-size: 3rem; margin-bottom: 1rem; display: block; }
.btn-primary.btn-lg {
  font-size: 1.2rem;
  padding: 1.1rem 2.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--clr-dark);
  color: rgba(255,255,255,0.6);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; }
.footer-brand span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--clr-white);
}
.footer-desc { font-size: 0.9rem; max-width: 35ch; }
.footer-col h4 {
  font-family: var(--font-heading);
  color: var(--clr-white);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col a:hover { color: var(--clr-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
}
.paw-divider { letter-spacing: 0.3em; margin: 0.3rem 0; opacity: 0.4; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text .tagline { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-badges { justify-content: center; }
  .hero-visual img { max-width: 340px; }
  .problem-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav-links { 
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--clr-cream);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 2px solid var(--clr-primary);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .steps { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 3rem; }
  .section-pad { padding: 3rem 0; }
  .cta-card { padding: 2.5rem 1.5rem; }
  .pricing-grid { grid-template-columns: 1fr; }
}
