/* ════════════════════════════════════════════════════════
   暖心AI — 主樣式表
   台灣審美 × 中年友善 × 情緒驅動
   ════════════════════════════════════════════════════════ */

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

:root {
  --primary:        #FF6B35;
  --primary-light:  #FF8C5A;
  --primary-dark:   #E55A25;
  --secondary:      #FFB347;
  --accent:         #FF4F91;
  --gold:           #F4C842;
  --warm-red:       #E8453C;

  --text-primary:   #1A1A2E;
  --text-secondary: #4A4A6A;
  --text-muted:     #8888AA;

  --bg-base:        #FAFAF8;
  --bg-warm:        #FFF8F0;
  --bg-card:        #FFFFFF;
  --bg-dark:        #1A1A2E;

  --border:         #EEE8E0;
  --border-hover:   #FFCBA4;

  --shadow-sm:  0 2px 8px rgba(255,107,53,.10);
  --shadow-md:  0 8px 30px rgba(255,107,53,.15);
  --shadow-lg:  0 20px 60px rgba(255,107,53,.20);
  --shadow-card:0 4px 20px rgba(26,26,46,.08);

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --font-sans:  'Noto Sans TC', sans-serif;
  --font-serif: 'Noto Serif TC', serif;

  --transition: all .3s cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-warm); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 3px; }

/* ════════════════════════════════
   BUTTONS
   ════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(255,107,53,.40);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(255,107,53,.50);
}
.btn-primary.btn-large { padding: 20px 48px; font-size: 1.15rem; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-xl);
  border: 2px solid rgba(255,255,255,.4);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-2px);
}

/* ════════════════════════════════
   NAV
   ════════════════════════════════ */
.nav-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.nav-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(26,26,46,.08);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-primary);
  flex-shrink: 0;
}
.logo-icon { font-size: 1.5rem; }
.logo-ai {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  padding: 8px 16px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 20px;
  transition: var(--transition);
}
.nav-links a:hover { background: var(--bg-warm); color: var(--primary); }
.nav-cta { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.btn-nav-free {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  border-radius: 20px;
  transition: var(--transition);
}
.btn-nav-free:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ════════════════════════════════
   HERO
   ════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: linear-gradient(145deg, #1A1A2E 0%, #2D1B4E 40%, #3D2060 70%, #1A1A2E 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 100px 80px 80px;
  position: relative;
  overflow: hidden;
}

/* orbs */
.hero-bg-orbs { position: absolute; inset: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
}
.orb-1 { width: 500px; height: 500px; background: var(--primary); top: -150px; right: -100px; }
.orb-2 { width: 400px; height: 400px; background: var(--accent); bottom: -100px; left: -50px; }
.orb-3 { width: 300px; height: 300px; background: var(--secondary); top: 40%; left: 35%; }

.hero-content {
  flex: 1;
  max-width: 580px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  color: rgba(255,255,255,.9);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 20px;
}
.title-highlight {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: 1.4rem; font-weight: 800; color: #fff; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.6); }
.stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.2); }

/* Hero Visual */
.hero-visual {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.mockup-phone {
  width: 280px;
  background: linear-gradient(145deg, #2a2a4a, #1a1a30);
  border-radius: 40px;
  padding: 16px;
  box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
}
.phone-screen {
  background: #000;
  border-radius: 28px;
  overflow: hidden;
}
.phone-preview { position: relative; }
.preview-card {
  height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview-card.morning {
  background: linear-gradient(160deg, #FFF3E0, #FFE0B2, #FFCC80);
}
.preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,160,0,.1), rgba(230,81,0,.2));
}
.preview-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px;
}
.preview-avatar {
  font-size: 3.5rem;
  margin-bottom: 12px;
  display: block;
}
.preview-greeting {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: #BF360C;
  margin-bottom: 8px;
}
.preview-quote {
  font-size: .85rem;
  color: #6D4C41;
  font-style: italic;
  margin-bottom: 12px;
  line-height: 1.5;
}
.preview-date {
  font-size: .75rem;
  color: #A1887F;
  font-weight: 500;
}
.phone-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: #111;
}
.phone-dot { width: 8px; height: 8px; border-radius: 50%; background: #333; }
.phone-dot.active { background: var(--primary); }

/* Floating cards */
.floating-cards { position: absolute; inset: 0; pointer-events: none; }
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,.95);
  border-radius: 20px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  animation: float-bob 4s ease-in-out infinite;
  white-space: nowrap;
}
.fc-icon { font-size: 1.1rem; }
.fc-1 { top: 10%; left: -80px; animation-delay: 0s; }
.fc-2 { bottom: 20%; left: -90px; animation-delay: 1.5s; }
.fc-3 { top: 40%; right: -80px; animation-delay: .8s; }
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ════════════════════════════════
   SECTION COMMONS
   ════════════════════════════════ */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(255,107,53,.12), rgba(255,179,71,.12));
  color: var(--primary);
  font-size: .85rem;
  font-weight: 700;
  border-radius: 20px;
  border: 1px solid rgba(255,107,53,.2);
  margin-bottom: 16px;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.3;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

/* ════════════════════════════════
   TOOLS SECTION
   ════════════════════════════════ */
.tools-section {
  padding: 100px 0;
  background: var(--bg-base);
}

/* Filter Tabs */
.tool-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.tab-btn {
  padding: 10px 24px;
  border-radius: 24px;
  border: 2px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.tab-btn:hover { border-color: var(--primary-light); color: var(--primary); }
.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* Tool Cards */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tool-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition);
  border-radius: inherit;
}
.tool-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-hover);
}
.tool-card.featured {
  border-color: var(--primary-light);
  background: linear-gradient(160deg, #FFF8F0, #fff);
}
.tool-card.hidden { display: none; }

.tool-card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--warm-red), #FF6B6B);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  border-radius: 20px;
}
.tool-card-badge.badge-new {
  background: linear-gradient(135deg, #7C3AED, #A855F7);
}

.tool-card-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}
.tool-icon-bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: .12;
}
.tool-main-icon { font-size: 2rem; position: relative; z-index: 1; }

.morning-theme  { background: linear-gradient(135deg, #FFF3E0, #FFE0B2); }
.morning-theme .tool-icon-bg { background: var(--primary); }
.threads-theme  { background: linear-gradient(135deg, #EDE7F6, #D1C4E9); }
.threads-theme .tool-icon-bg { background: #7C3AED; }
.blessing-theme { background: linear-gradient(135deg, #FCE4EC, #F8BBD9); }
.blessing-theme .tool-icon-bg { background: var(--accent); }
.video-theme    { background: linear-gradient(135deg, #E3F2FD, #BBDEFB); }
.video-theme .tool-icon-bg { background: #1976D2; }
.commerce-theme { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.commerce-theme .tool-icon-bg { background: #388E3C; }
.night-theme    { background: linear-gradient(135deg, #E8EAF6, #C5CAE9); }
.night-theme .tool-icon-bg { background: #3949AB; }

.tool-card-body { flex: 1; }
.tool-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.tool-desc {
  font-size: .9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}
.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.tag {
  padding: 3px 10px;
  background: var(--bg-warm);
  color: var(--text-secondary);
  font-size: .75rem;
  font-weight: 500;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.tool-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: .82rem;
  margin-bottom: 20px;
}
.tool-free-badge {
  display: inline-flex; align-items: center; gap: 4px;
  color: #059669; font-weight: 600;
}
.tool-pro-badge {
  display: inline-flex; align-items: center; gap: 4px;
  color: #D97706; font-weight: 600;
}
.tool-biz-badge {
  display: inline-flex; align-items: center; gap: 4px;
  color: #7C3AED; font-weight: 600;
}
.tool-time { color: var(--text-muted); }

.tool-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition);
  margin-top: auto;
}
.tool-cta-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tool-cta-btn.pro-btn {
  background: linear-gradient(135deg, #D97706, #F59E0B);
}
.tool-cta-btn.biz-btn {
  background: linear-gradient(135deg, #7C3AED, #A855F7);
}

/* ════════════════════════════════
   HOW IT WORKS
   ════════════════════════════════ */
.how-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-warm) 0%, #fff 100%);
}

.steps-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-bottom: 60px;
}
.steps-line {
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 0;
  opacity: .3;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.step-num-wrap {
  position: relative;
  margin-bottom: 24px;
}
.step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255,107,53,.35);
  position: relative;
  z-index: 1;
}
.step-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,53,.25), transparent 70%);
}
.step-icon-large { font-size: 2.5rem; margin-bottom: 16px; }
.step-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.step-desc { font-size: .88rem; color: var(--text-secondary); line-height: 1.6; }

.how-cta { text-align: center; }

/* ════════════════════════════════
   TEMPLATES SHOWCASE
   ════════════════════════════════ */
.templates-section {
  padding: 100px 0;
  background: var(--bg-dark);
  overflow: hidden;
}
.templates-section .section-tag { background: rgba(255,255,255,.08); color: var(--secondary); border-color: rgba(255,179,71,.2); }
.templates-section .section-title { color: #fff; }
.templates-section .section-desc { color: rgba(255,255,255,.6); }

.template-showcase { overflow: hidden; margin: 0 -24px; }
.template-scroll {
  display: flex;
  gap: 20px;
  padding: 0 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.template-scroll::-webkit-scrollbar { display: none; }

.tpl-card {
  flex-shrink: 0;
  width: 200px;
  height: 260px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  scroll-snap-align: start;
  position: relative;
}
.tpl-card:hover { transform: translateY(-8px) scale(1.03); }
.tpl-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  gap: 10px;
}
.tpl-emoji { font-size: 3rem; }
.tpl-name { font-weight: 700; font-size: .95rem; }
.tpl-preview-text { font-size: .78rem; opacity: .8; line-height: 1.5; }

.tpl-morning  { background: linear-gradient(145deg, #FFF3E0, #FF8A65); color: #BF360C; }
.tpl-buddha   { background: linear-gradient(145deg, #F3E5F5, #9C27B0); color: #fff; }
.tpl-mountain { background: linear-gradient(145deg, #E0F2F1, #00695C); color: #fff; }
.tpl-temple   { background: linear-gradient(145deg, #FFF8E1, #FF6F00); color: #fff; }
.tpl-health   { background: linear-gradient(145deg, #E8F5E9, #2E7D32); color: #fff; }
.tpl-birthday { background: linear-gradient(145deg, #FCE4EC, #C2185B); color: #fff; }
.tpl-night    { background: linear-gradient(145deg, #E8EAF6, #283593); color: #fff; }
.tpl-new-year { background: linear-gradient(145deg, #FFEBEE, #B71C1C); color: #FFD700; }

/* ════════════════════════════════
   PRICING
   ════════════════════════════════ */
.pricing-section {
  padding: 100px 0;
  background: var(--bg-base);
}

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}
.toggle-label {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}
.toggle-label.active-label { color: var(--primary); }
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: #ddd;
  border-radius: 28px;
  cursor: pointer;
  transition: var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 22px; height: 22px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); }
.save-badge {
  padding: 4px 10px;
  background: linear-gradient(135deg, #059669, #34D399);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  border-radius: 20px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  transition: var(--transition);
}
.price-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.price-card.featured-plan {
  border-color: var(--primary);
  background: linear-gradient(160deg, #FFF8F0, #fff);
  transform: scale(1.04);
  box-shadow: var(--shadow-md);
}
.price-card.featured-plan:hover { transform: scale(1.04) translateY(-4px); }

.plan-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  border-radius: 20px;
  white-space: nowrap;
}

.price-card-header { text-align: center; margin-bottom: 28px; }
.plan-icon { font-size: 2.5rem; margin-bottom: 12px; }
.plan-name { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 16px; }
.plan-price-wrap { margin-bottom: 8px; }
.plan-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-primary);
}
.plan-period { font-size: .9rem; color: var(--text-muted); }
.plan-tagline { font-size: .85rem; color: var(--text-secondary); }

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  color: var(--text-secondary);
}
.plan-features .fa-check { color: #059669; flex-shrink: 0; }
.plan-features .fa-xmark { color: #ccc; flex-shrink: 0; }
.plan-features .feature-disabled { color: var(--text-muted); text-decoration: line-through; text-decoration-color: #ddd; }

.plan-btn {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: .95rem;
  font-weight: 700;
  transition: var(--transition);
}
.plan-btn-free { background: var(--bg-warm); color: var(--text-secondary); border: 2px solid var(--border); }
.plan-btn-free:hover { border-color: var(--primary); color: var(--primary); }
.plan-btn-pro { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: #fff; box-shadow: var(--shadow-sm); }
.plan-btn-pro:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.plan-btn-creator { background: linear-gradient(135deg, #7C3AED, #A855F7); color: #fff; box-shadow: 0 6px 20px rgba(124,58,237,.3); }
.plan-btn-creator:hover { box-shadow: 0 10px 30px rgba(124,58,237,.4); transform: translateY(-2px); }
.plan-btn-biz { background: var(--bg-dark); color: #fff; }
.plan-btn-biz:hover { background: #2D2D4E; transform: translateY(-2px); }

.pricing-note {
  text-align: center;
  margin-top: 40px;
  font-size: .88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pricing-note .fa-shield-halved { color: #059669; }

/* ════════════════════════════════
   TESTIMONIALS
   ════════════════════════════════ */
.testimonials-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #fff, var(--bg-warm));
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-card.featured-testi {
  background: linear-gradient(145deg, #FFF8F0, #fff);
  border-color: var(--primary-light);
}
.testi-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testi-text {
  font-size: .98rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar { font-size: 2.2rem; }
.testi-name { font-weight: 700; color: var(--text-primary); font-size: .95rem; }
.testi-role { font-size: .82rem; color: var(--text-muted); }

/* ════════════════════════════════
   CTA BANNER
   ════════════════════════════════ */
.cta-banner {
  padding: 100px 24px;
  background: linear-gradient(145deg, #1A1A2E 0%, #2D1B4E 50%, #1A1A2E 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-orbs { position: absolute; inset: 0; pointer-events: none; }
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.cta-orb-1 { width: 400px; height: 400px; background: var(--primary); opacity: .25; top: -100px; right: -100px; }
.cta-orb-2 { width: 300px; height: 300px; background: var(--accent); opacity: .2; bottom: -80px; left: -80px; }

.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}
.cta-highlight {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-sub { font-size: 1.05rem; color: rgba(255,255,255,.7); margin-bottom: 40px; }
.cta-actions { margin-bottom: 20px; }
.cta-note { font-size: .85rem; color: rgba(255,255,255,.5); }

/* ════════════════════════════════
   FOOTER
   ════════════════════════════════ */
.site-footer {
  background: var(--bg-dark);
  padding: 80px 0 0;
}
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 24px;
}
.footer-social { display: flex; gap: 12px; }
.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,.1);
}
.social-link:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.footer-links-group h4 {
  font-size: .9rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.footer-links-group ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-group a {
  font-size: .88rem;
  color: rgba(255,255,255,.45);
  transition: var(--transition);
}
.footer-links-group a:hover { color: var(--primary-light); }

.footer-bottom {
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.3); }

/* ════════════════════════════════
   SCROLL REVEAL ANIMATION
   ════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ════════════════════════════════
   RESPONSIVE
   ════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { padding: 100px 40px 80px; gap: 40px; }
  .hero-visual { display: none; }
  .tools-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured-plan { transform: none; }
  .price-card.featured-plan:hover { transform: translateY(-4px); }
  .footer-container { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  /* ─ Hero ─ */
  .hero {
    padding: 88px 20px 56px;
    flex-direction: column;
    min-height: auto;
    gap: 0;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: clamp(1.75rem, 7vw, 2.2rem); line-height: 1.3; }
  .hero-subtitle { font-size: .98rem; margin-bottom: 28px; }
  .hero-badge { font-size: .78rem; padding: 6px 14px; }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 15px 24px;
    font-size: .98rem;
  }
  .hero-visual { display: none; }
  .hero-stats { gap: 12px; justify-content: center; }
  .stat-num { font-size: 1.15rem; }
  .stat-label { font-size: .72rem; }

  /* ─ Nav ─ */
  .nav-links {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(250,250,248,.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    z-index: 998;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
  }
  .nav-hamburger { display: flex; }
  .btn-nav-free { display: none; }
  .nav-container { gap: 0; padding: 0 16px; }

  /* ─ Sections ─ */
  .section-container { padding: 0 16px; }
  .section-header { margin-bottom: 32px; }
  .section-title { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .section-desc { font-size: .95rem; }
  .tools-section,
  .how-section,
  .templates-section,
  .pricing-section,
  .testimonials-section { padding: 64px 0; }
  .cta-banner { padding: 64px 16px; }

  /* ─ Tools ─ */
  .tools-grid { grid-template-columns: 1fr; gap: 16px; }
  .tool-card { padding: 22px 20px; }
  .tool-tabs { gap: 8px; }
  .tab-btn { padding: 8px 16px; font-size: .85rem; }

  /* ─ Steps ─ */
  .steps-track { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .steps-line { display: none; }
  .step-num { width: 56px; height: 56px; font-size: 1.2rem; }
  .step-icon-large { font-size: 2rem; }
  .step-title { font-size: .95rem; }
  .step-desc { font-size: .82rem; }

  /* ─ Templates ─ */
  .tpl-card { width: 160px; height: 210px; }
  .tpl-emoji { font-size: 2.2rem; }

  /* ─ Pricing ─ */
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .price-card { padding: 28px 20px; }
  .price-card.featured-plan { transform: none; }
  .price-card.featured-plan:hover { transform: translateY(-4px); }
  .plan-price { font-size: 2rem; }
  .pricing-toggle-wrap { gap: 10px; }

  /* ─ Testimonials ─ */
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .testi-card { padding: 24px 20px; }

  /* ─ CTA ─ */
  .cta-title { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  .cta-actions .btn-primary { width: 100%; justify-content: center; }

  /* ─ Footer ─ */
  .footer-container { grid-template-columns: 1fr; gap: 28px; padding: 0 16px; }
  .site-footer { padding: 60px 0 0; }
}

@media (max-width: 480px) {
  /* ─ Hero ─ */
  .hero { padding: 80px 16px 48px; }
  .hero-title { font-size: 1.75rem; }
  .hero-stats { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .stat-divider { display: none; }
  .stat-item {
    background: rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 8px 14px;
  }

  /* ─ Steps ─ */
  .steps-track { grid-template-columns: 1fr; gap: 28px; }

  /* ─ Pricing ─ */
  .pricing-toggle-wrap { flex-wrap: wrap; justify-content: center; gap: 8px; }

  /* ─ Nav ─ */
  .nav-container { height: 60px; }
  .nav-links { top: 60px; }
  .nav-logo { font-size: 1.2rem; }

  /* ─ Section ─ */
  .section-container { padding: 0 14px; }
  .tool-card { padding: 18px 16px; }

  /* ─ Buttons ─ */
  .btn-primary { padding: 14px 22px; font-size: .95rem; }
  .btn-primary.btn-large { padding: 16px 28px; font-size: 1rem; }
}
