/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.page-head {
  background: linear-gradient(135deg, white 0%, #165434 100%);
  color: black;
  text-align: center;
  padding: 60px 0;
}

.brand {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Store badges */
.store-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.badge {
  height: 60px;
  width: auto;
  transition: transform 0.2s ease;
}

.badge:hover {
  transform: translateY(-2px);
}

/* Main layout - mobile first */
.layout {
  padding: 40px 0;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  grid-template-areas:
    "left"
    "approach"
    "right";
}

.left {
  grid-area: left;
}

.approach {
  grid-area: approach;
}

.right {
  grid-area: right;
}

/* Desktop layout */
@media (min-width: 1024px) {
  .layout {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "left approach"
      "left right";
    gap: 60px;
    align-items: start;
  }

  .approach {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 600px;
  }

  .brand {
    font-size: 4rem;
  }

  .tagline {
    font-size: 1.5rem;
  }

  .store-badges {
    flex-direction: row;
    gap: 30px;
  }

  .badge {
    max-width: 200px;
    height: auto;
  }
}

/* Caption system */
.caption-wrap {
  margin-bottom: 30px;
}

.caption {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.caption strong {
  font-size: 1.25rem;
  color: #165434;
  font-weight: 600;
}

.caption span {
  color: #666;
  font-size: 1rem;
}

/* Slider */
.slider {
  position: relative;
  max-width: 300px;
  margin: 0 auto;
}

.slides {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slide {
  display: none;
  width: 100%;
}

.slide.is-active {
  display: block;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Navigation */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #87CEEB;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  color: black;
  font-weight: bold;
}

.nav:hover {
  background: #6BB6E0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.prev {
  left: -20px;
}

.next {
  right: -20px;
}

/* Dots */
.dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ddd;
  cursor: pointer;
  transition: background 0.2s ease;
}

.dot.is-active {
  background: #667eea;
}

/* Card styling */
.card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.card h2 {
  color: #165434;
  margin-bottom: 20px;
  font-size: 2rem;
}

.card p {
  margin-bottom: 20px;
  color: #666;
  line-height: 1.7;
}

.card ul {
  list-style: none;
  margin: 20px 0;
}

.card li {
  padding: 8px 0;
  position: relative;
  padding-left: 24px;
  color: #666;
}

.card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #165434;
  font-weight: bold;
}

/* Hermes image */
.hermes {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  background-color: #165434;
}

/* Desktop image sizing */
@media (min-width: 1024px) {
  .hermes {
    max-width: 300px;
  }
  
  .slide img {
    max-width: 300px;
  }
}

/* Footer */
.site-footer {
  background: #2d3748;
  color: white;
  padding: 40px 0;
  margin-top: 60px;
}

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

.links {
  display: flex;
  gap: 30px;
}

.links a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease;
}

.links a:hover {
  color: #667eea;
}

.copy {
  opacity: 0.7;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .brand {
    font-size: 2.5rem;
  }
  
  .store-badges {
    flex-direction: column;
    align-items: center;
  }
}

/* Modal styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.modal-content {
  background: white;
  border-radius: 16px;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 30px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #f0f0f0;
  color: #333;
}

.modal-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: #667eea;
  padding-right: 40px;
}

.modal-section-title {
  font-size: 18px;
  font-weight: bold;
  margin: 24px 0 12px 0;
  color: #333;
}

.modal-text {
  margin-bottom: 16px;
  color: #666;
  line-height: 1.6;
}

.modal-bullet {
  margin: 8px 0 8px 20px;
  color: #666;
  line-height: 1.6;
}

/* Mobile modal adjustments */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 10px;
  }
  
  .modal-content {
    padding: 20px;
    max-height: 90vh;
  }
  
  .modal-title {
    font-size: 24px;
    padding-right: 30px;
  }
}

