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

:root {
  --purple: #59005E;
  --purple-dark: #59005E;
  --purple-mid: #59005E;
  --green: #3ecf8e;
  --green-light: #5fdba0;
  --text: #1a1a2e;
  --text-muted: #555577;
  --bg: #ffffff;
  --bg-light: #f5f5fb;
  --card-bg: #f0f5f2;
  --radius: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8%;
  height: 64px;
}

.logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--purple);
  letter-spacing: -0.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.logo sup {
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--purple);
  vertical-align: super;
  letter-spacing: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-ghost {
  background: none;
  border: none;
  color: var(--purple);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}
.btn-ghost:hover { opacity: 0.65; }

.btn-primary {
  background: var(--purple);
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--purple-mid); transform: translateY(-1px); }

/* ── PAGE HERO (sub-pages) ── */
.page-hero {
  background: var(--purple);
  padding: 5rem 8% 4rem;
  text-align: center;
}

.page-hero h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── CONTENT WRAP (sub-pages) ── */
.content-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 5rem 8%;
}

.policy-intro {
  background: var(--bg-light);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.5rem 2rem;
  margin-bottom: 3.5rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
}

.policy-intro a {
  color: var(--purple);
  font-weight: 600;
}

.policy-section {
  margin-bottom: 3rem;
}

.policy-section h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--bg-light);
}

.policy-section p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.policy-section p strong {
  color: var(--text);
  font-weight: 600;
}

/* ── TRUST BADGES ── */
.trust-strip {
  background: var(--bg-light);
  padding: 2.5rem 8%;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.trust-icon { font-size: 1.8rem; }

.trust-label {
  font-family: 'Sora', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── FEATURE CARDS (data-security) ── */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.feature-cards .feature-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  border-left: 3px solid var(--green);
}

.feature-cards .feature-card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.feature-cards .feature-card p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── FOOTER ── */
footer {
  background: var(--purple);
  padding: 3.5rem 8%;
  color: rgba(255,255,255,0.8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-logo {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
}

.flag {
  width: 28px;
  height: 28px;
  object-fit: cover;
  flex-shrink: 0;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.contact-detail span:first-child {
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links h4 {
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.5rem;
}

.social-circle {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.2s;
}
.social-circle:hover { background: rgba(255,255,255,0.3); }

/* ── RESPONSIVE (shared) ── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  nav { padding: 0 6%; }
  footer { padding: 3rem 6%; }
  .page-hero { padding: 3.5rem 6% 3rem; }
  .content-wrap { padding: 3.5rem 6%; }
  .trust-strip { padding: 2rem 6%; }
}

@media (max-width: 600px) {
  .trust-strip { gap: 1.2rem; padding: 1.8rem 5%; flex-wrap: wrap; }
  .trust-item { min-width: 80px; }

  /* Nav */
  nav { padding: 0 5%; height: 56px; }
  .btn-ghost { display: none; }

  /* Footer */
  footer { padding: 2.5rem 5%; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }

  /* Sub-page hero */
  .page-hero { padding: 3rem 5% 2.5rem; }
  .page-hero h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); }

  /* Sub-page content */
  .content-wrap { padding: 2.5rem 5%; }
  .policy-intro { padding: 1.2rem 1.4rem; }
  .feature-cards { grid-template-columns: 1fr; }
}
