body.app-page main > section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

body.app-page main > .app-hero {
  padding-top: 0;
  padding-bottom: 1.5rem;
}

body.app-page main > .app-final-cta {
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
}

.app-section-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(16px, 6vw, 56px);
  text-align: left;
}

.app-hero {
  background: var(--gradient-blue);
  color: var(--text-on-blue);
  min-height: auto;
  margin: 0;
  padding: 0 0 1.5rem;
}

.app-hero-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 28px);
}

.app-hero-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.app-hero-top {
  display: grid;
  grid-template-columns: minmax(420px, 600px) minmax(360px, 520px);
  justify-content: center;
  gap: 3.25rem;
  align-items: center;
  margin-bottom: 0;
}

.app-hero-copy {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  min-width: 0;
  max-width: 640px;
  text-align: left;
}

.app-hero-content h1 {
  margin: 1rem 0 1.75rem;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.app-hero-subtitle {
  margin: 0.25rem 0;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
}

.app-hero-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0;
  margin: 0.5rem 0 1.75rem;
  list-style: none;
}

.app-hero-benefits li {
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.app-hero-benefits li::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}


.app-hero-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  gap: 0.5rem;
  text-align: center;
}

.app-hero-cta .app-store-link {
  width: auto;
  justify-content: center;
}

.app-final-cta .app-store-link {
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
}

.app-hero-cta-note {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.app-hero-visual {
  width: min(520px, 100%);
  max-width: 520px;
  margin: 34px 0 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(4, 17, 27, 0.25);
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.app-modes-summary {
  background: var(--surface);
}

.app-modes-summary h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--main-blue-strong);
}

.app-modes-summary p {
  margin: 0 0 2rem;
  color: rgba(7, 61, 88, 0.8);
}

.app-modes-summary .app-section-inner {
  text-align: center;
}

.app-mode-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.app-mode-card {
  background: #fff;
  border-radius: 24px;
  padding: 1.5rem 1.5rem 1.75rem;
  border: 1px solid rgba(31, 180, 230, 0.18);
  box-shadow: 0 18px 42px rgba(6, 40, 58, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: center;
  text-align: center;
}

.app-mode-photo {
  width: 100%;
  max-width: 130px;
  border-radius: 18px;
  overflow: hidden;
  margin: 0 0 0.4rem;
  box-shadow: 0 8px 16px rgba(5, 28, 44, 0.12);
}

.app-mode-photo img {
  width: 100%;
  display: block;
}

.app-mode-card h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--main-blue-strong);
}

.app-mode-card p {
  margin: 0;
  color: rgba(7, 61, 88, 0.9);
}

.app-mode-benefit {
  font-weight: 600;
}

.app-mode-link {
  margin-top: 0.35rem;
  font-weight: 600;
  color: var(--main-blue);
  text-decoration: none;
}

.app-mode-detail {
  background: #fff;
}

.app-mode-tsm,
.app-stats {
  position: relative;
  background: linear-gradient(150deg, rgba(242, 249, 255, 0.95) 0%, #fff 65%);
  overflow: hidden;
  box-shadow:
    0 30px 70px rgba(4, 30, 52, 0.08),
    0 0 0 1px rgba(31, 120, 162, 0.05);
}

.app-mode-tsm::before,
.app-stats::before {
  content: '';
  position: absolute;
  inset: -120px -40px -80px;
  background:
    radial-gradient(circle at 15% 20%, rgba(31, 180, 230, 0.15), transparent 55%),
    radial-gradient(circle at 85% 0%, rgba(7, 61, 88, 0.08), transparent 60%),
    linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 18%, rgba(255, 255, 255, 0) 82%, rgba(255, 255, 255, 1) 100%);
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

.app-mode-tsm .app-section-inner,
.app-stats .app-section-inner {
  position: relative;
  z-index: 1;
}

.app-mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: center;
}

.app-mode-grid--with-cta {
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  grid-auto-rows: minmax(0, auto);
}

.app-mode-grid--with-cta .app-mode-copy {
  grid-column: 1;
  grid-row: 1;
}

.app-mode-grid--with-cta .app-mode-visual {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.app-mode-grid--with-cta .app-mode-cta {
  grid-column: 1;
  grid-row: 2;
  align-self: flex-start;
}

.app-mode-cta {
  display: flex;
  justify-content: flex-start;
}

.app-mode-tsm .app-mode-cta {
  justify-content: center;
}

.app-quickblock .app-mode-cta,
.app-stats .app-mode-cta {
  justify-content: center;
}

.app-mode-tsm .app-mode-grid {
  align-items: flex-start;
  position: relative;
  z-index: 0;
}

.app-mode-tsm .app-mode-copy {
  position: relative;
  z-index: 1;
  text-align: center;
}

.app-mode-grid--reverse {
  direction: rtl;
}

.app-mode-grid--reverse > * {
  direction: ltr;
}

.app-mode-copy h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--main-blue-strong);
}

.app-mode-sub {
  margin: 0 0 1rem;
  font-weight: 600;
  color: rgba(7, 61, 88, 0.75);
}

.app-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: rgba(7, 61, 88, 0.6);
  margin: 0 0 0.35rem;
}

.app-bullets,
.app-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.95rem;
}


.app-mode-tsm .app-bullets,
.app-mode-tsm .app-benefits {
  justify-items: center;
  text-align: center;
}

.app-bullets li,
.app-benefits li {
  padding-left: 1.25rem;
  position: relative;
  color: rgba(7, 61, 88, 0.92);
}

.app-mode-tsm .app-bullets li,
.app-mode-tsm .app-benefits li {
  padding-left: 0;
}

.app-bullets li::before,
.app-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--main-blue);
}

.app-mode-tsm .app-bullets li::before,
.app-mode-tsm .app-benefits li::before {
  display: none;
}

.app-highlight {
  font-weight: 600;
  color: var(--main-blue-strong);
  margin-bottom: 0.85rem;
}

.app-mode-visual {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(5, 30, 52, 0.15);
}

.app-mode-tsm .app-mode-visual {
  box-shadow: none;
  display: flex;
}

.app-quickblock .app-mode-visual {
  box-shadow: none;
}

.app-mode-visual img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.tsm-carousel {
  position: relative;
  width: 100%;
  height: clamp(360px, 48vw, 520px);
  background: transparent;
  color: #fff;
}

.app-mode-tsm .tsm-carousel {
  margin: 0 auto;
}

.tsm-carousel__slides {
  position: relative;
  width: 100%;
  display: grid;
  height: 100%;
  z-index: 0;
}

.tsm-carousel__slide {
  grid-area: 1 / 1 / 2 / 2;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.7s ease;
}

.tsm-carousel__slide.is-active {
  opacity: 1;
}

.tsm-carousel__slide img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.tsm-carousel__overlay {
  position: absolute;
  left: clamp(1.25rem, 4vw, 2.25rem);
  right: clamp(1.25rem, 4vw, 2.25rem);
  bottom: clamp(0.25rem, 1.5vw, 1rem);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px);
  padding: 0;
  color: #041026;
  text-align: center;
  transition:
    opacity 0.45s ease 0.1s,
    transform 0.45s ease 0.1s;
}

.tsm-carousel__overlay::before {
  content: '';
  position: absolute;
  inset: -0.8rem -2rem -0.5rem -2rem;
  background:
    radial-gradient(circle at 50% 80%, rgba(0, 148, 204, 0.85) 0%, rgba(61, 212, 255, 0.55) 60%, rgba(61, 212, 255, 0) 100%);
  pointer-events: none;
  z-index: -1;
}

.tsm-carousel__overlay {
  z-index: 3;
}

.tsm-carousel__slide.is-active .tsm-carousel__overlay {
  opacity: 1;
  transform: translateY(0);
}

.tsm-carousel__slide-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.tsm-carousel__slide-text {
  margin: 0;
  color: rgba(4, 16, 38, 0.75);
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .tsm-carousel__slides {
    min-height: 320px;
  }

  .tsm-carousel__overlay {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .app-mode-tsm .app-mode-copy {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .app-mode-tsm .app-bullets,
  .app-mode-tsm .app-benefits {
    justify-items: center;
  }
}

.app-mode-tsm .tsm-carousel,
.app-mode-tsm .tsm-carousel__slides,
.app-mode-tsm .tsm-carousel__slide {
  min-height: 0;
}

.app-mode-tsm .app-mode-copy .btn {
  margin-left: auto;
  margin-right: auto;
  display: inline-flex;
}

.app-feel {
  background: #f2f9ff;
  text-align: center;
}

.app-feel h2 {
  margin: 0 0 1rem;
  color: var(--main-blue-strong);
  font-size: clamp(2rem, 4vw, 2.6rem);
}

.app-feel-lines p {
  margin: 0.35rem 0;
  color: rgba(7, 61, 88, 0.85);
  font-size: 1.1rem;
}

.app-feel-final {
  margin-top: 1.5rem;
  font-weight: 700;
  color: var(--main-blue-strong);
}

.app-family {
  background: var(--surface);
}

.app-quickblock {
  background: #fff;
}

.app-quickblock .app-mode-copy {
  text-align: center;
}

.app-quickblock .app-mode-copy .btn {
  margin-left: auto;
  margin-right: auto;
  display: inline-flex;
}

.app-quickblock .app-mode-sub {
  margin-bottom: 0.75rem;
}

.app-quickblock .app-mode-copy p {
  margin: 0 0 0.6rem;
  color: rgba(7, 61, 88, 0.85);
}

.app-quickblock-body {
  margin: 0 0 0.6rem;
  color: rgba(7, 61, 88, 0.85);
  display: grid;
  gap: 0.95rem;
  text-align: center;
}

.app-quickblock-body span {
  display: block;
}

.app-quickblock .app-benefits {
  justify-items: center;
  text-align: center;
}

.app-quickblock .app-benefits li {
  padding-left: 0;
}

.app-quickblock .app-benefits li::before,
.app-stats .app-benefits li::before {
  display: none;
}

.app-quickblock-mini {
  font-weight: 600;
  color: var(--main-blue-strong);
}

.app-final-cta {
  background: var(--gradient-blue);
  color: var(--text-on-blue);
  text-align: center;
}

.app-final-cta .app-section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.app-final-cta h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  white-space: pre-line;
}

.app-final-cta p {
  margin: 0.35rem 0;
  color: rgba(255, 255, 255, 0.9);
}

.app-final-note {
  margin-top: 1rem;
  font-weight: 600;
}

.app-final-cta .btn {
  margin-top: 1.25rem;
  display: inline-flex;
}

.app-final-cta .app-store-link {
  margin-top: 1.75rem;
}

@media (max-width: 960px) {
  .app-hero {
    min-height: unset;
  }

  .app-hero-top {
    grid-template-columns: 1fr;
    justify-content: center;
    text-align: center;
    gap: 2.5rem;
  }

  .app-hero-copy,
  .app-hero-content {
    text-align: center;
    align-items: center;
  }

  .app-hero-cta {
    justify-content: center;
    align-items: center;
  }

  .app-hero-visual {
    width: min(420px, 90%);
    height: auto;
    align-self: center;
    margin: 0.5rem auto 0;
  }

  .app-hero-visual img {
    height: auto;
    object-fit: cover;
  }

  .app-section-inner {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .app-hero-benefits {
    justify-content: center;
  }

  .app-mode-grid,
  .app-mode-grid--reverse {
    grid-template-columns: 1fr;
  }

  .app-mode-grid--reverse {
    direction: ltr;
  }

  .app-mode-grid--with-cta {
    grid-auto-rows: auto;
  }

  .app-mode-grid--with-cta .app-mode-copy,
  .app-mode-grid--with-cta .app-mode-visual,
  .app-mode-grid--with-cta .app-mode-cta {
    grid-column: auto;
    grid-row: auto;
  }

  .app-mode-cta {
    justify-content: center;
  }
}

@media (min-width: 960px) {
  #quickblock .app-mode-copy {
    grid-column: 2;
    grid-row: 1;
  }

  #quickblock .app-mode-visual {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  #quickblock .app-mode-cta {
    grid-column: 2;
    grid-row: 2;
  }
}
.lang-suggestion-banner {
  position: sticky;
  top: 0;
  z-index: 1200;
  width: 100%;
  background: #1b1732;
  color: #f7f2ff;
  padding: 0.75rem 1rem;
  box-shadow: 0 6px 24px rgba(6, 3, 35, 0.2);
}

.lang-suggestion-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  padding-left: 2.5rem;
  position: relative;
}

.lang-suggestion-text {
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.95rem;
}

.lang-suggestion-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.lang-suggestion-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.lang-suggestion-btn.is-primary {
  background: #ffffff;
  color: #1b1732;
}

.lang-suggestion-btn.is-primary:hover {
  background: #f2eefe;
}

.lang-suggestion-btn.is-secondary {
  background: transparent;
  color: #f7f2ff;
  border-color: rgba(255, 255, 255, 0.4);
}

.lang-suggestion-btn.is-secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.lang-suggestion-close {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #f7f2ff;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.lang-suggestion-close:hover {
  color: #d3c2ff;
}

@media (max-width: 600px) {
  .lang-suggestion-inner {
    padding-left: 1.5rem;
  }

  .lang-suggestion-text {
    flex: 1 1 100%;
  }
}
