/* ============================================================
   Site overrides — clean layout for main sections & footer
   ============================================================ */

/* ---- App logo (circular) ---- */
.logo--img img,
.download-block__icon {
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 2px 6px rgba(15, 23, 42, 0.08),
    0 8px 20px rgba(15, 23, 42, 0.12);
}

#home .logo--img img {
  width: 52px;
  height: 52px;
  display: block;
}

.sticky .logo--img img {
  width: 48px;
  height: 48px;
}

.logo--img {
  display: flex;
  align-items: center;
  line-height: 0;
}

/* ---- Hero: soft gray palette ---- */
#home {
  background: linear-gradient(165deg, #f8f9fb 0%, #eef1f5 55%, #e8ecf1 100%) !important;
  filter: none !important;
  color: #1e293b;
}

#home #navbar ul li a {
  color: #475569;
}

#home #navbar ul li a:hover,
#home #navbar ul li:hover {
  color: #2563eb;
  text-decoration: none;
}

#home #mobileNav span {
  color: #334155;
}

#hero {
  margin: 80px 0 60px;
}

.hero-description h1 {
  color: #1e293b;
}

.hero-description p {
  color: #64748b !important;
}

/* Screenshot cards — rounded corners + layered shadow */
.hero-img,
.feature-block__media img,
.download-block__preview {
  border-radius: 22px;
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.06),
    0 8px 16px rgba(15, 23, 42, 0.10),
    0 20px 40px rgba(15, 23, 42, 0.14),
    0 40px 80px rgba(15, 23, 42, 0.10);
  filter: none;
}

.hero-img {
  position: relative !important;
  float: none !important;
  max-width: 260px !important;
  width: 100%;
  margin: 0 auto;
  display: block;
}

#home .btn {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

#hero .col.span_1_of_2:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-main section {
  padding: 0;
}

.site-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-container--narrow {
  max-width: 640px;
  text-align: center;
}

/* ---- Sections ---- */
.site-section {
  padding: 88px 0;
}

.site-section--muted {
  background: #f8fafc;
}

.site-section--brand {
  background: linear-gradient(160deg, #2563eb 0%, #1d4ed8 100%);
  color: #fff;
}

.site-section-head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 48px;
}

.site-section-head p {
  margin-top: 12px;
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.7;
}

.site-section-head--light p {
  color: rgba(255, 255, 255, 0.85);
}

.site-heading {
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.2;
  color: #1e293b;
  margin: 0;
}

.site-heading--center {
  text-align: center;
}

.site-section--brand .site-heading {
  color: #fff;
}

.site-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.875rem;
  color: #94a3b8;
}

/* ---- Features ---- */
#features {
  height: auto;
  padding-bottom: 0;
  border-bottom: none;
}

.feature-block {
  display: flex;
  align-items: center;
  gap: 56px;
  margin-bottom: 72px;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block--reverse {
  flex-direction: row-reverse;
}

.feature-block__media {
  flex: 1;
  text-align: center;
}

.feature-block__media img {
  max-width: 240px;
  width: 100%;
  height: auto;
}

.feature-block__text {
  flex: 1;
}

.feature-block__text p {
  margin-top: 16px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: #64748b;
}

/* ---- Formats ---- */
#formats {
  padding: 88px 0;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.format-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.format-item:hover {
  border-color: #bfdbfe;
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.08);
}

.format-tag {
  display: block;
  font-size: 1.125rem;
  font-weight: 900;
  color: #2563eb;
  margin-bottom: 6px;
}

.format-item p {
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
  color: #64748b;
}

/* ---- How To ---- */
#howto {
  height: auto;
  margin-top: 0;
  padding: 88px 0;
}

#howto .site-section-head {
  margin-bottom: 40px;
}

.steps-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0;
  margin: 0;
}

.step-item {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 24px 20px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #fff;
  color: #2563eb;
  font-weight: 900;
  font-size: 0.9rem;
  border-radius: 50%;
  margin-bottom: 14px;
}

.step-item h3 {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: #fff;
}

.step-item p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ---- Pricing ---- */
#pricing {
  padding: 88px 0;
  border: none;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px 24px;
}

.price-card--highlight {
  background: #fff;
  border-color: #2563eb;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.12);
}

.price-card h3 {
  font-size: 0.95rem;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 8px;
}

.price-card__amount {
  font-size: 2rem;
  font-weight: 900;
  color: #2563eb;
  margin-bottom: 20px;
  line-height: 1;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-card li {
  font-size: 0.9rem;
  color: #64748b;
  padding: 10px 0;
  border-bottom: 1px solid #e2e8f0;
  line-height: 1.4;
}

.price-card li:last-child {
  border-bottom: none;
}

/* ---- Download ---- */
#download {
  padding: 88px 0;
}

#download * {
  margin: 0;
}

.download-block__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px !important;
  display: block;
  filter: none;
}

.download-block__preview {
  display: block;
  max-width: 220px;
  width: 100%;
  margin: 0 auto 24px !important;
}

.download-block__desc {
  margin: 12px 0 28px !important;
  color: #64748b;
  font-size: 1.05rem;
}

.download-block__btn {
  display: inline-block;
}

/* ---- Footer ---- */
.site-footer {
  background: #1e293b;
  color: #94a3b8;
  padding: 40px 0 32px;
  font-size: 0.9rem;
}

.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer__main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #334155;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 320px;
}

.site-footer__brand strong {
  color: #f1f5f9;
  font-size: 1rem;
  font-weight: 900;
}

.site-footer__brand span {
  line-height: 1.5;
  font-size: 0.85rem;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: flex-end;
}

.site-footer__nav a {
  font-size: 0.85rem;
  white-space: nowrap;
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
}

.site-footer__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid #334155;
  font-size: 0.8rem;
  color: #64748b;
}

.site-footer__sep {
  color: #475569;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .site-section {
    padding: 64px 0;
  }

  .hero-img {
    display: block !important;
    margin-top: 32px;
  }

  .site-heading {
    font-size: 1.875rem;
  }

  .feature-block,
  .feature-block--reverse {
    flex-direction: column;
    gap: 32px;
    text-align: center;
    margin-bottom: 56px;
  }

  .format-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .steps-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .site-footer__main {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-footer__brand {
    max-width: none;
  }

  .site-footer__nav {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .site-section {
    padding: 48px 0;
  }

  .format-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .site-footer__bottom {
    flex-direction: column;
    gap: 4px;
  }

  .site-footer__sep {
    display: none;
  }
}
