/* =========================
   RESET & BASE
========================= */

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

html, body {
  width: 100%;
  min-height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  color: #0f2f4a;
  background: #f6fbff;
  line-height: 1.55;
  overflow-x: hidden;
}

.hidden { display: none; }


/* =========================
   TOP LOGO
========================= */

.logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.9rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.main-logo {
  width: min(100%, 560px);
  height: auto;
  max-height: 165px;
  object-fit: contain;
}


/* =========================
   HERO SECTION
========================= */

.hero {
  display: flex;
  justify-content: center;
  padding: 1.8rem 1rem 2.5rem;
}

.hero-card {
  background: #ffffff;
  max-width: 960px;
  width: 100%;
  padding: 2.7rem 2.4rem;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.hero-card h1 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
  color: #0f2f4a;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: #41576d;
  max-width: 720px;
  margin: 0 auto 1.8rem;
  line-height: 1.7;
}


/* =========================
   BUTTONS
========================= */

.hero-buttons {
  display: flex;
  gap: 0.9rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 0.82rem 1.85rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  letter-spacing: 0.01em;
  line-height: 1;
}

button.btn {
  cursor: pointer;
  font-family: inherit;
  background: none;
  appearance: none;
  -webkit-appearance: none;
  border: none;
}

.btn.primary {
  background: linear-gradient(135deg, #4aa3df 0%, #2e86c1 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(74, 163, 223, 0.28);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(74, 163, 223, 0.34);
}

.btn.secondary {
  border: 1.8px solid #4aa3df;
  color: #0f2f4a;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.btn.secondary:hover {
  background: #f3faff;
  border-color: #2e86c1;
  transform: translateY(-1px);
}


/* =========================
   CONTENT SECTIONS
========================= */

.content {
  max-width: 960px;
  margin: 0 auto 1.6rem;
  padding: 2.6rem 2rem;
  text-align: center;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.95);
}

.content h2 {
  font-size: 1.65rem;
  font-weight: 750;
  margin-bottom: 1.05rem;
  color: #0f2f4a;
  letter-spacing: -0.01em;
}

.content p {
  color: #41576d;
  max-width: 760px;
  margin: 0 auto 0.9rem;
  font-size: 1rem;
  line-height: 1.75;
}


/* =========================
   LISTS
========================= */

.focus-list {
  list-style: none;
  margin: 1.35rem auto 0;
  padding: 0;
  max-width: 680px;
  text-align: left;
}

.focus-list li {
  margin-bottom: 0.9rem;
  color: #22384d;
  padding-left: 1.6rem;
  position: relative;
  font-size: 1rem;
  line-height: 1.6;
}

.focus-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2e86c1;
  font-weight: 900;
  font-size: 1.15rem;
}


/* =========================
   DEMO VIDEO (YOUTUBE EMBED)
========================= */

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* =========================
   INTEGRATION DIAGRAM
========================= */

.integration-diagram {
  text-align: center;
}

.diagram-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.diagram-box {
  background: #f9fcff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 1.5rem 1.2rem;
  border-radius: 14px;
  width: 220px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.diagram-box h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #0f2f4a;
}

.diagram-box p {
  font-size: 0.9rem;
  color: #41576d;
  line-height: 1.5;
}

.diagram-box.highlight {
  background: #eaf6ff;
  border: 1.5px solid #4aa3df;
}

.diagram-arrow {
  font-size: 1.5rem;
  color: #2e86c1;
  font-weight: bold;
}


/* =========================
   CONTACT
========================= */

.contact a {
  color: #2e86c1;
  font-weight: 650;
  text-decoration: none;
}

.contact a:hover {
  color: #226a97;
}


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

footer {
  padding: 2rem 1rem;
  text-align: center;
  color: #6b7f94;
  font-size: 0.85rem;
  background: #ffffff;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  margin-top: 1.6rem;
}


/* =========================
   MOBILE OPTIMIZATION
========================= */

@media (max-width: 700px) {

  .logo-wrap {
    padding: 0.7rem 1rem;
  }

  .main-logo {
    max-height: 110px;
  }

  .hero {
    padding: 1.1rem 1rem 1.6rem;
  }

  .hero-card {
    padding: 1.9rem 1.35rem;
    border-radius: 16px;
  }

  .hero-card h1 {
    font-size: 1.75rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.35rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.7rem;
    align-items: stretch;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .content {
    padding: 2rem 1.25rem;
    margin: 0 1rem 1.1rem;
    border-radius: 16px;
  }

  .content h2 {
    font-size: 1.45rem;
  }

  .focus-list {
    max-width: 100%;
  }

  .diagram-row {
    flex-direction: column;
  }

  .diagram-arrow {
    transform: rotate(90deg);
  }
}
