/* ============================================================
   ApkPocket — Download Hub Theme
   Color: Teal #0D9488 + Emerald #059669
   Background: #f0fdfa (teal-50)
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans SC","Noto Sans JP","Noto Sans KR",sans-serif;line-height:1.7;color:#1e293b;background:#f0fdfa;min-height:100vh}
a{color:#0d9488;text-decoration:none;transition:color .2s}
a:hover{color:#059669}
img{max-width:100%;height:auto;display:block}
ul,ol{list-style:none}
h1,h2,h3,h4,h5,h6{line-height:1.3;color:#0f172a}
h1{font-size:2rem}h2{font-size:1.5rem}h3{font-size:1.25rem}h4{font-size:1.1rem}

/* ── Container ────────────────────────────────────────────── */
.container{max-width:1200px;margin:0 auto;padding:0 20px}

/* ── Buttons ──────────────────────────────────────────────── */
.btn{display:inline-flex;align-items:center;gap:6px;padding:10px 22px;border-radius:8px;font-size:.9rem;font-weight:600;transition:all .2s;cursor:pointer;border:none;white-space:nowrap;text-decoration:none}
.btn--primary{background:#0d9488;color:#fff}
.btn--primary:hover{background:#0f766e;color:#fff}
.btn--secondary{background:#059669;color:#fff}
.btn--secondary:hover{background:#047857;color:#fff}
.btn--outline{background:transparent;color:#0d9488;border:2px solid #0d9488}
.btn--outline:hover{background:#0d9488;color:#fff}
.btn--download{background:#059669;color:#fff;padding:8px 18px;font-size:.85rem;border-radius:6px}
.btn--download:hover{background:#047857;color:#fff}
.btn--register{background:#0d9488;color:#fff;padding:8px 18px;font-size:.85rem;border-radius:6px}
.btn--register:hover{background:#0f766e;color:#fff}
.btn--hero{padding:14px 32px;font-size:1rem;border-radius:10px}
.btn--hero-dl{background:#059669;color:#fff;padding:14px 32px;font-size:1rem;border-radius:10px}
.btn--hero-dl:hover{background:#047857;color:#fff}
.btn--hero-reg{background:#fff;color:#0d9488;padding:14px 32px;font-size:1rem;border-radius:10px;border:2px solid rgba(255,255,255,.3)}
.btn--hero-reg:hover{background:#f0fdfa;color:#0f766e}

/* Ensure button text colors win over .post-body a / .static-page a */
.post-body a.btn,
.static-page a.btn{text-decoration:none}
.post-body a.btn--primary,.static-page a.btn--primary{color:#fff}
.post-body a.btn--primary:hover,.static-page a.btn--primary:hover{color:#fff}
.post-body a.btn--secondary,.static-page a.btn--secondary{color:#fff}
.post-body a.btn--secondary:hover,.static-page a.btn--secondary:hover{color:#fff}
.post-body a.btn--hero-dl,.static-page a.btn--hero-dl{color:#fff}
.post-body a.btn--hero-dl:hover,.static-page a.btn--hero-dl:hover{color:#fff}
.post-body a.btn--download,.static-page a.btn--download{color:#fff}
.post-body a.btn--download:hover,.static-page a.btn--download:hover{color:#fff}
.post-body a.btn--register,.static-page a.btn--register{color:#fff}
.post-body a.btn--register:hover,.static-page a.btn--register:hover{color:#fff}
.post-body a.btn--cta-apk,.static-page a.btn--cta-apk{color:#fff}
.post-body a.btn--apk,.static-page a.btn--apk{color:#fff}
.post-body a.btn--hero-reg,.static-page a.btn--hero-reg{color:#0d9488}
.post-body a.btn--hero-reg:hover,.static-page a.btn--hero-reg:hover{color:#0f766e}
.post-body a.btn--outline,.static-page a.btn--outline{color:#0d9488}
.post-body a.btn--outline:hover,.static-page a.btn--outline:hover{color:#fff}
.btn--sm{padding:6px 14px;font-size:.8rem}
.btn--footer-dl{background:rgba(255,255,255,.15);color:#fff;border:1px solid rgba(255,255,255,.3);padding:8px 18px;font-size:.85rem;border-radius:6px}
.btn--footer-dl:hover{background:rgba(255,255,255,.25);color:#fff}
.btn--cta-apk{background:#059669;color:#fff;padding:12px 28px;font-size:.95rem;border-radius:8px}
.btn--cta-apk:hover{background:#047857;color:#fff}
.btn--apk{background:#059669;color:#fff}
.btn--apk:hover{background:#047857;color:#fff}

/* ── Header ───────────────────────────────────────────────── */
.site-header{position:sticky;top:0;z-index:100;background:#0f172a;border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(12px)}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;max-width:1200px;margin:0 auto;padding:0 20px;height:64px}
.site-logo{font-size:1.25rem;font-weight:800;color:#fff;letter-spacing:-.5px;display:flex;align-items:center;gap:8px}
.site-logo:hover{color:#5eead4}
.site-logo .logo-icon{width:28px;height:28px;background:linear-gradient(135deg,#0d9488,#059669);border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:.8rem;color:#fff}

/* Nav */
.site-nav{display:flex;align-items:center;gap:4px}
.nav-item{position:relative}
.nav-item>a,.nav-item>.nav-link{display:flex;align-items:center;gap:4px;padding:8px 14px;color:rgba(255,255,255,.8);font-size:.88rem;font-weight:500;border-radius:6px;transition:all .2s;cursor:pointer}
.nav-item>a:hover,.nav-item>.nav-link:hover{color:#fff;background:rgba(255,255,255,.08)}
.nav-arrow{font-size:.65rem;opacity:.6}

/* Dropdown */
.nav-dropdown{position:absolute;top:100%;left:50%;transform:translateX(-50%);min-width:200px;background:#1e293b;border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:8px;opacity:0;visibility:hidden;transition:all .2s;margin-top:8px;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.nav-item.has-dropdown:hover .nav-dropdown{opacity:1;visibility:visible;margin-top:2px}
.nav-dropdown a{display:block;padding:8px 14px;color:rgba(255,255,255,.75);font-size:.85rem;border-radius:6px;transition:all .15s}
.nav-dropdown a:hover{background:rgba(13,148,136,.2);color:#5eead4}
.dropdown-label{display:block;padding:6px 14px 4px;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.35);font-weight:600}

/* Header actions */
.header-actions{display:flex;align-items:center;gap:10px}
.lang-switcher{display:flex;align-items:center;gap:2px;background:rgba(255,255,255,.08);border-radius:6px;padding:2px}
.lang-switcher a{padding:5px 10px;font-size:.75rem;font-weight:600;color:rgba(255,255,255,.5);border-radius:4px;transition:all .15s}
.lang-switcher a:hover{color:rgba(255,255,255,.8)}
.lang-switcher a.active{background:#0d9488;color:#fff}

/* Mobile toggle */
.nav-toggle{display:none;background:none;border:none;cursor:pointer;padding:8px;color:#fff}
.nav-toggle svg{width:24px;height:24px;stroke:currentColor;stroke-width:2;fill:none}

/* ── Announce Bar ─────────────────────────────────────────── */
.announce-bar{background:linear-gradient(90deg,#0d9488,#059669);color:#fff;text-align:center;padding:10px 20px;font-size:.85rem;font-weight:500}
.announce-bar a{color:#fff;text-decoration:underline;font-weight:700}
.announce-bar a:hover{opacity:.85;color:#fff}

/* ── Platform Tabs ────────────────────────────────────────── */
.platform-tabs{display:flex;gap:0;background:rgba(255,255,255,.15);border-radius:10px;padding:4px;max-width:320px;margin:0 auto}
.platform-tab{flex:1;padding:10px 24px;text-align:center;font-size:.9rem;font-weight:600;color:rgba(255,255,255,.7);border-radius:8px;cursor:pointer;transition:all .2s;border:none;background:transparent}
.platform-tab.active{background:#fff;color:#0d9488;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.platform-tab:hover:not(.active){color:#fff;background:rgba(255,255,255,.1)}

/* ── Hero Section ─────────────────────────────────────────── */
.hero-download{background:linear-gradient(135deg,#0f172a 0%,#134e4a 50%,#0f172a 100%);color:#fff;padding:80px 0 60px;text-align:center;position:relative;overflow:hidden}
.hero-download::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle at 30% 50%,rgba(13,148,136,.2) 0%,transparent 50%);pointer-events:none}
.hero-download .container{position:relative;z-index:1}
.hero-badge{display:inline-flex;align-items:center;gap:6px;background:rgba(13,148,136,.3);border:1px solid rgba(13,148,136,.5);color:#5eead4;padding:6px 16px;border-radius:99px;font-size:.8rem;font-weight:600;margin-bottom:20px}
.hero-download__title{font-size:2.5rem;font-weight:800;margin-bottom:16px;letter-spacing:-.5px;line-height:1.2;color:#fff}
.hero-download__desc{font-size:1.1rem;color:rgba(255,255,255,.75);max-width:600px;margin:0 auto 28px;line-height:1.6}
.hero-download__btns{display:flex;gap:14px;justify-content:center;margin-bottom:32px;flex-wrap:wrap}
.hero-download__version{font-size:.8rem;color:rgba(255,255,255,.4);margin-top:16px}

/* ── Step Cards ───────────────────────────────────────────── */
.steps-section{padding:60px 0;background:#fff;border-bottom:1px solid #e2e8f0}
.steps-section .section-hd{text-align:center;margin-bottom:40px}
.section-hd__title{font-size:1.6rem;font-weight:700;color:#0f172a;margin-bottom:8px}
.section-hd__subtitle{font-size:1rem;color:#64748b}
.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;position:relative}
.steps-grid::before{content:'';position:absolute;top:48px;left:20%;right:20%;height:2px;background:linear-gradient(90deg,#0d9488,#059669);opacity:.2;z-index:0}
.step-card{background:#f0fdfa;border:1px solid #ccfbf1;border-radius:16px;padding:32px 24px;text-align:center;position:relative;z-index:1;transition:all .3s}
.step-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(13,148,136,.12)}
.step-card__number{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,#0d9488,#059669);color:#fff;font-size:1.2rem;font-weight:800;display:flex;align-items:center;justify-content:center;margin:0 auto 16px;box-shadow:0 4px 12px rgba(13,148,136,.3)}
.step-card__icon{font-size:2rem;margin-bottom:12px;display:block}
.step-card__title{font-size:1.05rem;font-weight:700;margin-bottom:8px;color:#0f172a}
.step-card__desc{font-size:.88rem;color:#64748b;line-height:1.6}

/* ── Features Grid ────────────────────────────────────────── */
.features-section{padding:60px 0;background:#f0fdfa}
.features-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.feature-card{background:#fff;border:1px solid #e2e8f0;border-radius:14px;padding:28px 24px;transition:all .3s}
.feature-card:hover{border-color:#0d9488;box-shadow:0 4px 16px rgba(13,148,136,.1);transform:translateY(-2px)}
.feature-card__icon{width:48px;height:48px;border-radius:12px;background:linear-gradient(135deg,#ccfbf1,#d1fae5);display:flex;align-items:center;justify-content:center;font-size:1.5rem;margin-bottom:16px}
.feature-card__title{font-size:1rem;font-weight:700;color:#0f172a;margin-bottom:8px}
.feature-card__desc{font-size:.85rem;color:#64748b;line-height:1.6}

/* ── Latest Articles Grid ─────────────────────────────────── */
.articles-section{padding:60px 0;background:#fff}
.articles-section .section-hd{display:flex;align-items:center;justify-content:space-between;margin-bottom:32px;flex-wrap:wrap;gap:12px}
.section-hd__more{font-size:.88rem;color:#0d9488;font-weight:600}
.section-hd__more:hover{color:#059669}
.articles-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.article-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:12px;padding:24px;transition:all .3s;display:flex;flex-direction:column}
.article-card:hover{border-color:#0d9488;box-shadow:0 4px 12px rgba(13,148,136,.08);transform:translateY(-2px)}
.article-card__tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}
.article-card__title{font-size:1rem;font-weight:700;color:#0f172a;margin-bottom:8px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.article-card__title a{color:inherit}
.article-card__title a:hover{color:#0d9488}
.article-card__excerpt{font-size:.85rem;color:#64748b;line-height:1.6;flex:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-bottom:12px}
.article-card__meta{display:flex;align-items:center;gap:8px;font-size:.78rem;color:#94a3b8;margin-top:auto}
.article-card__meta .sep{opacity:.4}

/* ── FAQ Accordion ────────────────────────────────────────── */
.faq-section{padding:60px 0;background:#f0fdfa}
.faq-section .section-hd{text-align:center;margin-bottom:40px}
.faq-list{max-width:800px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.faq-item{background:#fff;border:1px solid #e2e8f0;border-radius:12px;overflow:hidden;transition:all .2s}
.faq-item.open{border-color:#0d9488;box-shadow:0 2px 8px rgba(13,148,136,.08)}
.faq-question{width:100%;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:none;border:none;cursor:pointer;text-align:left;font-size:.95rem;font-weight:600;color:#0f172a;transition:color .2s}
.faq-question:hover{color:#0d9488}
.faq-arrow{width:20px;height:20px;transition:transform .3s;flex-shrink:0;color:#94a3b8}
.faq-item.open .faq-arrow{transform:rotate(180deg);color:#0d9488}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq-item.open .faq-answer{max-height:500px}
.faq-answer__inner{padding:0 24px 18px;font-size:.9rem;color:#475569;line-height:1.7}

/* ── Bottom CTA ───────────────────────────────────────────── */
.cta-section{padding:60px 0;background:linear-gradient(135deg,#0f172a 0%,#134e4a 100%);color:#fff;text-align:center}
.cta-box{max-width:600px;margin:0 auto}
.cta-box h2{font-size:1.8rem;font-weight:800;margin-bottom:12px;color:#fff}
.cta-box p{font-size:1rem;color:rgba(255,255,255,.75);margin-bottom:28px}
.cta-box__btns{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}

/* ── Sticky Download Bar ──────────────────────────────────── */
.sticky-bar{position:fixed;bottom:0;left:0;right:0;z-index:99;background:rgba(15,23,42,.95);backdrop-filter:blur(12px);border-top:1px solid rgba(13,148,136,.3);padding:12px 0;transform:translateY(100%);transition:transform .3s ease;box-shadow:0 -4px 20px rgba(0,0,0,.2)}
.sticky-bar.visible{transform:translateY(0)}
.sticky-bar__inner{display:flex;align-items:center;justify-content:space-between;max-width:1200px;margin:0 auto;padding:0 20px}
.sticky-bar__text{color:rgba(255,255,255,.9);font-size:.88rem;font-weight:500}
.sticky-bar__text strong{color:#5eead4}
.sticky-bar__btns{display:flex;gap:10px}

/* ── Tag Chips ────────────────────────────────────────────── */
.tag-chip{display:inline-flex;align-items:center;padding:4px 12px;font-size:.75rem;font-weight:600;color:#0d9488;background:#ccfbf1;border-radius:6px;transition:all .15s}
.tag-chip:hover{background:#0d9488;color:#fff}

/* ── Posts List Page ──────────────────────────────────────── */
.posts-page{padding:40px 0 60px}
.posts-page__header{margin-bottom:32px}
.posts-page__title{font-size:1.8rem;font-weight:700;margin-bottom:8px;color:#0f172a}
.posts-page__count{font-size:.9rem;color:#64748b}
.posts-list{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}

/* ── Tags Page ────────────────────────────────────────────── */
.tags-page{padding:40px 0 60px}
.tags-page__title{font-size:1.8rem;font-weight:700;margin-bottom:32px;color:#0f172a}
.tags-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}
.tag-card{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;background:#fff;border:1px solid #e2e8f0;border-radius:12px;transition:all .2s}
.tag-card:hover{border-color:#0d9488;box-shadow:0 2px 8px rgba(13,148,136,.1)}
.tag-card__name{font-size:1rem;font-weight:600;color:#0f172a}
.tag-card__count{font-size:.8rem;color:#fff;background:#0d9488;padding:4px 12px;border-radius:99px;font-weight:700}

/* ── Tag Posts Page ───────────────────────────────────────── */
.tag-posts-page{padding:40px 0 60px}
.tag-posts-page__header{margin-bottom:32px;padding-bottom:20px;border-bottom:2px solid #ccfbf1}
.tag-posts-page__title{font-size:1.6rem;font-weight:700;color:#0f172a;margin-bottom:4px}
.tag-posts-page__count{font-size:.88rem;color:#64748b}
.tag-posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:16px 0;font-size:.82rem;color:#94a3b8}
.breadcrumb a{color:#64748b;transition:color .15s}
.breadcrumb a:hover{color:#0d9488}
.breadcrumb__sep{color:#cbd5e1}

/* ── Post Page Layout ─────────────────────────────────────── */
.post-page{padding:20px 0 60px}
.post-layout{display:grid;grid-template-columns:1fr 260px;gap:40px;align-items:start}
.post-main{min-width:0}

/* Post Header */
.post-header{margin-bottom:32px}
.post-header__tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.post-header__title{font-size:1.8rem;font-weight:800;color:#0f172a;line-height:1.3;margin-bottom:14px}
.post-header__meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:.82rem;color:#94a3b8}
.post-header__meta .sep{opacity:.4}

/* Post Body */
.post-body{font-size:1rem;line-height:1.8;color:#334155}
.post-body h2{font-size:1.4rem;font-weight:700;color:#0f172a;margin:36px 0 16px;padding-bottom:8px;border-bottom:2px solid #ccfbf1}
.post-body h3{font-size:1.15rem;font-weight:600;color:#1e293b;margin:28px 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}
.post-body a{color:#0d9488;text-decoration:underline;text-underline-offset:2px}
.post-body a:hover{color:#059669}
.post-body strong{color:#0f172a;font-weight:700}
.post-body blockquote{border-left:4px solid #0d9488;padding:14px 20px;margin:20px 0;background:#f0fdfa;border-radius:0 8px 8px 0;font-size:.95rem;color:#475569}
.post-body code{font-family:"Fira Code",Consolas,monospace;background:#f0fdfa;border:1px solid #ccfbf1;padding:2px 6px;border-radius:4px;font-size:.85em;color:#0d9488}
.post-body pre{background:#0f172a;color:#e2e8f0;padding:20px;border-radius:10px;overflow-x:auto;margin:20px 0;font-size:.85rem;line-height:1.6}
.post-body pre code{background:none;border:none;padding:0;color:inherit}
.post-body table{width:100%;border-collapse:collapse;margin:20px 0;font-size:.9rem}
.post-body th,.post-body td{padding:10px 14px;border:1px solid #e2e8f0;text-align:left}
.post-body th{background:#f0fdfa;font-weight:600;color:#0f172a}
.post-body img{border-radius:10px;margin:20px 0}

/* Floating TOC Sidebar */
.toc-sidebar{position:sticky;top:84px}
.toc-box{background:#fff;border:1px solid #e2e8f0;border-radius:12px;padding:20px;font-size:.84rem}
.toc-box__title{font-size:.82rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:#0d9488;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid #ccfbf1}
.toc-box ol{counter-reset:toc;display:flex;flex-direction:column;gap:2px}
.toc-box li{counter-increment:toc}
.toc-box li a{display:block;padding:6px 10px;color:#64748b;border-radius:6px;transition:all .15s;line-height:1.4}
.toc-box li a::before{content:counter(toc) ". ";color:#94a3b8;font-weight:600}
.toc-box li a:hover{background:#f0fdfa;color:#0d9488}
.toc-box li a.active{background:#ccfbf1;color:#0d9488;font-weight:600}

/* ── CTA Box (post bottom) ────────────────────────────────── */
.post-cta{background:linear-gradient(135deg,#0f172a,#134e4a);color:#fff;border-radius:14px;padding:32px;margin:40px 0;text-align:center}
.post-cta h3{font-size:1.3rem;font-weight:700;margin-bottom:10px;color:#fff}
.post-cta p{font-size:.9rem;color:rgba(255,255,255,.75);margin-bottom:20px}
.post-cta__btns{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}

/* Download CTA (post bottom) */
.download-cta{background:#fff;border:2px solid #0d9488;border-radius:14px;padding:28px;margin:24px 0;display:flex;align-items:center;gap:24px}
.download-cta__icon{width:56px;height:56px;border-radius:14px;background:linear-gradient(135deg,#0d9488,#059669);display:flex;align-items:center;justify-content:center;font-size:1.6rem;flex-shrink:0;color:#fff}
.download-cta__text{flex:1}
.download-cta__title{font-size:1.05rem;font-weight:700;color:#0f172a;margin-bottom:4px}
.download-cta__desc{font-size:.85rem;color:#64748b}
.download-cta__btn{flex-shrink:0}

/* Related Posts */
.related-posts{margin:40px 0}
.related-posts__title{font-size:1.1rem;font-weight:700;color:#0f172a;margin-bottom:20px;padding-bottom:10px;border-bottom:2px solid #ccfbf1}
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.related-card{background:#fff;border:1px solid #e2e8f0;border-radius:10px;padding:18px;transition:all .2s}
.related-card:hover{border-color:#0d9488;box-shadow:0 2px 8px rgba(13,148,136,.08)}
.related-card__title{font-size:.9rem;font-weight:600;color:#0f172a;line-height:1.4;margin-bottom:8px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.related-card__title a{color:inherit}
.related-card__title a:hover{color:#0d9488}
.related-card__meta{font-size:.75rem;color:#94a3b8}

/* ── Static Page ──────────────────────────────────────────── */
.static-page{padding:40px 0 60px;max-width:800px;margin:0 auto}
.static-page h1{font-size:1.8rem;font-weight:700;margin-bottom:24px;color:#0f172a}
.static-page h2{font-size:1.3rem;font-weight:600;margin:28px 0 12px;color:#0f172a}
.static-page p{margin-bottom:16px;color:#475569;line-height:1.8}
.static-page ul,.static-page ol{margin:0 0 16px 24px;color:#475569}
.static-page ul{list-style:disc}
.static-page ol{list-style:decimal}
.static-page li{margin-bottom:6px;line-height:1.7}
.static-page a{color:#0d9488}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer{background:#0f172a;color:rgba(255,255,255,.75);padding:0;margin-top:auto}
.footer-inner{max-width:1200px;margin:0 auto;padding:0 20px}

/* Footer CTA */
.footer-cta{display:flex;align-items:center;justify-content:space-between;padding:28px 0;border-bottom:1px solid rgba(255,255,255,.08);flex-wrap:wrap;gap:16px}
.footer-cta__text{display:flex;flex-direction:column;gap:4px}
.footer-cta__text strong{font-size:1.1rem;color:#fff}
.footer-cta__text span{font-size:.85rem;color:rgba(255,255,255,.6)}
.footer-cta__btns{display:flex;gap:10px}

/* Footer Grid */
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:32px;padding:40px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-brand{}
.footer-logo{font-size:1.2rem;font-weight:800;color:#fff;display:block;margin-bottom:12px}
.footer-logo:hover{color:#5eead4}
.footer-brand__desc{font-size:.82rem;color:rgba(255,255,255,.5);line-height:1.6;margin-bottom:10px}
.footer-affiliate{font-size:.75rem;color:rgba(255,255,255,.35);line-height:1.5}
.footer-col h4{font-size:.85rem;font-weight:700;color:#fff;margin-bottom:14px;letter-spacing:.02em}
.footer-col ul{display:flex;flex-direction:column;gap:8px}
.footer-col a{font-size:.82rem;color:rgba(255,255,255,.5);transition:color .15s}
.footer-col a:hover{color:#5eead4}
.footer-dl-desc{font-size:.8rem;color:rgba(255,255,255,.45);margin-bottom:12px;line-height:1.5}
.footer-apk-btn{margin-bottom:16px}
.footer-lang{display:flex;flex-wrap:wrap;gap:6px}
.footer-lang a{font-size:.78rem;color:rgba(255,255,255,.45);padding:4px 8px;border-radius:4px;transition:all .15s}
.footer-lang a:hover{color:rgba(255,255,255,.8)}
.footer-lang a.active{color:#5eead4;background:rgba(13,148,136,.2)}

/* Footer Risk */
.footer-risk{padding:20px 0;border-bottom:1px solid rgba(255,255,255,.08);font-size:.78rem;color:rgba(255,255,255,.35);line-height:1.6}
.footer-risk strong{color:rgba(255,255,255,.55)}

/* Footer Bottom */
.footer-bottom{display:flex;align-items:center;justify-content:space-between;padding:20px 0;font-size:.75rem;color:rgba(255,255,255,.3);flex-wrap:wrap;gap:8px}
.footer-bottom__disclaimer{text-align:right}

/* ── 404 Page ─────────────────────────────────────────────── */
.error-page{min-height:60vh;display:flex;align-items:center;justify-content:center;text-align:center;padding:60px 20px}
.error-page h1{font-size:4rem;font-weight:800;color:#0d9488;margin-bottom:12px}
.error-page h2{font-size:1.3rem;font-weight:600;color:#0f172a;margin-bottom:8px}
.error-page p{color:#64748b;margin-bottom:24px}

/* ── Responsive ───────────────────────────────────────────── */
@media(max-width:900px){
  .nav-toggle{display:flex}
  .site-nav{position:fixed;top:64px;left:0;right:0;bottom:0;background:#0f172a;flex-direction:column;padding:20px;gap:4px;transform:translateX(-100%);transition:transform .3s;overflow-y:auto;z-index:99}
  .site-nav.open{transform:translateX(0)}
  .nav-item>a,.nav-item>.nav-link{padding:12px 16px;font-size:1rem}
  .nav-dropdown{position:static;transform:none;opacity:1;visibility:visible;background:transparent;border:none;box-shadow:none;padding:0 0 0 16px;margin-top:0;display:none}
  .nav-item.has-dropdown.open .nav-dropdown{display:block}
  .dropdown-label{display:none}
  .header-actions{gap:6px}
  .header-actions .btn{display:none}
  .lang-switcher a{padding:4px 7px;font-size:.7rem}
  .hero-download{padding:50px 0 40px}
  .hero-download__title{font-size:1.8rem}
  .hero-download__desc{font-size:.95rem}
  .platform-tabs{max-width:280px}
  .steps-grid{grid-template-columns:1fr;gap:16px}
  .steps-grid::before{display:none}
  .features-grid{grid-template-columns:1fr 1fr;gap:14px}
  .articles-grid{grid-template-columns:1fr;gap:14px}
  .posts-list{grid-template-columns:1fr}
  .tags-grid{grid-template-columns:1fr 1fr}
  .tag-posts-grid{grid-template-columns:1fr}
  .post-layout{grid-template-columns:1fr;gap:0}
  .toc-sidebar{position:static;margin-bottom:24px}
  .toc-sidebar .toc-box{margin-bottom:24px}
  .related-grid{grid-template-columns:1fr;gap:12px}
  .download-cta{flex-direction:column;text-align:center}
  .download-cta__btn{width:100%}
  .download-cta__btn .btn{width:100%;justify-content:center}
  .footer-grid{grid-template-columns:1fr 1fr;gap:24px}
  .footer-cta{flex-direction:column;text-align:center}
  .footer-cta__btns{justify-content:center}
  .footer-bottom{flex-direction:column;text-align:center}
  .footer-bottom__disclaimer{text-align:center}
  .sticky-bar__inner{flex-direction:column;gap:8px;text-align:center}
  .sticky-bar__btns{width:100%}
  .sticky-bar__btns .btn{flex:1;justify-content:center}
  .announce-bar{font-size:.78rem;padding:8px 16px}
}

@media(max-width:600px){
  .hero-download__title{font-size:1.5rem}
  .hero-download__btns{flex-direction:column;align-items:center}
  .hero-download__btns .btn{width:100%;justify-content:center}
  .features-grid{grid-template-columns:1fr}
  .tags-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .post-header__title{font-size:1.4rem}
  .cta-box__btns{flex-direction:column;align-items:center}
  .cta-box__btns .btn{width:100%;justify-content:center}
  .post-cta__btns{flex-direction:column;align-items:center}
  .post-cta__btns .btn{width:100%;justify-content:center}
}
