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

.banner {
  background: rgb(18, 51, 89);
  color: rgb(242, 235, 224);
  text-align: center;
  padding: 20px 20px 8px 20px;
}

body {
  font-family: Avenir, Montserrat, Corbel, 'URW Gothic', source-sans-pro, sans-serif;
  font-weight: normal;
  background: linear-gradient(to right, rgb(235, 227, 217), rgb(209, 199, 186));
  color: rgb(51, 64, 77);
  line-height: 1.6;
  font-weight: 400;
}


a {
  color: rgb(102, 140, 115);
  text-decoration: underline;
  font-size: 1rem;
}

a:hover {
  color: rgb(153, 89, 64);
}

hr {
  border-color: rgba(128, 122, 115, 0.2);
  width: 100px;
  margin: 35px 0 35px 0;
}


.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 1rem auto;
  padding: 30px 20px;
}
.hero-text {
  max-width: 50%;
}
.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 900;
  font-style: italic;
  color: rgb(38, 51, 89);
  margin-bottom: 10px;
}
.hero-text img.logo {
  width: 200px;
}
.tagline {
  display: block;
  font-size: 1.5rem;
  margin: 0 0 30px;
  padding: 0;
  color: rgb(38, 51, 89);
  font-weight: 900;
  font-style: italic;
}


.funline {
  display: block;
  font-size: 3.0rem;
  line-height: 2.9rem;
  margin: 0 0 30px;
  padding: 0;
  color: rgb(38, 51, 89);
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;

  background: #121FCF;
  background: linear-gradient(to bottom, rgb(102, 140, 115) 0%, rgb(153, 89, 64) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

h2 {
  margin-bottom: 10px;
}
h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}
p {
  margin: 0 0 10px 0;
}

ul {
  margin-left: 20px;
}

p {
  text-align: left;
  color: rgb(51, 64, 77);
  font-size: 1.1rem;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  margin-bottom: 20px;
}
.btn.apple img {
  width: 200px;
  height: auto;
}

.apple-btn-mobile {
  display: none;
}

.apple-btn-desktop {
  display: block;
}


.latest-news {
  margin: 20px 0;
}

.latest-news ul {
  margin-left: 20px;
}

.latest-news ul li p {
  margin: 0;
}

nav.main-menu-nav {
  padding: 15px 20px 10px 20px;
  border-bottom: 1px solid rgba(128, 122, 115, 0.2);
}

nav.main-menu-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

nav.main-menu-nav ul li a {
  color: rgb(102, 140, 115);
  text-decoration: none;
  font-size: 1rem;
  text-align: center;
}

nav.main-menu-nav ul li a:hover {
  color: rgb(153, 89, 64);
}


footer {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid rgba(128, 122, 115, 0.2);
  padding: 30px 20px;
}

footer p {
  color: rgb(128, 122, 115);
  font-size: 0.95rem;
  margin-bottom: 15px;
  text-align: center;
}

footer ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

footer ul li a {
  color: rgb(102, 140, 115);
  text-decoration: none;
  font-size: 0.9rem;
}

footer ul li a:hover {
  color: rgb(153, 89, 64);
}

.hero-image {
  position: relative;
  max-width: 45%;
}
.iphone-frame {
  position: relative;
  width: 100%;
}
.iphone-frame img.frame {
  display: block;
  width: 100%;
  height: auto;
  z-index: 300;
}

.media-content {
  position: absolute;
  top: 1.35%;
  left: 3.8%;
  width: 92.5%;
  height: 97.25%;
  border-radius: clamp(20px, 8vw, 81px);
  overflow: hidden;
}

.media-content video,
.media-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.media-content .active {
  opacity: 1;
}

.media-nav {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 400;
}

.media-nav button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.media-nav button.active {
  background: rgb(38, 51, 89);
  transform: scale(1.2);
}

.media-nav button:hover {
  background: rgba(38, 51, 89, 0.8);
}

.content-wrapper {
  max-width: 1024px;
  margin: 4rem auto 6rem auto;
}
.content-wrapper h1 {
  color: rgb(38, 51, 89);
  margin-bottom: 10px;
  font-size: 2.5rem;
}
.content-wrapper span.date {
  display: block;
  font-size: 0.9rem;
  color: rgb(38, 51, 89);
  margin: 0 0 35px 0;
  font-style: italic;
}
.content-wrapper p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: rgb(51, 64, 77);
}
.content-wrapper ul, .content-wrapper ol {
  margin-left: 20px;
  margin-bottom: 15px;
}
.content-wrapper li {
  margin-bottom: 8px;
}

.content-wrapper li p {
  margin: 0;
}

.content-wrapper a {
  color: rgb(102, 140, 115);
}
.content-wrapper a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 80px 20px 40px;
  }
  .hero-text, .hero-image {
    max-width: 100%;
  }
  .hero-image {
    margin-bottom: 40px;
    max-width: 280px;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .tagline {
    font-size: 1.2rem;
  }
  p {
    text-align: left;
  }
  p.main-description {
    text-align: left;
    font-size: 1rem;
  }
  footer ul {
    justify-content: left;
    flex-direction: row;
    gap: 15px;
    margin-left: 0;
  }
  footer p {
    text-align: left;
  }

  .content-wrapper {
    margin: 2rem 15px;
  }
  .content-wrapper h1 {
    font-size: 2rem;
  }

}

@media (max-width: 480px) {
  .hero-image {
    max-width: 240px;
  }

  .apple-btn-mobile {
    display: block;
  }

  .apple-btn-desktop {
    display: none;
  }

  .btn.apple img {
    width: 180px;
  }
}
