/* ============================================================
   HIRA BABY SHOES — Privacy Policy
   Pure CSS — No Framework — Cloudflare Pages Ready
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Inter:wght@400;500;600&display=swap');

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

/* ---------- Variables ---------- */
:root {
  --coral:      #F06B6B;
  --coral-dark: #C0394B;
  --coral-soft: #FDEAEA;
  --blush:      #FFF5F5;
  --cream:      #FDF8F6;
  --slate:      #1E2A3A;
  --slate-mid:  #4A5568;
  --slate-light:#718096;
  --white:      #FFFFFF;
  --border:     #F2E0E0;
  --radius:     16px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse 70% 50% at 5% -5%,  rgba(240,107,107,0.11) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 95% 105%, rgba(192,57,75,0.08)  0%, transparent 55%);
  color: var(--slate);
  line-height: 1.7;
  min-height: 100vh;
}

a { color: var(--coral-dark); text-decoration: none; border-bottom: 1px solid rgba(192,57,75,0.30); transition: border-color .2s; }
a:hover { border-color: var(--coral-dark); }

/* ---------- Progress Bar ---------- */
#progress-bar {
  position: fixed;
  top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--coral), var(--coral-dark));
  z-index: 9999;
  transition: width .08s linear;
}

/* ---------- Header ---------- */
#site-header {
  position: sticky;
  top: 0; z-index: 500;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(240,107,107,0.14);
}
.header-inner {
  max-width: 860px; margin: 0 auto; padding: 0 24px;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
}

/* Shield */
.shield-wrap { filter: drop-shadow(0 4px 10px rgba(240,107,107,0.28)); }
.shield {
  width: 44px; height: 52px;
  clip-path: polygon(0% 0%, 100% 0%, 100% 64%, 50% 100%, 0% 64%);
  background: var(--coral-soft);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.shield img { width: 100%; height: 100%; object-fit: cover; display: block; }

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.08rem; font-weight: 700;
  color: var(--slate); letter-spacing: .04em;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  text-align: center;
  padding: 90px 24px 76px;
}
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(64px); pointer-events: none; z-index: 0;
}
.hero-blob-1 { width: 380px; height: 380px; background: rgba(240,107,107,0.13); top: -110px; left: -90px; }
.hero-blob-2 { width: 300px; height: 300px; background: rgba(192,57,75,0.09);  bottom: -70px; right: -50px; }

.hero-inner { position: relative; z-index: 1; }

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 700; line-height: 1.1;
  color: var(--slate); letter-spacing: -.02em;
}
.hero-app {
  font-size: .75rem; font-weight: 600;
  letter-spacing: .20em; color: var(--coral);
  text-transform: uppercase; margin-top: 18px;
}
.hero-date {
  display: inline-block; margin-top: 14px;
  font-size: .9rem; color: var(--slate-light);
  background: rgba(240,107,107,0.08);
  border: 1px solid rgba(240,107,107,0.20);
  border-radius: 50px; padding: 6px 20px;
}

/* ---------- Sections ---------- */
.sections {
  max-width: 860px; margin: 0 auto;
  padding: 0 24px 60px;
  display: flex; flex-direction: column; gap: 18px;
}

/* Fade-in — JS adds .visible */
.policy-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: 0 1px 4px rgba(192,57,75,0.07);
  overflow: hidden;
  transition: box-shadow .3s ease, transform .3s ease, opacity .55s ease, translateY .55s ease;
  opacity: 0; transform: translateY(26px);
}
.policy-card.visible {
  opacity: 1; transform: translateY(0);
}
.policy-card:hover {
  box-shadow: 0 6px 24px rgba(192,57,75,0.11);
  transform: translateY(-2px);
}

/* Left accent */
.policy-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 5px;
  background: linear-gradient(180deg, var(--coral) 0%, var(--coral-dark) 100%);
  border-radius: var(--radius) 0 0 var(--radius);
}

/* Faint numeral */
.card-num {
  position: absolute; right: -10px; top: -18px;
  font-family: var(--font-serif); font-size: 150px; font-weight: 700;
  color: rgba(240,107,107,0.05); line-height: 1;
  pointer-events: none; user-select: none;
}

.policy-card h2 {
  font-family: var(--font-serif);
  font-size: 1.30rem; font-weight: 600;
  color: var(--slate); margin-bottom: 14px; line-height: 1.3;
}
.policy-card p {
  color: var(--slate-mid); font-size: .97rem;
  line-height: 1.78; margin-bottom: 10px;
}
.policy-card p:last-child { margin-bottom: 0; }

.policy-card ul { list-style: none; margin: 10px 0; }
.policy-card ul li {
  color: var(--slate-mid); font-size: .97rem;
  line-height: 1.78; padding-left: 20px;
  position: relative; margin-bottom: 4px;
}
.policy-card ul li::before {
  content: '';
  position: absolute; left: 4px; top: 11px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--coral); opacity: .65;
}

/* ---------- Contact ---------- */
.contact-section { max-width: 860px; margin: 0 auto 60px; padding: 0 24px; }
.contact-card {
  background: linear-gradient(135deg, var(--coral-soft) 0%, rgba(255,245,245,0.5) 100%);
  border: 1px solid rgba(240,107,107,0.18);
  border-radius: var(--radius);
  padding: 36px 40px; text-align: center;
}
.contact-card h2 {
  font-family: var(--font-serif);
  font-size: 1.30rem; color: var(--slate); margin-bottom: 10px;
}
.contact-card p { color: var(--slate-mid); font-size: .97rem; }

/* ---------- Back to Top ---------- */
#back-to-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--coral); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(240,107,107,0.40);
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 400;
}
#back-to-top.show { opacity: 1; pointer-events: auto; }
#back-to-top:hover { transform: translateY(-2px); }
#back-to-top svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 26px 24px; text-align: center;
}
footer p { font-size: .84rem; color: var(--slate-light); letter-spacing: .01em; }

/* ---------- Print ---------- */
@media print {
  #progress-bar, #site-header, #back-to-top, .hero-blob, .card-num { display: none !important; }
  body { background: #fff; }
  .hero { padding: 32px 24px; }
  .policy-card {
    opacity: 1 !important; transform: none !important;
    box-shadow: none; border: 1px solid #eee; break-inside: avoid;
  }
  .policy-card::before { display: none; }
  .contact-card { background: #f9f9f9; border: 1px solid #eee; }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .hero { padding: 60px 20px 52px; }
  .policy-card { padding: 26px 22px; }
  .contact-card { padding: 26px 22px; }
  .card-num { font-size: 100px; }
  .brand-name { font-size: .9rem; }
  #back-to-top { bottom: 20px; right: 20px; }
}
