/* ==========================================================================
   GROWTH SPHERE — 2026 SOFT PASTEL LUXURY DESIGN SYSTEM
   Inspired by Reference Aesthetic · Ethereal Aura · Floating Rounded Architecture
   ========================================================================== */

:root {
  /* Soft, Ethereal 2026 Pastel Palette */
  --color-page-bg: #F8F9FE;
  --color-canvas-bg: #FFFFFF;
  --color-card-bg: #FFFFFF;
  --color-card-subtle: #FAF9FE;

  /* Typography Colors */
  --color-text-primary: #0F172A;     /* Rich deep slate */
  --color-text-secondary: #334155;   /* Balanced body slate */
  --color-text-muted: #64748B;       /* Calm caption slate */
  --color-text-subtle: #94A3B8;      /* Hairline tags */

  /* High-Impact Brand Accents (Indigo & Violet) */
  --color-indigo: #4F46E5;
  --color-indigo-dark: #1E1B4B;
  --color-violet: #7C3AED;
  --color-emerald: #10B981;

  /* Borders & Diffuse Shadows */
  --border-card: rgba(226, 232, 240, 0.85);
  --border-subtle: rgba(15, 23, 42, 0.05);
  --shadow-diffuse-sm: 0 4px 14px -2px rgba(15, 23, 42, 0.04);
  --shadow-diffuse-md: 0 16px 40px -10px rgba(79, 70, 229, 0.06);
  --shadow-diffuse-lg: 0 25px 60px -15px rgba(15, 23, 42, 0.08);
  --shadow-pill: 0 10px 30px -8px rgba(30, 27, 75, 0.12);

  /* Typography Standards */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Easing */
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Styles */
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-page-bg);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-page-bg);
  color: var(--color-text-primary);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
}

/* ==========================================================================
   Ambient Atmosphere & Mesh Glows (Matching Reference Screenshot)
   ========================================================================== */
.ambient-mesh-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1100px;
  background: 
    radial-gradient(circle at 18% 12%, rgba(139, 92, 246, 0.16) 0%, rgba(255, 255, 255, 0) 50%),
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, 0.15) 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(circle at 50% 35%, rgba(244, 114, 182, 0.08) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   Floating Pill Navigation (Header)
   ========================================================================== */
.nav-pill-wrapper {
  position: sticky;
  top: 18px;
  z-index: 50;
  padding: 0 16px;
}

.nav-pill-clean {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 9999px;
  border: 1px solid var(--border-card);
  box-shadow: 0 8px 30px -6px rgba(15, 23, 42, 0.06);
  padding: 8px 12px 8px 20px;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.nav-pill-clean:hover {
  box-shadow: 0 12px 35px -8px rgba(79, 70, 229, 0.09);
}

/* ==========================================================================
   Vertical Floating Dot Navigation Indicator (Right Edge)
   ========================================================================== */
.dot-nav-pill {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: 9999px;
  padding: 14px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 30px -8px rgba(15, 23, 42, 0.08);
}

.dot-nav-item {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background-color: #CBD5E1;
  transition: all 0.3s var(--ease-editorial);
  cursor: pointer;
  display: block;
}

.dot-nav-item:hover {
  background-color: var(--color-indigo);
  transform: scale(1.3);
}

.dot-nav-item.active {
  width: 9px;
  height: 9px;
  background-color: #1E1B4B;
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.2);
}

/* Tooltip on hover */
.dot-nav-item .dot-label {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #1E1B4B;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dot-nav-item:hover .dot-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ==========================================================================
   Isolated Floating Card Container Architecture
   ========================================================================== */
.floating-card-container {
  max-width: 1180px;
  margin: 0 auto 36px auto;
  background: #FFFFFF;
  border-radius: 40px;
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-diffuse-md);
  overflow: hidden;
  position: relative;
}

@media (max-width: 768px) {
  .floating-card-container {
    border-radius: 28px;
    margin: 0 14px 24px 14px;
    box-shadow: var(--shadow-diffuse-sm);
  }
}

/* Controlled Spacing: WhatsApp Leads (Features) to Process Section (24–32px desktop, 16–24px mobile) */
#features > div:last-child {
  margin-bottom: 28px;
}

#process {
  margin-top: 0;
}

@media (max-width: 768px) {
  #features > div:last-child {
    margin-bottom: 20px;
  }
}

/* Hero Headline Gradient & Accent Curve */
.headline-gradient {
  background: linear-gradient(135deg, #2E257F 0%, #4338CA 45%, #6D28D9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.drawn-underline-accent {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.drawn-underline-accent svg {
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 12px;
  overflow: visible;
  pointer-events: none;
}

/* Sleek Dark Navy Pill Button (Matching "Book a Strategy Call" / "Chat Now") */
.btn-dark-pill {
  background-color: #1E1B4B;
  color: #FFFFFF;
  border-radius: 9999px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  transition: transform 0.25s var(--ease-editorial), background-color 0.2s ease, box-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px -4px rgba(30, 27, 75, 0.25);
}

.btn-dark-pill:hover {
  background-color: #2F2A75;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -6px rgba(30, 27, 75, 0.35);
  color: #FFFFFF;
}

.btn-light-pill {
  background-color: #F1F5F9;
  color: #0F172A;
  border-radius: 9999px;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.2s ease, transform 0.25s var(--ease-editorial);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-light-pill:hover {
  background-color: #E2E8F0;
  transform: translateY(-2px);
}

/* Browser Mockup Styling */
.browser-frame {
  border-radius: 24px;
  border: 1px solid var(--border-card);
  background: #FFFFFF;
  box-shadow: var(--shadow-diffuse-lg);
  overflow: hidden;
  transition: transform 0.6s var(--ease-editorial), box-shadow 0.6s var(--ease-editorial);
}

.browser-frame:hover {
  box-shadow: 0 35px 85px -18px rgba(15, 23, 42, 0.12);
}

.browser-header-bar {
  background: #F8FAFC;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

/* Floating UI Micro Badges */
@keyframes floatGentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes floatGentleAlt {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(8px); }
}

.floating-ui-1 {
  animation: floatGentle 6s ease-in-out infinite;
  box-shadow: 0 14px 30px -8px rgba(15, 23, 42, 0.12);
}

.floating-ui-2 {
  animation: floatGentleAlt 7s ease-in-out infinite;
  box-shadow: 0 14px 30px -8px rgba(15, 23, 42, 0.12);
}

/* Scroll-Reveal Micro Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-editorial), transform 0.7s var(--ease-editorial);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Image Hover Zoom */
.img-zoom-hover {
  transition: transform 0.7s var(--ease-editorial);
}

.group:hover .img-zoom-hover {
  transform: scale(1.03);
}

/* Accordion Component */
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 18px;
  transition: background-color 0.2s ease;
}

.faq-trigger:hover {
  background-color: #F8FAFC;
}

.faq-trigger .faq-icon {
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-editorial), padding 0.35s ease;
  padding: 0 24px;
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding-bottom: 20px;
}

/* Minimalist Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* ==========================================================================
   Visual Mockups & UI Architecture Elements
   ========================================================================== */

/* Overlapping Phone Frame Mockup */
.phone-frame-mockup {
  width: 220px;
  border-radius: 36px;
  background: #0F172A;
  padding: 8px;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  transition: transform 0.5s var(--ease-editorial);
}

.phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: #FFFFFF;
  position: relative;
  aspect-ratio: 9/18;
}

.phone-dynamic-island {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 68px;
  height: 18px;
  background: #0F172A;
  border-radius: 12px;
  z-index: 30;
}

/* Process Timeline Visual Connector */
.timeline-track-step {
  position: relative;
}

.timeline-track-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 48px;
  bottom: -20px;
  width: 2px;
  background: linear-gradient(to bottom, #7C3AED, #E2E8F0);
  z-index: 1;
}

@media (min-width: 768px) {
  .timeline-track-step:not(:last-child)::after {
    display: none;
  }
}

/* WhatsApp Simulation UI Card */
.whatsapp-chat-box {
  background: #EFEAE2;
  background-image: radial-gradient(rgba(0,0,0,0.04) 1px, transparent 0);
  background-size: 16px 16px;
  border-radius: 24px;
  overflow: hidden;
}

.whatsapp-bubble-customer {
  background: #FFFFFF;
  border-radius: 16px 16px 16px 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.whatsapp-bubble-agency {
  background: #DCF8C6;
  border-radius: 16px 16px 4px 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Subtle Interactive Card Hover Lift */
.interactive-card-lift {
  transition: transform 0.4s var(--ease-editorial), box-shadow 0.4s var(--ease-editorial), border-color 0.4s ease;
}

.interactive-card-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(79, 70, 229, 0.1);
  border-color: rgba(124, 58, 237, 0.3);
}

/* Accessible Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
  .floating-ui-1, .floating-ui-2 {
    animation: none !important;
  }
}

/* ==========================================================================
   NEW ENHANCEMENTS: Freelance Services, Calculator, Badges, & Floating WhatsApp
   ========================================================================== */

/* Sticky Floating WhatsApp Button */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s var(--ease-spring);
  text-decoration: none;
}

.whatsapp-floating-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 32px -4px rgba(37, 211, 102, 0.55), 0 6px 16px rgba(0, 0, 0, 0.12);
  background: #20BD5A;
  color: #FFFFFF;
}

.whatsapp-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 2px solid #25D366;
  animation: pulse-border 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes pulse-border {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.28); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ==========================================================================
   MOBILE PREVIEW & TOUCHPHONE OPTIMIZATIONS (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* Hide the duplicate floating button on mobile - the sticky bottom dock handles WhatsApp & Calls cleanly without covering content */
  .whatsapp-floating-btn {
    display: none !important;
  }

  /* Ensure body has ample bottom clearance so sticky dock never overlaps footers, forms, or buttons */
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Safe-area insets for modern mobile phone previews and notch/island devices */
  .mobile-bottom-dock {
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Prevent iOS Safari from auto-zooming when tapping inputs */
  input, select, textarea {
    font-size: 16px !important;
  }

  /* Mobile Nav Pill positioning and spacing */
  .nav-pill-wrapper {
    top: 10px;
    padding: 0 12px;
  }

  .nav-pill-clean {
    padding: 6px 14px;
  }

  /* Touch-friendly buttons and slider on mobile */
  .range-slider-custom::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
  }

  .range-slider-custom::-moz-range-thumb {
    width: 28px;
    height: 28px;
  }

  /* Portfolio tab buttons touch target */
  .portfolio-tab-btn {
    padding: 8px 14px;
    font-size: 12px;
    min-height: 40px;
  }

  /* Mobile typography word wrapping */
  h1, h2, h3 {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Interactive cards mobile spacing */
  .floating-card-container {
    border-radius: 24px;
    margin: 0 10px 20px 10px;
  }
}

/* Pricing Badges */
.badge-included {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.badge-featured {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.badge-highlight {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FCD34D;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Interactive Pricing Calculator */
.calculator-box {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid #E2E8F0;
  border-radius: 28px;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.07);
}

.range-slider-custom {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: #E2E8F0;
  outline: none;
  transition: background 0.2s;
}

.range-slider-custom::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2563EB;
  border: 3px solid #FFFFFF;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
  transition: transform 0.15s ease;
}

.range-slider-custom::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

.range-slider-custom::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2563EB;
  border: 3px solid #FFFFFF;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
  transition: transform 0.15s ease;
}

/* Portfolio Filter Buttons */
.portfolio-tab-btn {
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  background: #F1F5F9;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.portfolio-tab-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.portfolio-tab-btn.active {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

/* Testimonial Quote Cards */
.testimonial-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
  transition: all 0.3s var(--ease-editorial);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: 0 18px 36px -12px rgba(15, 23, 42, 0.09);
}

/* Star Rating */
.star-rating {
  color: #F59E0B;
  display: flex;
  gap: 2px;
}

/* ==========================================================================
   PERFORMANCE & INSTANT PAINT OPTIMIZATIONS
   ========================================================================== */
img {
  content-visibility: auto;
}

.reveal-on-scroll {
  will-change: transform, opacity;
}

.nav-pill-wrapper, #hero {
  contain: layout style;
}



