/* === Brand Colors (from design guide) ===
   Photo Pin Blue:  #005F9E / #0078B8 / #18A6D9
   Sky Blue:        #66C6FF / #A9E3FF / #DDF4FF
   Field Green:     #4E8F00 / #78B800 / #A8D600 / #C4E000
   Route Orange:    #FF6A00 / #FF8A00 / #FFB300 / #FFC93A
   Sun Yellow:      #FFB400 / #FFD24A
   Cloud White:     #FFFFFF / #F7F7F7 / #ECECEC
*/

/* === Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #1d1d1f; background: #fff; }

/* === Nav === */
nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 12px 12px;
  background: #F7F7F7;
  border-bottom: 1px solid #ECECEC;
  white-space: nowrap;
  overflow-x: auto;
  position: relative;
  z-index: 10;
}
nav a {
  color: #0078B8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}
nav a:hover { text-decoration: underline; }
.nav-brand {
  font-weight: 700;
}

/* === Hero === */
.hero {
  background: linear-gradient(135deg, #0078B8 0%, #78B800 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 16px 20px;
}
.hero-icon {
  width: 92px;
  height: 92px;
  border-radius: 20px;
  flex-shrink: 0;
}
.hero-text h1 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 72px; font-weight: 800; letter-spacing: -1px; }
.hero-text p { font-family: 'Caveat', cursive; font-size: 36px; font-weight: 500; margin-top: -14px; opacity: 0.92; }

@media (max-width: 480px) {
  .hero-text h1 { font-size: 40px; }
  .hero-text p { font-size: 20px; margin-top: -8px; }
  .hero { gap: 9px; padding: 9px 12px; }
  .hero-icon { width: 52px; height: 52px; border-radius: 12px; }
}

/* === Carousel === */
.carousel-wrapper {
  margin: 0 20px;
  background: #F7F7F7;
  padding: 12px 0 0;
  position: relative;
  z-index: 0;
}
.carousel {
  overflow: hidden;
  position: relative;
}
.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}
.carousel-track a {
  width: 100%;
  flex-shrink: 0;
  display: block;
}
.carousel-track img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  display: block;
}
.carousel-dots {
  text-align: center;
  padding: 10px 0;
}
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ECECEC;
  margin: 0 5px;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s;
}
.carousel-dots button.active {
  background: #0078B8;
}

/* === Content === */
.content {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 20px;
  position: relative;
  z-index: 1;
}
.content h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1d1d1f;
}
.content h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 8px;
  color: #1d1d1f;
}
.content p {
  font-size: 16px;
  line-height: 1.7;
  color: #424245;
  margin-bottom: 12px;
}
.content a { color: #0078B8; text-decoration: none; }
.content a:hover { text-decoration: underline; }
.content a.appstore-btn { color: #fff; }
.content a.appstore-btn:hover { text-decoration: none; }
.content .updated {
  font-size: 13px;
  color: #86868b;
  margin-bottom: 32px;
}

/* === Feature sections (index) === */
.feature {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px;
}
.feature h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1d1d1f;
}
.feature p {
  font-size: 16px;
  line-height: 1.7;
  color: #424245;
  margin-bottom: 12px;
}
.feature img {
  width: 100%;
  border-radius: 12px;
  margin-top: 16px;
}
.feature ul, .feature ol {
  font-size: 16px;
  line-height: 2;
  color: #424245;
  padding-left: 24px;
  margin-bottom: 16px;
}
.feature li {
  padding-left: 4px;
}

/* === Highlight box (privacy) === */
.highlight-box {
  background: linear-gradient(135deg, #f0f9e8 0%, #e8f5e0 100%);
  border-left: 4px solid #78B800;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 32px 0;
}
.highlight-box p {
  color: #1d1d1f;
  font-weight: 500;
  margin-bottom: 0;
}

/* === Contact card (support) === */
.contact-card {
  background: #F7F7F7;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  margin: 32px 0;
}
.contact-card .email-label {
  font-size: 14px;
  color: #86868b;
  margin-bottom: 8px;
}
.contact-card a {
  font-size: 20px;
  color: #0078B8;
  text-decoration: none;
  font-weight: 600;
}
.contact-card a:hover { text-decoration: underline; }

/* === Subscription card (privacy) === */
.subscription-card {
  background: #F7F7F7;
  border-radius: 16px;
  margin: 20px 0 24px;
  overflow: hidden;
}
.subscription-header {
  padding: 32px 32px 24px;
  text-align: center;
}
.subscription-plan-name {
  font-size: 14px;
  font-weight: 600;
  color: #0078B8;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.subscription-price {
  font-size: 40px;
  font-weight: 700;
  color: #1d1d1f;
  letter-spacing: -0.5px;
}
.subscription-period {
  font-size: 15px;
  font-weight: 400;
  color: #86868b;
}
.subscription-desc {
  font-size: 15px;
  line-height: 1.5;
  color: #424245;
  margin-top: 12px;
}
.subscription-divider {
  height: 1px;
  background: #ECECEC;
  margin: 0 32px;
}
.subscription-notes {
  padding: 20px 32px 24px;
}
.subscription-notes p {
  font-size: 12px;
  line-height: 1.8;
  color: #86868b;
  margin-bottom: 0;
}

/* === App Store block === */
.appstore-block {
  text-align: center;
}
.appstore-link {
  display: block;
  text-decoration: none;
}
.appstore-icon-large {
  width: 296px;
  height: 296px;
  border-radius: 66px;
  display: block;
  margin: 0 auto;
}
.appstore-app-name {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #1d1d1f;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 8px;
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff,
     0   -1px 0 #fff,
     0    1px 0 #fff,
    -1px  0   0 #fff,
     1px  0   0 #fff;
}
.appstore-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 14px 32px;
  background: #005F9E;
  color: #fff;
  border-radius: 12px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.appstore-btn:hover { opacity: 0.9; }
.appstore-btn svg { vertical-align: middle; margin-right: 8px; }
.appstore-btn span { vertical-align: middle; }
.appstore-icon {
  width: 120px;
  height: 120px;
  border-radius: 27px;
  display: block;
  margin: 0 auto 16px;
}
.coming-soon {
  font-size: 12px;
  color: #86868b;
  margin-top: 8px;
}

/* === Footer === */
footer {
  text-align: center;
  padding: 32px 20px;
  font-size: 13px;
  color: #86868b;
  border-top: 1px solid #ECECEC;
  position: relative;
  z-index: 1;
}
footer a { color: #0078B8; text-decoration: none; }
footer a:hover { text-decoration: underline; }
