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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #0B1220;
  color: #F8FAFC;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #60A5FA;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
header {
  padding: 20px 0 0;
}

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

.header-logo {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  flex-shrink: 0;
}

.header-brand {
  font-size: 1.1rem;
  font-weight: 600;
  color: #F8FAFC;
  letter-spacing: 0;
}

/* ===== Hero ===== */
.hero {
  padding: 56px 0 40px;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: #F8FAFC;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.hero .subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: #CBD5E1;
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-actions {
  margin-bottom: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #F97316;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 14px 32px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  min-height: 52px;
  width: 100%;
  max-width: 320px;
  text-decoration: none;
  letter-spacing: 0;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.28);
  transition: background-color 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: #EA580C;
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.38);
  text-decoration: none;
}

.btn-primary:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.45);
  outline-offset: 2px;
}

.hero .hint {
  font-size: 0.88rem;
  color: #64748B;
  max-width: 400px;
  margin: 0 auto;
}

/* ===== Cards Section ===== */
.cards-section {
  padding: 24px 0 48px;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.card {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;
  padding: 24px;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #F8FAFC;
  margin-bottom: 8px;
  letter-spacing: 0;
}

.card p {
  font-size: 0.93rem;
  color: #94A3B8;
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 8px 0 48px;
}

.faq-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: 0;
}

.faq-item {
  background: #111827;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 10px;
}

.faq-question {
  font-weight: 600;
  font-size: 0.95rem;
  color: #F8FAFC;
  margin-bottom: 6px;
  letter-spacing: 0;
}

.faq-answer {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.7;
}

/* ===== Footer ===== */
footer {
  margin-top: auto;
  padding: 32px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #94A3B8;
  padding: 4px 0;
}

.footer-links a:hover {
  color: #60A5FA;
}

.footer-copy {
  font-size: 0.82rem;
  color: #475569;
}

/* ===== Custom Floating Support Button (capsule, draggable) ===== */
.floating-support {
  position: fixed;
  right: max(24px, env(safe-area-inset-right, 24px));
  bottom: max(24px, env(safe-area-inset-bottom, 24px));
  left: auto;
  top: auto;
  z-index: 9999;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.floating-support:active {
  cursor: grabbing;
}

.floating-support button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: none;
  border-radius: 50px;
  background-color: #F97316;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
  transition: box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
  pointer-events: none;
  white-space: nowrap;
}

.floating-support:hover button,
.floating-support button:focus-visible {
  box-shadow: 0 6px 24px rgba(249, 115, 22, 0.45);
}

.floating-support button:focus-visible {
  outline: 3px solid #F97316;
  outline-offset: 3px;
}

.floating-support:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.55);
  outline-offset: 4px;
  border-radius: 999px;
}

.floating-support svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* ===== Legal Pages ===== */
.legal-page {
  padding: 48px 0 64px;
  flex: 1;
}

.legal-page h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 24px;
  letter-spacing: 0;
}

.legal-page p {
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-page .back-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #60A5FA;
}

/* ===== Contact Page ===== */
.contact-page {
  padding: 48px 0 64px;
  flex: 1;
  text-align: center;
}

.contact-page h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 16px;
  letter-spacing: 0;
}

.contact-page p {
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.8;
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ===== Page Layout ===== */
.page-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ===== Responsive ===== */
@media (min-width: 640px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.2rem;
  }

  .cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero {
    padding: 80px 0 56px;
  }

  .faq-section {
    padding: 16px 0 64px;
  }
}

@media (min-width: 768px) {
  header {
    padding: 28px 0 0;
  }
}

/* ===== Utility ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
