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

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

body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: 400;
  color: #1A2B3D;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== Layout ===== */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(91, 163, 230, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: #5BA3E6;
  color: #fff;
}

.btn-primary:hover {
  background: #4A93D6;
}

.btn-secondary {
  background: #fff;
  color: #2E6DB4;
  border: 2px solid #D6EDFC;
}

.btn-secondary:hover {
  background: #F0F7FE;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 36px;
  font-size: 1.1rem;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(180deg, #F0F7FE 0%, #fff 100%);
  text-align: center;
  padding: 80px 0 64px;
}

.hero-logo {
  margin: 0 auto 24px;
  border-radius: 32px;
}

.hero-mascot {
  width: 220px;
  height: auto;
  margin: 0 auto 28px;
  border-radius: 24px;
}

.hero-coming-soon {
  font-size: 1.25rem;
  font-weight: 700;
  color: #5BA3E6;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1A2B3D;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #5F6D7E;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Section Title ===== */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: #1A2B3D;
  margin-bottom: 48px;
}

/* ===== Features ===== */
.features {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-card {
  background: #F0F7FE;
  border-radius: 16px;
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(91, 163, 230, 0.15);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1A2B3D;
}

.feature-desc {
  font-size: 0.95rem;
  color: #5F6D7E;
  line-height: 1.6;
}

/* ===== How It Works ===== */
.how-it-works {
  padding: 80px 0;
  background: #F0F7FE;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.step-number {
  width: 56px;
  height: 56px;
  background: #5BA3E6;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1A2B3D;
}

.step-desc {
  font-size: 0.95rem;
  color: #5F6D7E;
  line-height: 1.6;
  max-width: 280px;
  margin: 0 auto;
}

/* ===== CTA Banner ===== */
.cta-banner {
  padding: 80px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  background: linear-gradient(135deg, #F0F7FE 0%, #D6EDFC 100%);
  border-radius: 24px;
  padding: 48px;
}

.cta-mascot {
  flex-shrink: 0;
  border-radius: 20px;
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1A2B3D;
  margin-bottom: 12px;
}

.cta-text {
  font-size: 1.05rem;
  color: #5F6D7E;
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ===== Footer ===== */
.footer {
  background: #1A2B3D;
  color: #fff;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  border-radius: 10px;
}

.footer-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #8EC8F5;
  font-size: 0.9rem;
  transition: color 0.15s ease;
}

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

.footer-copy {
  font-size: 0.85rem;
  color: #5F6D7E;
}

/* ===== Legal Pages (Terms, Privacy) ===== */
.legal-header {
  background: #F0F7FE;
  padding: 16px 0;
  border-bottom: 1px solid #E0E5EC;
}

.legal-header-inner {
  display: flex;
  align-items: center;
}

.legal-page {
  padding: 48px 0 80px;
}

.legal-container {
  max-width: 760px;
}

.legal-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #1A2B3D;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 0.9rem;
  color: #5F6D7E;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1A2B3D;
  margin-top: 36px;
  margin-bottom: 12px;
}

.legal-page h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2E6DB4;
  margin-top: 24px;
  margin-bottom: 8px;
}

.legal-page p {
  color: #5F6D7E;
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-page ul {
  color: #5F6D7E;
  margin-bottom: 12px;
  padding-left: 24px;
  line-height: 1.7;
}

.legal-page li {
  margin-bottom: 6px;
}

.legal-page a {
  color: #5BA3E6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-page a:hover {
  color: #2E6DB4;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 0.95rem;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid #E0E5EC;
  color: #5F6D7E;
}

.legal-table th {
  background: #F0F7FE;
  color: #1A2B3D;
  font-weight: 700;
}

/* ===== FAQ Accordion ===== */
.faq-item {
  background: #F0F7FE;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item[open] {
  box-shadow: 0 2px 12px rgba(91, 163, 230, 0.12);
}

.faq-question {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 700;
  color: #1A2B3D;
  cursor: pointer;
  list-style: none;
  min-height: 48px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::before {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: #5BA3E6;
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  margin-right: 14px;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-question::before {
  content: '\2212';
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 16px 62px;
}

.faq-answer p,
.faq-answer ul {
  color: #5F6D7E;
  line-height: 1.7;
  margin-bottom: 8px;
}

.faq-answer ul {
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 4px;
}

/* ===== Fade-in Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Responsive ===== */

/* Tablet */
@media (max-width: 768px) {
  .hero {
    padding: 56px 0 48px;
  }

  .hero-logo {
    width: 140px;
    height: 140px;
  }

  .hero-mascot {
    width: 180px;
  }

  .hero-title {
    font-size: 2rem;
  }

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

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 36px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
    gap: 28px;
  }

  .cta-mascot {
    width: 160px;
    height: 160px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .legal-title {
    font-size: 1.75rem;
  }

  .legal-table {
    font-size: 0.85rem;
  }

  .legal-table th,
  .legal-table td {
    padding: 8px 10px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero {
    padding: 40px 0 36px;
  }

  .hero-logo {
    width: 120px;
    height: 120px;
  }

  .hero-mascot {
    width: 160px;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .features,
  .how-it-works,
  .cta-banner {
    padding: 56px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 24px 20px;
  }

  .cta-inner {
    padding: 28px 20px;
  }

  .cta-mascot {
    width: 140px;
    height: 140px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }
}
