/* =========================================================
   Ahmad Stationers Store – Privacy Policy
   Color palette derived from logo:
   - Deep Navy:    #102A5C
   - Royal Blue:   #1E55B3
   - Bright Orange:#F58220
   - Warm Yellow:  #F7C948
   - Soft Cream:   #FFF8EC
   - Light Sky:    #EAF2FF
   ========================================================= */

:root {
  --c-navy: #102A5C;
  --c-navy-soft: #1a3a76;
  --c-blue: #1E55B3;
  --c-blue-light: #4A7FD6;
  --c-orange: #F58220;
  --c-orange-soft: #FBA75A;
  --c-yellow: #F7C948;
  --c-cream: #FFF8EC;
  --c-sky: #EAF2FF;
  --c-bg: #F5F8FD;
  --c-card: #ffffff;
  --c-text: #1f2a44;
  --c-text-soft: #4a5677;
  --c-muted: #6b7693;
  --c-border: #e3e9f3;
  --shadow-sm: 0 2px 8px rgba(16, 42, 92, 0.06);
  --shadow-md: 0 10px 30px rgba(16, 42, 92, 0.08);
  --shadow-lg: 0 20px 50px rgba(16, 42, 92, 0.10);
  --radius: 16px;
  --radius-sm: 10px;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(circle at top left, rgba(245, 130, 32, 0.05), transparent 50%),
    radial-gradient(circle at top right, rgba(30, 85, 179, 0.06), transparent 50%);
  background-attachment: fixed;
}

/* ===== HEADER ===== */
.site-header {
  background: linear-gradient(135deg, #ffffff 0%, #f9fbff 100%);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}

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

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

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: var(--shadow-sm);
  background: #fff;
  padding: 2px;
}

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

.brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--c-navy);
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

.header-divider {
  height: 3px;
  background: linear-gradient(90deg, var(--c-navy) 0%, var(--c-blue) 35%, var(--c-orange) 75%, var(--c-yellow) 100%);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--c-navy) 0%, var(--c-blue) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(247, 201, 72, 0.25), transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(245, 130, 32, 0.18), transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 24px 80px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 22px;
}

.hero-date {
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  color: var(--c-navy);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.hero-date strong {
  color: var(--c-orange);
  font-weight: 700;
  margin-right: 4px;
}

/* ===== POLICY CONTENT ===== */
.policy-wrap {
  max-width: 880px;
  margin: -40px auto 60px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.policy-card {
  background: var(--c-card);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
}

.intro {
  font-size: 1.02rem;
  color: var(--c-text-soft);
  margin-bottom: 14px;
}

.intro:last-of-type {
  margin-bottom: 0;
}

.section-divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-border) 20%, var(--c-border) 80%, transparent);
  margin: 36px 0 28px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--c-navy);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  padding-left: 14px;
  border-left: 4px solid var(--c-orange);
  line-height: 1.3;
}

.policy-card p {
  font-size: 1rem;
  color: var(--c-text-soft);
  margin-bottom: 14px;
}

.policy-card p:last-child {
  margin-bottom: 0;
}

.policy-list {
  list-style: none;
  margin: 6px 0 18px;
  padding-left: 4px;
}

.policy-list li {
  position: relative;
  padding: 7px 0 7px 28px;
  color: var(--c-text-soft);
  font-size: 0.98rem;
  border-bottom: 1px dashed rgba(227, 233, 243, 0.7);
}

.policy-list li:last-child {
  border-bottom: none;
}

.policy-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-orange);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.15);
}

.contact-line a {
  color: var(--c-blue);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(30, 85, 179, 0.25);
  transition: all 0.2s ease;
}

.contact-line a:hover {
  color: var(--c-orange);
  border-bottom-color: var(--c-orange);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--c-navy);
  color: #cfd9ef;
  margin-top: 40px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 44px 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

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

.footer-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  padding: 3px;
  object-fit: contain;
}

.footer-company {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--c-yellow);
  margin-top: 2px;
}

.footer-meta {
  text-align: right;
  font-size: 0.92rem;
}

.footer-contact, .footer-updated {
  margin-bottom: 4px;
  color: #cfd9ef;
}

.footer-meta a {
  color: var(--c-orange-soft);
  text-decoration: none;
  font-weight: 600;
}

.footer-meta a:hover { color: var(--c-yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 24px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(207, 217, 239, 0.7);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-orange) 0%, #ed6f0e 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(245, 130, 32, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

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

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(245, 130, 32, 0.55);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 720px) {
  .header-inner { padding: 14px 18px; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-name { font-size: 1.1rem; }
  .brand-sub { font-size: 0.72rem; }

  .hero-inner { padding: 50px 20px 64px; }

  .policy-wrap { margin-top: -28px; padding: 0 14px; }
  .policy-card { padding: 26px 22px; }

  .section-title { font-size: 1.15rem; padding-left: 12px; }
  .policy-card p, .policy-list li { font-size: 0.95rem; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-meta { text-align: center; }

  .back-to-top {
    bottom: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 400px) {
  .hero-tag { font-size: 0.7rem; }
  .hero-date { font-size: 0.82rem; padding: 8px 16px; }
}
