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

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

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

:root {
  --coral:      #F06B6B;
  --coral-dark: #C0394B;
  --coral-soft: #F9DCDC;
  --blush:      #FFF5F5;
  --cream:      #FDF8F6;
  --slate:      #1E2A3A;
  --slate-mid:  #4A5568;
  --slate-light:#718096;
  --white:      #FFFFFF;
  --card-border:#F2E4E4;
  --radius:     16px;
  --shadow-sm:  0 1px 4px rgba(192,57,75,0.07);
  --shadow-md:  0 4px 20px rgba(192,57,75,0.10);
  --shadow-lg:  0 8px 40px rgba(192,57,75,0.13);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--slate);
  line-height: 1.7;
  min-height: 100vh;
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(240,107,107,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(240,107,107,0.08) 0%, transparent 55%);
}

/* ---------- 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: 1000;
  transition: width 0.1s linear;
}

/* ---------- Header ---------- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(240,107,107,0.12);
}

.header-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Shield logo */
.shield-wrap {
  filter: drop-shadow(0 4px 10px rgba(240,107,107,0.30));
}
.shield {
  width: 46px;
  height: 54px;
  clip-path: polygon(0% 0%, 100% 0%, 100% 65%, 50% 100%, 0% 65%);
  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.1rem;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: 0.04em;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 96px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}
.hero-blob-1 {
  width: 400px; height: 400px;
  background: rgba(240,107,107,0.12);
  top: -120px; left: -100px;
}
.hero-blob-2 {
  width: 320px; height: 320px;
  background: rgba(192,57,75,0.08);
  bottom: -80px; right: -60px;
}

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

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--slate);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-app {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--coral);
  text-transform: uppercase;
  margin-top: 20px;
}

.hero-date {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--slate-light);
  background: rgba(240,107,107,0.07);
  border: 1px solid rgba(240,107,107,0.18);
  border-radius: 50px;
  padding: 6px 18px;
}

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

.policy-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(28px);
}
.policy-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
}
.policy-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Left accent bar */
.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 background numeral */
.card-num {
  position: absolute;
  right: -12px; top: -20px;
  font-family: var(--font-serif);
  font-size: 160px;
  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.35rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 14px;
  line-height: 1.3;
}

.policy-card p {
  color: var(--slate-mid);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 10px;
}
.policy-card p:last-child { margin-bottom: 0; }

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

/* ---------- Contact ---------- */
.contact-section {
  max-width: 860px;
  margin: 0 auto 64px;
  padding: 0 24px;
}

.contact-card {
  background: linear-gradient(135deg, var(--coral-soft) 0%, rgba(255,240,240,0.4) 100%);
  border: 1px solid rgba(240,107,107,0.20);
  border-radius: var(--radius);
  padding: 36px 40px;
  text-align: center;
}

.contact-card h2 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--slate);
  margin-bottom: 10px;
}
.contact-card p {
  color: var(--slate-mid);
  font-size: 0.97rem;
}
.contact-card a {
  color: var(--coral-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(192,57,75,0.3);
  transition: border-color 0.2s;
}
.contact-card a:hover { border-color: var(--coral-dark); }

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

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

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .policy-card { padding: 28px 24px; }
  .hero { padding: 64px 20px 56px; }
  .card-num { font-size: 100px; }
  .brand-name { font-size: 0.9rem; }
  .contact-card { padding: 28px 24px; }
}
