/* ═══════════════════════════════════════════════════
   BNV2RAY PRIVACY POLICY — Design System
   ═══════════════════════════════════════════════════ */

/* ── Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600&display=swap');

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

/* ── Variables ── */
:root {
  --ink: #1a1a2e;
  --ink-light: #4a4a68;
  --ink-muted: #78789d;
  --paper: #fafafc;
  --paper-alt: #f3f3f8;
  --surface: #ffffff;
  --border: #e8e8f0;
  --border-light: #f0f0f6;
  --accent: #6366f1;
  --accent-light: #eef0ff;
  --accent-dark: #4f46e5;
  --amber-bg: #fffbf0;
  --amber-border: #f0c060;
  --amber-text: #8a6a20;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.03);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow: 0 4px 16px rgba(0,0,0,0.05);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Base ── */
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p, li {
  color: var(--ink-light);
  font-size: 0.975rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

/* ── Container ── */
.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px 80px;
}

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  background: var(--ink);
  padding: 72px 28px 80px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 25% 75%, rgba(99,102,241,0.18) 0%, transparent 45%),
    radial-gradient(circle at 75% 25%, rgba(168,85,247,0.15) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.hero-icon {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  backdrop-filter: blur(16px);
  font-size: 28px;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 8px;
  line-height: 1.2;
}

.hero .tagline {
  font-size: 1rem;
  opacity: 0.75;
  font-weight: 400;
  margin-bottom: 24px;
}

.hero .meta-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  opacity: 0.6;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.hero .meta-row span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ═══════════════════════════════════════════════════
   NOTICE BANNER
   ═══════════════════════════════════════════════════ */
.notice-banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: -36px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.notice-banner .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #fef3c7;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.notice-banner p {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════════════ */
.section {
  margin-top: 40px;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 32px 28px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border);
}

.card-alt {
  background: var(--paper-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 32px 32px 28px;
}

.card h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 24px 0 10px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.card h3:first-of-type {
  margin-top: 0;
}

.card p,
.card li {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.7;
}

.card p {
  margin-bottom: 12px;
}

.card ul {
  padding-left: 20px;
  margin: 8px 0 16px;
}

.card li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.card li::marker {
  color: var(--accent);
  content: '— ';
}

/* ── Checklist style ── */
.checklist {
  list-style: none;
  padding-left: 0 !important;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checklist li::before {
  content: '✓';
  color: #22c55e;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ═══════════════════════════════════════════════════
   TABLE
   ═══════════════════════════════════════════════════ */
.table-wrap {
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 620px;
}

thead {
  background: var(--paper-alt);
}

th {
  text-align: left;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--border);
}

td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--ink-light);
  vertical-align: top;
  line-height: 1.6;
}

tr:last-child td {
  border-bottom: none;
}

td:first-child {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-dark);
  font-weight: 500;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════
   INFO BOX
   ═══════════════════════════════════════════════════ */
.info-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px;
  margin: 20px 0;
  font-size: 0.9rem;
  color: #4338ca;
  line-height: 1.6;
}

.info-box strong {
  color: #3730a3;
}

.info-box-amber {
  background: var(--amber-bg);
  border-left: 4px solid var(--amber-border);
  color: var(--amber-text);
}

.info-box-amber strong {
  color: #6b4e10;
}

/* ═══════════════════════════════════════════════════
   THIRD-PARTY SERVICE CARDS
   ═══════════════════════════════════════════════════ */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.service-item {
  background: var(--paper-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  transition: box-shadow var(--transition);
}

.service-item:hover {
  box-shadow: var(--shadow-sm);
}

.service-item .svc-icon {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.service-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.service-item p,
.service-item li {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.service-item ul {
  padding-left: 16px;
  margin: 4px 0 8px;
}

.service-item a {
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════
   DISCLAIMER CARD (SPECIAL)
   ═══════════════════════════════════════════════════ */
.disclaimer-card {
  background: #fffbf0;
  border: 1px solid #f0d070;
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  position: relative;
}

.disclaimer-card .disclaimer-icon {
  position: absolute;
  top: -18px;
  left: 28px;
  width: 36px;
  height: 36px;
  background: #f59e0b;
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(245,158,11,0.3);
}

.disclaimer-card h2 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: #6b4e10;
}

.disclaimer-card p {
  font-size: 0.95rem;
  color: #7a5d20;
  line-height: 1.7;
  margin-bottom: 10px;
}

.disclaimer-card strong {
  color: #5a4010;
}

/* ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.footer {
  margin-top: 56px;
  text-align: center;
  padding: 32px 20px;
  border-top: 1px solid var(--border-light);
}

.footer p {
  font-size: 0.825rem;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 8px;
}

.footer .footer-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-muted);
  transition: color var(--transition);
}

.footer .footer-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .hero {
    padding: 52px 20px 60px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .container {
    padding: 0 16px 56px;
  }

  .card,
  .card-alt {
    padding: 22px 18px 20px;
  }

  .section {
    margin-top: 28px;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .notice-banner {
    flex-direction: column;
    align-items: flex-start;
    margin-top: -24px;
    padding: 18px 20px;
  }

  .disclaimer-card {
    padding: 22px 18px 20px;
  }
}

@media (max-width: 480px) {
  .hero .meta-row {
    gap: 14px;
    font-size: 0.75rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
