/* ===== 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: 8px 0 24px;
  text-align: center;
}

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

.hero .subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: #CBD5E1;
  max-width: 560px;
  text-align: left;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.hero-image {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  text-align: left;
  margin: 0 auto 24px;
  border-radius: 8px;
}

.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 320px;
  text-align: left;
  margin: 0 auto 24px;
  overflow: hidden;
}
.hero-carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}
.hero-carousel-track img {
  width: 100%;
  flex-shrink: 0;
  max-width: 320px;
  height: auto;
  display: block;
  border-radius: 8px;
}
.hero-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}
.hero-carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #555;
  cursor: pointer;
  transition: background 0.2s;
}
.hero-carousel-dots span.active {
  background: #F97316;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #F97316;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 36px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  min-height: 54px;
  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;
}



/* ===== 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 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

@media (max-width: 480px) {
  footer {
    padding-bottom: 90px;
  }
}

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

.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(20px, env(safe-area-inset-right, 20px));
  bottom: max(20px, env(safe-area-inset-bottom, 20px));
  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: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 50px;
  background-color: #F97316;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.28);
  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 20px rgba(249, 115, 22, 0.38);
}

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

/* ===== Tawk.to fullscreen on mobile ===== */
@media (max-width: 767px) {
  .tawk-max-container {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    border-radius: 0 !important;
  }
  .tawk-max-container .tawk-mobile {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
  }
}

.floating-support:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: 3px;
  border-radius: 999px;
}

.floating-support svg {
  width: 18px;
  height: 18px;
  fill: #64748B;
  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;
}

/* ===== Trust points ===== */
.trust-points {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 420px;
  margin: 8px auto 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #CBD5E1;
  font-weight: 500;
  text-align: left;
}
.trust-check {
  color: #22c55e;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ===== Image placeholder ===== */
#landing-hero-image {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 8px;
}

.hero-image-placeholder {
  background: #111827;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 32px 20px;
  text-align: center;
  color: #64748B;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== Steps section ===== */
.steps-section {
  padding: 4px 0 16px;
}
.steps-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 24px;
  text-align: center;
  letter-spacing: 0;
}

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

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

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

  .hero {
    padding: 36px 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;
}


/* ===== Hero hint text ===== */
.hero-hint {
  font-size: 0.82rem;
  color: #64748B;
  text-align: center;
  max-width: 420px;
  margin: 10px auto 0;
  line-height: 1.5;
}
