/* StreamHub APK template - style.css
   Plain CSS, no framework. Matches a single-column APK article layout:
   brick-red header, coral pill headings, grey page background,
   white content column, coral footer. */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --coral: #ec6853;
  --brick: #be4633;
  --page-bg: #eeeeee;
  --white: #ffffff;
  --text: #111111;
  --muted: #333333;
  --border: #dddddd;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--page-bg);
  font-size: 17px;
  line-height: 1.8;
}

.container {
  width: 94%;
  max-width: 1150px;
  margin: 0 auto;
}

a {
  color: #0066cc;
  text-decoration: underline;
}

/* ---------- header ---------- */
.site-header {
  background: var(--brick);
  padding: 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 75px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  text-decoration: none;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--brick);
  font-size: 1.6rem;
  font-weight: 800;
  border-radius: 8px;
  object-fit: cover;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-menu {
  margin-left: auto;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.nav-menu ul li a {
  color: var(--white);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.nav-menu ul li a:hover {
  color: #ffe0da;
}

.search-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

/* ---------- page column ---------- */
.page {
  max-width: 1150px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px 45px 60px;
}

.page section {
  margin-bottom: 30px;
}

/* ---------- hero ---------- */
.hero {
  text-align: center;
  padding: 10px 0 30px;
}

.app-icon {
  width: 150px;
  height: 150px;
  margin: 0 auto 18px;
  background: var(--brick);
  color: var(--white);
  font-size: 5rem;
  font-weight: 800;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  object-fit: cover;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  color: #000000;
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero-intro {
  font-size: 18px;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto 22px;
}

.feature-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 17px;
  color: #000000;
  margin-bottom: 26px;
}

.btn-download {
  display: inline-block;
  background: var(--coral);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 15px 40px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
}

.btn-download:hover {
  background: #d95540;
}

.btn-center {
  display: block;
  width: fit-content;
  margin: 30px auto 0;
}

/* ---------- headings ---------- */
.page h2 {
  background: var(--coral);
  color: #000000;
  font-size: 23px;
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  border-radius: 50px;
  padding: 12px 20px;
  margin: 45px 0 24px;
  line-height: 1.4;
}

.page h3 {
  font-size: 27px;
  font-weight: 700;
  color: #000000;
  margin: 30px 0 10px;
  line-height: 1.4;
}

.page p {
  margin-bottom: 16px;
  color: var(--text);
}

.page ul {
  margin: 0 0 18px 24px;
}

.page ul li {
  margin-bottom: 8px;
}

/* ---------- pros and cons table ---------- */
.pros-cons {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--white);
}

.pros-cons th,
.pros-cons td {
  border: 1px solid #bbbbbb;
  padding: 11px 12px;
  text-align: center;
  font-size: 16px;
}

.pros-cons th {
  font-weight: 700;
  color: #000000;
  background: var(--white);
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 20px;
  font-size: 17px;
  font-weight: 700;
  color: #000000;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: inherit;
}

.faq-question:hover {
  color: var(--brick);
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--coral);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 20px 18px;
  color: var(--muted);
  margin-bottom: 0;
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--coral);
  color: #000000;
  text-align: center;
  padding: 16px 20px;
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 40px;
  }

  .page h3 {
    font-size: 23px;
  }

  .page {
    padding: 30px 26px 50px;
  }
}

@media (max-width: 640px) {
  .hamburger {
    display: flex;
  }

  .search-btn {
    display: none;
  }

  .nav-menu {
    display: none;
    width: 100%;
    order: 3;
  }

  .nav-menu.open {
    display: block;
  }

  .nav-menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 10px;
  }

  .nav-menu ul li {
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
  }

  .nav-menu ul li a {
    display: block;
    padding: 12px 4px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .app-icon {
    width: 110px;
    height: 110px;
    font-size: 3.5rem;
  }

  .page {
    padding: 24px 18px 40px;
  }

  .page h2 {
    font-size: 19px;
    padding: 10px 14px;
  }

  .page h3 {
    font-size: 21px;
  }

  body {
    font-size: 16px;
  }

  .feature-row {
    gap: 12px;
    font-size: 15px;
  }
}

/* ---------- search bar ---------- */
.search-bar {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

.search-bar.open {
  display: block;
}

.search-inner {
  display: flex;
  gap: 10px;
  align-items: center;
}

.search-inner input {
  flex: 1;
  padding: 12px 14px;
  font-size: 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: inherit;
}

.search-inner button {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

#searchGo {
  background: var(--coral);
  color: var(--white);
}

#searchClose {
  background: #eeeeee;
  color: var(--text);
}

.search-msg {
  display: none;
  text-align: center;
  color: #b00020;
  font-size: 14px;
  margin: 8px 0 0;
}

.search-msg.show {
  display: block;
}

/* ---------- multi-page additions ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-align: center;
  text-decoration: none;
}

.btn-small {
  padding: 8px 18px;
  font-size: 0.9rem;
  background: var(--coral);
  color: var(--white);
}

.btn-small:hover {
  background: #d95540;
}

.note {
  background: #fff8e1;
  border-left: 4px solid #ffb300;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
}

/* version list (download page) */
.version-list {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
}

.version-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.version-row:last-child {
  border-bottom: none;
}

.version-name {
  font-weight: 700;
}

.version-name em {
  font-style: normal;
  background: #e8f5e9;
  color: #1b7a2e;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 6px;
}

.version-size {
  color: var(--muted);
}

/* version table (old versions, pc) */
.version-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 26px;
  background: var(--white);
}

.version-table th,
.version-table td {
  border: 1px solid #dddddd;
  padding: 11px 12px;
  text-align: left;
  font-size: 16px;
}

.version-table th {
  background: #f6f6f6;
}

/* numbered steps */
.steps-list {
  list-style: none;
  counter-reset: step;
  margin: 14px 0 20px;
}

.steps-list li {
  counter-increment: step;
  padding: 14px 0 14px 52px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.steps-list li:last-child {
  border-bottom: none;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 14px;
  width: 34px;
  height: 34px;
  background: var(--coral);
  color: var(--white);
  border-radius: 50%;
  text-align: center;
  line-height: 34px;
  font-weight: bold;
}

/* blog cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  background: var(--white);
}

.blog-card h3 {
  font-size: 21px;
  margin: 0 0 6px;
}

.blog-card h3 a {
  color: #000000;
  text-decoration: none;
}

.blog-card h3 a:hover {
  color: var(--brick);
}

.post-meta {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.blog-card p {
  color: var(--muted);
  font-size: 15px;
}

.read-more {
  font-weight: 700;
  text-decoration: none;
}

/* contact form */
.contact-form {
  max-width: 600px;
  margin: 10px 0 20px;
}

.contact-form label {
  display: block;
  font-weight: 700;
  margin: 14px 0 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.contact-form button {
  margin-top: 18px;
}

.form-msg {
  display: none;
  background: #e8f5e9;
  border-left: 4px solid #1b7a2e;
  padding: 12px 16px;
  border-radius: 6px;
  color: #1b7a2e;
  font-weight: 600;
}

.form-msg.show {
  display: block;
}

/* footer links */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer-links a {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- mobile hardening: no horizontal scroll, single column like veduapk.download ---------- */
html,
body {
  overflow-x: hidden;
}

img,
table,
video,
iframe {
  max-width: 100%;
}

.page,
.page p,
.page li,
.page h2,
.page h3,
.blog-card,
.faq-answer p {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.search-inner input {
  min-width: 0;
}

.btn-download {
  max-width: 100%;
  white-space: normal;
}

@media (max-width: 640px) {
  .pros-cons,
  .version-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .pros-cons th,
  .pros-cons td,
  .version-table th,
  .version-table td {
    font-size: 14px;
    padding: 9px 10px;
  }

  .logo {
    min-width: 0;
  }

  .logo-text {
    font-size: 1.15rem;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 28px;
  }

  .page {
    padding: 20px 14px 36px;
  }

  .page h2 {
    font-size: 18px;
    padding: 10px 12px;
  }

  .page h3 {
    font-size: 19px;
  }

  .btn-download {
    padding: 13px 26px;
    font-size: 1rem;
  }
}
.content-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}

@media (max-width: 640px) {
  .content-img {
    height: auto;
  }
}

