/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #FF6B35;
  --primary-dark: #e05a25;
  --secondary: #FFD700;
  --accent: #00C9A7;
  --dark: #1a1a2e;
  --dark2: #16213e;
  --dark3: #0f3460;
  --text: #333;
  --text-light: #666;
  --white: #fff;
  --bg-light: #f8f9fc;
  --bg-warm: #fff9f5;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 8px 32px rgba(0,0,0,0.12);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.2);
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans KR', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

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

a { text-decoration: none; color: inherit; }

strong { font-weight: 700; }

/* ============================================================
   TYPOGRAPHY HELPERS
============================================================ */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255,107,53,0.1);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.section-label.accent { color: var(--accent); background: rgba(0,201,167,0.1); }
.section-label.light { color: #fff; background: rgba(255,255,255,0.2); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

.highlight { color: var(--primary); }
.highlight-red { color: #e8364a; }
.highlight-gold { color: var(--secondary); }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(255,107,53,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,107,53,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn-download {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a1a2e;
  font-size: 1.1rem;
  padding: 18px 40px;
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(255,200,0,0.45);
}
.btn-download:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(255,200,0,0.55);
}

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-xl { padding: 20px 48px; font-size: 1.15rem; }

/* Pulse animation */
.pulse-anim {
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(255,107,53,0.4); }
  50% { box-shadow: 0 4px 32px rgba(255,107,53,0.7), 0 0 0 8px rgba(255,107,53,0.15); }
}
.btn-download.pulse-anim {
  animation: pulseGold 2.2s infinite;
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 8px 32px rgba(255,200,0,0.45); }
  50% { box-shadow: 0 8px 40px rgba(255,200,0,0.7), 0 0 0 10px rgba(255,200,0,0.15); }
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 30%, rgba(255,107,53,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(0,201,167,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.badge-wrap {
  margin-bottom: 20px;
}

.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #ff8c42);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 18px;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(255,107,53,0.4);
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title .sub-text {
  font-size: 0.55em;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  display: block;
  margin-top: 8px;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
  margin-bottom: 36px;
}

.hero-cta-wrap {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  z-index: 2;
}

.bounce {
  animation: bounce 1.8s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Floating particles */
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(100vh) scale(0.8); opacity: 0; }
  10% { opacity: 0.2; }
  90% { opacity: 0.15; }
  100% { transform: translateY(-100px) scale(1.2); opacity: 0; }
}

/* ============================================================
   PAIN SECTION
============================================================ */
.pain-section {
  padding: 100px 0 80px;
  background: var(--bg-light);
  text-align: center;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.pain-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}
.pain-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.pain-icon { font-size: 2.4rem; margin-bottom: 16px; }

.pain-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.pain-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}
.pain-arrow i { font-size: 1.5rem; animation: bounce 1.8s infinite; }

/* ============================================================
   SOLUTION SECTION
============================================================ */
.solution-section {
  padding: 100px 0;
  background: var(--white);
}

.solution-flex {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.solution-text { flex: 1; min-width: 280px; }

.solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.solution-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.check-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), #00a888);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
  margin-top: 2px;
}

.solution-list li h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.solution-list li p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

.solution-stats {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-card {
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.stat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.stat-card--main {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 32px 24px;
}

.stat-num {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-num span { font-size: 0.5em; font-weight: 700; }

.stat-label {
  font-size: 0.82rem;
  opacity: 0.85;
  font-weight: 500;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================================
   CASE SECTION
============================================================ */
.case-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f7f4 100%);
  text-align: center;
}

.case-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: left;
  position: relative;
  overflow: hidden;
}
.case-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #00a888);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.case-card--featured::before {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
}
.case-card--featured {
  border: 2px solid var(--primary);
}

.case-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(0,201,167,0.12);
  border-radius: 100px;
  padding: 3px 12px;
  margin-bottom: 16px;
}
.featured-badge { color: var(--primary); background: rgba(255,107,53,0.12); }

.case-result {
  margin-bottom: 12px;
}
.case-num {
  display: block;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
}
.case-period {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}
.case-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   MENU SECTION
============================================================ */
.menu-section {
  padding: 100px 0;
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.menu-section .section-title { color: var(--white); }
.menu-section .section-sub { color: rgba(255,255,255,0.65); }

.menu-filter {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  padding: 8px 20px;
  border-radius: 100px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.menu-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.menu-card:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,107,53,0.4);
  transform: translateY(-4px);
}

.menu-card--star {
  background: linear-gradient(135deg, rgba(255,107,53,0.2), rgba(255,200,0,0.15));
  border-color: rgba(255,200,0,0.4);
}

.star-badge {
  position: absolute;
  top: 10px; right: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(255,200,0,0.15);
  padding: 2px 8px;
  border-radius: 100px;
  border: 1px solid rgba(255,200,0,0.3);
}

.menu-emoji {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.menu-card h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}

.tag {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

.margin-bar-wrap {
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  height: 8px;
  margin-bottom: 6px;
  overflow: hidden;
}

.margin-bar {
  height: 100%;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  width: 0;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}
.margin-bar.animated { width: calc(var(--pct) * 1%); }

.margin-num {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}
.margin-num strong { color: var(--secondary); font-size: 1rem; }

.menu-card.hidden { display: none; }

.menu-avg-bar {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 20px 28px;
}
.avg-info {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}
.avg-info i { color: var(--secondary); font-size: 1.1rem; }
.avg-info strong { color: var(--secondary); }

/* ============================================================
   RECIPE SECTION
============================================================ */
.recipe-section {
  padding: 100px 0;
  background: var(--bg-warm);
  text-align: center;
}

.recipe-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.recipe-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  flex: 1;
  min-width: 200px;
  max-width: 240px;
  transition: var(--transition);
  position: relative;
}
.recipe-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.step-num {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 3px 12px;
  border-radius: 100px;
}

.step-icon {
  font-size: 2.4rem;
  margin: 12px 0 14px;
  display: block;
}

.recipe-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.recipe-step p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.recipe-arrow {
  color: var(--primary);
  font-size: 1.4rem;
  padding: 0 8px;
  flex-shrink: 0;
}

.recipe-cta-box {
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.recipe-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.recipe-cta-text { text-align: left; flex: 1; min-width: 240px; }
.recipe-cta-text h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.recipe-cta-text p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

/* ============================================================
   DOWNLOAD SECTION
============================================================ */
.download-section {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark3) 100%);
  text-align: center;
  overflow: hidden;
}

.download-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(255,200,0,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(255,107,53,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.download-content { position: relative; z-index: 2; }

.download-icon-wrap {
  margin-bottom: 24px;
}
.download-icon-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(255,200,0,0.2), rgba(255,107,53,0.2));
  border: 2px solid rgba(255,200,0,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--secondary);
  margin: 0 auto;
  animation: glowPulse 2.5s infinite;
}
@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,200,0,0.3); }
  50% { box-shadow: 0 0 0 16px rgba(255,200,0,0); }
}

.download-title {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 36px;
}

.download-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  margin-bottom: 44px;
}
.include-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
}
.include-item i { color: var(--accent); font-size: 1rem; }

.download-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.download-note {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.download-note i { color: var(--accent); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: #0d0d1a;
  padding: 32px 0;
  text-align: center;
}
.footer-copy {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.footer-note {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
============================================================ */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos].visible {
  opacity: 1;
  transform: translateY(0);
}
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 768px) {
  .solution-flex { flex-direction: column; gap: 40px; }
  .solution-stats { width: 100%; }

  .recipe-steps { gap: 16px; }
  .recipe-arrow { transform: rotate(90deg); }
  .recipe-step { max-width: 100%; width: 100%; }

  .recipe-cta-inner { flex-direction: column; text-align: center; }
  .recipe-cta-text { text-align: center; }

  .hero-cta-wrap { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; max-width: 320px; }

  .menu-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

  .case-cards { grid-template-columns: 1fr; }

  .btn-download { font-size: 1rem; padding: 16px 28px; }

  .download-includes { flex-direction: column; align-items: flex-start; margin: 0 auto 44px; display: inline-flex; text-align: left; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .pain-grid { grid-template-columns: 1fr 1fr; }
  .menu-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .stat-row { grid-template-columns: 1fr; }
  .recipe-cta-box { padding: 28px 20px; }
  .btn-download { width: 100%; justify-content: center; }
}
