/* 千帆網頁設計有限公司 - Qianfan Web Design Co., Limited */
/* Colorful Playful & Childlike Theme with Minimalist Software Agency Architecture */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&family=Noto+Sans+TC:wght@400;500;700;900&display=swap');

:root {
  /* Playful Childlike Color Palette */
  --color-sky: #0284c7;
  --color-sky-light: #e0f2fe;
  --color-sky-bright: #38bdf8;
  
  --color-yellow: #f59e0b;
  --color-yellow-light: #fef3c7;
  --color-yellow-bright: #fbbf24;

  --color-coral: #f43f5e;
  --color-coral-light: #ffe4e6;
  --color-coral-bright: #fb7185;

  --color-mint: #10b981;
  --color-mint-light: #d1fae5;
  --color-mint-bright: #34d399;

  --color-purple: #8b5cf6;
  --color-purple-light: #ede9fe;
  --color-purple-bright: #a78bfa;

  --color-cream: #faf9f6;
  --color-surface: #ffffff;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-border: #f1f5f9;

  --font-main: 'Plus Jakarta Sans', 'Noto Sans TC', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Noto Sans TC', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-cream);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-heading);
}

/* Playful Top Rainbow Ribbon */
.pattern-rainbow-border {
  background: linear-gradient(90deg, #f43f5e 0%, #fb923c 20%, #fbbf24 40%, #34d399 60%, #38bdf8 80%, #a78bfa 100%);
  height: 4px;
  width: 100%;
}

/* Gentle Polka Dot / Playful Background Accent */
.pattern-playful-dots {
  background-image: radial-gradient(#38bdf8 1px, transparent 1px), radial-gradient(#fbbf24 1px, var(--color-cream) 1px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
}

/* Glassmorphism & Playful Cards */
.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid #f1f5f9;
}

.playful-card {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 2px solid #f1f5f9;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.05), 0 8px 10px -6px rgba(244, 63, 94, 0.05);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.playful-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(56, 189, 248, 0.18), 0 12px 15px -8px rgba(251, 113, 133, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
}

/* Candy Buttons */
.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #ffffff !important;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-coral {
  background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
  color: #ffffff !important;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-coral:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(244, 63, 94, 0.45);
}

.btn-yellow {
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  color: #1e293b !important;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-yellow:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-outline {
  background: #ffffff;
  color: #0284c7 !important;
  border: 2px solid #bae6fd;
  padding: 0.7rem 1.6rem;
  border-radius: 9999px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-outline:hover {
  background: #f0f9ff;
  border-color: #38bdf8;
  transform: translateY(-2px);
}

/* Header Dedicated Consultation Button */
.nav-sample-btn {
  background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
  color: #ffffff !important;
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: 0 2px 10px rgba(244, 63, 94, 0.3);
  transition: all 0.2s ease;
  line-height: 1.25;
  text-decoration: none;
}

.nav-sample-btn:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 14px rgba(244, 63, 94, 0.4);
}

/* Playful Badges */
.badge-candy-yellow {
  background-color: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
  border-radius: 9999px;
  padding: 0.2rem 0.75rem;
  font-weight: 700;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-candy-sky {
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid #bae6fd;
  border-radius: 9999px;
  padding: 0.2rem 0.75rem;
  font-weight: 700;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-candy-coral {
  background-color: #ffe4e6;
  color: #be123c;
  border: 1px solid #fecdd3;
  border-radius: 9999px;
  padding: 0.2rem 0.75rem;
  font-weight: 700;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-candy-mint {
  background-color: #d1fae5;
  color: #047857;
  border: 1px solid #a7f3d0;
  border-radius: 9999px;
  padding: 0.2rem 0.75rem;
  font-weight: 700;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.badge-candy-purple {
  background-color: #ede9fe;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
  border-radius: 9999px;
  padding: 0.2rem 0.75rem;
  font-weight: 700;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* Playful Floating Shape Animations */
@keyframes floatGentle {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

.animate-float {
  animation: floatGentle 4s ease-in-out infinite;
}

/* Modals & Cart Drawer */
.cart-drawer-overlay {
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
