/* ============================================================
   KIDDIO TOYS LTD — Privacy Policy  |  style.css
   Premium single-page design · Pure CSS3 · No framework
   ============================================================ */

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

:root {
  --clr-brand-1:   #5b3fde;   /* deep violet */
  --clr-brand-2:   #8b5cf6;   /* medium purple */
  --clr-brand-3:   #a3e635;   /* neon lime accent */
  --clr-brand-4:   #22d3ee;   /* cyan accent */
  --clr-hero-bg:   #0f0a2e;   /* near-black space */
  --clr-hero-mid:  #1e0f52;
  --clr-page-bg:   #f8f9fc;
  --clr-surface:   #ffffff;
  --clr-border:    #e8ecf5;
  --clr-text:      #1a1d2e;
  --clr-text-muted:#64748b;
  --clr-number:    rgba(91, 63, 222, 0.08);
  --clr-contact-bg:#f3f0ff;

  --shadow-card:   0 2px 12px rgba(91,63,222,.07), 0 8px 32px rgba(91,63,222,.05);
  --shadow-hover:  0 6px 24px rgba(91,63,222,.14), 0 16px 48px rgba(91,63,222,.08);
  --shadow-header: 0 2px 20px rgba(15,10,46,.18);

  --radius-card:   20px;
  --radius-pill:   50px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  --transition: .25s cubic-bezier(.4,0,.2,1);
  --max-w: 820px;
}

html { scroll-behavior: smooth; }

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

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

a { color: var(--clr-brand-1); text-decoration: none; }
a:hover { text-decoration: underline; }


/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15,10,46,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(163,230,53,.18);
  box-shadow: var(--shadow-header);
}

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

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

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid rgba(163,230,53,.35);
  box-shadow: 0 0 12px rgba(163,230,53,.25);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
}

.brand-tagline {
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  letter-spacing: .04em;
}

.header-badge {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--clr-brand-3);
  background: rgba(163,230,53,.1);
  border: 1px solid rgba(163,230,53,.28);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}


/* ── Hero ── */
.hero {
  position: relative;
  background: linear-gradient(145deg, var(--clr-hero-bg) 0%, var(--clr-hero-mid) 60%, #2d1270 100%);
  padding: 80px 24px 0;
  overflow: hidden;
  text-align: center;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero-glow--1 {
  width: 500px; height: 500px;
  background: rgba(91,63,222,.35);
  top: -160px; left: 50%;
  transform: translateX(-50%);
}
.hero-glow--2 {
  width: 340px; height: 340px;
  background: rgba(163,230,53,.12);
  bottom: 40px; right: -80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
  padding-bottom: 64px;
}

.hero-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 28px;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(163,230,53,.4);
  box-shadow:
    0 0 0 8px rgba(91,63,222,.18),
    0 0 40px rgba(163,230,53,.22),
    0 8px 40px rgba(0,0,0,.5);
  animation: float 4s ease-in-out infinite;
}

.hero-shield-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 36px;
  letter-spacing: .04em;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(8px);
}

.meta-pill strong { color: var(--clr-brand-3); font-weight: 700; }

.meta-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--clr-brand-4);
}

.hero-wave {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}


/* ── Main content ── */
.main-content {
  background: var(--clr-page-bg);
  padding: 60px 20px 80px;
}

.content-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}


/* ── Policy card ── */
.policy-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);

  /* animate-in state */
  opacity: 0;
  transform: translateY(24px);
}

.policy-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity .5s ease,
    transform .5s cubic-bezier(.22,.68,0,1.2),
    box-shadow var(--transition);
}

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

/* left accent strip */
.policy-card::before {
  content: "";
  display: block;
  width: 5px;
  min-height: 100%;
  background: linear-gradient(180deg, var(--clr-brand-1), var(--clr-brand-2));
  flex-shrink: 0;
}

.card-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--clr-brand-1);
  opacity: .12;
  padding: 28px 0 28px 20px;
  line-height: 1;
  letter-spacing: -.04em;
  user-select: none;
  min-width: 70px;
  flex-shrink: 0;
  align-self: flex-start;
}

.card-body {
  padding: 28px 28px 28px 8px;
  flex: 1;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 12px;
  letter-spacing: -.01em;
  position: relative;
  padding-left: 16px;
}

.card-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background: linear-gradient(to bottom, var(--clr-brand-3), var(--clr-brand-4));
  border-radius: 4px;
}

.card-body p {
  font-size: .95rem;
  color: var(--clr-text-muted);
  line-height: 1.75;
}


/* ── Contact card (section 15) ── */
.policy-card--contact {
  background: var(--clr-contact-bg);
  border-color: rgba(91,63,222,.18);
}

.policy-card--contact::before {
  background: linear-gradient(180deg, var(--clr-brand-3), var(--clr-brand-4));
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff;
  border: 1px solid rgba(91,63,222,.12);
  border-radius: 14px;
  padding: 16px 18px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(91,63,222,.12);
}

.contact-icon {
  width: 22px;
  height: 22px;
  color: var(--clr-brand-1);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-bottom: 3px;
}

.contact-value {
  font-size: .9rem;
  font-weight: 600;
  color: var(--clr-text);
  word-break: break-word;
}

a.contact-value {
  color: var(--clr-brand-1);
}

a.contact-value:hover { text-decoration: underline; }


/* ── Footer ── */
.site-footer {
  background: var(--clr-hero-bg);
  border-top: 1px solid rgba(163,230,53,.12);
  padding: 44px 24px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(163,230,53,.3);
}

.footer-company {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
}

.footer-copy {
  font-size: .82rem;
  color: rgba(255,255,255,.35);
  margin-bottom: 6px;
}

.footer-effective {
  font-size: .78rem;
  color: rgba(163,230,53,.55);
  letter-spacing: .04em;
}


/* ── Back to top ── */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 99;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--clr-brand-1);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(91,63,222,.45);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--clr-brand-2);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  color: #fff;
}


/* ── Responsive ── */
@media (max-width: 640px) {
  .header-inner { height: 60px; padding: 0 16px; }
  .brand-name { font-size: .72rem; }
  .brand-tagline { display: none; }
  .header-badge { font-size: .68rem; padding: 4px 11px; }

  .hero { padding: 60px 16px 0; }
  .hero-icon { width: 80px; height: 80px; border-radius: 20px; }

  .policy-card { flex-direction: column; }
  .policy-card::before { width: 100%; height: 4px; min-height: unset; }
  .card-number {
    padding: 16px 0 0 20px;
    font-size: 2rem;
  }
  .card-body { padding: 12px 20px 24px; }

  .contact-grid { grid-template-columns: 1fr; }
  .back-to-top { bottom: 18px; right: 18px; width: 40px; height: 40px; }
}

@media (max-width: 400px) {
  .hero-meta { flex-direction: column; align-items: center; }
  .meta-pill { width: 100%; max-width: 280px; justify-content: center; }
}
