/* ═══════════════════════════════════════════════
   babiaguru.com — 币大师 (Tronix-main style)
   Light theme · Blue accent · Professional layout
   ═══════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --primary: #2563EB;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --primary-bg: #eff6ff;
  --dark: #0f172a;
  --dark-soft: #1e293b;
  --text: #334155;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --bg-section: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.1);
  --radius: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --container: 1200px;
  --header-h: 72px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans SC', sans-serif;
  --transition: .25s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
h1, h2, h3, h4, h5, h6 { color: var(--dark); line-height: 1.3; }

/* ── Container ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ═══════════════════════════════════════════════
   HEADER — White, fixed, with subtle shadow on scroll
   Matches tronix-main: logo left, nav center-right
   ═══════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,.95); backdrop-filter: blur(10px);
  height: var(--header-h); transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); background: var(--white); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.site-logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: var(--dark); }
.site-logo:hover { color: var(--primary); }
.site-logo svg { flex-shrink: 0; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  display: inline-flex; align-items: center; padding: 8px 16px; font-size: 15px; font-weight: 500;
  color: var(--text); border-radius: var(--radius); transition: all var(--transition);
}
.nav-link:hover { color: var(--primary); background: var(--primary-bg); }
.nav-link--active { color: var(--primary); background: var(--primary-bg); }
.header-contact { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--text-light); }
.header-contact svg { margin-right: 4px; }

/* Mobile nav toggle */
.nav-toggle { display: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle__bar { width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: all .3s; }
.nav-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.5); z-index: 999; }
.nav-overlay.open { display: block; }

/* ── Language Switcher (in header) ── */
.lang-switch { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.lang-switch a {
  display: inline-block; padding: 3px 8px; font-size: 12px; font-weight: 500;
  color: var(--text-muted); border-radius: 4px; transition: all var(--transition);
}
.lang-switch a:hover { color: var(--primary); background: var(--primary-bg); }
.lang-switch a.active { color: var(--white); background: var(--primary); }

/* ═══════════════════════════════════════════════
   HERO — Light gradient + wave bottom
   Matches tronix-main: left text, right image area
   ═══════════════════════════════════════════════ */
.hero {
  position: relative; padding: calc(var(--header-h) + 60px) 0 120px;
  background: linear-gradient(135deg, #f0f7ff 0%, #dbeafe 40%, #eff6ff 100%);
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
}
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; margin-bottom: 20px;
  background: var(--white); border-radius: 50px; font-size: 13px; font-weight: 500; color: var(--primary);
  box-shadow: var(--shadow);
}
.hero__badge::before { content: ''; width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }
.hero__title { font-size: 48px; font-weight: 800; line-height: 1.15; color: var(--dark); margin-bottom: 20px; }
.hero__title span { color: var(--primary); }
.hero__desc { font-size: 17px; line-height: 1.8; color: var(--text-light); margin-bottom: 32px; max-width: 520px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__visual {
  position: relative; display: flex; justify-content: center; align-items: center;
}
.hero__visual-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center;
}
.hero__visual-icon { width: 80px; height: 80px; background: var(--primary-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hero__visual-icon svg { color: var(--primary); }
.hero__visual-stat {
  position: absolute; background: var(--white); border-radius: var(--radius); padding: 12px 20px;
  box-shadow: var(--shadow-md); font-size: 14px; font-weight: 600; color: var(--dark);
}
.hero__visual-stat--top { top: 20px; right: -10px; }
.hero__visual-stat--bottom { bottom: 30px; left: -10px; }

/* ═══════════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════════ */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: #cbd5e1; }
.section--blue { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); }
.section--blue h2, .section--blue h3 { color: var(--white); }
.section--blue p { color: rgba(255,255,255,.85); }

.section__badge {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; margin-bottom: 12px;
  background: var(--primary-bg); border-radius: 50px; font-size: 13px; font-weight: 600; color: var(--primary);
  letter-spacing: .02em;
}
.section--dark .section__badge { background: rgba(37,99,235,.2); color: #93c5fd; }
.section--blue .section__badge { background: rgba(255,255,255,.2); color: var(--white); }
.section__title { font-size: 36px; font-weight: 700; margin-bottom: 16px; line-height: 1.25; }
.section__desc { font-size: 16px; color: var(--text-light); max-width: 600px; line-height: 1.7; }
.section__header { text-align: center; margin-bottom: 48px; }
.section__header .section__desc { margin: 0 auto; }

/* ═══════════════════════════════════════════════
   SERVICES — 4 cards in grid
   Matches tronix-main: icon top, title, desc, arrow
   ═══════════════════════════════════════════════ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--border-light);
  transition: all var(--transition); position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.service-card__icon {
  width: 56px; height: 56px; background: var(--primary-bg); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--primary);
  transition: all var(--transition);
}
.service-card:hover .service-card__icon { background: var(--primary); color: var(--white); }
.service-card__title { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--dark); }
.service-card__desc { font-size: 14px; color: var(--text-light); line-height: 1.7; }
.service-card__arrow {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 16px;
  font-size: 14px; font-weight: 500; color: var(--primary);
}

/* ═══════════════════════════════════════════════
   ABOUT — Left text + right visual, split layout
   Matches tronix-main: checklist items, badge, button
   ═══════════════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-list { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 14px; }
.about-item { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--text); }
.about-item__check {
  flex-shrink: 0; width: 24px; height: 24px; background: var(--primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.about-item__check svg { color: var(--white); width: 14px; height: 14px; }
.about-visual {
  background: var(--primary-bg); border-radius: var(--radius-xl); padding: 40px;
  display: flex; flex-direction: column; gap: 20px;
}
.about-visual__card {
  background: var(--white); border-radius: var(--radius); padding: 20px 24px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px;
}
.about-visual__card-icon {
  width: 48px; height: 48px; background: var(--primary-bg); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary);
}
.about-visual__card-text h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.about-visual__card-text p { font-size: 13px; color: var(--text-light); }

/* ═══════════════════════════════════════════════
   CTA BANNER — Blue gradient with wave
   Matches tronix-main: centered text, button
   ═══════════════════════════════════════════════ */
.cta-banner {
  position: relative; padding: 60px 0; overflow: hidden;
  background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 50%, var(--primary-dark) 100%);
}
.cta-banner::before {
  content: ''; position: absolute; top: -2px; left: 0; right: 0; height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40'%3E%3Cpath fill='%23f8fafc' d='M0,0 L1440,0 L1440,10 C1080,40 720,0 360,20 C180,30 90,25 0,20 Z'/%3E%3C/svg%3E") no-repeat top center;
  background-size: cover;
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40'%3E%3Cpath fill='%23ffffff' d='M0,40 C360,10 720,40 1080,20 C1260,10 1380,15 1440,20 L1440,40 L0,40 Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
}
.cta-banner__inner { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.cta-banner__title { font-size: 28px; font-weight: 700; color: var(--white); }
.cta-banner__desc { font-size: 15px; color: rgba(255,255,255,.8); margin-top: 4px; }

/* ═══════════════════════════════════════════════
   STATS ROW — Numbers with labels
   ═══════════════════════════════════════════════ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item__num { font-size: 42px; font-weight: 800; color: var(--primary); line-height: 1; margin-bottom: 8px; }
.stat-item__label { font-size: 14px; color: var(--text-light); font-weight: 500; }
.section--dark .stat-item__num { color: var(--white); }
.section--dark .stat-item__label { color: #94a3b8; }

/* ═══════════════════════════════════════════════
   TESTIMONIALS — 2 cards side by side
   Matches tronix-main: quote, avatar, name, role
   ═══════════════════════════════════════════════ */
.testimonial-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow); border: 1px solid var(--border-light); position: relative;
}
.testimonial-card__quote { font-size: 15px; line-height: 1.8; color: var(--text); margin-bottom: 24px; font-style: italic; }
.testimonial-card__quote::before {
  content: '"'; font-size: 48px; font-weight: 700; color: var(--primary); line-height: 1;
  display: block; margin-bottom: -10px;
}
.testimonial-card__author { display: flex; align-items: center; gap: 12px; }
.testimonial-card__avatar {
  width: 48px; height: 48px; border-radius: 50%; background: var(--primary-bg);
  display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: var(--primary);
}
.testimonial-card__name { font-size: 15px; font-weight: 600; color: var(--dark); }
.testimonial-card__role { font-size: 13px; color: var(--text-muted); }

/* ═══════════════════════════════════════════════
   FEATURED CATEGORIES — 3 columns with images
   Matches tronix-main "Our Top Skilled Experts"
   ═══════════════════════════════════════════════ */
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.featured-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border-light); transition: all var(--transition);
  text-align: center;
}
.featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.featured-card__icon {
  height: 160px; background: var(--primary-bg); display: flex; align-items: center; justify-content: center;
}
.featured-card__icon svg { width: 64px; height: 64px; color: var(--primary); }
.featured-card__body { padding: 24px; }
.featured-card__title { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.featured-card__desc { font-size: 14px; color: var(--text-light); }

/* ═══════════════════════════════════════════════
   PROJECTS / ARTICLES — Card grid with tabs
   Matches tronix-main "Our Successful Projects"
   ═══════════════════════════════════════════════ */
.project-tabs { display: flex; gap: 8px; margin-bottom: 32px; justify-content: center; flex-wrap: wrap; }
.project-tab {
  padding: 8px 20px; border-radius: 50px; font-size: 14px; font-weight: 500;
  background: var(--bg-section); color: var(--text-light); cursor: pointer; transition: all var(--transition);
  border: none;
}
.project-tab:hover, .project-tab.active { background: var(--primary); color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ═══════════════════════════════════════════════
   DARK CTA SECTION
   Matches tronix-main "The Best IT Service Provider"
   ═══════════════════════════════════════════════ */
.dark-cta { position: relative; padding: 100px 0; overflow: hidden; }
.dark-cta__bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
}
.dark-cta__bg::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 70% 50%, rgba(37,99,235,.15), transparent 60%);
}
.dark-cta__inner { position: relative; z-index: 1; max-width: 640px; }
.dark-cta__title { font-size: 40px; font-weight: 700; color: var(--white); margin-bottom: 16px; line-height: 1.2; }
.dark-cta__title span { color: #60a5fa; }
.dark-cta__desc { font-size: 16px; color: #94a3b8; line-height: 1.8; margin-bottom: 32px; }
.dark-cta__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════
   BLOG / LATEST POSTS — 2 cards
   Matches tronix-main "Latest Blog Updates"
   ═══════════════════════════════════════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.blog-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--border-light); transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card__thumb {
  height: 200px; background: var(--primary-bg); display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.blog-card__thumb svg { width: 40px; height: 40px; color: var(--primary); opacity: .5; }
.blog-card__tag {
  position: absolute; top: 12px; left: 12px; padding: 4px 12px; background: var(--primary);
  color: var(--white); border-radius: 50px; font-size: 12px; font-weight: 500;
}
.blog-card__body { padding: 24px; }
.blog-card__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.blog-card__meta svg { width: 14px; height: 14px; }
.blog-card__title { font-size: 18px; font-weight: 600; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--primary); }
.blog-card__excerpt { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ═══════════════════════════════════════════════
   PARTNERS — Logo row
   Matches tronix-main "Trusted by thousands Business"
   ═══════════════════════════════════════════════ */
.partners { padding: 48px 0; border-top: 1px solid var(--border); }
.partners__label { text-align: center; font-size: 14px; color: var(--text-muted); margin-bottom: 24px; font-weight: 500; }
.partners__grid {
  display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap;
}
.partner-logo {
  font-size: 18px; font-weight: 700; color: var(--text-muted); opacity: .5; transition: opacity var(--transition);
  letter-spacing: .03em;
}
.partner-logo:hover { opacity: .8; }

/* ═══════════════════════════════════════════════
   FOOTER — Dark background, 4 columns
   Matches tronix-main footer structure
   ═══════════════════════════════════════════════ */
.site-footer { background: var(--dark); padding: 64px 0 0; color: #94a3b8; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand svg { flex-shrink: 0; }
.footer-brand span { font-size: 20px; font-weight: 700; color: var(--white); }
.footer-desc { font-size: 14px; line-height: 1.8; color: #94a3b8; }
.footer-col__title { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 20px; }
.footer-col__list { display: flex; flex-direction: column; gap: 10px; }
.footer-col__list li a { font-size: 14px; color: #94a3b8; transition: color var(--transition); }
.footer-col__list li a:hover { color: var(--white); }
.footer-lang { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-lang-title { font-size: 14px; color: #94a3b8; margin-bottom: 12px; font-weight: 500; }
.footer-lang-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-lang-grid a {
  display: inline-block; padding: 4px 12px; font-size: 13px; color: #94a3b8;
  border: 1px solid rgba(255,255,255,.1); border-radius: 4px; transition: all var(--transition);
}
.footer-lang-grid a:hover { color: var(--white); border-color: rgba(255,255,255,.3); }
.footer-lang-grid a.active { color: var(--white); background: var(--primary); border-color: var(--primary); }
.footer-risk { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); }
.footer-risk p { font-size: 13px; line-height: 1.7; color: #64748b; }
.footer-risk strong { color: #94a3b8; }
.footer-bottom {
  padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #64748b;
}
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: var(--white); }

/* ═══════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px;
  font-size: 15px; font-weight: 600; border-radius: var(--radius); transition: all var(--transition);
  border: 2px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.4;
}
.btn--primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--white); transform: translateY(-1px); }
.btn--white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn--white:hover { background: #f1f5f9; border-color: #f1f5f9; color: var(--primary); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.3); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); color: var(--white); }
.btn--sm { padding: 8px 20px; font-size: 14px; }
.btn--full { width: 100%; justify-content: center; }
.btn svg { flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   POST LIST / ARCHIVE PAGE
   ═══════════════════════════════════════════════ */
.page-wrapper { padding: calc(var(--header-h) + 40px) 0 60px; min-height: 60vh; }
.page-header { margin-bottom: 40px; }
.page-header__title { font-size: 32px; font-weight: 700; color: var(--dark); }
.page-header__meta { font-size: 14px; color: var(--text-muted); margin-top: 8px; }
.page-content { max-width: 800px; }
.page-content h2 { font-size: 22px; margin: 32px 0 12px; }
.page-content p { margin-bottom: 16px; line-height: 1.8; }
.page-content ul { margin: 0 0 16px 24px; list-style: disc; }
.page-content ul li { margin-bottom: 8px; line-height: 1.7; }
.page-note {
  margin-top: 40px; padding: 20px 24px; background: var(--bg-alt);
  border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px; color: var(--text-light);
}
.page-note strong { color: var(--dark); }

/* Post card grid */
.post-grid { display: grid; gap: 24px; }
.post-grid--3col { grid-template-columns: repeat(3, 1fr); }
.post-grid--2col { grid-template-columns: repeat(2, 1fr); }
.post-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--border-light); transition: all var(--transition);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.post-card__tags, .post-card__category { margin-bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.tag-pill {
  display: inline-block; padding: 3px 10px; font-size: 12px; font-weight: 500;
  background: var(--primary-bg); color: var(--primary); border-radius: 50px; transition: all var(--transition);
}
.tag-pill:hover { background: var(--primary); color: var(--white); }
.tag-pill--sm { padding: 2px 8px; font-size: 11px; }
.post-card__title { font-size: 17px; font-weight: 600; line-height: 1.45; margin-bottom: 8px; color: var(--dark); }
.post-card__title a { color: inherit; }
.post-card__title a:hover { color: var(--primary); }
.post-card__excerpt { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card__meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-muted); }

/* Pagination */
.pagination { margin-top: 48px; }
.pagination__inner { display: flex; align-items: center; justify-content: center; gap: 8px; }
.pagination__btn {
  display: inline-flex; align-items: center; padding: 8px 16px; font-size: 14px; font-weight: 500;
  color: var(--text); border: 1px solid var(--border); border-radius: var(--radius);
  transition: all var(--transition);
}
.pagination__btn:hover:not(.pagination__btn--disabled) { border-color: var(--primary); color: var(--primary); }
.pagination__btn--disabled { opacity: .4; cursor: not-allowed; }
.pagination__pages { display: flex; gap: 4px; }
.pagination__page {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; font-size: 14px; border-radius: var(--radius);
  color: var(--text); transition: all var(--transition);
}
.pagination__page:hover { background: var(--primary-bg); color: var(--primary); }
.pagination__page--current { background: var(--primary); color: var(--white); font-weight: 600; }

/* Tags/categories page */
.tags-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tag-card {
  display: block; padding: 24px; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); border: 1px solid var(--border-light); transition: all var(--transition);
}
.tag-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
.tag-card__name { display: block; font-size: 17px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.tag-card__desc { font-size: 13px; color: var(--text-light); }

/* Breadcrumb */
.breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; padding-top: calc(var(--header-h) + 24px); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }

/* ═══════════════════════════════════════════════
   ARTICLE PAGE — post layout with sidebar
   ═══════════════════════════════════════════════ */
.post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.post-main { min-width: 0; }
.post-header { margin-bottom: 32px; }
.post-header__tags { margin-bottom: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.post-header__title { font-size: 30px; font-weight: 700; line-height: 1.35; color: var(--dark); }
.post-header__meta {
  display: flex; align-items: center; gap: 12px; margin-top: 16px;
  font-size: 13px; color: var(--text-muted); flex-wrap: wrap;
}
.post-header__meta span { display: inline-flex; align-items: center; gap: 4px; }
.post-header__meta svg { flex-shrink: 0; }
.post-header__updated { color: var(--primary); }
.post-highlight {
  padding: 16px 20px; margin-bottom: 28px; background: var(--primary-bg);
  border-radius: var(--radius); font-size: 15px; color: var(--text); line-height: 1.7;
  border-left: 4px solid var(--primary);
}

/* Post body typography */
.post-body { line-height: 1.85; }
.post-body h2 { font-size: 24px; font-weight: 700; margin: 40px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.post-body h3 { font-size: 20px; font-weight: 600; margin: 32px 0 12px; }
.post-body p { margin-bottom: 16px; }
.post-body ul, .post-body ol { margin: 0 0 16px 24px; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: 6px; line-height: 1.8; }
.post-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.post-body a:hover { color: var(--primary-dark); }
.post-body blockquote {
  margin: 20px 0; padding: 16px 20px; border-left: 4px solid var(--primary);
  background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-light); font-style: italic;
}
.post-body code { background: var(--bg-section); padding: 2px 6px; border-radius: 4px; font-size: 14px; }
.post-body pre { background: var(--dark); color: #e2e8f0; padding: 20px; border-radius: var(--radius); overflow-x: auto; margin: 20px 0; }
.post-body pre code { background: none; padding: 0; font-size: 14px; }
.post-body img { border-radius: var(--radius); margin: 20px 0; box-shadow: var(--shadow); }
.post-body strong { color: var(--dark); font-weight: 600; }

/* Related posts */
.post-related { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.post-related h3 { font-size: 20px; font-weight: 600; margin-bottom: 20px; }
.post-related__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.post-related__card {
  display: block; padding: 16px 20px; background: var(--bg-alt); border-radius: var(--radius);
  transition: all var(--transition); border: 1px solid var(--border-light);
}
.post-related__card:hover { background: var(--primary-bg); border-color: var(--primary-light); }
.post-related__title { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 4px; }
.post-related__date { font-size: 12px; color: var(--text-muted); }

/* Sidebar */
.post-sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
.post-sidebar__toc { margin-bottom: 24px; }
.post-sidebar__title {
  font-size: 15px; font-weight: 600; color: var(--dark); padding-bottom: 12px;
  border-bottom: 2px solid var(--primary); margin-bottom: 12px;
}
.post-sidebar__block { margin-bottom: 24px; }
.toc ul { display: flex; flex-direction: column; gap: 4px; }
.toc li a { display: block; padding: 4px 8px; font-size: 13px; color: var(--text-light); border-radius: 4px; transition: all var(--transition); }
.toc li a:hover { color: var(--primary); background: var(--primary-bg); }
.toc li.toc-sub a { padding-left: 20px; font-size: 12px; }
.post-sidebar__list { display: flex; flex-direction: column; gap: 8px; }
.post-sidebar__list li a { font-size: 13px; color: var(--text); line-height: 1.5; display: block; padding: 4px 0; }
.post-sidebar__list li a:hover { color: var(--primary); }
.post-sidebar__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.post-sidebar__tag {
  display: inline-block; padding: 4px 12px; font-size: 12px; background: var(--bg-section);
  color: var(--text); border-radius: 50px; transition: all var(--transition);
}
.post-sidebar__tag:hover, .post-sidebar__tag--active { background: var(--primary); color: var(--white); }

/* ═══════════════════════════════════════════════
   DOWNLOAD PAGE
   ═══════════════════════════════════════════════ */
/* ── Download Landing Page ── */
.dl-hero {
  position: relative; padding: calc(var(--header-h) + 60px) 0 80px;
  background: linear-gradient(135deg, #f0f7ff 0%, #dbeafe 40%, #eff6ff 100%);
  overflow: hidden;
}
.dl-hero::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
}
.dl-hero__inner { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: center; position: relative; z-index: 1; }
.dl-hero__title { font-size: 44px; font-weight: 800; line-height: 1.2; color: var(--dark); margin-bottom: 16px; }
.dl-hero__title span { color: var(--primary); }
.dl-hero__desc { font-size: 16px; color: var(--text-light); line-height: 1.8; margin-bottom: 28px; }
.dl-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn--lg { padding: 14px 32px; font-size: 16px; }
.dl-hero__phone {
  background: var(--white); border-radius: 28px; padding: 12px; box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-light);
}
.dl-hero__phone-screen {
  background: var(--bg-alt); border-radius: 20px; padding: 20px; min-height: 340px;
  display: flex; flex-direction: column; gap: 12px;
}
.dl-hero__phone-header { display: flex; justify-content: space-between; align-items: center; }
.dl-hero__phone-stat { display: flex; align-items: baseline; gap: 10px; }
.dl-hero__phone-chart { height: 60px; margin: 4px 0; }
.dl-hero__phone-chart svg { width: 100%; height: 100%; }
.dl-hero__phone-row {
  display: flex; justify-content: space-between; padding: 8px 12px; background: var(--white);
  border-radius: var(--radius); font-size: 14px;
}
.dl-platforms { padding: 80px 0; }
.dl-platform-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dl-platform-card {
  background: var(--white); border-radius: var(--radius-xl); padding: 36px 28px;
  box-shadow: var(--shadow); border: 1px solid var(--border-light);
  display: flex; flex-direction: column; position: relative; transition: all var(--transition);
}
.dl-platform-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.dl-platform-card__icon {
  width: 72px; height: 72px; border-radius: var(--radius-lg); display: flex;
  align-items: center; justify-content: center; margin-bottom: 20px;
}
.dl-platform-card--android .dl-platform-card__icon { background: #dcfce7; color: #16a34a; }
.dl-platform-card--ios .dl-platform-card__icon { background: #f3f4f6; color: #374151; }
.dl-platform-card--pc .dl-platform-card__icon { background: var(--primary-bg); color: var(--primary); }
.dl-platform-card__badge {
  position: absolute; top: 20px; right: 20px; padding: 4px 14px; background: var(--primary);
  color: var(--white); border-radius: 50px; font-size: 12px; font-weight: 600;
}
.dl-platform-card__title { font-size: 22px; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.dl-platform-card__desc { font-size: 14px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }
.dl-platform-card__steps { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; flex: 1; }
.dl-step { display: flex; align-items: flex-start; gap: 12px; }
.dl-step__circle {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--primary-bg);
  color: var(--primary); display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.dl-step__text { font-size: 14px; color: var(--text); line-height: 1.6; padding-top: 3px; }
.dl-platform-card__tip { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; padding: 12px; background: var(--bg-alt); border-radius: var(--radius); }
.dl-platform-card__tip a { color: var(--primary); text-decoration: underline; }
.dl-platform-card__features { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; flex: 1; }
.dl-feature-item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); }
.dl-feature-item svg { flex-shrink: 0; }
.dl-safety {
  padding: 80px 0; background: var(--dark); color: var(--white);
}
.dl-safety__inner { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: start; }
.dl-safety__icon { color: #60a5fa; }
.dl-safety__title { font-size: 28px; font-weight: 700; color: var(--white); margin-bottom: 28px; }
.dl-safety__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.dl-safety-item {
  display: flex; gap: 14px; padding: 16px; background: rgba(255,255,255,.05);
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,.08);
}
.dl-safety-item__icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--radius); background: rgba(37,99,235,.15); color: #60a5fa; display: flex; align-items: center; justify-content: center; }
.dl-safety-item strong { display: block; font-size: 14px; color: var(--white); margin-bottom: 2px; }
.dl-safety-item p { font-size: 13px; color: #94a3b8; line-height: 1.5; margin: 0; }

@media (max-width: 1024px) {
  .dl-hero__inner { grid-template-columns: 1fr; }
  .dl-hero__visual { display: none; }
  .dl-platform-grid { grid-template-columns: 1fr; }
  .dl-safety__inner { grid-template-columns: 1fr; }
  .dl-safety__icon { display: none; }
}
@media (max-width: 768px) {
  .dl-hero__title { font-size: 32px; }
  .dl-hero__actions { flex-direction: column; }
  .dl-safety__grid { grid-template-columns: 1fr; }
  .dl-safety__title { font-size: 22px; }
}

/* ═══════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════ */
.not-found { text-align: center; padding: calc(var(--header-h) + 80px) 20px 80px; min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.not-found__code { font-size: 120px; font-weight: 800; color: var(--primary); line-height: 1; opacity: .2; }
.not-found__title { font-size: 28px; font-weight: 600; color: var(--dark); margin: 16px 0 8px; }
.not-found__desc { font-size: 16px; color: var(--text-light); margin-bottom: 32px; }

/* ═══════════════════════════════════════════════
   FAQ — Accordion style
   Matches tronix-main FAQ section (if any)
   ═══════════════════════════════════════════════ */
.faq-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.faq-card {
  display: flex; flex-direction: column; padding: 28px; background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border-light); box-shadow: var(--shadow); transition: all var(--transition);
  text-decoration: none; color: inherit;
}
.faq-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.faq-card__q { font-size: 16px; font-weight: 600; color: var(--dark); margin-bottom: 10px; line-height: 1.4; }
.faq-card__a {
  font-size: 14px; color: var(--text-light); line-height: 1.7; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.faq-card__link { margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--primary); }
.faq-card:hover .faq-card__link { text-decoration: underline; }
@media (max-width: 768px) { .faq-card-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════════════ */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px;
  background: var(--primary); color: var(--white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); opacity: 0; visibility: hidden;
  transition: all var(--transition); z-index: 100;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { order: -1; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .post-sidebar__toc { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .site-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--white); flex-direction: column; justify-content: center; align-items: center; gap: 16px; z-index: 1001; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .lang-switch { display: none; }
  .hero { padding: calc(var(--header-h) + 32px) 0 80px; }
  .hero__title { font-size: 32px; }
  .hero__desc { font-size: 15px; }
  .services-grid { grid-template-columns: 1fr; }
  .section__title { font-size: 28px; }
  .dark-cta__title { font-size: 28px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item__num { font-size: 32px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-grid--3col { grid-template-columns: 1fr; }
  .post-grid--2col { grid-template-columns: 1fr; }
  .tags-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-banner__inner { flex-direction: column; text-align: center; gap: 20px; }
  .post-related__grid { grid-template-columns: 1fr; }
  .post-sidebar { grid-template-columns: 1fr; }
  .page-header__title { font-size: 26px; }
  .pagination__pages { display: none; }
  .dark-cta__actions { flex-direction: column; }
  .hero__actions { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 26px; }
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }
  .partners__grid { gap: 24px; }
}
