@import url('https://fonts.googleapis.com/css2?family=Varela+Round&family=Nunito+Sans:wght@300;400;600;700;800&display=swap');

html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Nunito Sans', -apple-system, sans-serif;
  background: #f0f4f8;
  color: #0F172A;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

/* ── Blob Background ── */

@keyframes blobDrift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes blobDrift2 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, -20px) scale(1.15); }
  66% { transform: translate(20px, 30px) scale(0.85); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes blobDrift3 {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(20px, 30px) scale(1.05); }
  66% { transform: translate(-30px, -10px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}

.checkin-bg {
  position: fixed; inset: 0; overflow: hidden;
  pointer-events: none; z-index: 0;
  background: linear-gradient(135deg, #f0f9ff 0%, #f5f3ff 30%, #ecfdf5 60%, #fef3c7 100%);
}

.blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.3;
}

.blob-1 {
  width: 600px; height: 600px;
  top: -180px; right: -120px;
  background: radial-gradient(circle, #a78bfa, #818cf8);
  animation: blobDrift 14s ease-in-out infinite;
}

.blob-2 {
  width: 500px; height: 500px;
  bottom: -120px; left: -80px;
  background: radial-gradient(circle, #34d399, #38bdf8);
  animation: blobDrift2 18s ease-in-out infinite;
}

.blob-3 {
  width: 360px; height: 360px;
  top: 35%; left: 55%;
  background: radial-gradient(circle, #fbbf24, #f472b6);
  animation: blobDrift3 12s ease-in-out infinite;
}

/* ── Header ── */

.header {
  position: fixed; top: 16px; left: 16px; right: 16px;
  z-index: 1000;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 28px; height: 68px;
  max-width: 1320px; margin: 0 auto;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 22px;
  box-shadow: 0 4px 28px rgba(15,23,42,0.07);
}

.logo {
  font-family: 'Varela Round', sans-serif;
  font-size: 24px; color: #059669;
  display: flex; align-items: center; gap: 10px;
}

.nav { display: flex; align-items: center; gap: 32px; }

.nav a {
  font-size: 15px; font-weight: 700;
  color: #64748B; transition: color 0.2s;
}
.nav a:hover { color: #0F172A; }
.nav a.active { color: #059669; }

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

.btn-outline {
  padding: 11px 22px; border-radius: 999px;
  border: 1.5px solid #E2E8F0; background: transparent;
  color: #1E293B; font-size: 14px; font-weight: 700;
  font-family: inherit; cursor: pointer;
  transition: all 0.2s;
}
.btn-outline:hover { border-color: #94A3B8; background: #F8FAFC; }

.btn-primary-nav {
  padding: 11px 24px; border-radius: 999px; border: none;
  background: linear-gradient(135deg, #059669, #10B981);
  color: #fff; font-size: 14px; font-weight: 700;
  font-family: inherit; cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(5,150,105,0.28);
}
.btn-primary-nav:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(5,150,105,0.34); }

/* ── Layout ── */

.support-page {
  position: relative; z-index: 1;
  height: 100dvh;
  padding: 106px 36px 24px;
  display: flex; flex-direction: column;
  gap: 18px; overflow: hidden;
}

/* ── Hero ── */

.hero {
  text-align: center; flex-shrink: 0;
  animation: fadeUp 0.45s ease forwards;
}

.badge {
  display: inline-flex; padding: 5px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d1fae5, #e0e7ff);
  color: #064e3b; font-size: 0.7rem;
  font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 8px;
}

.hero h1 {
  font-family: 'Varela Round', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  color: #0F172A; margin-bottom: 8px;
}

.hero p {
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.55;
  color: #475569;
  max-width: 600px; margin: 0 auto;
}

/* ── Support Cards Grid ── */

.support-grid {
  width: min(100%, 1060px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  flex-shrink: 0;
  animation: fadeUp 0.45s ease forwards;
  animation-delay: 0.1s; opacity: 0;
}

.support-card {
  padding: 24px 26px;
  border-radius: 24px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226,232,240,0.5);
  box-shadow: 0 8px 36px rgba(15,23,42,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.support-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 16px 40px rgba(15,23,42,0.10);
}

.icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #F0FDF4, #DBEAFE);
  margin-bottom: 16px;
  transition: transform 0.25s ease;
}
.support-card:hover .icon { transform: scale(1.08); }
.icon span { font-size: 26px !important; }

.support-card h3 {
  font-family: 'Varela Round', sans-serif;
  font-size: 20px; color: #0F172A;
  margin-bottom: 8px;
}

.support-card p {
  color: #475569;
  line-height: 1.55;
  font-size: 14px;
  margin-bottom: 14px;
}

.card-link {
  color: #059669;
  font-weight: 800; font-size: 14px;
  transition: color 0.2s, gap 0.2s;
  display: inline-flex; align-items: center; gap: 4px;
}
.card-link:hover { gap: 8px; color: #047857; }

/* ── FAQ Section ── */

.faq-section {
  width: min(100%, 1060px);
  margin: 0 auto;
  padding: 20px 26px;
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(226,232,240,0.5);
  box-shadow: 0 8px 36px rgba(15,23,42,0.06);
  flex: 1; overflow-y: auto; min-height: 0;
  animation: fadeUp 0.45s ease forwards;
  animation-delay: 0.18s; opacity: 0;
}

.faq-section h2 {
  font-family: 'Varela Round', sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  color: #0F172A;
  margin-bottom: 14px;
}

.faq {
  border-top: 1px solid #F1F5F9;
  padding: 12px 0;
}

.faq:first-of-type { border-top: none; }

.faq h4 {
  font-size: 15px; font-weight: 700;
  color: #0F172A; margin-bottom: 4px;
}

.faq p {
  color: #475569;
  line-height: 1.55;
  font-size: 14px;
}

/* ── Emergency Box ── */

.emergency-box {
  width: min(100%, 1060px);
  margin: 0 auto;
  padding: 14px 20px;
  border-radius: 16px;
  background: rgba(254, 242, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #FECACA;
  display: flex; align-items: center;
  gap: 12px; flex-shrink: 0;
  animation: fadeUp 0.45s ease forwards;
  animation-delay: 0.24s; opacity: 0;
}

.emergency-box span { font-size: 1.4rem !important; }

.emergency-box strong {
  color: #991B1B;
  font-size: 0.85rem;
  white-space: nowrap;
}

.emergency-box p {
  color: #991B1B;
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0;
}

/* ── Animations ── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hamburger ── */

.hamburger {
  display: none;
  width: 40px; height: 40px;
  border: none; background: transparent;
  flex-direction: column; gap: 5px;
  justify-content: center; cursor: pointer;
}
.hamburger span { width: 22px; height: 2px; background: #1E293B; border-radius: 2px; }

/* ── Reduced Motion ── */

@media (prefers-reduced-motion: reduce) {
  .blob, .support-card, .faq-section, .emergency-box, .hero {
    animation: none !important;
  }
  .blob { animation: none !important; }
}

/* ── Responsive ── */

@media (max-width: 980px) {
  .support-grid { grid-template-columns: 1fr; gap: 12px; }
  .emergency-box { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .header { top: 10px; left: 10px; right: 10px; padding: 0 18px; height: 58px; border-radius: 16px; }

  .nav {
    position: fixed; inset: 66px 10px auto 10px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px);
    border: 1px solid #F1F5F9; border-radius: 16px;
    flex-direction: column; padding: 28px;
    transform: translateY(-120%);
    transition: 0.3s ease; gap: 18px;
    box-shadow: 0 16px 48px rgba(15,23,42,0.1);
  }
  .nav.open { transform: translateY(0); }

  .header-actions { display: none; }
  .hamburger { display: flex; }

  .support-page {
    height: 100dvh;
    padding: 94px 16px 14px;
    gap: 12px;
  }

  .support-card { padding: 18px 20px; }

  .faq-section { padding: 16px 18px; }
}
