/* ============================================================
   SK AUTO LAB LTD — Privacy Policy
   Pure CSS, no framework
   ============================================================ */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0F172A;
  --navy2:   #1E293B;
  --navy3:   #334155;
  --red:     #DC2626;
  --red2:    #B91C1C;
  --slate:   #64748B;
  --light:   #F8FAFC;
  --white:   #FFFFFF;
  --border:  #E2E8F0;
  --text:    #1E293B;
  --muted:   #64748B;
  --radius:  12px;
  --shadow:  0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'Courier New', monospace;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--light);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 3px; }

img { max-width: 100%; height: auto; display: block; }

/* --- CONTAINER --- */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- PROGRESS BAR --- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--red), #F97316);
  z-index: 9999;
  transition: width .1s linear;
}

/* --- HEADER --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .2s;
}

.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.35); }

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

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

.logo-fallback {
  display: none;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--white);
  text-transform: uppercase;
}

.header-nav { display: flex; align-items: center; gap: 12px; }

.btn-print {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s;
  font-family: var(--font);
}

.btn-print:hover { background: rgba(255,255,255,.15); color: var(--white); }
.btn-print:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* --- HERO --- */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 80px 0 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 10% 50%, rgba(220,38,38,.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 90% 20%, rgba(99,102,241,.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(220,38,38,.4), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(220,38,38,.15);
  border: 1px solid rgba(220,38,38,.3);
  color: #FCA5A5;
  border-radius: 100px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.55);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 4px;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: rgba(255,255,255,.05);
  border-radius: 100px;
}

.meta-divider { color: rgba(255,255,255,.2); }

/* --- MAIN --- */
.main { padding: 48px 0 80px; }

.content-wrap { display: flex; flex-direction: column; gap: 20px; }

/* --- POLICY CARD --- */
.policy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.policy-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, #FAFAFA 0%, var(--white) 100%);
}

.card-num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  border-radius: 8px;
  font-family: var(--mono);
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.01em;
  line-height: 1.3;
}

.card-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-body p {
  color: #374151;
  font-size: .925rem;
  line-height: 1.75;
}

.card-body ul {
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0;
}

.card-body ul li {
  position: relative;
  padding-left: 20px;
  color: #374151;
  font-size: .9rem;
  line-height: 1.65;
}

.card-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.card-body strong { color: var(--navy); font-weight: 600; }

.text-link {
  color: var(--red);
  font-weight: 600;
  word-break: break-all;
}

.text-link:hover { color: var(--red2); }

/* Contact block in section 20 */
.contact-block {
  background: #F8FAFC;
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 0 8px 8px 0;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.contact-block p { font-size: .9rem; color: #374151; }

/* --- FOOTER --- */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  opacity: .8;
}

.footer-logo-fallback {
  display: none;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
}

.footer-copy {
  color: rgba(255,255,255,.35);
  font-size: .8rem;
}

/* --- BACK TO TOP --- */
.back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(220,38,38,.4);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s, transform .25s, background .2s;
  z-index: 200;
  pointer-events: none;
}

.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background: var(--red2); }
.back-to-top:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

/* --- PRINT --- */
@media print {
  .header, .progress-bar, .back-to-top, .btn-print { display: none !important; }
  .hero { padding: 24px 0; }
  .policy-card { break-inside: avoid; box-shadow: none; border: 1px solid #ccc; }
  body { background: white; }
}

/* --- RESPONSIVE --- */
@media (max-width: 640px) {
  .hero { padding: 52px 0 48px; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: .95rem; }
  .card-header { padding: 16px 18px 14px; gap: 12px; }
  .card-num { width: 34px; height: 34px; font-size: .65rem; }
  .card-title { font-size: .95rem; }
  .card-body { padding: 18px 18px; }
  .main { padding: 32px 0 60px; }
  .back-to-top { bottom: 18px; right: 18px; }
  .hero-meta { gap: 6px 3px; }
}

@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .btn-print span { display: none; }
}
