/* App download page — Figma accent #00d084, rgba only (no color-mix/oklch) */

.app-download-page {
  --app-accent: #00d084;
  --app-accent-glow: rgba(0, 208, 132, 0.2);
  --app-card-bg: #121212;
  --app-install-bg: #151616;
  --app-faq-bg: #1d222b;
  --app-border: rgba(255, 255, 255, 0.09);
  --app-border-strong: rgba(255, 255, 255, 0.2);
  --app-border-chip: rgba(255, 255, 255, 0.2);
  --app-text: #f2f2f2;
  --app-text-muted: rgba(242, 242, 242, 0.62);
  --app-text-soft: rgba(242, 242, 242, 0.7);
  --app-text-dim: rgba(255, 255, 255, 0.7);
  position: relative;
  width: 100%;
  max-width: 2544px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 16px 60px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .app-download-page {
    padding: 24px 64px 60px;
  }
}

/* ---------- Hero ---------- */
.app-download-hero {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: 24px 0;
}

@media (min-width: 1024px) {
  .app-download-hero {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -webkit-flex-direction: row-reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
    -webkit-box-align: center;
    -webkit-align-items: center;
        -ms-flex-align: center;
            align-items: center;
    min-height: 539px;
    padding: 10px 0;
    margin-top: 100px;
  }
}

.app-download-hero__glow {
  position: absolute;
  border-radius: 999px;
  background: var(--app-accent-glow);
  -webkit-filter: blur(92px);
          filter: blur(92px);
  pointer-events: none;
  z-index: 0;
}

.app-download-hero__glow--a {
  width: 280px;
  height: 280px;
  bottom: 0;
  left: 10%;
}

.app-download-hero__glow--b {
  width: 220px;
  height: 220px;
  top: 10%;
  right: 5%;
}

@media (min-width: 1024px) {
  .app-download-hero__glow--a {
    width: 489px;
    height: 489px;
    bottom: 18px;
    right: 54%;
    left: auto;
  }
  .app-download-hero__glow--b {
    width: 374px;
    height: 374px;
    bottom: 242px;
    right: 100px;
    top: 80px;
  }
}

.app-download-hero__media {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 242px;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
}

@media (min-width: 1024px) {
  .app-download-hero__media {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 0%;
        -ms-flex: 1 1 0%;
            flex: 1 1 0%;
    height: 100%;
    min-height: 480px;
    max-width: 50%;
  }
}

.app-download-hero__media img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  pointer-events: none;
}

.app-download-hero__media-desktop {
  display: none;
}

.app-download-hero__media-mobile {
  display: block;
}

@media (min-width: 1024px) {
  .app-download-hero__media-desktop {
    display: block;
  }

  .app-download-hero__media-mobile {
    display: none;
  }
}

.app-download-hero__content {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  width: 100%;
  padding: 24px 8px 0;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .app-download-hero__content {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 0%;
        -ms-flex: 1 1 0%;
            flex: 1 1 0%;
    -webkit-box-align: start;
    -webkit-align-items: start;
        -ms-flex-align: start;
            align-items: start;
    text-align: right;
    max-width: 50%;
    padding: 0 50px;
  }
}

.app-download-badge {
  display: inline-block;
  background: var(--app-accent);
  color: #0c0c0c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 13px;
}

.app-download-hero__title {
  color: #f9f9f9;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.35;
  margin: 0 0 15px;
}

@media (min-width: 1024px) {
  .app-download-hero__title {
    font-size: 30px;
  }
}

.app-download-hero__title-accent {
  color: var(--app-accent);
}

.app-download-hero__desc {
  color: var(--app-text-dim);
  font-size: 13px;
  line-height: 20px;
  margin: 0 0 45px;
  max-width: 420px;
}

@media (min-width: 1024px) {
  .app-download-hero__desc {
    max-width: none;
    width: 100%;
  }
}

.app-download-hero__actions {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
}

@media (min-width: 1024px) {
  .app-download-hero__actions {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
        -ms-flex-pack: end;
            justify-content: flex-end;
  }
}

.app-download-btn {
  font-family: inherit;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  padding: 16px 20px 15px;
  border-radius: 17px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-transition: opacity 0.2s ease, -webkit-box-shadow 0.2s ease;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.app-download-btn--primary {
  background: var(--app-accent);
  color: #fff;
  border-color: #000;
  -webkit-box-shadow: 0 16px 20px rgba(17, 245, 104, 0.2);
          box-shadow: 0 16px 20px rgba(17, 245, 104, 0.2);
}

.app-download-btn--primary:hover {
  opacity: 0.92;
}

.app-download-btn--coming-soon {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(242, 242, 242, 0.7);
  border-color: rgba(255, 255, 255, 0.15);
  cursor: default;
  -webkit-box-shadow: none;
          box-shadow: none;
}

.app-download-btn--secondary {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.app-download-btn--secondary:hover {
  opacity: 0.9;
}

.app-download-btn img {
  width: 24px;
  height: 24px;
  display: block;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
}

.app-download-btn--card {
  min-height: 48px;
  padding: 13.5px 16px;
  border-radius: 13px;
  font-size: 16px;
}

/* ---------- Platform chips ---------- */
.app-download-chips {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  width: 100%;
}

@media (max-width: 1023px) {
  .app-download-chips {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 16px 1fr;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .app-download-chips {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 16px 1fr 16px 1fr;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.app-platform-chip {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 0%;
      -ms-flex: 1 1 0%;
          flex: 1 1 0%;
  min-width: 0;
  padding: 16px 8px;
  border-radius: 18px;
  border: 1px solid var(--app-border-chip);
  background: var(--app-card-bg);
  color: var(--app-text);
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.03);
          box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.03);
  -webkit-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}

.app-platform-chip.is-active {
  border-color: var(--app-accent);
}

.app-platform-chip:hover {
  border-color: var(--app-accent);
}

.app-platform-chip__icon {
  width: 42px;
  height: 42px;
  margin-bottom: 11px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.app-platform-chip__icon img {
  max-width: 40px;
  max-height: 40px;
  width: auto;
  height: auto;
  display: block;
}

.app-platform-chip__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -0.18px;
  margin: 0;
  color: var(--app-text);
}

.app-platform-chip__version {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.16px;
  margin: 7px 0 0;
  color: rgba(242, 242, 242, 0.55);
}

/* ---------- Sections ---------- */
.app-download-section {
  margin-top: 72px;
  width: 100%;
}

.app-download-section__head {
  text-align: center;
  margin-bottom: 32px;
}

.app-download-section__title {
  color: var(--app-text);
  font-size: 28px;
  font-weight: 700;
  line-height: 38px;
  letter-spacing: -0.2px;
  margin: 0 0 8px;
}

@media (min-width: 768px) {
  .app-download-section__title {
    font-size: 32px;
  }
}

.app-download-section__subtitle {
  color: var(--app-text-muted);
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.18px;
  margin: 0;
}

.app-download-grid {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}

@media (min-width: 768px) {
  .app-download-grid {
    -ms-grid-columns: 1fr 16px 1fr;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Download cards ---------- */
.app-download-card {
  position: relative;
  overflow: hidden;
  background: var(--app-card-bg);
  border: 1px solid var(--app-border);
  border-radius: 18px;
  padding: 22.4px;
  box-sizing: border-box;
  text-align: right;
}

.app-download-card__glow {
  position: absolute;
  width: 208px;
  height: 208px;
  bottom: -57px;
  right: -42px;
  border-radius: 104px;
  background: var(--app-accent-glow);
  -webkit-filter: blur(92px);
          filter: blur(92px);
  pointer-events: none;
}

.app-download-card__top {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 16px;
  margin-bottom: 20.8px;
}

.app-download-card__icon-wrap {
  width: 68px;
  height: 68px;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  box-sizing: border-box;
}

.app-download-card__icon-wrap img {
  max-width: 40px;
  max-height: 43px;
  width: auto;
  height: auto;
  display: block;
}

.app-download-card__meta {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 0%;
      -ms-flex: 1 1 0%;
          flex: 1 1 0%;
  min-width: 0;
}

.app-download-card__title {
  color: var(--app-text);
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: -0.15px;
  margin: 0 0 4px;
}

@media (min-width: 768px) {
  .app-download-card__title {
    font-size: 24px;
  }
}

.app-download-card__desc {
  color: var(--app-text-muted);
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.18px;
  margin: 0;
}

.app-download-card__bottom {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 12px;
}

.app-download-card__version {
  color: var(--app-accent);
  font-size: 16px;
  line-height: 22px;
  letter-spacing: -0.18px;
  margin: 0;
}

.app-download-netstore {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 13px;
  margin-left: 14px;
  background: #303030;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}

.app-download-netstore:hover {
  opacity: 0.92;
}

.app-download-netstore img {
  width: 30px;
  height: 30px;
  display: block;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
}

.app-download-netstore span {
  font-size: 14px;
  color: #e8e8e8;
  line-height: 1.3;
}

.app-download-netstore strong {
  font-size: 16px;
  font-weight: 800;
  color: #e8e8e8;
}

/* ---------- Install cards ---------- */
.app-install-section {
  margin-top: 32px;
  padding: 32px 0;
}

.app-install-card {
  background: var(--app-install-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  box-sizing: border-box;
  text-align: right;
}

.app-install-card__title {
  color: var(--app-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  margin: 0 0 16px;
}

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

.app-install-list li {
  position: relative;
  padding-right: 22px;
  margin-bottom: 12px;
  color: var(--app-text-soft);
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.16px;
}

.app-install-list li:last-child {
  margin-bottom: 0;
}

.app-install-list li::before {
  content: '';
  position: absolute;
  top: 6px;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--app-accent);
}

/* ---------- FAQ ---------- */
.app-faq-section {
  margin-top: 30px;
  padding: 30px 0 60px;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.app-faq-section__title {
  color: #f9f9f9;
  font-size: 23px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 25px;
}

.app-faq-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 25px;
}

.app-faq-item {
  background: var(--app-faq-bg);
  border-radius: 20px;
  overflow: hidden;
}

.app-faq-item .faq-title {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-align: center;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  padding: 22px 20px;
  cursor: pointer;
}

.app-faq-item .faq-title__text {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 0%;
      -ms-flex: 1 1 0%;
          flex: 1 1 0%;
  color: #f9f9f9;
  font-size: 14px;
  font-weight: 500;
  text-align: right;
  margin: 0;
}

.app-faq-item .faq-title__q,
.app-faq-item .faq-title__chevron {
  width: 20px;
  height: 20px;
  -webkit-flex-shrink: 0;
      -ms-flex-negative: 0;
          flex-shrink: 0;
  display: block;
}

.app-faq-item .faq-title__chevron {
  width: 13px;
  height: 13px;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
}

.app-faq-item .faq-content {
  color: var(--app-text-soft);
  font-size: 14px;
  line-height: 1.7;
  text-align: right;
  padding: 0 20px;
  box-sizing: border-box;
}

.app-faq-item .faq-content.h-auto {
  padding-bottom: 22px;
}

.app-ios-sheet[hidden] {
  display: none;
}

.app-ios-sheet {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
  align-items: flex-end;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.app-ios-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.app-ios-sheet__panel {
  position: relative;
  width: calc(100% - 32px);
  max-width: 420px;
  margin-bottom: 16px;
  padding: 22px 20px 18px;
  border-radius: 18px;
  background: #151616;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
  text-align: right;
}

.app-ios-sheet__title {
  margin: 0 0 8px;
  color: #f2f2f2;
  font-size: 18px;
  font-weight: 700;
}

.app-ios-sheet__host,
.app-ios-sheet__steps {
  margin: 0 0 16px;
  color: rgba(242, 242, 242, 0.75);
  font-size: 14px;
  line-height: 1.7;
}

.app-ios-sheet__host strong {
  color: #00d084;
  font-weight: 700;
}

ol.app-ios-sheet__steps {
  list-style: decimal;
  padding-right: 18px;
}

p.app-ios-sheet__steps {
  padding-right: 0;
}

@media (min-width: 768px) {
  .app-ios-sheet {
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
  }

  .app-ios-sheet__panel {
    margin-bottom: 0;
  }
}

.app-download-card__actions {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -webkit-flex-direction: row-reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-flex-wrap: wrap;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 8px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}