:root {
  --brand: #17A4BB;
  --brand-dark: #0E7A8C;
  --brand-light: #7BD3E0;
  --ink: #0B1F26;
  --ink-soft: #4A5E66;
  --line: #E5EEF0;
  --bg-soft: #F5FAFB;
  --shadow-sm: 0 2px 8px rgba(11,31,38,.06);
  --shadow-md: 0 8px 24px rgba(11,31,38,.08);
  --shadow-lg: 0 20px 50px rgba(11,31,38,.12);
}
* { 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%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.header { position: sticky; top: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); z-index: 100; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 32px; }
.logo img { height: 48px; width: auto; display: block; }
.nav { display: flex; gap: 32px; flex: 1; justify-content: center; }
.nav a { font-weight: 500; color: var(--ink-soft); font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--brand); }
.header-cta { display: flex; gap: 8px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 18px; border-radius: 10px; font-weight: 600; border: none; cursor: pointer; font-size: 14px; transition: all .18s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(23,164,187,.3); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-secondary { background: #F0F6F7; color: var(--ink); }
.btn-secondary:hover { background: #E0ECEE; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 16px; border-radius: 12px; }

.hero { position: relative; background: linear-gradient(180deg, #F5FAFB 0%, #E8F5F7 100%); overflow: hidden; padding: 80px 0 0; }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(23,164,187,0.25) 0%, transparent 50%), radial-gradient(circle at 20% 80%, rgba(123,211,224,0.2) 0%, transparent 50%); pointer-events: none; }
.hero-inner { position: relative; text-align: center; padding-bottom: 60px; }
.hero-badge { display: inline-block; background: rgba(23,164,187,0.12); color: var(--brand-dark); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; margin-bottom: 20px; letter-spacing: 0.5px; }
.hero h1 { font-size: 56px; font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 20px; }
.hero-accent { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc { font-size: 18px; color: var(--ink-soft); margin-bottom: 32px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.hero-cta .btn-outline { border-color: var(--brand); color: var(--brand-dark); }
.hero-cta .btn-outline:hover { background: var(--brand); color: #fff; }
.hero-metrics { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.hero-metric { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero-metric strong { font-size: 32px; font-weight: 900; color: var(--brand-dark); }
.hero-metric span { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.hero-ads { overflow: hidden; padding: 24px 0; background: rgba(11,31,38,0.04); border-top: 1px solid rgba(11,31,38,0.06); }
.hero-ads-track { display: flex; gap: 16px; width: max-content; animation: hero-ads-scroll 45s linear infinite; }
.hero-ads-track:hover { animation-play-state: paused; }
.hero-ad-slot { flex: 0 0 240px; height: 80px; background: #fff; border: 1px dashed var(--line); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); font-weight: 600; font-size: 13px; transition: all .15s; }
.hero-ad-slot:hover { background: #fff; border-color: var(--brand); color: var(--brand-dark); }
@keyframes hero-ads-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 8px)); } }

.section { padding: 100px 0; }
.section-alt { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 56px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--brand); margin-bottom: 12px; }
.section-title { font-size: 40px; font-weight: 900; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 12px; }
.section-sub { font-size: 17px; color: var(--ink-soft); }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 24px; transition: all .2s; text-align: left; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-light); }
.feature-icon { width: 56px; height: 56px; border-radius: 14px; background: linear-gradient(135deg, rgba(23,164,187,0.15), rgba(123,211,224,0.25)); display: flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 20px; }
.feature h3 { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.feature p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; transition: all .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-light); }
.card-thumb { height: 72px; display: flex; align-items: center; margin-bottom: 20px; font-size: 56px; line-height: 1; }
.card { position: relative; overflow: hidden; }
.card-soon { opacity: 0.85; }
.card-soon::before {
  content: '준비중';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
  font-size: 64px;
  font-weight: 900;
  color: rgba(245,158,11,0.22);
  letter-spacing: 6px;
  pointer-events: none;
  white-space: nowrap;
  text-shadow: 0 2px 4px rgba(245,158,11,0.15);
  z-index: 1;
}
.card-soon > * { position: relative; z-index: 2; }
.card-thumb img { max-height: 56px; width: auto; display: block; }
.card-thumb-naver img { max-height: 32px; }
.card-thumb-myshop img { max-height: 64px; }
.card-thumb-order img { max-height: 72px; width: auto; display: block; }
.card-thumb-upload img { max-height: 72px; width: auto; display: block; }
.card-thumb-youtube svg { height: 40px; width: auto; display: block; }
.card-thumb-kream .kream-logo { font-family: 'Arial Black', 'Arial', sans-serif; font-weight: 900; font-style: italic; font-size: 32px; color: #000; letter-spacing: -1px; }
.card h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 14px; margin-bottom: 24px; }
.card-foot { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.btn-download { padding: 10px 16px; font-size: 14px; }

.section-dark { background: linear-gradient(135deg, var(--ink) 0%, #0F3139 100%); color: #fff; padding: 70px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; text-align: center; }
.stat strong { display: block; font-size: 44px; font-weight: 900; color: var(--brand-light); letter-spacing: -0.02em; margin-bottom: 6px; }
.stat span { font-size: 14px; color: rgba(255,255,255,0.7); font-weight: 500; }

.review-marquee { overflow: hidden; margin-bottom: 40px; position: relative; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee-scroll 40s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.review-card { width: 360px; flex-shrink: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-sizing: border-box; cursor: pointer; transition: all .2s; }
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-light); }
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 10px)); } }
@media (max-width: 600px) { .review-card { width: 280px; } }
.review-stars { color: #F5B016; font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { color: var(--ink); font-size: 15px; line-height: 1.65; 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: rgba(23,164,187,0.12); color: var(--brand-dark); padding: 4px 10px; border-radius: 12px; 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: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); cursor: zoom-in; transition: transform .15s; }
.review-images img:hover { transform: scale(1.05); }

.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 24px; transition: border-color .15s; }
.faq-item[open] { border-color: var(--brand-light); box-shadow: var(--shadow-sm); }
.faq-item summary { font-weight: 700; font-size: 16px; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 24px; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin-top: 12px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }

.section-cta { background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; text-align: center; padding: 90px 0; }
.section-cta h2 { font-size: 40px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 12px; }
.section-cta p { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.section-cta .btn-primary { background: #fff; color: var(--brand-dark); }
.section-cta .btn-primary:hover { background: var(--ink); color: #fff; }

.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(11,31,38,0.6); cursor: pointer; }
.modal-content { position: relative; background: #fff; border-radius: 20px; max-width: 560px; 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: 28px; cursor: pointer; color: var(--ink-soft); line-height: 1; padding: 6px 10px; border-radius: 8px; transition: all .15s; }
.modal-close:hover { background: var(--bg-soft); color: var(--ink); }
.modal-stars { color: #F5B016; font-size: 22px; letter-spacing: 3px; margin-bottom: 12px; }
.modal-product { display: inline-block; background: rgba(23,164,187,0.12); color: var(--brand-dark); padding: 5px 12px; border-radius: 14px; 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 { color: var(--ink); font-size: 16px; line-height: 1.75; margin-bottom: 20px; white-space: pre-wrap; word-break: break-word; }
.modal-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.modal-images img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; cursor: zoom-in; border: 1px solid var(--line); transition: transform .15s; }
.modal-images img:hover { transform: scale(1.03); }

.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(11,31,38,0.92); 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.15); border: none; color: #fff; font-size: 28px; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; line-height: 1; }
.lightbox-close:hover { background: rgba(255,255,255,0.28); }

.review-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-weight: 600; font-size: 14px; color: var(--ink); }
.form-group input[type="text"], .form-group select, .form-group textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; font-family: inherit;
  transition: border-color .15s;
}
.form-group input[type="text"]:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--brand);
}
.form-group textarea { resize: vertical; }
.star-input { font-size: 32px; color: #F5B016; cursor: pointer; user-select: none; letter-spacing: 4px; }
.star-input span:hover { opacity: 0.7; }
.preview-grid { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.preview-grid img { width: 100px; height: 100px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.form-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.form-msg { text-align: center; padding: 12px; border-radius: 10px; font-weight: 600; display: none; }
.form-msg.success { display: block; background: #D1F5E0; color: #0E6B3A; }
.form-msg.error { display: block; background: #FDE2E2; color: #991B1B; }

.footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 60px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.5fr 2fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { height: 40px; width: auto; filter: brightness(0) invert(1) opacity(0.9); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.5); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); font-size: 14px; padding: 4px 0; transition: color .15s; }
.footer-col a:hover { color: var(--brand-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; font-size: 13px; color: rgba(255,255,255,0.5); text-align: center; }

@media (max-width: 960px) {
  .nav { display: none; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 36px; }
  .hero-desc { font-size: 16px; }
  .section { padding: 70px 0; }
  .section-title { font-size: 30px; }
  .section-cta h2 { font-size: 30px; }
  .stat strong { font-size: 34px; }
  .hero-metrics { gap: 24px; }
  .hero-metric strong { font-size: 26px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}
