/* ============================================
   GLOBAL RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #FFFDF7;
  color: #3A2C2A;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ============================================
   CSS CUSTOM PROPERTIES (VARIABLES)
   Updated with brighter, child-friendly colors
   ============================================ */
:root {
  /* Core Brand Colors - Brighter & Playful */
  --primary-yellow: #FFD93D;
  --primary-orange: #FF9F4A;
  --primary-coral: #FF8A7A;
  --primary-pink: #FFB7B2;
  --primary-mint: #A8E6CF;
  --primary-blue: #7EC8E0;
  --primary-lavender: #D4B8D9;
  
  /* Functional Colors */
  --primary-color: #FF9F4A;
  --primary-hover: #FF8A2B;
  --primary-dark: #E87A1F;
  --secondary-color: #FFB7B2;
  --secondary-dark: #FF9A94;
  --accent-color: #FFD93D;
  
  /* Text Colors */
  --text-dark: #2C1A14;
  --text-medium: #4B3B38;
  --text-light: #6B5B58;
  --text-white: #FFFFFF;
  
  /* Backgrounds */
  --bg-white: #FFFFFF;
  --bg-off-white: #FFFDF7;
  --bg-cream: #FFF5E6;
  --bg-mint-light: #E8F8F0;
  --bg-blue-light: #E8F4F8;
  --bg-coral-light: #FFF0EE;
  --bg-yellow-light: #FFF8E0;
  
  /* Borders */
  --border-light: #F0DDD2;
  --border-lighter: #F8EBE0;
  --border-playful: #FFD49F;
  
  /* Shadows - Softer for kids */
  --soft-shadow: 0 10px 20px rgba(0, 0, 0, 0.05), 0 6px 6px rgba(0, 0, 0, 0.02);
  --medium-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  --playful-shadow: 0 12px 25px rgba(255, 159, 74, 0.15);
  --button-shadow: 0 6px 0 rgba(0, 0, 0, 0.08);
  --button-hover-shadow: 0 4px 0 rgba(0, 0, 0, 0.08);
  
  /* Transitions */
  --hover-transition: all 0.25s ease;
  --smooth-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --bounce-transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Border Radius - More rounded for friendliness */
  --radius-sm: 1rem;
  --radius-md: 1.5rem;
  --radius-lg: 2rem;
  --radius-xl: 2.5rem;
  --radius-full: 100px;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
}

/* ============================================
   LAYOUT & CONTAINER
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  width: 100%;
}

section {
  margin: var(--spacing-xxl) 0;
}

/* ============================================
   TYPOGRAPHY - Playful & Bold
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #FF8A7A, #FF9F4A, #FFD93D);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: none;
}

h2 {
  font-size: 2.2rem;
  position: relative;
}

h3 {
  font-size: 1.4rem;
}

p {
  margin-bottom: 0.75rem;
  color: var(--text-medium);
}

a {
  color: inherit;
  text-decoration: none;
}

strong {
  font-weight: 800;
  color: var(--primary-dark);
}

/* ============================================
   SECTION TITLES - More colorful
   ============================================ */
.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--spacing-lg);
  position: relative;
  display: inline-block;
  color: var(--text-dark);
  background: linear-gradient(120deg, #FF9F4A, #FFB7B2);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #FFD93D, #FF9F4A, #FFB7B2);
  border-radius: 4px;
}

/* ============================================
   BUTTONS - Playful & Touch-Friendly
   ============================================ */
button,
.btn-primary,
.btn-outline,
.btn-secondary,
.submit-btn,
[type="submit"],
[type="button"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: var(--bounce-transition);
  font-weight: 700;
  border: none;
}

/* Primary Button - Playful Orange */
.btn-primary {
  background: linear-gradient(135deg, #FF9F4A, #FF8A2B);
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  color: var(--text-white);
  font-size: 1.05rem;
  box-shadow: var(--button-shadow);
  text-decoration: none;
  width: auto;
  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.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FF8A2B, #FF7A1A);
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.08);
}

.btn-primary:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

/* Secondary Button - Playful Pink */
.btn-secondary {
  background: linear-gradient(135deg, #FFB7B2, #FF9A94);
  padding: 0.8rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  color: var(--text-white);
  font-size: 1rem;
  box-shadow: var(--button-shadow);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #FF9A94, #FF857F);
  transform: translateY(-2px);
}

/* Outline Button */
.btn-outline {
  border: 2px solid #FFD49F;
  background: transparent;
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 159, 74, 0.1);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

/* ============================================
   TABLES - Playful Colors
   ============================================ */
.price-table-wrapper {
  overflow-x: auto;
  margin: var(--spacing-md) 0;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  box-shadow: var(--playful-shadow);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 400px;
}

th {
  background: linear-gradient(135deg, #FFD93D, #FFE4A0);
  padding: var(--spacing-sm);
  font-weight: 800;
  color: #2C1A14;
  text-align: left;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

td {
  padding: var(--spacing-sm);
  border-bottom: 1px solid var(--border-playful);
  vertical-align: middle;
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: var(--bg-yellow-light);
}

/* ============================================
   BADGES & TAGS - Bright & Fun
   ============================================ */
.badge-addon {
  background: linear-gradient(135deg, #A8E6CF, #C8F0E0);
  border-radius: var(--radius-full);
  padding: 0.3rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
  margin-right: 8px;
  margin-bottom: 8px;
  color: #2C5A4A;
  border: 1px solid rgba(0,0,0,0.04);
}

.badge-addon i {
  margin-right: 6px;
  color: #4CAF50;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gap-1 {
  gap: var(--spacing-sm);
}

.gap-2 {
  gap: var(--spacing-md);
}

.mt-1 {
  margin-top: var(--spacing-sm);
}

.mt-2 {
  margin-top: var(--spacing-md);
}

.mt-3 {
  margin-top: var(--spacing-lg);
}

.mb-1 {
  margin-bottom: var(--spacing-sm);
}

.mb-2 {
  margin-bottom: var(--spacing-md);
}

.mb-3 {
  margin-bottom: var(--spacing-lg);
}

/* ============================================
   MOBILE NAVIGATION ICONS
   ============================================ */
.mobile-icon {
  display: none;
  margin-right: 8px;
  width: 20px;
  text-align: center;
  color: var(--primary-color);
  font-size: 0.9rem;
}

/* ============================================
   ANIMATIONS - Fun & Playful
   ============================================ */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  75% { transform: rotate(-3deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.9; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.fa-spin {
  animation: spin 1s linear infinite;
}

/* Hover animations */
.service-card:hover .service-icon i {
  animation: wiggle 0.5s ease;
}

.btn-primary i, .btn-secondary i {
  transition: transform 0.2s ease;
}

.btn-primary:hover i, .btn-secondary:hover i {
  transform: scale(1.2);
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

@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;
  }
}

/* ============================================
   SCROLLBAR STYLING - Playful
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-cream);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #FF9F4A, #FFB7B2);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #FF8A2B, #FF9A94);
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
  background: #FFD93D;
  color: var(--text-dark);
}

::-moz-selection {
  background: #FFD93D;
  color: var(--text-dark);
}

/* ============================================
   FORM ELEMENTS - Playful
   ============================================ */
input, textarea, select {
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  border-radius: var(--radius-md);
}

input:focus, 
textarea:focus, 
select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(255, 159, 74, 0.15);
  background: var(--bg-white);
}

::placeholder {
  color: #C4B5A5;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #C4B5A5;
}

/* ============================================
   PET-THEMED DECORATIVE ELEMENTS
   ============================================ */
.paw-print-bg {
  background-image: radial-gradient(circle at 10% 20%, rgba(255, 217, 61, 0.08) 2px, transparent 2px);
  background-size: 30px 30px;
}

.bunny-ear-decoration {
  position: relative;
}

.bunny-ear-decoration::before,
.bunny-ear-decoration::after {
  content: '🐰';
  position: absolute;
  font-size: 1.5rem;
  opacity: 0.3;
  pointer-events: none;
}

/* ============================================
   TABLET RESPONSIVE (780px - 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--spacing-md);
  }
  
  section {
    margin: var(--spacing-xl) 0;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
}

/* ============================================
   MOBILE RESPONSIVE (320px - 780px)
   ============================================ */
@media (max-width: 780px) {
  body {
    font-size: 0.95rem;
  }
  
  .container {
    padding: 0 1.2rem;
  }
  
  section {
    margin: var(--spacing-lg) 0;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .section-title {
    font-size: 1.6rem;
    margin-bottom: var(--spacing-md);
  }
  
  .section-title:after {
    height: 3px;
    bottom: -8px;
  }
  
  button,
  .btn-primary,
  .btn-outline,
  .btn-secondary,
  .submit-btn,
  [type="submit"] {
    min-height: 48px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
  
  .btn-outline {
    padding: 0.7rem 1.2rem;
  }
  
  .price-table-wrapper {
    border-radius: var(--radius-md);
    margin: var(--spacing-sm) 0;
  }
  
  td, th {
    padding: 0.8rem;
    font-size: 0.85rem;
  }
  
  table {
    min-width: 350px;
  }
  
  .mobile-icon {
    display: inline-block;
  }
  
  input, 
  textarea, 
  select {
    min-height: 48px;
    font-size: 16px !important;
  }
  
  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
}

/* ============================================
   SMALL MOBILE RESPONSIVE (320px - 480px)
   ============================================ */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  section {
    margin: var(--spacing-md) 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  button,
  .btn-primary,
  .btn-outline,
  .btn-secondary,
  .submit-btn,
  [type="submit"] {
    min-height: 44px;
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
  }
  
  td, th {
    padding: 0.6rem;
    font-size: 0.8rem;
  }
  
  .badge-addon {
    font-size: 0.7rem;
    padding: 0.2rem 0.7rem;
  }
}

/* ============================================
   LANDSCAPE MODE
   ============================================ */
@media (max-width: 900px) and (orientation: landscape) {
  section {
    margin: var(--spacing-md) 0;
  }
  
  .hero {
    padding: 2rem 0 3rem 0;
  }
}

/* ============================================
   HIGH DPI SCREENS (RETINA)
   ============================================ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  body {
    background: white;
    color: black;
  }
  
  nav,
  .btn-primary,
  .btn-outline,
  .bundle-banner,
  footer {
    display: none;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
  
  a {
    text-decoration: underline;
  }
}

/* ============================================
   HELPER CLASSES
   ============================================ */
.text-gradient {
  background: linear-gradient(135deg, #FFD93D, #FF9F4A, #FF8A7A);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  box-shadow: var(--soft-shadow);
  transition: var(--hover-transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--playful-shadow);
}

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Playful floating animation for icons */
.float-animation {
  animation: float 3s ease-in-out infinite;
}

.pulse-animation {
  animation: pulse 2s ease-in-out infinite;
}