:root {
  /* Brand — divey 앱 네이비 팔레트 (출처: divey-specs/design/system.md §2) */
  --primary: #0A4DA2;
  --primary-light: #1A6FD4;
  --primary-dark: #063573;
  --accent: #FF6B4A;
  --accent-soft: #FF8B72;
  --ocean-deep: #021B3A;

  /* Surface */
  --surface: #ffffff;
  --bg: #f4f6fa;
  --border: #e4e9f0;

  /* Text */
  --text: #0f1724;
  --text-sub: #5a6477;
  --text-mute: #94a0b4;

  /* Semantic */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #dc2626;

  /* Category gradients (system.md §6.1) */
  --grad-freedive: linear-gradient(160deg, #021b3a 0%, #0a4da2 40%, #38bdf8 100%);
  --grad-scuba: linear-gradient(160deg, #064e3b 0%, #059669 40%, #6ee7b7 100%);
  --grad-mermaid: linear-gradient(160deg, #4c1d95 0%, #7c3aed 40%, #c4b5fd 100%);

  /* Radius (system.md §4.1) */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 24px;

  /* Shadow (system.md §4.2 — 브랜드 블루 기반) */
  --s-sm: 0 1px 3px rgba(10, 77, 162, 0.06);
  --s-md: 0 4px 16px rgba(10, 77, 162, 0.1);
  --s-lg: 0 12px 40px rgba(10, 77, 162, 0.16);

  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--primary);
  font-family: "Plus Jakarta Sans", "Pretendard Variable", Pretendard, sans-serif;
}
.brand-logo {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block;
  flex: none;
}
.brand .brand-text { line-height: 1; }
.brand .brand-by {
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
  letter-spacing: 0;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}
.nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-sub);
}
.nav a:hover { color: var(--primary); }

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 820px) {
  .nav { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  border-radius: var(--r-sm);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform .12s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 22px rgba(10, 77, 162, 0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  box-shadow: 0 10px 26px rgba(6, 53, 115, 0.45);
}

.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  border-radius: 8px;
}
.btn-primary.btn-sm { box-shadow: 0 4px 14px rgba(10, 77, 162, 0.3); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 116px 0 128px;
  color: #eaf2ff;
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(56, 189, 248, 0.4), transparent 65%),
    radial-gradient(720px 460px at 5% 100%, rgba(26, 111, 212, 0.45), transparent 70%),
    linear-gradient(150deg, #021b3a 0%, #063573 42%, #0a4da2 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(2px 2px at 18% 28%, rgba(255,255,255,0.35), transparent 60%),
    radial-gradient(2px 2px at 72% 66%, rgba(255,255,255,0.22), transparent 60%),
    radial-gradient(2px 2px at 42% 82%, rgba(255,255,255,0.28), transparent 60%);
  pointer-events: none;
  opacity: 0.6;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #021b3a;
  background: rgba(219, 234, 254, 0.95);
  padding: 6px 13px;
  border-radius: 999px;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 18px rgba(26, 111, 212, 0.3);
}
.hero-title {
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 22px;
  color: #ffffff;
}
.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(234, 242, 255, 0.85);
  margin: 0 0 32px;
  max-width: 640px;
}
.hero-actions {
  display: inline-flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  color: #fff;
}
.hero-deco {
  position: absolute;
  inset: auto 0 -1px 0;
  height: 80px;
  background:
    radial-gradient(60% 100% at 20% 100%, rgba(26, 111, 212, 0.4), transparent 70%),
    radial-gradient(60% 100% at 80% 100%, rgba(56, 189, 248, 0.32), transparent 70%);
  pointer-events: none;
}

/* Sections */
.section {
  padding: 92px 0;
  scroll-margin-top: 80px;
}
.section-alt {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head {
  max-width: 720px;
  margin: 0 0 52px;
}
.kicker-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.section-kicker {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--primary);
  background: #eef4ff;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.4;
}
.status-pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  margin-right: 7px;
}
.section-title {
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 0 0 18px;
}
.section-lede {
  font-size: 17px;
  color: var(--text-sub);
  margin: 0;
}

/* Feature / category cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--s-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--s-md);
  border-color: var(--primary-light);
}
.card-bar { height: 5px; }
.card-bar.freedive { background: var(--grad-freedive); }
.card-bar.scuba { background: var(--grad-scuba); }
.card-bar.mermaid { background: var(--grad-mermaid); }
.card-body { padding: 26px 24px; }
.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.feature-card p {
  margin: 0;
  color: var(--text-sub);
  font-size: 14.5px;
}
@media (max-width: 860px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* Steps (이용 흐름) */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px 20px;
  position: relative;
}
.step .step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(10, 77, 162, 0.22);
}
.step.is-pay .step-no { background: var(--accent); box-shadow: 0 6px 16px rgba(255, 107, 74, 0.28); }
.step h4 { margin: 0 0 6px; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 14px; color: var(--text-sub); }
@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}

/* Info / pricing blocks */
.info-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
@media (max-width: 860px) {
  .info-grid { grid-template-columns: 1fr; }
}
.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--s-sm);
}
.info-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.info-card p { margin: 0 0 12px; color: var(--text-sub); font-size: 15px; }
.info-card p:last-child { margin-bottom: 0; }

.bullet-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bullet-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--text-sub);
  font-size: 15px;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--primary);
}
.bullet-list li:last-child { margin-bottom: 0; }

/* Pay method chips */
.pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: #eef4ff;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
}

/* Generic table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  margin-top: 6px;
}
.data-table th, .data-table td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--border);
}
.data-table th {
  background: #eef4ff;
  color: var(--primary-dark);
  font-weight: 700;
}
.data-table td { color: var(--text-sub); }
.data-table tr:last-child td { border-bottom: none; }

/* Contact */
.contact-inner {
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
}
.contact-inner .section-title { margin-bottom: 12px; }
.contact-body { color: var(--text-sub); font-size: 17px; margin: 0 0 12px; }
.contact-meta {
  color: var(--text-mute);
  font-size: 15px;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 4px 10px;
}
.contact-meta .nowrap { white-space: nowrap; }
.contact-meta .dot { opacity: 0.5; }
@media (max-width: 520px) {
  .contact-meta .dot { display: none; }
}
.contact-email {
  display: inline-block;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.005em;
  padding: 14px 24px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 8px 22px rgba(10, 77, 162, 0.28);
  transition: transform .12s ease, box-shadow .2s ease;
}
.contact-email:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(6, 53, 115, 0.38);
}

/* Footer (전 페이지 공통 — 전자상거래법 제10조 표시) */
.site-footer {
  padding: 44px 0 52px;
  border-top: 1px solid var(--border);
  color: var(--text-sub);
  background: #fff;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  color: var(--primary);
  font-size: 17px;
  margin-bottom: 16px;
  font-family: "Plus Jakarta Sans", "Pretendard Variable", Pretendard, sans-serif;
}
.footer-brand .brand-logo { width: 26px; height: 26px; border-radius: 7px; }
.footer-brand .brand-by {
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mute);
}
.biz-info {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 13.5px;
  color: var(--text-sub);
  margin: 0 0 16px;
  max-width: 820px;
}
.biz-info .biz-item { white-space: nowrap; }
.biz-info .biz-item.addr { white-space: normal; }
.biz-info .label { color: var(--text-mute); margin-right: 4px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0 0 18px;
  font-size: 14px;
}
.footer-links a { color: var(--text-sub); font-weight: 600; }
.footer-links a:hover { color: var(--primary); }
.footer-links a.em { color: var(--primary); }
.footer-copy { margin: 0; font-size: 13px; color: var(--text-mute); }
