﻿:root {
  --brand: #2e3440;
  --brand-dark: #1c2331;
  --accent: #2e3440;
  --ink: #1c2331;
  --ink-soft: #5a6a7e;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --shadow-md: 0 8px 30px rgba(28,35,49,.12);
  --shadow-lg: 0 20px 60px rgba(28,35,49,.18);
}

*{box-sizing:border-box;margin:0;padding:0;}
body{font-family:'Pretendard',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);line-height:1.6;background:#fff;}
a{text-decoration:none;color:inherit;}
img{max-width:100%;}
.wrap{max-width:1200px;margin:0 auto;padding:0 clamp(14px,1.6vw,28px);}

/* ── HEADER ── */
#header {
  position: absolute;
  left: 0; top: 0;
  z-index: 5000;
  width: 100%;
  height: clamp(56px, 5.7vw, 110px);
  transition: background 0.3s, box-shadow 0.3s;
}
#header.scrolled {
  position: fixed;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.hd-inner {
  position: relative;
  height: clamp(50px, 5.2vw, 100px);
  padding: 0 clamp(14px, 2.6vw, 50px);
}
.logo {
  position: absolute;
  top: 50%;
  left: clamp(14px, 2.6vw, 50px);
  transform: translateY(-50%);
}
.logo img {
  height: clamp(30px, 4.6vw, 88px);
  width: auto;
  filter: none;
  transition: filter 0.3s;
}

.gnb {
  display: flex;
  justify-content: center;
  align-items: center;
  height: clamp(50px, 5.2vw, 100px);
}
.gnb a {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: clamp(60px, 8.3vw, 160px);
  height: 100%;
  color: var(--brand-dark);
  font-size: clamp(11px, 1.2vw, 23px);
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}
.gnb a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--brand-dark);
  transform: translateX(-50%);
  transition: width 0.3s;
}
.gnb a:hover::after { width: 100%; }
#header.scrolled .gnb a { color: #222; }
#header.scrolled .gnb a::after { background: var(--brand); }
.hd-btn { display: none; }

/* ── SCROLL DOWN ── */
.scroll-down {
  position: fixed;
  bottom: 28%;
  left: 36px;
  width: 45px;
  height: 120px;
  z-index: 9;
  opacity: 1;
  transition: opacity 0.5s;
}
.scroll-down.scrolled { opacity: 0; pointer-events: none; }
.scroll-down p {
  position: absolute;
  left: 50%;
  top: 0;
  margin-left: -10px;
  width: 100px;
  font-size: 12px;
  color: rgba(28,35,49,0.6);
  letter-spacing: 1.5px;
  font-weight: 300;
  transform: rotate(-90deg);
  transform-origin: 0% 0%;
  white-space: nowrap;
}
.scroll-down i {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 80px;
  background: rgba(28,35,49,0.2);
}
.scroll-down i::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 1px;
  background: var(--brand-dark);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { height: 0; top: 0; }
  50%  { height: 100%; top: 0; }
  100% { height: 0; top: 100%; }
}

/* ── HERO (main_vis) ── */
.main_vis {
  position: relative;
  width: 100%;
  height: calc(100vh - 180px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background-color: #F8F4EE;
}

.main_vis::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 20%, rgba(220,210,195,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(210,200,185,0.4) 0%, transparent 60%);
  animation: bgShift 12s ease-in-out infinite alternate;
}
@keyframes bgShift {
  0%   { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1;   transform: scale(1.04); }
}

.main_text {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  padding-bottom: 80px;
}
.hero-brand {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  color: var(--brand-dark);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  color: rgba(28,35,49,0.8);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.hero-sub2 {
  font-size: clamp(0.85rem, 1.8vw, 1.1rem);
  font-weight: 300;
  color: rgba(28,35,49,0.55);
  margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-hero-primary {
  padding: 14px 32px;
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  font-size: 15px;
  border-radius: 6px;
  transition: all 0.2s;
}
.btn-hero-primary:hover { background: #eee; transform: translateY(-2px); }
.btn-hero-outline {
  padding: 14px 32px;
  border: 1.5px solid rgba(28,35,49,0.4);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  transition: all 0.2s;
}
.btn-hero-outline:hover { background: rgba(28,35,49,0.08); border-color: var(--brand-dark); }

/* ── 웨이브 ── */
.waves_box {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.waves {
  display: block;
  width: 200%;
  height: 80px;
  animation: waveMove 8s cubic-bezier(0.55,0.5,0.45,0.5) infinite;
}
.parallax > use:nth-child(1) { animation: waveParallax 7s cubic-bezier(0.55,0.5,0.45,0.5) infinite; }
.parallax > use:nth-child(2) { animation: waveParallax 10s cubic-bezier(0.55,0.5,0.45,0.5) -3s infinite; }
.parallax > use:nth-child(3) { animation: waveParallax 13s cubic-bezier(0.55,0.5,0.45,0.5) -5s infinite; }
.parallax > use:nth-child(4) { animation: waveParallax 20s cubic-bezier(0.55,0.5,0.45,0.5) -7s infinite; }
@keyframes waveParallax {
  0%   { transform: translate3d(-90px,0,0); }
  100% { transform: translate3d(85px,0,0); }
}

/* ── 광고 배너 ── */
.ad-bar { overflow: hidden; padding: 18px 0; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.ad-track { display: flex; gap: 14px; width: max-content; animation: adScroll 40s linear infinite; }
.ad-track:hover { animation-play-state: paused; }
.ad-slot { flex: 0 0 200px; height: 60px; background: #fff; border: 1px dashed var(--line); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-size: 13px; font-weight: 600; transition: all 0.15s; }
.ad-slot:hover { border-color: var(--brand); color: var(--brand); }
@keyframes adScroll { 0%{transform:translateX(0)} 100%{transform:translateX(calc(-50% - 7px))} }

/* ── SECTIONS ── */
.section { padding: clamp(48px,6vw,96px) 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: clamp(28px,3.5vw,56px); }
.eyebrow { display: inline-block; font-size: clamp(10px,0.75vw,12px); font-weight: 700; letter-spacing: 2.5px; color: var(--ink-soft); margin-bottom: 12px; text-transform: uppercase; }
.section-title { font-size: clamp(22px,2.4vw,36px); font-weight: 800; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 12px; }
.section-sub { font-size: clamp(13px,0.95vw,16px); color: var(--ink-soft); }

/* ── FEATURES ── */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 18px; }
.feature { background: #fff; border: 1px solid var(--line); border-top: 3px solid transparent; border-radius: 10px; padding: 32px 28px; transition: all 0.22s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-top-color: var(--brand); }
.feature-icon { width: 50px; height: 50px; border-radius: 10px; background: #f0f2f5; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.feature h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--ink-soft); line-height: 1.72; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; border-radius: 6px; font-weight: 600; border: none; cursor: pointer; font-size: 14px; transition: all 0.18s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-secondary { background: #edf0f4; color: var(--ink); }
.btn-secondary:hover { background: #dde3ea; }
.btn-lg { padding: clamp(10px,0.95vw,15px) clamp(20px,2.1vw,34px); font-size: clamp(12px,0.95vw,15px); font-weight: 700; }
.btn-outline-dark { background: transparent; border: 1.5px solid var(--brand); color: var(--brand); }
.btn-outline-dark:hover { background: var(--brand); color: #fff; }

/* ── CARDS ── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; transition: all 0.22s; position: relative; overflow: hidden; }
.card::after { content:''; position:absolute; left:0; top:0; bottom:0; width:3px; background:var(--brand); opacity:0; transition:opacity 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card:hover::after { opacity: 1; }
.card-thumb { height: 68px; display: flex; align-items: center; margin-bottom: 18px; }
.card-thumb img { max-height: 52px; width: auto; }
.card-thumb-naver img { max-height: 30px; }
.card-thumb-order img { max-height: 68px; }
.card-thumb-upload img { max-height: 68px; }
.kream-logo { font-family:'Arial Black','Arial',sans-serif; font-weight:900; font-style:italic; font-size:28px; color:#000; letter-spacing:-1px; }
.card-soon { opacity: 0.82; }
.card-soon::before { content:'준비중'; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%) rotate(-18deg); font-size:52px; font-weight:900; color:rgba(90,106,126,0.12); letter-spacing:6px; pointer-events:none; white-space:nowrap; z-index:1; }
.card-soon>*{ position:relative; z-index:2; }
.card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.card p { color: var(--ink-soft); font-size: 14px; margin-bottom: 22px; }
.card-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }

/* ── STATS ── */
.section-dark { background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%); color: #fff; padding: 72px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); }
.stat { text-align: center; padding: 32px 20px; border-right: 1px solid rgba(255,255,255,0.1); }
.stat:last-child { border-right: none; }
.stat strong { display: block; font-size: 48px; font-weight: 800; color: #fff; letter-spacing: -0.03em; margin-bottom: 8px; }
.stat span { font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 500; }

/* ── REVIEWS ── */
.review-marquee { overflow: hidden; margin-bottom: 40px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marqueeScroll 40s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll { 0%{transform:translateX(0)} 100%{transform:translateX(calc(-50% - 9px))} }
.review-card { width: 340px; flex-shrink: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; cursor: pointer; transition: all 0.2s; }
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.review-stars { color: #f6ad55; font-size: 15px; margin-bottom: 10px; letter-spacing: 2px; }
.review-text { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.review-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.review-name { color: var(--ink-soft); font-weight: 600; }
.review-product { background: #f0f2f5; color: var(--brand); padding: 3px 10px; border-radius: 5px; font-weight: 700; font-size: 12px; }
.review-cta { text-align: center; }
.review-images { display:flex; gap:8px; margin-bottom:12px; flex-wrap:wrap; }
.review-images img { width:76px; height:76px; object-fit:cover; border-radius:6px; border:1px solid var(--line); cursor:zoom-in; }
@media (max-width:600px){ .review-card{width:270px;} }

/* ── FAQ ── */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px 24px; transition: all 0.15s; }
.faq-item[open] { border-color: var(--brand); }
.faq-item summary { font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--ink-soft); }
.faq-item[open] summary::after { content: '−'; color: var(--brand); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin-top: 14px; color: var(--ink-soft); font-size: 14px; line-height: 1.78; }

/* ── CTA ── */
.section-cta { background: var(--brand-dark); color: #fff; text-align: center; padding: clamp(48px,6vw,96px) 0; }
.section-cta h2 { font-size: clamp(24px,2.6vw,40px); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 14px; }
.section-cta p { font-size: clamp(13px,1vw,17px); color: rgba(255,255,255,0.65); margin-bottom: 36px; }
.section-cta .btn-outline-dark { border-color: rgba(255,255,255,0.8); color: #fff; }
.section-cta .btn-outline-dark:hover { background: #fff; color: var(--brand-dark); border-color: #fff; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── MODAL ── */
.modal { position:fixed; inset:0; z-index:200; display:flex; align-items:center; justify-content:center; padding:20px; }
.modal[hidden] { display:none; }
.modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,0.55); cursor:pointer; }
.modal-content { position:relative; background:#fff; border-radius:14px; max-width:540px; width:100%; max-height:90vh; overflow-y:auto; padding:36px; box-shadow:var(--shadow-lg); }
.modal-close { position:absolute; top:14px; right:18px; background:none; border:none; font-size:26px; cursor:pointer; color:var(--ink-soft); padding:6px 10px; border-radius:6px; }
.modal-close:hover { background:var(--bg-soft); }
.modal-stars { color:#f6ad55; font-size:20px; letter-spacing:3px; margin-bottom:10px; }
.modal-product { display:inline-block; background:#f0f2f5; color:var(--brand); padding:4px 12px; border-radius:5px; font-weight:700; font-size:13px; margin-bottom:8px; }
.modal-name { font-weight:700; color:var(--ink); margin-bottom:16px; font-size:15px; }
.modal-text { font-size:15px; line-height:1.78; margin-bottom:20px; white-space:pre-wrap; word-break:break-word; }
.modal-images { display:grid; grid-template-columns:repeat(auto-fit,minmax(130px,1fr)); gap:10px; }
.modal-images img { width:100%; aspect-ratio:1; object-fit:cover; border-radius:8px; cursor:zoom-in; border:1px solid var(--line); }
.lightbox { position:fixed; inset:0; z-index:300; background:rgba(0,0,0,0.93); display:flex; align-items:center; justify-content:center; padding:40px; cursor:zoom-out; }
.lightbox[hidden] { display:none; }
.lightbox-img { max-width:100%; max-height:100%; object-fit:contain; border-radius:6px; }
.lightbox-close { position:absolute; top:20px; right:24px; background:rgba(255,255,255,0.1); border:none; color:#fff; font-size:26px; cursor:pointer; width:42px; height:42px; border-radius:50%; line-height:1; }
.lightbox-close:hover { background:rgba(255,255,255,0.2); }

/* ── FOOTER ── */
.footer { background: #F8F4EE; color: rgba(28,35,49,0.6); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(28,35,49,0.08); }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-logo { height: 40px; width: auto; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-cols { display: grid; grid-template-columns: repeat(3, max-content); gap: clamp(40px,8vw,160px); justify-content: center; }
.footer-col h4 { color: rgba(28,35,49,0.9); font-size: clamp(12px,1vw,16px); font-weight: 700; margin-bottom: 14px; letter-spacing: 1.2px; text-transform: uppercase; }
.footer-col a { display: block; color: rgba(28,35,49,0.6); font-size: clamp(12px,1.05vw,17px); padding: 3px 0; transition: color 0.15s; }
.footer-col a:hover { color: rgba(28,35,49,1); }
.footer-bottom { padding: clamp(12px,1.2vw,20px) 0; font-size: clamp(10px,0.75vw,12px); color: rgba(28,35,49,0.45); text-align: center; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .gnb { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .hd-inner { padding: 0 24px; }
}
@media (max-width: 768px) {
  .hero-brand { font-size: clamp(3rem, 16vw, 5rem); }
  .section { padding: 68px 0; }
  .section-title { font-size: 28px; }
  .section-cta h2 { font-size: 28px; }
  .stat strong { font-size: 36px; }
  .footer-cols { grid-template-columns: repeat(2,1fr); }
  .scroll-down { display: none; }
}


