/* ==========================================================================
   SHIBASHI — CLEAN, ELEGANT PRIVACY, TERMS & SUPPORT PAGE
   ========================================================================== */

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-jp: 'Kiwi Maru', serif;
  
  --bg-page: #F8F9FA;
  --bg-card: #FFFFFF;
  --bg-pill-container: #EBF0F5;
  --bg-pill-active: #FFFFFF;
  
  --text-main: #18181B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  --accent-color: #9E3E1A;
  --accent-hover: #823214;
  --accent-light: #FDF4F0;
  
  --border-subtle: rgba(0, 0, 0, 0.06);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 16px 40px -12px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.02);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

.page-wrapper {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ================= HEADER & BRANDING ================= */

.header {
  text-align: center;
  margin-bottom: 28px;
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-banner-card {
  position: relative;
  width: 100%;
  max-width: 760px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.14);
  border: 1px solid var(--border-subtle);
  margin-bottom: 20px;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.78) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px 28px;
}

.hero-brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.hero-logo-overlaid {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
  object-fit: cover;
}

.hero-app-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  margin: 0;
  line-height: 1.1;
}

.hero-app-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-top: 4px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.header-badges {
  display: flex;
  justify-content: center;
  margin-top: 4px;
}

.app-store-badge-link {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.app-store-badge-link:hover {
  transform: translateY(-2px) scale(1.02);
  opacity: 0.95;
}

.official-app-store-badge-img {
  height: 48px;
  width: auto;
  display: block;
}



/* ================= NAVIGATION PILLS ================= */

.nav-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background-color: var(--bg-pill-container);
  padding: 5px;
  border-radius: 999px;
  margin-bottom: 28px;
  width: 100%;
  max-width: 760px;
  gap: 4px;
  box-sizing: border-box;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pill-btn {
  width: 100%;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 4px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill-btn.active {
  background-color: var(--bg-pill-active);
  color: var(--text-main);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.pill-btn:hover:not(.active) {
  color: var(--text-main);
}



/* ================= CONTENT CARD ================= */

.content-card {
  background-color: var(--bg-card);
  border-radius: 28px;
  padding: 44px 48px;
  width: 100%;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  margin-bottom: 32px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.doc-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 20px;
  margin-bottom: 28px;
}

.doc-header h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.doc-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.doc-body {
  color: #334155;
  font-size: 15px;
}

.doc-body p {
  margin-bottom: 18px;
}

.doc-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 28px;
  margin-bottom: 10px;
}

.doc-body ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.doc-body li {
  margin-bottom: 8px;
}

.link-highlight {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.link-highlight:hover {
  color: var(--accent-hover);
}

/* ================= SUPPORT SPECIFIC ================= */

.support-contact-box {
  background-color: var(--accent-light);
  border: 1px solid rgba(158, 62, 26, 0.15);
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.support-icon {
  font-size: 32px;
}

.support-contact-box h3 {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 17px;
}

.support-contact-box p {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}

.email-btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.email-btn:hover {
  background-color: var(--accent-hover);
}

/* Copyright Alert Box */

.copyright-alert-box {
  background-color: #FEF2F2;
  border: 1px solid rgba(220, 38, 38, 0.2);
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.copyright-alert-icon {
  font-size: 28px;
  font-weight: 800;
  color: #DC2626;
  width: 44px;
  height: 44px;
  background: #FEE2E2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.copyright-alert-box h3 {
  margin-top: 0;
  margin-bottom: 4px;
  font-size: 17px;
  color: #991B1B;
}

.copyright-alert-box p {
  margin-bottom: 0;
  font-size: 14px;
  color: #7F1D1D;
}


/* FAQ Accordion */

.faq-accordion {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: #F8FAFC;
  border-radius: 16px;
  padding: 20px 24px;
  border: 1px solid var(--border-subtle);
}

.faq-question {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 0 !important;
  line-height: 1.6;
}

/* ================= FOOTER ================= */

.footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.footer p {
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  color: var(--text-light);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text-main);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 640px) {
  body {
    padding: 24px 14px;
  }
  
  .content-card {
    padding: 28px 20px;
    border-radius: 22px;
  }
  
  .app-title {
    font-size: 28px;
  }
  
  .nav-pills {
    max-width: 100%;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 20px;
    padding: 6px;
    gap: 6px;
  }

  .pill-btn {
    font-size: 13px;
    padding: 10px 6px;
    border-radius: 14px;
  }



  .support-contact-box {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
  }
}
