/* ===== ANDROID DOWNLOAD PAGE CSS ===== */

/* ---- Page hero ---- */
.page-hero {
  background: var(--gradient);
  padding: 70px 0 50px;
  text-align: center;
}
.page-hero h1 {
  color: #fff;
  font-size: 38px;
  font-weight: 700;
  margin: 0 0 16px;
}
.page-hero .hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  margin: 0 0 28px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.platform-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.platform-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.3);
  transition: background 0.2s, color 0.2s;
}
.platform-tab img { width: 18px; height: 18px; }
.platform-tab:hover { background: rgba(255,255,255,0.15); color: #fff; }
.platform-tab.active {
  background: rgba(255,255,255,0.95);
  color: #2a3776;
  border-color: #fff;
  font-weight: 700;
}

/* ---- Overview section ---- */
.overview-section {
  padding: 70px 0;
  background: #fff;
}
.overview-section .uk-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.overview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.overview-text h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 20px;
}
.overview-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.overview-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 12px;
}
.overview-bullets li::before {
  content: '';
  flex: 0 0 20px;
  height: 20px;
  margin-top: 2px;
  background: url('/assets/images/icon/check.svg') center/contain no-repeat;
}
.requirements-box {
  background: #f7f8fc;
  border-radius: 6px;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-body);
}
.requirements-box strong { color: var(--text-dark); display: block; margin-bottom: 6px; }
.btn-dl {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 4px;
  transition: background 0.2s;
}
.btn-dl:hover { background: var(--accent-hover); color: #fff; }
.google-play-badge {
  display: inline-block;
  margin-top: 16px;
}
.google-play-badge img {
  height: 48px;
  width: auto;
  margin: 0 auto;
}
.overview-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(42,55,118,0.15);
  margin: 0 auto;
}

/* ---- Split feature rows ---- */
.split-feat-section {
  padding: 70px 0;
  background: #f7f8fc;
}
.split-feat-section.white { background: #fff; }
.split-feat-section .uk-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.split-feat-section h2.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 50px;
}
.feat-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.feat-split-row:last-child { margin-bottom: 0; }
.feat-split-row.reversed { direction: rtl; }
.feat-split-row.reversed > * { direction: ltr; }
.feat-split-text h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 14px;
}
.feat-split-text p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0 0 16px;
}
.feat-split-text .feat-link {
  color: var(--primary-mid);
  font-size: 14px;
  font-weight: 500;
}
.feat-split-text .feat-link:hover { text-decoration: underline; }
.feat-split-img {
  display: flex;
  justify-content: center;
  align-items: center;
}
.feat-split-img img {
  max-width: 280px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(42,55,118,0.18);
  margin: 0 auto;
}

/* ---- Perks section ---- */
.perks-section {
  padding: 70px 0;
  background: #fff;
}
.perks-section .uk-container { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.perks-section h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 40px;
}
.perks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: #f7f8fc;
  border-radius: 8px;
}
.perk-item .perk-icon {
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.perk-item .perk-icon img { width: 36px; height: 36px; }
.perk-item-text h3,
.perk-item-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 4px;
}
.perk-item-text p {
  font-size: 13px;
  color: var(--text-body);
  margin: 0;
  line-height: 1.5;
}

/* ---- Setup steps ---- */
.setup-section {
  padding: 70px 0;
  background: var(--gradient);
  text-align: center;
}
.setup-section .uk-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.setup-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 50px;
}
.setup-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.setup-step {}
.setup-step .step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.setup-step img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto 16px;
}
.setup-step h3 {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.setup-step p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  margin: 0;
  line-height: 1.5;
}

/* ---- Troubleshooting section ---- */
.trouble-section {
  padding: 70px 0;
  background: #f7f8fc;
}
.trouble-section .uk-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.trouble-section h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 36px;
}
.install-previews {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.install-preview-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(42,55,118,0.1);
  margin: 0 auto;
}
.trouble-tips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.trouble-tip {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 1px 6px rgba(42,55,118,0.07);
}
.trouble-tip .tip-icon { flex: 0 0 44px; }
.trouble-tip .tip-icon img { width: 44px; height: 44px; }
.trouble-tip-text h3,
.trouble-tip-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 6px;
}
.trouble-tip-text p {
  font-size: 13px;
  color: var(--text-body);
  margin: 0 0 8px;
  line-height: 1.5;
}
.trouble-tip-text a {
  font-size: 13px;
  font-weight: 500;
  color: var(--primary-mid);
}
.trouble-tip-text a:hover { text-decoration: underline; }

/* ---- Reviews section ---- */
.win-reviews-section {
  padding: 70px 0;
  background: var(--primary-dark);
}
.win-reviews-section .uk-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.win-reviews-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0 0 40px;
}
.win-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.win-review-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 24px;
}
.win-review-card .review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.win-review-card .review-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.win-review-card .review-stars {
  color: #f5c518;
  font-size: 14px;
  letter-spacing: 1px;
}
.win-review-card .review-text {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin: 0 0 10px;
}
.win-review-card .review-country {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* ---- Bottom platform CTA ---- */
.platform-cta-section {
  padding: 60px 0;
  background: #fff;
  text-align: center;
  border-top: 1px solid #eee;
}
.platform-cta-section .uk-container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.platform-cta-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 32px;
}
.platform-cta-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.platform-cta-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.platform-cta-tab img { width: 18px; height: 18px; }
.platform-cta-tab:hover { border-color: var(--primary-mid); color: var(--primary-dark); }
.platform-cta-tab.active {
  border-color: var(--primary-mid);
  color: var(--primary-dark);
  background: #f0f4ff;
}

/* ---- Download cards ---- */
.download-cards-section {
  padding: 60px 0;
  background: #fff;
  border-top: 1px solid #eee;
}
.download-cards-section .uk-container { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.download-cards-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 12px;
}
.download-cards-section > .uk-container > p {
  text-align: center;
  color: var(--text-body);
  font-size: 15px;
  margin: 0 0 36px;
}
.download-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.download-card {
  background: #f7f8fc;
  border: 1.5px solid #e5e9f7;
  border-radius: 10px;
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.download-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.download-card-header img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  margin: 0;
}
.download-card-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}
.download-card-header h3 a {
  color: inherit;
}
.download-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.download-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 10px;
}
.download-card ul li img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.download-card .btn-dl {
  display: inline-block;
  font-size: 15px;
  padding: 13px 28px;
  text-align: center;
  border-radius: 4px;
  margin-top: 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .overview-row { grid-template-columns: 1fr; gap: 36px; }
  .overview-image { order: -1; }
  .feat-split-row { grid-template-columns: 1fr; gap: 28px; direction: ltr; }
  .feat-split-row.reversed { direction: ltr; }
  .feat-split-img img { max-width: 220px; }
  .setup-grid { grid-template-columns: repeat(2, 1fr); }
  .install-previews { grid-template-columns: repeat(2, 1fr); }
  .win-reviews-grid { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .trouble-tips { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 28px; }
  .download-cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .setup-grid { grid-template-columns: 1fr; gap: 24px; }
  .perks-grid { grid-template-columns: 1fr; }
  .install-previews { grid-template-columns: 1fr; }
  .btn-dl { font-size: 15px; padding: 14px 28px; }
  .platform-tabs { gap: 6px; }
  .platform-tab { padding: 8px 14px; font-size: 13px; }
}
