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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #13083E;
  line-height: 1.6;
  background: linear-gradient(180deg, #e0eaf4 0%, #e8eff6 10%, #eef3f2 25%, #f2f6f2 40%, #edf1f4 55%, #e4ecf0 70%, #eef2f4 80%, #F7F7F7 90%, #fff 100%);
  overflow-x: hidden;
}

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

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

/* ========================================
   Typography Hierarchy
   Tier 1 - Section titles (h2): #256FCE, 48px, 700
   Tier 2 - Subtitles: #27B80D, 24px, 400
   Tier 3 - Taglines: #13083E, 18px, 600
   Body - #757575, 16px, 400
   ======================================== */

/* ========================================
   Navigation - floating pill
   ======================================== */
.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: #fff;
  border-radius: 50px;
  z-index: 100;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.navbar .logo img {
  height: 44px;
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: #13083E;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #116DFF;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #13083E;
  transition: 0.3s;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  text-align: center;
  padding: 140px 20px 60px;
}

.hero .logo-wordmark {
  width: 260px;
  margin: 0 auto 24px;
  display: block;
}

/* Tier 1 - title */
.hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: #256FCE;
  max-width: 700px;
  margin: 0 auto 16px;
  line-height: 1.15;
}

/* Tier 2 - subtitle */
.hero .subtitle {
  font-size: 24px;
  color: #27B80D;
  font-weight: 400;
  margin-bottom: 32px;
}

.app-store-badge {
  display: inline-block;
}

.app-store-badge img {
  height: 50px;
}

/* ========================================
   Phones Image Sections (centered)
   ======================================== */
.phones-section {
  padding: 40px 20px;
  text-align: center;
}

.phones-image {
  max-width: 700px;
  margin: 0 auto;
}

.phones-image.phones-large {
  max-width: 875px;
}

.phones-image.phones-large-wide {
  max-width: 1010px;
}

.phones-image img {
  width: 100%;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.phones-image img.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   Connection & Care Section (centered text)
   ======================================== */
.connection-section {
  padding: 60px 20px;
  text-align: center;
}

.connection-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Tier 1 - title */
.connection-content h2 {
  font-size: 48px;
  font-weight: 700;
  color: #256FCE;
  line-height: 1.15;
  margin-bottom: 24px;
}

/* Tier 3 - tagline */
.connection-content .tagline {
  font-size: 18px;
  color: #13083E;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Body text */
.connection-content .body-text {
  font-size: 16px;
  color: #757575;
  line-height: 1.8;
}

/* ========================================
   Check-in Section (text only)
   ======================================== */
.checkin-section {
  padding: 20px 20px 20px;
  text-align: center;
}

/* Tier 1 - title */
.checkin-section h2 {
  font-size: 48px;
  font-weight: 700;
  color: #256FCE;
  margin-bottom: 8px;
}

/* Tier 2 - subtitle */
.checkin-section .section-sub {
  font-size: 24px;
  color: #27B80D;
  font-weight: 400;
}

/* ========================================
   Map Section
   ======================================== */
.map-section {
  padding: 20px 20px 20px;
  text-align: center;
}

.map-image {
  max-width: 1125px;
  margin: 0 auto;
}

.map-image img {
  width: 100%;
}

/* ========================================
   Why Looop Section
   ======================================== */
.why-section {
  padding: 40px 20px 60px;
  text-align: center;
}

/* Tier 1 - title */
.why-section h2 {
  font-size: 48px;
  font-weight: 700;
  color: #256FCE;
  margin-bottom: 16px;
}

/* Tier 3 - tagline */
.why-section .section-subtitle {
  font-size: 18px;
  color: #13083E;
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto 36px;
}

.features-list {
  max-width: 1000px;
  margin: 0 auto 40px;
  text-align: center;
}

/* Body text with colored labels */
.feature-item {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.5;
}

.feature-item .feature-label {
  font-weight: 400;
}

.feature-item .label-blue {
  color: #256FCE;
}

.feature-item .label-green {
  color: #27B80D;
}

.feature-item .label-orange {
  color: #FF9D11;
}

/* Body text */
.feature-item .feature-desc {
  color: #000000;
  font-weight: 400;
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
  padding: 80px 20px;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

/* Tier 1 - title */
.contact-text h2 {
  font-size: 48px;
  font-weight: 700;
  color: #256FCE;
  margin-bottom: 20px;
  line-height: 1.1;
}

/* Tier 3 - tagline (same style as other taglines) */
.contact-text p {
  font-size: 18px;
  color: #13083E;
  font-weight: 600;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  font-size: 15px;
  font-weight: 500;
  color: #13083E;
  display: block;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 28px;
  font-size: 15px;
  font-family: inherit;
  background: #F7F7F7;
  color: #13083E;
  outline: none;
  transition: box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2376747B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 48px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 2px #116DFF;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
  border-radius: 16px;
}

.contact-form button {
  background: #13083E;
  color: #fff;
  border: none;
  padding: 16px 48px;
  border-radius: 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

.contact-form button:hover {
  background: #2F2B36;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: #256FCE;
  color: #fff;
  padding: 48px 40px 24px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 32px;
}

.footer-col:first-child {
  flex: 1;
}

.footer-col {
  min-width: 140px;
}

.footer-col .footer-logo {
  height: 60px;
  margin-bottom: 8px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding-top: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

/* ========================================
   Legal Pages
   ======================================== */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 20px 80px;
}

.legal-page h1 {
  font-size: 36px;
  color: #256FCE;
  margin-bottom: 8px;
}

.legal-page .legal-meta {
  font-size: 14px;
  color: #76747B;
  margin-bottom: 32px;
}

.legal-page h2 {
  font-size: 22px;
  color: #13083E;
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-page p,
.legal-page li {
  font-size: 15px;
  color: #757575;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal-page .toc {
  background: #F7F7F7;
  padding: 20px 24px;
  border-radius: 8px;
  margin-bottom: 32px;
}

.legal-page .toc h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.legal-page .toc ul {
  list-style: none;
  padding: 0;
}

.legal-page .toc ul li {
  margin-bottom: 4px;
}

.legal-page .toc ul li a {
  color: #256FCE;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .navbar {
    width: 95%;
    padding: 12px 20px;
    top: 10px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 40px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero .subtitle {
    font-size: 20px;
  }

  .hero .logo-wordmark {
    width: 180px;
  }

  .phones-image.phones-large,
  .phones-image.phones-large-wide {
    max-width: 500px;
  }

  .connection-content h2 {
    font-size: 30px;
  }

  .checkin-section h2 {
    font-size: 30px;
  }

  .checkin-section .section-sub {
    font-size: 18px;
  }

  .why-section h2 {
    font-size: 34px;
  }

  .feature-item {
    font-size: 15px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-text h2 {
    font-size: 34px;
  }

  .footer-content {
    flex-direction: column;
  }
}
