/* ==========================================================================
   CoffeeCloud (咖啡云) - Moe Coffee (萌系咖啡) Official Theme
   Palette: Soft Pink & Warm Milk Tea (#FFF5F7, #FFE4E8, #FF6B8B, #8C6239, #F7EFE5)
   Design: Soft Candy Pill Buttons, Floating Cute Cards, Playful Micro-Interactions
   Mobile-First & Pixel-Perfect Responsive Design
   ========================================================================== */

:root {
  /* Palette - Moe Coffee */
  --c-pink-50: #FFF5F7;
  --c-pink-100: #FFE4E8;
  --c-pink-200: #FFCCD5;
  --c-pink-300: #FF9FB2;
  --c-pink-400: #FF758F;
  --c-pink-500: #FF4D6D;
  --c-pink-600: #C9184A;
  
  --c-tea-50: #FDFBF7;
  --c-tea-100: #F7EFE5;
  --c-tea-200: #EADBC8;
  --c-tea-300: #D8C4B6;
  --c-tea-400: #C59B6D;
  --c-tea-500: #8C6239;
  --c-tea-600: #5A3825;
  --c-tea-700: #3C2415;

  --c-cream-bg: #FFF9F8;
  --c-white: #FFFFFF;
  --c-text-main: #4A3326;
  --c-text-muted: #8A7265;
  --c-text-light: #B49F93;
  --c-border: #F3E5D8;
  --c-border-pink: #FCD5DC;

  /* Gradients */
  --grad-candy: linear-gradient(135deg, #FF758F 0%, #FF4D6D 100%);
  --grad-candy-hover: linear-gradient(135deg, #FF8FA3 0%, #FF5A7A 100%);
  --grad-badge: linear-gradient(135deg, #FFF0F3 0%, #FFE4E8 100%);

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(140, 98, 57, 0.05);
  --shadow-md: 0 8px 24px rgba(140, 98, 57, 0.08);
  --shadow-lg: 0 16px 36px rgba(140, 98, 57, 0.12);
  --shadow-candy: 0 8px 22px rgba(255, 77, 109, 0.35);
  --shadow-candy-hover: 0 12px 28px rgba(255, 77, 109, 0.48);

  /* Radiuses */
  --radius-pill: 9999px;
  --radius-card: 24px;
  --radius-card-sm: 18px;

  /* Font */
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-base);
  background-color: var(--c-cream-bg);
  color: var(--c-text-main);
  line-height: 1.65;
  max-width: 100vw;
  overflow-x: hidden;
  background-image: 
    radial-gradient(#FFCCD5 0.75px, transparent 0.75px),
    radial-gradient(#EADBC8 0.75px, var(--c-cream-bg) 0.75px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Utilities */
.text-center { text-align: center; }

/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  padding: 0 12px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--c-pink-100);
  color: var(--c-pink-600);
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--c-tea-700);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.section-title .heart {
  color: var(--c-pink-500);
  font-size: 1.6rem;
  animation: heartPulse 2s infinite ease-in-out;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn-candy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-candy);
  color: var(--c-white);
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  box-shadow: var(--shadow-candy), inset 0 2px 4px rgba(255, 255, 255, 0.45);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-candy:hover {
  background: var(--grad-candy-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-candy-hover);
  color: var(--c-white);
}

.btn-candy-lg {
  padding: 15px 36px;
  font-size: 1.12rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--c-white);
  color: var(--c-tea-600);
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.98rem;
  border: 1.5px solid var(--c-tea-200);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--c-tea-100);
  color: var(--c-tea-700);
  border-color: var(--c-tea-400);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 249, 248, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(243, 229, 216, 0.8);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--c-tea-700);
  white-space: nowrap;
}

.logo-icon-wrap {
  width: 42px;
  height: 42px;
  background: var(--grad-candy);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-candy);
  font-size: 1.3rem;
  color: var(--c-white);
  flex-shrink: 0;
}

.logo-brand .brand-heart {
  color: var(--c-pink-500);
  font-size: 1.1rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav-mobile-cta {
  display: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-tea-600);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--c-pink-600);
  background: var(--c-pink-100);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-login {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-tea-600);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.nav-login:hover {
  color: var(--c-pink-600);
}

.mobile-menu-btn {
  display: none;
  background: var(--c-pink-100);
  border: 1px solid var(--c-border-pink);
  border-radius: 10px;
  font-size: 1.4rem;
  color: var(--c-tea-700);
  cursor: pointer;
  padding: 6px 12px;
  line-height: 1;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 50px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-badge);
  border: 1px solid var(--c-border-pink);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  color: var(--c-pink-600);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--c-tea-700);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero-title .pink-text {
  color: var(--c-pink-500);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-btn-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-features-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-white);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--c-tea-600);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-card {
  position: relative;
  background: var(--c-white);
  border-radius: 36px;
  padding: 14px;
  box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, 0.6);
  border: 2px solid var(--c-border-pink);
  width: 100%;
  max-width: 480px;
}

.hero-img-card img {
  border-radius: 24px;
  width: 100%;
  height: auto;
  display: block;
}

.floating-coffee-badge {
  position: absolute;
  bottom: -15px;
  left: 10px;
  background: var(--c-white);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-candy);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--c-pink-600);
  border: 2px solid var(--c-pink-100);
  animation: floatBadge 3.5s infinite ease-in-out;
}

/* ==========================================================================
   Character Section (角色介绍)
   ========================================================================== */
.character-section {
  padding: 70px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 240, 243, 0.5) 100%);
}

.character-card-box {
  background: var(--c-white);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--c-border-pink);
  display: grid;
  grid-template-columns: 180px 1fr 1.2fr;
  align-items: center;
  gap: 32px;
}

.character-avatar-wrap {
  text-align: center;
}

.character-avatar-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--c-pink-200);
  box-shadow: var(--shadow-candy);
  margin: 0 auto;
}

.character-info-wrap h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--c-tea-700);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.character-tag {
  background: var(--c-pink-100);
  color: var(--c-pink-600);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.character-bio {
  font-size: 1rem;
  color: var(--c-text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.character-polaroids {
  background: var(--c-tea-50);
  border-radius: var(--radius-card-sm);
  padding: 14px;
  border: 1px dashed var(--c-tea-300);
}

.character-polaroids img {
  border-radius: 12px;
  width: 100%;
}

/* ==========================================================================
   Features Section (服务特色)
   ========================================================================== */
.features-section {
  padding: 70px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.feature-box {
  background: var(--c-white);
  border-radius: var(--radius-card);
  padding: 30px 20px;
  text-align: center;
  border: 1.5px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-box:hover {
  transform: translateY(-6px);
  border-color: var(--c-pink-300);
  box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.icon-speed { background: #FFF4E5; color: #FB8500; }
.icon-privacy { background: #FCE7F3; color: #EC4899; }
.icon-global { background: #E0F2FE; color: #0284C7; }
.icon-devices { background: #EDE9FE; color: #8B5CF6; }

.feature-box h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--c-tea-700);
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Pricing Section (套餐服务)
   ========================================================================== */
.pricing-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(247, 239, 229, 0.4) 0%, rgba(255, 240, 243, 0.4) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.pricing-card {
  background: var(--c-white);
  border-radius: var(--radius-card);
  padding: 30px 20px;
  border: 2px solid var(--c-border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-pink-400);
}

.pricing-card.featured {
  border-color: var(--c-pink-500);
  box-shadow: var(--shadow-candy);
}

.pricing-badge-hot {
  position: absolute;
  top: -14px;
  right: 16px;
  background: var(--grad-candy);
  color: var(--c-white);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-candy);
}

.coffee-badge-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.pricing-plan-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--c-tea-700);
  margin-bottom: 4px;
}

.pricing-plan-desc {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  min-height: 42px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.pricing-cost {
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-pink-600);
}

.price-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--c-tea-700);
  line-height: 1;
}

.price-period {
  font-size: 0.88rem;
  color: var(--c-text-muted);
}

.pricing-traffic-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--c-tea-100);
  color: var(--c-tea-700);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 16px;
  align-self: flex-start;
}

.pricing-features-list {
  list-style: none;
  margin: 0 0 24px;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--c-tea-600);
  margin-bottom: 8px;
}

.pricing-features-list li .check-icon {
  color: var(--c-pink-500);
  font-weight: bold;
}

.guarantee-bar {
  background: var(--c-white);
  border-radius: var(--radius-pill);
  padding: 16px 24px;
  border: 1px solid var(--c-border-pink);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 14px;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--c-tea-700);
  white-space: nowrap;
}

.guarantee-item .check {
  color: var(--c-pink-500);
}

/* ==========================================================================
   Tutorial Section (使用教程)
   ========================================================================== */
.tutorial-section {
  padding: 80px 0;
}

.tutorial-wrapper {
  background: var(--c-white);
  border-radius: var(--radius-card);
  padding: 40px;
  border: 1.5px solid var(--c-border);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  align-items: center;
  gap: 36px;
}

.tutorial-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.step-card {
  background: var(--c-tea-50);
  border-radius: var(--radius-card-sm);
  padding: 22px 14px;
  text-align: center;
  border: 1px solid var(--c-border);
}

.step-number {
  width: 38px;
  height: 38px;
  background: var(--grad-candy);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 auto 10px;
  box-shadow: var(--shadow-candy);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--c-tea-700);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}

.step-arrow {
  font-size: 1.5rem;
  color: var(--c-pink-400);
  text-align: center;
}

.tutorial-visual img {
  border-radius: 20px;
  border: 2px solid var(--c-border-pink);
  box-shadow: var(--shadow-md);
  width: 100%;
}

/* ==========================================================================
   Brand & About Section (关于咖啡云)
   ========================================================================== */
.about-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(255, 240, 243, 0.4) 0%, #FFFDFB 100%);
}

.about-card {
  background: var(--c-white);
  border-radius: var(--radius-card);
  padding: 44px;
  border: 2px solid var(--c-border-pink);
  box-shadow: var(--shadow-md);
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--c-tea-100);
  color: var(--c-tea-700);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.about-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--c-tea-700);
  margin-bottom: 18px;
  line-height: 1.3;
}

.about-text {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-highlight-box {
  background: var(--c-pink-50);
  border-left: 5px solid var(--c-pink-500);
  padding: 16px 20px;
  border-radius: 0 16px 16px 0;
  margin: 22px 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--c-tea-700);
}

/* ==========================================================================
   Blog & SEO Articles Grid (精选文章专栏)
   ========================================================================== */
.blog-section {
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--c-white);
  border-radius: var(--radius-card);
  padding: 26px;
  border: 1.5px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-pink-300);
  box-shadow: var(--shadow-lg);
}

.blog-category-tag {
  align-self: flex-start;
  background: var(--c-pink-100);
  color: var(--c-pink-600);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.blog-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--c-tea-700);
  line-height: 1.45;
  margin-bottom: 10px;
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px dashed var(--c-border);
  padding-top: 12px;
  font-size: 0.82rem;
  color: var(--c-text-light);
}

.blog-read-more {
  color: var(--c-pink-500);
  font-weight: 700;
}

/* ==========================================================================
   Testimonials Section (用户评价)
   ========================================================================== */
.testimonials-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #FFFDFB 0%, rgba(247, 239, 229, 0.45) 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: var(--c-white);
  border-radius: var(--radius-card);
  padding: 26px;
  border: 1.5px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: #FFB703;
  font-size: 1rem;
  margin-bottom: 10px;
}

.testimonial-content {
  font-size: 0.92rem;
  color: var(--c-tea-700);
  line-height: 1.65;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c-pink-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--c-tea-700);
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--c-text-muted);
}

/* ==========================================================================
   FAQ Section (常见问题)
   ========================================================================== */
.faq-section {
  padding: 80px 0;
}

.faq-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: flex-start;
}

.faq-mascot-box {
  background: var(--c-white);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
  border: 1.5px solid var(--c-border-pink);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 90px;
}

.faq-mascot-box img {
  border-radius: 16px;
  margin-bottom: 12px;
  width: 100%;
}

.faq-mascot-box p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  font-weight: 600;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--c-white);
  border-radius: var(--radius-card-sm);
  border: 1.5px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: var(--c-pink-300);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--c-tea-700);
  cursor: pointer;
  text-align: left;
  gap: 12px;
}

.faq-question:hover {
  color: var(--c-pink-600);
}

.faq-icon-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--c-pink-50);
  color: var(--c-pink-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.active .faq-icon-toggle {
  transform: rotate(45deg);
  background: var(--c-pink-500);
  color: var(--c-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 0.92rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

.faq-answer-inner a {
  color: var(--c-pink-600);
  text-decoration: underline;
  font-weight: 600;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #2E1B11;
  color: #D8C4B6;
  padding: 70px 0 30px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--grad-candy);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 50px;
}

.footer-brand h4 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFF5F7;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #B49F93;
  margin-bottom: 20px;
}

.footer-col h5 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #FFF5F7;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: 0.86rem;
  color: #B49F93;
}

.footer-links a:hover {
  color: var(--c-pink-300);
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF5F7;
  font-size: 1rem;
}

.social-btn:hover {
  background: var(--c-pink-500);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #8A7265;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: #B49F93;
}

/* Floating Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--grad-candy);
  color: var(--c-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-candy);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Keyframe Animations */
@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ==========================================================================
   Responsive Breakpoints - Mobile First & Bulletproof
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .hero-pill-badge { margin: 0 auto 16px; }
  .hero-desc { margin: 0 auto 28px; }
  .hero-btn-group { justify-content: center; }
  .hero-features-bar { justify-content: center; }
  .hero-visual { max-width: 440px; margin: 0 auto; }

  .character-card-box {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .character-info-wrap h3 { justify-content: center; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tutorial-wrapper {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-mascot-box {
    display: none;
  }

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
    max-width: 100%;
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .nav-wrap {
    height: 60px;
    width: 100%;
    overflow: hidden;
  }

  .logo-brand {
    font-size: 1.05rem;
    gap: 8px;
  }
  
  .logo-icon-wrap {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    border-radius: 10px;
  }

  /* Mobile Nav Dropdown */
  .main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(255, 249, 248, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 16px 20px 24px;
    border-bottom: 2px solid var(--c-border-pink);
    gap: 8px;
    box-shadow: var(--shadow-lg);
    box-sizing: border-box;
    z-index: 9999;
  }

  .main-nav.active {
    display: flex !important;
  }

  .main-nav .nav-link {
    width: 100%;
    padding: 10px 14px;
    text-align: left;
  }

  .main-nav-mobile-cta {
    display: block !important;
    margin-top: 10px;
    text-align: center;
    width: 100%;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .nav-login,
  .nav-actions .btn-candy {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 1.3rem;
  }

  /* Hero */
  .hero-section {
    padding: 30px 0 40px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn-group .btn-candy,
  .hero-btn-group .btn-secondary {
    width: 100%;
  }

  .hero-features-bar {
    justify-content: center;
    gap: 8px;
  }

  .feature-pill {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .floating-coffee-badge {
    position: static;
    margin: 12px auto 0;
    width: fit-content;
  }

  /* Section Title */
  .section-title {
    font-size: 1.6rem;
  }

  /* Character Box */
  .character-card-box {
    padding: 24px 16px;
  }

  .character-avatar-img {
    width: 120px;
    height: 120px;
  }

  /* Single Column Layouts on Mobile */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-card {
    padding: 24px 18px;
  }

  .guarantee-bar {
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--radius-card-sm);
    padding: 18px;
  }

  /* Tutorial steps */
  .tutorial-wrapper {
    padding: 24px 16px;
  }

  .tutorial-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: -4px 0;
  }

  /* About */
  .about-card {
    padding: 28px 18px;
  }

  .about-title {
    font-size: 1.6rem;
  }

  /* Blog & Testimonials */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .blog-card {
    padding: 20px 16px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* FAQ */
  .faq-question {
    padding: 16px 16px;
    font-size: 0.95rem;
  }

  .faq-answer-inner {
    padding: 0 16px 16px;
    font-size: 0.88rem;
  }

  /* Footer */
  .site-footer {
    padding: 50px 0 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
