@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Roboto&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  background: #f9fafc;
  color: #2a2a2a;
  line-height: 1.6;
  scroll-behavior: smooth;
  min-height: 100vh;
}

a {
  color: #0077ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover,
a:focus {
  color: #0056b3;
  outline: none;
}

.header {
  background: linear-gradient(90deg, #0077ff 0%, #00c6ff 100%);
  box-shadow: 0 4px 15px rgb(0 119 255 / 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.2));
}

.logo-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.6rem;
  color: #fff;
  user-select: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-menu {
  flex-grow: 1;
  text-align: right;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.nav-item {
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0.2rem;
  position: relative;
  transition: color 0.3s ease;
  color: #fff900;
}

.nav-item::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: #fff;
  transition: width 0.3s ease;
}

.nav-item:hover::after,
.nav-item:focus::after {
  width: 100%;
}

.main-content {
  max-width: 1280px;
  margin: 3rem auto 5rem;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.hero-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
  border-bottom: 2px solid #e2e8f0;
}

.hero-content .purchase-info {
  color: #000;
}
.hero-content {
  flex: 1 1 420px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.hero-title {
  font-family: "Montserrat", sans-serif;
  font-size: 3.6rem;
  font-weight: 700;
  color: #004c99;
  margin: 0;
  letter-spacing: 0.04em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #444d6e;
  line-height: 1.4;
  font-weight: 500;
}

.app-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.app-link {
  display: inline-block;
  max-width: 160px;
  transition: transform 0.3s ease;
}

.app-link:hover,
.app-link:focus {
  transform: scale(1.05);
  outline: none;
}

.badge-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  box-shadow: 0 5px 15px rgb(0 118 255 / 0.3);
}

.purchase-info {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 0.8rem;
  font-style: italic;
}

.hero-image-wrapper {
  flex: 1 1 420px;
  max-width: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 520px;
  border-radius: 1rem;
  box-shadow: 0 15px 30px rgb(0 119 255 / 0.25);
  transition: transform 0.4s ease;
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.03);
}

.section {
  width: 100%;
  padding-bottom: 3rem;
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #003366;
  margin-bottom: 1.8rem;
  border-left: 6px solid #0077ff;
  padding-left: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #556080;
  max-width: 720px;
  margin-bottom: 2rem;
  font-weight: 500;
}

.description-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.description-text p {
  font-size: 1.1rem;
  color: #3a3a3a;
  margin-bottom: 1.4rem;
  line-height: 1.55;
  font-weight: 400;
}

.description-text strong {
  color: #005bb5;
}

.description-image-wrapper {
  display: flex;
  justify-content: center;
}

.description-image {
  width: 100%;
  max-width: 520px;
  border-radius: 1rem;
  box-shadow: 0 12px 28px rgb(0 119 255 / 0.2);
  transition: transform 0.3s ease;
}

.description-image-wrapper:hover .description-image {
  transform: scale(1.04);
}

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-item {
  background: linear-gradient(135deg, #00aaff 0%, #004e92 100%);
  color: #f0f9ff;
  padding: 1.8rem 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 20px rgb(0 119 255 / 0.3);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.4;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: "✔";
  font-weight: 700;
  font-size: 1.6rem;
  color: #d4f1ff;
  margin-right: 0.6rem;
  user-select: none;
}

.feature-item:hover,
.feature-item:focus-within {
  box-shadow: 0 14px 30px rgb(0 119 255 / 0.5);
  transform: translateY(-6px);
  outline: none;
}

.gallery-section .screenshot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.screenshot-item {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgb(0 119 255 / 0.25);
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: block;
}

.screenshot-item:hover,
.screenshot-item:focus {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgb(0 119 255 / 0.45);
  outline: none;
}

.howto-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.howto-step {
  background: #eef6ff;
  border-left: 5px solid #0077ff;
  padding: 1.5rem 1.8rem;
  border-radius: 1rem;
  font-size: 1.05rem;
  color: #1c2a45;
  box-shadow: 0 6px 18px rgb(0 119 255 / 0.15);
  font-weight: 500;
  transition: box-shadow 0.3s ease;
}

.howto-step strong {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
  color: #004f99;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
}

.howto-step:hover,
.howto-step:focus-within {
  box-shadow: 0 10px 30px rgb(0 119 255 / 0.35);
  outline: none;
}

.call-to-action {
  background: linear-gradient(135deg, #0077ff 0%, #00c6ff 100%);
  color: #f0f9ff;
  padding: 3rem 2rem;
  border-radius: 2rem;
  text-align: center;
  box-shadow: 0 18px 40px rgb(0 119 255 / 0.6);
  max-width: 900px;
  margin: 0 auto;
}

.call-to-action .section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.call-to-action .section-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.45;
  text-shadow: 0 0 4px rgb(0 119 255 / 0.4);
}

.app-badges {
  justify-content: center !important;
}

.purchase-info {
  font-style: italic;
  font-weight: 500;
  color: #e0e7ff;
  margin-top: 1.2rem;
}

.footer {
  background: #0a1f44;
  color: #cbd5e1;
  padding: 3rem 2rem 1.5rem;
  font-size: 0.9rem;
  user-select: none;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.footer-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-transform: uppercase;
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 0.4rem;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 0.9rem;
}

.footer-link {
  color: #9ca3af;
  transition: color 0.3s ease;
}

.footer-link:hover,
.footer-link:focus {
  color: #60a5fa;
  outline: none;
}

.contact-name {
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 0.4rem;
}

.contact-address {
  line-height: 1.4;
  margin-bottom: 0.6rem;
  color: #a5b4fc;
  white-space: pre-line;
}

.contact-mail {
  font-style: italic;
  color: #bfdbfe;
}

.app-badges-footer {
  display: flex;
  gap: 1rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.badge-image-footer {
  width: 120px;
  height: auto;
  border-radius: 0.4rem;
  box-shadow: 0 5px 15px rgb(96 165 250 / 0.5);
  transition: transform 0.3s ease;
  display: block;
}

.badge-image-footer:hover,
.badge-image-footer:focus {
  transform: scale(1.1);
  outline: none;
}

.footer-bottom {
  border-top: 1px solid #1e293b;
  margin-top: 3rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  user-select: none;
}

@media (max-width: 1024px) {
  .hero-section {
    gap: 2rem;
  }

  .description-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .features-list {
    grid-template-columns: 1fr 1fr;
  }

  .howto-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-container {
    padding: 1rem 1.2rem;
    justify-content: center;
  }

  .nav-menu {
    width: 100%;
    text-align: center;
    margin-top: 0.6rem;
  }

  .nav-list {
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-section {
    flex-direction: column;
    padding-bottom: 2rem;
  }

  .hero-image-wrapper {
    max-width: 100%;
  }

  .hero-image {
    max-width: 100%;
    border-radius: 1.5rem;
  }

  .app-badges {
    justify-content: center;
  }

  .features-list {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    font-size: 0.8rem;
    padding-top: 1rem;
  }
}
