/*
Theme Name: XK Sport 星空体育
Theme URI: https://xk-sport.ai
Author: XK Sport
Description: 星空体育官方WordPress主题，支持后台写文章自动同步资讯页面
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: xk-sport
*/
/* ===========================
   星空体育 XK-Sport Global Styles
   =========================== */

/* CSS Variables */
:root {
  --primary: #0d2b5e;
  --primary-light: #1a3f8f;
  --accent: #e8a020;
  --accent-hover: #c98a10;
  --bg: #f5f7fa;
  --bg-white: #ffffff;
  --bg-section: #eef1f6;
  --text-dark: #0f1e3c;
  --text-mid: #3a4a6b;
  --text-light: #6b7a99;
  --border: #dce3ef;
  --shadow-sm: 0 2px 8px rgba(13,43,94,0.08);
  --shadow-md: 0 6px 24px rgba(13,43,94,0.12);
  --shadow-lg: 0 12px 40px rgba(13,43,94,0.16);
  --radius: 10px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===========================
   HEADER / NAVIGATION
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--bg-section);
  color: var(--primary);
}
.btn-download-nav {
  margin-left: 8px;
  padding: 9px 20px;
  background: var(--accent);
  color: #fff !important;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(232,160,32,0.25);
}
.btn-download-nav:hover {
  background: var(--accent-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,160,32,0.35);
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 60%, #2a5fbb 100%);
  color: #fff;
  padding: 90px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.hero-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.hero h1 {
  font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.05rem;
  opacity: 0.88;
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  padding: 13px 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(232,160,32,0.4);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,160,32,0.5);
}
.btn-outline {
  padding: 13px 32px;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ===========================
   SECTION LAYOUTS
   =========================== */
.section {
  padding: 72px 24px;
}
.section-alt {
  background: var(--bg-section);
}
.container {
  max-width: 1280px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-header h2 {
  font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}

/* ===========================
   CARDS
   =========================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; fill: #fff; }
.card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}
.card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===========================
   NEWS CARDS
   =========================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.news-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.news-thumb-inner {
  text-align: center;
  color: rgba(255,255,255,0.7);
}
.news-thumb-inner svg { width: 48px; height: 48px; fill: rgba(255,255,255,0.4); }
.news-thumb-inner span {
  display: block;
  font-size: 0.78rem;
  margin-top: 6px;
  font-weight: 500;
}
.news-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.06em;
}
.news-body {
  padding: 20px;
}
.news-body h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.5;
}
.news-body p {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 14px;
}
.news-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.news-meta span { display: flex; align-items: center; gap: 4px; }

/* ===========================
   STATS BAR
   =========================== */
.stats-bar {
  background: var(--primary);
  color: #fff;
  padding: 40px 24px;
}
.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item {}
.stat-num {
  font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 0.88rem;
  opacity: 0.8;
}

/* ===========================
   DOWNLOAD SECTION
   =========================== */
.download-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #1a4aaa 100%);
  color: #fff;
  padding: 80px 24px;
  text-align: center;
}
.download-hero h1 {
  font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.download-hero h1 span { color: var(--accent); }
.download-hero p {
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto 40px;
}
.download-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-dl {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  background: rgba(255,255,255,0.1);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.btn-dl:hover {
  background: rgba(255,255,255,0.2);
  border-color: #fff;
  transform: translateY(-2px);
}
.btn-dl.accent {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(232,160,32,0.4);
}
.btn-dl.accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}
.btn-dl svg { width: 24px; height: 24px; fill: #fff; flex-shrink: 0; }
.btn-dl-text { text-align: left; }
.btn-dl-text small { display: block; font-size: 0.72rem; font-weight: 400; opacity: 0.85; }

/* ===========================
   STEPS / PROCESS
   =========================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 2px 8px rgba(232,160,32,0.3);
}
.step-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--bg-section);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon svg { width: 28px; height: 28px; fill: var(--primary); }
.step h3 { font-size: 1rem; font-weight: 600; color: var(--primary); margin-bottom: 8px; }
.step p { font-size: 0.87rem; color: var(--text-light); }

/* ===========================
   FEATURES TABLE
   =========================== */
.feature-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.feature-table th {
  background: var(--primary);
  color: #fff;
  padding: 14px 20px;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 600;
}
.feature-table td {
  padding: 13px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-mid);
}
.feature-table tr:last-child td { border-bottom: none; }
.feature-table tr:nth-child(even) td { background: var(--bg-section); }
.check { color: #22a855; font-weight: 700; }
.cross { color: #e05555; }

/* ===========================
   FAQ
   =========================== */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 24px;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner {
  padding: 4px 24px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ===========================
   CTA BANNER
   =========================== */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #c98a10 100%);
  padding: 64px 24px;
  text-align: center;
  color: #fff;
}
.cta-banner h2 {
  font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.btn-white {
  padding: 13px 36px;
  background: #fff;
  color: var(--accent);
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  display: inline-block;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ===========================
   BREADCRUMB
   =========================== */
.breadcrumb {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 10px 24px;
  font-size: 0.83rem;
  color: var(--text-light);
}
.breadcrumb-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { opacity: 0.4; }

/* ===========================
   PAGE HERO (inner pages)
   =========================== */
.page-hero {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 64px 24px 56px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.page-hero h1 span { color: var(--accent); }
.page-hero p {
  font-size: 1rem;
  opacity: 0.88;
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  padding: 56px 24px 0;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-top: 14px;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.87rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-keywords {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-logo img { height: 36px; }

/* ===========================
   TAG / BADGE
   =========================== */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 600;
}
.badge-blue { background: #e3ebff; color: var(--primary); }
.badge-gold { background: #fff4dd; color: #b07000; }
.badge-green { background: #e0f7ec; color: #1a7a43; }

/* ===========================
   SPORTS TAGS
   =========================== */
.sports-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sport-tag {
  padding: 8px 18px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  cursor: default;
}
.sport-tag:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ===========================
   INTRO BLOCK (2 col)
   =========================== */
.intro-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-text h2 {
  font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.3;
}
.intro-text p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 14px;
}
.intro-visual {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-lg);
}
.intro-visual svg { width: 64px; height: 64px; fill: rgba(255,255,255,0.35); }
.intro-visual.intro-visual-img {
  background: none;
  padding: 0;
  height: auto;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.intro-visual.intro-visual-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .intro-block { grid-template-columns: 1fr; gap: 36px; }
  .intro-visual { height: 220px; }
}
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; left: 0; right: 0; background: #fff; padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 16px; border-radius: 6px; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 60px 20px 56px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; align-items: center; }
  .download-btns { flex-direction: column; align-items: center; }
}

/* ===========================
   APP DOWNLOAD CARDS (3-col showcase)
   =========================== */
.app-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.app-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px 36px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  text-align: center;
}
.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.app-card-img {
  position: relative;
  border-radius: var(--radius);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 50% at center bottom, rgba(26,63,143,0.12) 0%, rgba(26,63,143,0.04) 50%, rgba(26,63,143,0) 100%);
}
.app-card-img::after {
  content: '';
  position: absolute;
  bottom: 12%;
  left: 50%;
  width: 70%;
  height: 14px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(26,63,143,0.18) 0%, rgba(26,63,143,0) 70%);
  z-index: 0;
  filter: blur(2px);
}
.app-card-img img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.app-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.app-card p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 28px;
  flex-grow: 1;
  text-align: justify;
}
.btn-app-dl {
  display: inline-block;
  padding: 11px 44px;
  border: 2px solid var(--primary);
  border-radius: 30px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.98rem;
  background: transparent;
  transition: all var(--transition);
  align-self: center;
  cursor: pointer;
}
.btn-app-dl:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(13,43,94,0.28);
}
@media (max-width: 1024px) {
  .app-cards { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .app-card-img { height: 260px; }
}
@media (max-width: 480px) {
  .app-card { padding: 24px 20px 28px; }
  .app-card-img { height: 220px; margin-bottom: 20px; }
  .app-card h3 { font-size: 1.2rem; }
  .app-card p { font-size: 0.88rem; }
}
