:root {
  --bg: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --primary: #FFBB00;
  --primary-hover: #d99f00;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 16px 16px;
}

/* Header & Navigation */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 12px;
  flex-wrap: wrap;
}
h1 {
  margin: 0;
  font-size: 1rem;
  line-height: 1;
  font-weight: 700;
}
.logo {
  display: block;
  width: auto;
  height: 36px;
}
nav {
  display: flex;
  gap: 16px;
  align-items: center;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s;
}
nav a:hover {
  color: var(--primary);
}

/* Nav Button Style */
.nav-btn {
  background-color: #2563eb;
  color: #ffffff !important;
  padding: 6px 16px;
  border-radius: 6px;
  transition: background-color 0.2s;
}
.nav-btn:hover {
  background-color: #1d4ed8;
  color: #ffffff !important;
}

h2 {
  font-size: 1.25rem;
  margin: 10px 0 12px;
  color: var(--primary);
  border-bottom: 1px solid #FB5588;
  padding-bottom: 6px;
}
h3 {
  font-size: 1rem;
  margin: 18px 0 6px;
}
p, li { font-size: 0.95rem; }
ul { padding-left: 1.2rem; margin: 0.25rem 0 0.75rem; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
  margin-bottom: 24px;
}
.legal {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
footer {
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding: 20px 0 32px;
}
footer h3, footer h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: var(--text);
}
footer p { margin: 0 0 10px; }
.small { font-size: 0.9em; }

/* Button Styles (Updated to Blue) */
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #2563eb;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.2s ease;
  margin-top: 12px;
  cursor: pointer;
}
.btn:hover {
  background-color: #1d4ed8;
}

@media (max-width: 640px) {
  nav {
    gap: 4px;
  }
  nav a {
    font-size: 0.75rem;
    padding: 4px 6px;
  }
  .nav-btn {
    padding: 5px 10px;
    font-size: 0.75rem;
    white-space: nowrap;
  }
}

@media (min-width: 640px) {
  .container { 
    padding: 0 48px 48px;
    width: 100%;
    max-width: 1000px;
  }
  .logo { height: 44px; }
  h2 { font-size: 1.5rem; margin-top: 14px; }
  h3 { font-size: 1.05rem; }
  .card { padding: 20px; }
}
img { max-width: 100%; height: auto; }

.badge-soon{margin-left:8px;font-size:0.85em;color:#6b7280;font-style:italic;white-space:nowrap;}
.footer-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:12px;}
.footer-bottom .brand{margin:0;}
.footer-mascot{width:128px;height:128px;object-fit:contain;}

/* Plan table */
.table-wrap { width: 100%; overflow-x: auto; }
table.plan-table { width: 100%; border-collapse: collapse; }
table.plan-table th, table.plan-table td { border: 1px solid var(--line); padding: 10px; vertical-align: middle; }
table.plan-table th { text-align: left; }
table.plan-table td { text-align: center; }

/* Center align only for the header row */
table.plan-table thead th { background: #f9fafb; font-weight: 700; text-align: center; }
/* Force first column header (Plan) to be left-aligned */
table.plan-table thead th:first-child { text-align: left; }

table.plan-table tbody th { background: #fbfbfc; width: 28%; }
@media (max-width: 640px) {
  table.plan-table thead th:first-child { position: sticky; left: 0; background: #f9fafb; }
  table.plan-table tbody th { position: sticky; left: 0; background: #fbfbfc; }
}

/* FAQ Accordion Styles */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  user-select: none;
}
.faq-question:hover {
  color: var(--muted);
}
.faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.3s ease;
  margin-left: 10px;
  flex-shrink: 0;
}
.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.faq-answer p {
  margin: 0 0 16px;
  color: var(--muted);
}

/* FAQ Label Style */
.faq-label {
  color: var(--primary);
  margin-right: 4px;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  animation: fadeIn 0.3s ease;
}
.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes zoomIn {
  from { transform: scale(0.9); }
  to { transform: scale(1); }
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
}
.modal-close:hover {
  color: #bbb;
}

/* Captcha Slider Styles */
.captcha-slider {
  margin-bottom: 16px;
}

.captcha-slide-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f5f5f5;
  display: block;
}

.captcha-slide {
  position: absolute;
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
  opacity: 0;
  transform: translateX(100%);
  top: 0;
  left: 0;
}

.captcha-slide-active {
  opacity: 1;
  transform: translateX(0);
  z-index: 10;
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutToLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(-100%);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutToRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.captcha-slide.slide-in {
  animation: slideInFromRight 0.5s ease forwards;
  z-index: 10;
}

.captcha-slide.slide-in.slide-in-left {
  animation: slideInFromLeft 0.5s ease forwards;
  z-index: 10;
}

.captcha-slide.slide-out {
  animation: slideOutToLeft 0.5s ease forwards;
  z-index: 5;
}

.captcha-slide.slide-out.slide-out-right {
  animation: slideOutToRight 0.5s ease forwards;
  z-index: 5;
}

.captcha-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0 0;
}

.captcha-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #d1d5db;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.captcha-dot.active {
  background-color: var(--primary);
}

/* Features Hero Section */
.features-hero {
  text-align: center;
  margin-bottom: 24px;
}

.features-main-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
