/* ── BASE & TOKENS ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #ff8e15;
  --primary-dk: #e07e12;
  --secondary: #235bcc;
  --secondary-dk: #1f51b4;
  --text: #1a2340;
  --muted: #5a6a8a;
  --bg: #f0f4fb;
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 24px;
  --radius-sm: 14px;
  --shadow-main: 0 20px 60px rgba(255, 142, 21, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 24px 72px rgba(255, 142, 21, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Subtle dot grid pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, #b8cce8 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* Ambient glowing blobs */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -100px;
  right: -100px;
}
.blob-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -80px;
  left: -80px;
}

/* ── LAYOUT CONTAINERS ── */
.page {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px 48px;
}

.wrapper {
  position: relative;
  z-index: 1;
  max-width: 720px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 24px 80px;
  animation: fadeUp 0.6s ease both;
}

/* ── LOGO ── */
.logo-wrap {
  margin-bottom: 36px;
  animation: fadeDown 0.7s ease both;
  display: flex;
  justify-content: center;
}

.logo-img {
  width: 220px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(255, 142, 21, 0.15));
  transition: transform 0.3s ease;
}
.logo-img:hover {
  transform: scale(1.03);
}

/* ── CARDS (GLASSMORPHISM) ── */
.card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-main);
  padding: 52px 48px 44px;
  max-width: 520px;
  width: 100%;
  text-align: center;
  animation: fadeUp 0.7s 0.1s ease both;
  transition: box-shadow 0.3s ease;
  position: relative;
}
.card:hover {
  box-shadow: var(--shadow-hover);
}

/* ── PEEKING ASTRONAUT MASCOT ── */
.mascot-wrap {
  position: absolute;
  top: -96px;
  left: -10px;
  width: 130px;
  height: 110px;
  z-index: 2;
  pointer-events: none;
  animation: peekFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 8px 16px rgba(255, 142, 21, 0.15));
}

@keyframes peekFloat {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-5px) rotate(2deg);
  }
}

.card h1 {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}

.card p.desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 600;
  margin-bottom: 36px;
}
.card p.desc strong {
  color: var(--primary);
  font-weight: 900;
}

/* ── BUTTONS ── */
.btn-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.2s;
}

.btn:hover::after {
  opacity: 1;
}
.btn:hover {
  transform: translateY(-3px) scale(1.02);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-android {
  background: linear-gradient(135deg, var(--primary), var(--primary-dk));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255, 142, 21, 0.32);
}
.btn-android:hover {
  box-shadow: 0 12px 32px rgba(255, 142, 21, 0.45);
}

.btn-ios {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dk));
  color: var(--white);
  box-shadow: 0 8px 24px rgba(35, 91, 204, 0.35);
}
.btn-ios:hover {
  box-shadow: 0 12px 32px rgba(35, 91, 204, 0.5);
}

.btn-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.btn:hover .btn-icon {
  transform: scale(1.1);
}

.btn-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.btn-sub {
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.85;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.btn-main {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.2;
}

.available {
  margin-top: 22px;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* ── FOOTER LINKS ── */
.footer-links {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  animation: fadeUp 0.7s 0.3s ease both;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
  padding: 4px 6px;
}
.footer-links a:hover {
  color: var(--primary);
}
.footer-links .dot {
  width: 5px;
  height: 5px;
  background: var(--muted);
  border-radius: 50%;
  opacity: 0.4;
}

/* ── DOCUMENT PAGES STYLING (PRIVACY & SUPPORT) ── */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--text);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  margin-bottom: 36px;
  transition: all 0.2s ease;
  box-shadow: 0 6px 20px rgba(255, 142, 21, 0.08);
  border: 1px solid rgba(255, 142, 21, 0.1);
}
.back-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 142, 21, 0.15);
  color: var(--primary);
}
.back-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}
.back-btn:hover svg {
  transform: translateX(-3px);
}

.doc-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 48px rgba(255, 142, 21, 0.1);
  padding: 48px 48px 52px;
}

.doc-card h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 8px;
  text-align: center;
}

.doc-card .subtitle, 
.doc-card .date {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 36px;
  line-height: 1.6;
}
.doc-card .date strong {
  color: var(--text);
}

.divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.2;
  margin-bottom: 36px;
  border: none;
}

/* Sections */
.section {
  margin-bottom: 32px;
}
.section h2 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section h2 .num {
  background: var(--primary);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 900;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255, 142, 21, 0.25);
}
.section p {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 600;
}

/* Contact Box */
.contact-box {
  background: linear-gradient(135deg, #fff4e8, #ffe9d6);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 36px;
  box-shadow: 0 4px 16px rgba(255, 142, 21, 0.05);
}
.contact-box h3 {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}
.contact-box p {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
}

/* FAQ */
.faq-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.faq-item {
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 142, 21, 0.15);
  background: var(--white);
  overflow: hidden;
  transition: all 0.25s ease;
}
.faq-item:hover {
  box-shadow: 0 6px 20px rgba(255, 142, 21, 0.08);
  border-color: rgba(255, 142, 21, 0.3);
}

.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-q svg {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  width: 20px;
  height: 20px;
}
.faq-item.open .faq-q svg {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.75;
  padding: 0 22px;
}
.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 22px 18px;
}

/* Report Section */
.report-box {
  background: linear-gradient(135deg, #eef6fd, #e8f0fb);
  border-left: 4px solid var(--secondary-dk);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: 0 4px 16px rgba(35, 91, 204, 0.1);
}
.report-box h3 {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
}
.report-box p {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.7;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 560px) {
  .page {
    padding: 40px 16px 32px;
  }
  .wrapper {
    padding: 32px 16px 64px;
  }
  .card {
    padding: 40px 24px 36px;
    border-radius: var(--radius-md);
  }
  .doc-card {
    padding: 32px 24px 40px;
  }
  .blob-1, .blob-2 {
    display: none;
  }
}
