/* ============================================
   Official Homepage - Cool & Cute Theme
   ============================================ */

:root {
  /* 字体 */
  --font-display: 'Baloo 2', 'Segoe UI', 'Trebuchet MS', system-ui, sans-serif;
  --font-body: 'Nunito', 'Segoe UI', 'Trebuchet MS', system-ui, sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;
  
  /* 主色 */
  --pink-500: #EC4899;
  --pink-600: #DB2777;
  --pink-700: #BE185D;
  
  /* 深紫文字 */
  --purple-900: #2E1065;
  --purple-800: #3D2B4F;
  --purple-700: #2B1F3D;
  
  /* 淡紫底 */
  --purple-100: #EFE8FD;
  
  /* 保留旧变量映射 */
  --pink-50: #fff0f5;
  --pink-100: #ffe0ec;
  --pink-200: #ffc2d9;
  --pink-300: #ff9ec3;
  --pink-400: #ff7aad;
  --purple-400: #b47ae8;
  --purple-500: #9b5de5;
  --purple-600: #7b3fd4;
  --yellow-300: #ffe66d;
  --yellow-400: #ffd93d;
  --mint-300: #7ef0d4;
  --mint-400: #4ee6c0;
  --sky-300: #7ecfff;
  --sky-400: #4eb8ff;
  --white: #ffffff;
  --ink: var(--purple-900);
  --ink-light: #6b4a6e;
  --gradient-1: linear-gradient(135deg, var(--pink-500), var(--purple-500));
  --gradient-2: linear-gradient(135deg, #ff9ec3, #b47ae8);
  --gradient-3: linear-gradient(135deg, #ffe66d, #ff9ec3);
  --gradient-4: linear-gradient(135deg, #7ef0d4, #7ecfff);
  --shadow-sm: 0 2px 12px rgba(236, 72, 153, .1);
  --shadow-md: 0 8px 32px rgba(236, 72, 153, .15);
  --shadow-lg: 0 16px 64px rgba(236, 72, 153, .2);
  
  /* 圆角 */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* --- Floating Decorations --- */
.float-deco {
  position: fixed;
  font-size: 1.5rem;
  opacity: .15;
  pointer-events: none;
  z-index: 0;
  transition: transform .3s ease-out;
}
.float-deco-1 { top: 15%; left: 5%; animation-delay: 0s; color: var(--pink-400); }
.float-deco-2 { top: 25%; right: 8%; animation-delay: 1.5s; color: var(--purple-400); font-size: 2rem; }
.float-deco-3 { top: 55%; left: 3%; animation-delay: 3s; color: var(--yellow-400); }
.float-deco-4 { top: 70%; right: 5%; animation-delay: 2s; color: var(--mint-400); font-size: 1.8rem; }
.float-deco-5 { top: 40%; left: 50%; animation-delay: 4s; color: var(--sky-400); }
.float-deco-6 { top: 85%; left: 40%; animation-delay: 5s; color: var(--pink-300); font-size: 1.2rem; }

@keyframes floatAround {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(5deg); }
  50% { transform: translateY(-5px) rotate(-3deg); }
  75% { transform: translateY(-20px) rotate(3deg); }
}
.float-deco span {
  display: inline-block;
  animation: floatAround 9s ease-in-out infinite;
  animation-delay: inherit;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  transition: all .3s ease;
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(245, 86, 154, .1);
  padding: 10px 24px;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--pink-600);
  letter-spacing: -.02em;
}
.nav-logo svg { color: var(--pink-500); }
.nav-links {
  display: flex;
  gap: 8px;
}
.nav-link {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-light);
  transition: all .25s ease;
}
.nav-link:hover {
  background: var(--pink-100);
  color: var(--pink-600);
  transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 24px 80px;
}
.hero-text {
  transition: transform .3s ease-out;
}
.hero-image {
  transition: transform .3s ease-out;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 158, 195, .3), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(180, 122, 232, .25), transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 230, 109, .2), transparent 50%),
    radial-gradient(ellipse at 10% 10%, rgba(126, 240, 212, .15), transparent 40%),
    linear-gradient(160deg, #fff5fa 0%, #fff0f5 30%, #f5f0ff 70%, #f0fff5 100%);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: .55;
  pointer-events: none;
}
.hero-blob-1 {
  width: 480px;
  height: 480px;
  top: -140px;
  left: -120px;
  background: radial-gradient(circle, #ff9ec3, transparent 70%);
  animation: blobDrift1 14s ease-in-out infinite;
}
.hero-blob-2 {
  width: 440px;
  height: 440px;
  top: 18%;
  right: -140px;
  background: radial-gradient(circle, #b47ae8, transparent 70%);
  animation: blobDrift2 17s ease-in-out infinite;
}
.hero-blob-3 {
  width: 380px;
  height: 380px;
  bottom: -100px;
  left: 34%;
  background: radial-gradient(circle, #7ef0d4, transparent 70%);
  animation: blobDrift3 20s ease-in-out infinite;
}
@keyframes blobDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(70px, 50px) scale(1.15); }
  66% { transform: translate(-30px, 80px) scale(.92); }
}
@keyframes blobDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-60px, 60px) scale(.9); }
  66% { transform: translate(-100px, -30px) scale(1.12); }
}
@keyframes blobDrift3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(90px, -50px) scale(1.18); }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}
.hero-text { flex: 1; min-width: 0; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--gradient-3);
  background-size: 200% 200%;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink);
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(255, 217, 61, .3);
  animation: pulseGlow 3s ease-in-out infinite, gradientFlow 6s ease infinite;
}

/* --- Hero entrance (staggered rise) --- */
.hero-badge, .hero-title, .hero-subtitle, .hero-actions {
  opacity: 0;
  animation: heroRise .9s cubic-bezier(.22, 1, .36, 1) forwards;
}
.hero-badge { animation-delay: .08s; }
.hero-title { animation-delay: .22s; }
.hero-subtitle { animation-delay: .38s; }
.hero-actions { animation-delay: .52s; }
.hero-image {
  opacity: 0;
  animation: heroFade 1.1s ease .45s forwards;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroFade {
  to { opacity: 1; }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(255, 217, 61, .3); }
  50% { box-shadow: 0 4px 24px rgba(255, 217, 61, .5); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500), #4eb8ff, var(--pink-500));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 8s ease infinite;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 18px);
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-image {
  flex: 0 0 380px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-ring {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: var(--gradient-2);
  opacity: .2;
  animation: ringPulse 4s ease-in-out infinite;
}
.hero-image-ring::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 3px dashed rgba(245, 86, 154, .3);
  animation: spinSlow 20s linear infinite;
}
@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: .2; }
  50% { transform: scale(1.05); opacity: .3; }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.hero-img {
  position: relative;
  z-index: 2;
  max-width: 320px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}
.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
}
.hero-wave svg { display: block; width: 100%; height: 80px; }
.scroll-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  z-index: 3;
  color: var(--pink-400);
  animation: hintBounce 2.2s ease-in-out infinite;
}
@keyframes hintBounce {
  0%, 100% { transform: translate(-50%, 0); opacity: .7; }
  50% { transform: translate(-50%, 10px); opacity: 1; }
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gradient-1);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all .3s cubic-bezier(.34, 1.56, .64, 1);
  box-shadow: 0 4px 20px rgba(236, 72, 153, .35);
  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,.3), transparent);
  transition: left .5s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(245, 86, 154, .45);
}
.btn-primary:active {
  transform: translateY(-1px) scale(1);
}
.btn-large {
  padding: 18px 44px;
  font-size: 1.1rem;
}

/* --- Section Common --- */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 36px);
  font-weight: 700;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--pink-500), var(--purple-500), var(--pink-500));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientFlow 7s ease infinite;
  margin-bottom: 12px;
}
.section-subtitle {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-light);
  max-width: 500px;
  margin: 0 auto;
}

/* --- Features Section --- */
.features {
  background: var(--white);
  position: relative;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--white);
  border: 2px solid var(--pink-100);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all .35s cubic-bezier(.34, 1.56, .64, 1), transform .15s ease-out;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  will-change: transform;
}
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-2);
  opacity: 0;
  transition: opacity .3s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--pink-300);
  box-shadow: var(--shadow-md);
}
.feature-card:hover::before { opacity: 1; }
.feature-card::after, .product-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  transition: left .65s ease;
  pointer-events: none;
}
.feature-card:hover::after, .product-card:hover::after { left: 135%; }
.feature-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: inline-block;
  animation: iconBounce 2s ease-in-out infinite;
}
.feature-card:nth-child(2) .feature-icon { animation-delay: .3s; }
.feature-card:nth-child(3) .feature-icon { animation-delay: .6s; }
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.feature-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.feature-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.7;
}

/* --- Products Section --- */
.products {
  background: linear-gradient(180deg, var(--white) 0%, var(--pink-50) 50%, var(--white) 100%);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--pink-100);
  transition: all .35s cubic-bezier(.34, 1.56, .64, 1), transform .15s ease-out;
  opacity: 0;
  transform: translateY(30px);
  will-change: transform;
  position: relative;
}
.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--pink-300);
  box-shadow: var(--shadow-lg);
}
.product-image-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--pink-50);
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.product-card:hover .product-image {
  transform: scale(1.08);
}
.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--pink-100);
}
.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(245, 86, 154, .7), transparent 60%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .3s ease;
}
.product-card:hover .product-overlay { opacity: 1; }
.product-cta {
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  transform: translateY(10px);
  transition: transform .3s ease;
}
.product-card:hover .product-cta { transform: translateY(0); }
.product-info {
  padding: 20px 24px 24px;
}
.product-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.product-brand {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-light);
  margin-bottom: 8px;
}
.product-price {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--pink-500);
}

/* --- Gallery Section --- */
.gallery {
  background: var(--white);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  border: 2px solid var(--pink-100);
  transition: all .35s cubic-bezier(.34, 1.56, .64, 1), transform .15s ease-out;
  opacity: 0;
  transform: scale(.9);
  will-change: transform;
}
.gallery-item.visible {
  opacity: 1;
  transform: scale(1);
}
.gallery-item:hover {
  transform: scale(1.03) rotate(1deg);
  border-color: var(--pink-300);
  box-shadow: var(--shadow-md);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}

/* --- CTA Section --- */
.cta {
  position: relative;
  padding: 100px 24px;
  background: linear-gradient(120deg, #f5569a, #9b5de5, #7b3fd4, #f5569a);
  background-size: 300% 300%;
  animation: gradientFlow 12s ease infinite;
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,.15), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.1), transparent 40%);
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}
.cta-sparkle {
  position: absolute;
  font-size: 1.5rem;
  color: rgba(255,255,255,.4);
  transition: transform .3s ease-out;
}
.cta-sparkle-1 { top: 10%; left: 10%; animation-delay: 0s; }
.cta-sparkle-2 { top: 20%; right: 15%; animation-delay: 1s; font-size: 2rem; }
.cta-sparkle-3 { bottom: 15%; left: 50%; animation-delay: 2s; }
.cta-sparkle span {
  display: inline-block;
  animation: sparkleFloat 3s ease-in-out infinite;
  animation-delay: inherit;
}
@keyframes sparkleFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: .4; }
  50% { transform: translateY(-10px) scale(1.2); opacity: .8; }
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -.02em;
}
.cta-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: rgba(255,255,255,.85);
  margin-bottom: 36px;
}
.cta .btn-primary {
  background: var(--white);
  color: var(--pink-600);
  box-shadow: 0 4px 24px rgba(0,0,0,.15);
}
.cta .btn-primary:hover {
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
}

/* --- Footer --- */
.footer {
  padding: 40px 24px;
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--pink-100);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer p {
  font-family: var(--font-body);
  color: var(--ink-light);
  font-size: 12px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin-bottom: 16px;
}
.footer-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  color: var(--ink-light);
  text-decoration: none;
  transition: color .2s ease;
}
.footer-link:hover {
  color: var(--pink-600);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* --- Nav active state --- */
.nav-link.active {
  background: var(--pink-100);
  color: var(--pink-600);
}

/* --- Blog Page --- */
.blog-header {
  text-align: center;
  padding: 72px 24px 48px;
}
.blog-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.blog-subtitle {
  margin-top: 12px;
  color: var(--ink-light);
  font-size: 17px;
}
.blog-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 72px;
  min-height: 40vh;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  display: block;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--pink-100);
  box-shadow: 0 4px 20px rgba(236, 72, 153, .08);
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
.blog-card-img-empty {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--pink-50), #fdf0ff);
  color: var(--pink-300);
  font-size: 3rem;
}
.blog-card-body { padding: 18px 20px 22px; }
.blog-card-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}
.blog-card-date {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-light);
}
.blog-card-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--pink-600);
}
.blog-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--ink-light);
}
.blog-empty-icon {
  font-size: 3rem;
  color: var(--pink-300);
  margin-bottom: 12px;
}
@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .blog-header { padding: 48px 24px 32px; }
}
@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* --- Floating Widgets --- */
/* Floating Widget styles live in /static/css/floating-widget.css (shared with product page) */

/* --- Responsive --- */
@media (max-width: 900px) {
  .nav-link { font-size: 11px; }
  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-image { flex: 0 0 auto; }
  .hero-image-ring { width: 260px; height: 260px; }
  .hero-img { max-width: 240px; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  .hero { padding: 80px 16px 60px; }
  .section-inner { padding: 60px 16px; }
  .products-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .cta { padding: 60px 16px; }
}

/* --- Mobile Nav (hamburger) --- */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--pink-100);
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--pink-600);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.mobile-menu {
  display: none;
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    display: block;
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    z-index: 99;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: blur(14px);
    border: 1.5px solid var(--pink-100);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 10px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  .mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .mobile-menu .nav-link {
    display: block;
    padding: 13px 18px;
    font-size: 13px;
    text-align: center;
  }
  .mobile-menu .nav-link.active {
    background: var(--pink-100);
    color: var(--pink-600);
  }
}

/* --- Scroll Animations --- */
.feature-card, .product-card, .gallery-item {
  transition: opacity .6s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1);
}

/* --- Selection --- */
::selection {
  background: var(--pink-200);
  color: var(--pink-700);
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--pink-50); }
::-webkit-scrollbar-thumb { background: var(--pink-300); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--pink-400); }

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .hero-badge, .hero-title, .hero-subtitle, .hero-actions, .hero-image {
    opacity: 1;
  }
}
