@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple: #6c4ef2;
  --purple-light: #8b6ff5;
  --purple-dark: #4a2fd4;
  --purple-bg: #f4f0ff;
  --gold: #e8a820;
  --text: #1a1a2e;
  --text-sub: #555570;
  --text-muted: #9090a8;
  --border: #e4e0f4;
  --white: #ffffff;
  --bg: #faf9fe;
  --radius: 14px;
  --shadow: 0 4px 24px rgba(108,78,242,0.10);
  --shadow-lg: 0 8px 40px rgba(108,78,242,0.16);
}

html { scroll-behavior: smooth; }
body { font-family: 'Noto Sans KR', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; font-size: 15px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 13px 26px; border-radius: 50px; font-size: 14px; font-weight: 600; cursor: pointer; border: none; transition: all 0.2s; }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(108,78,242,0.35); }
.btn-outline { background: transparent; color: var(--purple); border: 2px solid var(--purple); }
.btn-outline:hover { background: var(--purple-bg); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #d49a18; transform: translateY(-1px); }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* ── Layout ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-title { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.section-sub { color: var(--text-sub); margin-bottom: 40px; font-size: 15px; }

/* ── Header ── */
header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 40px; font-weight: 900; color: var(--purple); letter-spacing: -0.5px; }
.logo span { color: var(--text); }
nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: 14px; font-weight: 500; color: var(--text-sub); transition: color 0.2s; }
nav a:hover { color: var(--purple); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.btn-sm { padding: 8px 18px; font-size: 13px; border-radius: 50px; font-weight: 600; cursor: pointer; border: none; }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; line-height: 1; cursor: pointer; color: var(--text); padding: 4px 6px; margin-left: 8px; }

/* ── Hero ── */
.hero { background: linear-gradient(135deg, #f4f0ff 0%, #fff 50%, #fef3e8 100%); padding: 90px 0 80px; overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(108,78,242,0.08) 0%, transparent 70%); border-radius: 50%; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-title { font-size: 48px; font-weight: 900; line-height: 1.2; letter-spacing: -1px; margin-bottom: 20px; }
.hero-title em { color: var(--purple); font-style: normal; }
.hero-desc { color: var(--text-sub); font-size: 16px; line-height: 1.8; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-orb { width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(108,78,242,0.25), rgba(108,78,242,0.05)); border: 1.5px solid rgba(108,78,242,0.2); display: flex; align-items: center; justify-content: center; animation: float 6s ease-in-out infinite; }
.hero-orb::after { content: '✦'; font-size: 64px; color: var(--purple); opacity: 0.6; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-16px)} }

/* ── Category Bar ── */
.cat-bar { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cat-list { display: flex; justify-content: space-around; padding: 24px 0; gap: 8px; }
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; padding: 8px 16px; border-radius: var(--radius); transition: background 0.2s; }
.cat-item:hover { background: var(--purple-bg); }
.cat-icon { width: 44px; height: 44px; background: var(--purple-bg); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.cat-label { font-size: 13px; font-weight: 500; color: var(--text-sub); }

/* ── Recommend Cards ── */
.rec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rec-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px 20px; transition: all 0.2s; cursor: pointer; }
.rec-card:hover { border-color: var(--purple); box-shadow: var(--shadow); transform: translateY(-2px); }
.rec-icon { width: 48px; height: 48px; background: var(--purple-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 16px; }
.rec-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.rec-sub { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.price-card { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px 22px; position: relative; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--purple); box-shadow: var(--shadow-lg); }
.price-card.featured::before { content: '인기'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--purple); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 12px; border-radius: 50px; }
.price-badge { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; color: var(--purple); margin-bottom: 10px; }
.price-name { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.price-amount { font-size: 26px; font-weight: 900; color: var(--purple); margin-bottom: 20px; }
.price-amount span { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.price-list { flex: 1; margin-bottom: 24px; }
.price-list li { font-size: 13px; color: var(--text-sub); padding: 5px 0; display: flex; align-items: flex-start; gap: 8px; }
.price-list li::before { content: '✓'; color: var(--purple); font-weight: 700; flex-shrink: 0; }
.price-cta { margin-top: auto; }

/* ── Reviews ── */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { background: var(--bg); border-radius: var(--radius); padding: 24px; }
.stars { color: #f59e0b; font-size: 14px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--text-sub); line-height: 1.7; margin-bottom: 12px; font-style: italic; }
.review-author { font-size: 13px; color: var(--text-muted); font-weight: 500; }

/* ── Footer ── */
footer { background: #1a1a2e; color: rgba(255,255,255,0.6); padding: 48px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.footer-col li { font-size: 13px; margin-bottom: 8px; cursor: pointer; }
.footer-col li:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; font-size: 12px; text-align: center; }

/* ── Product Detail Page ── */
.breadcrumb { padding: 16px 0; font-size: 13px; color: var(--text-muted); }
.breadcrumb a { color: var(--purple); }
.breadcrumb span { margin: 0 8px; }

.product-hero { background: linear-gradient(135deg, #f4f0ff, #fff); padding: 60px 0; }
.product-hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.product-badge { display: inline-block; background: var(--purple-bg); color: var(--purple); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 50px; letter-spacing: 1px; margin-bottom: 16px; }
.product-title { font-size: 36px; font-weight: 900; letter-spacing: -0.5px; margin-bottom: 16px; line-height: 1.2; }
.product-desc { color: var(--text-sub); font-size: 16px; line-height: 1.8; margin-bottom: 24px; }
.product-price-box { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px; }
.product-price { font-size: 36px; font-weight: 900; color: var(--purple); margin-bottom: 6px; }
.product-price-note { font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.product-includes { background: var(--bg); border-radius: 10px; padding: 20px; margin-bottom: 20px; }
.product-includes h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.product-includes li { font-size: 13px; color: var(--text-sub); padding: 4px 0; display: flex; gap: 8px; }
.product-includes li::before { content: '✓'; color: var(--purple); font-weight: 700; }

.detail-section { padding: 60px 0; border-bottom: 1px solid var(--border); }
.detail-section:last-child { border-bottom: none; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.detail-tag { display: inline-block; background: var(--purple-bg); color: var(--purple); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 50px; margin-bottom: 12px; }
.detail-title { font-size: 24px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.detail-text { color: var(--text-sub); font-size: 15px; line-height: 1.8; }
.detail-img { background: linear-gradient(135deg, var(--purple-bg), #fff); border-radius: var(--radius); height: 260px; display: flex; align-items: center; justify-content: center; font-size: 60px; border: 1.5px solid var(--border); }

/* ── Sticky Order Bar ── */
.sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); border-top: 1.5px solid var(--border); padding: 14px 0; z-index: 99; transform: translateY(100px); transition: transform 0.3s; }
.sticky-bar.show { transform: translateY(0); }
.sticky-inner { display: flex; align-items: center; justify-content: space-between; }
.sticky-info span:first-child { font-size: 16px; font-weight: 700; display: block; }
.sticky-info span:last-child { font-size: 22px; font-weight: 900; color: var(--purple); }

/* ── Order Form ── */
.order-page { max-width: 640px; margin: 0 auto; padding: 60px 24px 80px; }
.order-title { font-size: 28px; font-weight: 800; margin-bottom: 8px; }
.order-sub { color: var(--text-sub); margin-bottom: 40px; }
.order-summary { background: var(--purple-bg); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 36px; display: flex; justify-content: space-between; align-items: center; }
.order-summary-name { font-weight: 700; font-size: 16px; }
.order-summary-price { font-size: 22px; font-weight: 900; color: var(--purple); }

.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form-label span { color: #e53e3e; margin-left: 2px; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 14px; color: var(--text); background: var(--white); transition: border-color 0.2s; outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--purple); }
.form-textarea { height: 100px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 6px; }
.form-check input { margin-top: 3px; accent-color: var(--purple); }
.form-check label { font-size: 13px; color: var(--text-sub); line-height: 1.5; }

.divider { border: none; border-top: 1.5px solid var(--border); margin: 32px 0; }
.section-heading { font-size: 17px; font-weight: 700; margin-bottom: 20px; }

/* ── Complete Page ── */
.complete-page { max-width: 540px; margin: 80px auto; padding: 0 24px; text-align: center; }
.complete-icon { width: 80px; height: 80px; background: var(--purple-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 38px; margin: 0 auto 24px; }
.complete-title { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.complete-sub { color: var(--text-sub); font-size: 16px; line-height: 1.7; margin-bottom: 32px; }
.complete-box { background: var(--bg); border-radius: var(--radius); padding: 24px; margin-bottom: 28px; text-align: left; }
.complete-box h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.complete-box li { font-size: 14px; color: var(--text-sub); padding: 5px 0; display: flex; gap: 8px; }
.complete-box li::before { content: '•'; color: var(--purple); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero-inner, .product-hero-inner, .detail-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .rec-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 28px rgba(0,0,0,0.1); padding: 8px 24px;
  }
  nav.nav-open { display: flex; }
  nav a { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
  nav a:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .pricing-grid, .rec-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 34px; }
  .cat-list { flex-wrap: wrap; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
