/* ====================================================================
   금일도 미역 — 프리미엄 식품 브랜드 랜딩페이지 스타일시트
   브랜드 무드: Premium · Clean · Natural · Fresh · Trustworthy
   ==================================================================== */

:root {
  /* 브랜드 팔레트 */
  --deep-sea-green: #0e3b34;
  --seaweed-green: #1f5c4f;
  --seaweed-green-light: #2f7c69;
  --ivory: #faf7f1;
  --warm-white: #ffffff;
  --gold-beige: #b99a63;
  --gold-beige-light: #e8dcc4;

  --color-text: #1c2624;
  --color-text-sub: #5a6663;
  --color-border: #e5e0d6;
  --color-warning-bg: #fbf3e6;
  --color-warning-border: #dcc48f;

  --font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Noto Serif KR', serif;
  --max-width: 1200px;

  --radius-sm: 6px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --header-height: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--warm-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 84px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--tight { padding: 64px 0; }

.section-eyebrow {
  color: var(--gold-beige);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 16px;
  color: var(--deep-sea-green);
  letter-spacing: -0.01em;
}

.section-desc {
  font-size: 15.5px;
  color: var(--color-text-sub);
  max-width: 640px;
  word-break: keep-all;
  margin-bottom: 40px;
}

.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head .section-desc { margin-left: auto; margin-right: auto; }

/* 스크롤 fade-in (JS가 정상 동작할 때만 애니메이션 적용, 기본값은 항상 표시 상태) */
.reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
body.reveal-armed .reveal { opacity: 0; transform: translateY(24px); }
body.reveal-armed .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------- 상단 안내 배너 ---------------- */
.top-notice {
  background: var(--deep-sea-green);
  color: var(--ivory);
  text-align: center;
  font-size: 12px;
  padding: 7px 12px;
  letter-spacing: 0.02em;
}

/* ---------------- 버튼 공통 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow .2s ease, border-color .2s ease;
  min-height: 48px;
  padding: 14px 28px;
  font-size: 15.5px;
  width: 100%;
}

.btn-large { font-size: 16.5px; padding: 17px 30px; min-height: 56px; }

.btn-primary {
  background: var(--deep-sea-green);
  color: var(--warm-white);
  box-shadow: 0 10px 24px rgba(14, 59, 52, 0.22);
}
.btn-primary:hover { background: var(--seaweed-green); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(14,59,52,0.28); }
.btn-primary:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold-beige);
  color: var(--deep-sea-green);
  box-shadow: 0 10px 24px rgba(185, 154, 99, 0.28);
}
.btn-gold:hover { background: #a68753; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--deep-sea-green);
  border-color: var(--deep-sea-green);
}
.btn-outline:hover { background: rgba(14,59,52,0.06); }

.btn-outline-light {
  background: transparent;
  color: var(--warm-white);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }

/* ====================================================================
   HEADER / NAVIGATION
   ==================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(250, 247, 241, 0.98);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 19px;
  color: var(--deep-sea-green);
  letter-spacing: -0.01em;
}
.brand-logo span { color: var(--gold-beige); }

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

.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-text);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--seaweed-green); }

.header-cta {
  padding: 10px 22px;
  min-height: 40px;
  font-size: 14px;
  width: auto;
}
/* 네비게이션 링크 공통 color 규칙보다 우선 적용되도록 구매하기 버튼 글자색을 흰색으로 고정 */
.main-nav a.header-cta,
.main-nav a.header-cta:hover,
.mobile-nav a.btn-primary,
.mobile-nav a.btn-primary:hover {
  color: var(--warm-white);
}

.hamburger {
  display: none;
  width: 40px; height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--deep-sea-green);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  top: var(--header-height); left: 0; right: 0;
  background: var(--warm-white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  padding: 8px 24px 20px;
  display: flex;
  flex-direction: column;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 999;
}
.mobile-nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-nav a {
  padding: 14px 4px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:last-of-type { border-bottom: none; }

/* ====================================================================
   HERO
   ==================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  max-height: 980px;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--deep-sea-green);
}

@media (max-height: 700px) {
  .hero { max-height: none; min-height: 640px; }
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,59,52,0.55) 0%, rgba(14,59,52,0.35) 45%, rgba(14,59,52,0.75) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}

.hero-content { max-width: 560px; }

.hero-eyebrow {
  display: inline-block;
  color: var(--ivory);
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.35);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--warm-white);
  margin-bottom: 16px;
  word-break: keep-all;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 30px;
  word-break: keep-all;
}

.hero-product-name {
  font-size: 15px;
  color: var(--gold-beige-light);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  margin-bottom: 20px;
}

.hero-note {
  font-size: 12.5px;
  color: rgba(255,255,255,0.7);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-scroll-cue i { animation: bounce 2s infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ====================================================================
   핵심 장점 (Benefit Cards)
   ==================================================================== */
.benefit-section { background: var(--ivory); }

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

.benefit-card {
  background: var(--warm-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(14,59,52,0.08); }

.benefit-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--deep-sea-green);
  color: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.benefit-title { font-size: 18px; font-weight: 800; color: var(--deep-sea-green); margin-bottom: 10px; }
.benefit-desc { font-size: 14.5px; color: var(--color-text-sub); word-break: keep-all; }

/* ====================================================================
   브랜드 스토리 섹션
   ==================================================================== */
.story-section {
  position: relative;
  background: var(--deep-sea-green);
  color: var(--warm-white);
  padding: 0;
  overflow: hidden;
}

.story-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.story-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,59,52,0.55), rgba(14,59,52,0.88));
}

.story-content {
  position: relative;
  z-index: 2;
  padding: 96px 24px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.story-content .section-eyebrow { color: var(--gold-beige-light); }
.story-content .section-title { color: var(--warm-white); }

.story-text {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,0.9);
  word-break: keep-all;
}
.story-text + .story-text { margin-top: 18px; }

/* ====================================================================
   미역 디테일 (Close-up + Info Card)
   ==================================================================== */
.detail-section { background: var(--warm-white); }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.detail-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.detail-image-wrap img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

.detail-info-card {
  background: var(--ivory);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--color-border);
}

.detail-info-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--deep-sea-green);
  margin-bottom: 20px;
}

.detail-info-list { display: grid; gap: 14px; }
.detail-info-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14.5px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--color-border);
}
.detail-info-list li:last-child { border-bottom: none; padding-bottom: 0; }
.detail-info-label { color: var(--color-text-sub); font-weight: 600; flex-shrink: 0; }
.detail-info-value { color: var(--color-text); font-weight: 600; text-align: right; }

.detail-caption-note {
  font-size: 12px;
  color: var(--color-text-sub);
  margin-top: 16px;
  word-break: keep-all;
}

/* 판매자 제공 공식 이미지 카드 */
.official-image-card {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.official-image-wrap {
  max-width: 320px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 32px rgba(14,59,52,0.1);
}
.official-image-wrap img { width: 100%; height: auto; object-fit: cover; }
.official-image-caption {
  font-size: 13px;
  color: var(--color-text-sub);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.official-image-caption i { color: var(--seaweed-green); }

/* ====================================================================
   레시피 / 활용법
   ==================================================================== */
.recipe-section { background: var(--ivory); }

.recipe-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.recipe-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.recipe-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(14,59,52,0.1); }

.recipe-card-image { aspect-ratio: 4/3; overflow: hidden; }
.recipe-card-image img { width: 100%; height: 100%; object-fit: cover; }

.recipe-card-body { padding: 22px 22px 26px; }
.recipe-card-title { font-size: 17px; font-weight: 800; color: var(--deep-sea-green); margin-bottom: 8px; }
.recipe-card-desc { font-size: 14px; color: var(--color-text-sub); word-break: keep-all; }

.recipe-lifestyle {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.recipe-lifestyle img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.recipe-lifestyle-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(14,59,52,0.7));
  color: var(--warm-white);
  font-size: 14.5px;
  font-weight: 600;
}

/* ====================================================================
   구매 설득 영역 (Persuasion CTA band)
   ==================================================================== */
.persuade-section {
  background: var(--deep-sea-green);
  color: var(--warm-white);
  text-align: center;
}
.persuade-section .section-eyebrow { color: var(--gold-beige-light); }
.persuade-section .section-title { color: var(--warm-white); }

.persuade-points {
  display: grid;
  gap: 14px;
  max-width: 480px;
  margin: 0 auto 36px;
  text-align: left;
}
.persuade-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.92);
}
.persuade-points li i { color: var(--gold-beige-light); margin-top: 3px; flex-shrink: 0; }

.persuade-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
  margin: 0 auto;
}

/* ====================================================================
   상품 상세정보
   ==================================================================== */
.spec-section { background: var(--warm-white); }

.spec-table-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  word-break: keep-all;
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th {
  width: 34%;
  background: var(--ivory);
  font-weight: 700;
  color: var(--deep-sea-green);
}

.spec-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--color-text-sub);
  word-break: keep-all;
}

/* ---------------- 구매 전 확인사항 ---------------- */
.checklist-section { background: var(--ivory); }
.checklist { display: grid; gap: 14px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: var(--color-text);
  word-break: keep-all;
}
.checklist li i { color: var(--seaweed-green); margin-top: 3px; flex-shrink: 0; }

/* ====================================================================
   FAQ
   ==================================================================== */
.faq-section { background: var(--warm-white); }
.faq-list { display: grid; gap: 12px; }

.faq-item {
  background: var(--ivory);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 22px;
  font-size: 15.5px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  color: var(--deep-sea-green);
  min-height: 48px;
}
.faq-question i { transition: transform 0.25s ease; color: var(--gold-beige); flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 22px;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 0 22px 22px; }
.faq-answer p { font-size: 14.5px; color: var(--color-text-sub); word-break: keep-all; }

/* ====================================================================
   최종 CTA
   ==================================================================== */
.final-cta-section {
  position: relative;
  overflow: hidden;
  color: var(--warm-white);
  text-align: center;
}
.final-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-cta-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,59,52,0.72), rgba(14,59,52,0.85)); }

.final-cta-content { position: relative; z-index: 2; }
.final-cta-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 32px;
  word-break: keep-all;
  color: var(--warm-white);
}

.final-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

/* ====================================================================
   Footer
   ==================================================================== */
.site-footer {
  background: var(--deep-sea-green);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 40px;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--warm-white);
  margin-bottom: 16px;
}
.footer-info { font-size: 13px; line-height: 1.9; margin-bottom: 18px; }
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.65);
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.footer-ai-notice {
  font-size: 11.5px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.55);
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ====================================================================
   모바일 고정 CTA
   ==================================================================== */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 998;
  background: var(--warm-white);
  border-top: 1px solid var(--color-border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(0,0,0,0.1);
}
.btn-sticky { font-size: 16px; min-height: 48px; }

/* ====================================================================
   반응형: 태블릿 (600px~)
   ==================================================================== */
@media (min-width: 600px) {
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 42px; }
  .final-cta-title { font-size: 32px; }
}

/* ====================================================================
   반응형: PC (900px~)
   ==================================================================== */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .hamburger { display: none; }
  .mobile-nav { display: none; }

  .section { padding: 120px 0; }
  .section-title { font-size: 34px; }

  .hero-title { font-size: 52px; }
  .hero-subtitle { font-size: 18px; }
  .hero-cta-row { flex-direction: row; max-width: 480px; }
  .hero-cta-row .btn { width: auto; flex: 1; }

  .benefit-grid { grid-template-columns: repeat(4, 1fr); }

  .detail-grid { grid-template-columns: 1.1fr 0.9fr; }

  .recipe-grid { grid-template-columns: repeat(3, 1fr); }

  .persuade-buttons { flex-direction: row; max-width: 560px; }
  .persuade-buttons .btn { flex: 1; }

  .final-cta-buttons { flex-direction: row; max-width: 480px; }
  .final-cta-buttons .btn { flex: 1; }

  .story-content { padding: 140px 24px; }
}

@media (max-width: 899.98px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
}

@media (min-width: 1200px) {
  .hero-title { font-size: 58px; }
}

/* 접근성: 포커스 표시 */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold-beige);
  outline-offset: 2px;
}
