/* Core Variables & Reset */
:root {
 --brand-blue: #0056b3;
 --brand-teal: #00838f;
 --brand-dark: #1e293b;
 --border: #e2e8f0;
 --bg-light: #f8fafc;
 --sans: 'Barlow', sans-serif;
 --display: 'Barlow Condensed', sans-serif;
}
.article-wrapper *, .article-wrapper *::before,.article-wrapper *::after { box-sizing: border-box; margin: 0; padding: 0; }
.article-wrapper { max-width: 900px; margin: 0 auto; padding: 50px 24px; font-size: 17px; }

/* Hero Section */
.zq-hero { background: linear-gradient(135deg, #001a33 0%, #003366 40%, #0066cc 100%); border-radius: 16px; padding: 60px 40px 50px; margin-bottom: 40px; position: relative; overflow: hidden; }
.zq-hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 80% 20%, rgba(0,210,255,0.15) 0%, transparent 50%); pointer-events: none; }
.zq-hero-content { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.zq-hero-text { flex: 1; min-width: 300px; }
.zq-hero-img { flex: 1; min-width: 300px; text-align: center; }
.zq-hero-img img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.zq-hero-tag { display: inline-block; background: rgba(0,210,255,0.2); border: 1px solid rgba(0,210,255,0.4); color: #00d2ff; font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 20px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
.zq-h1 { font-family: var(--display); font-size: 38px; font-weight: 800; color: #ffffff; margin: 0 0 15px 0; line-height: 1.2; }
.zq-hero-sub { font-family: var(--sans); font-size: 17px; color: rgba(255,255,255,0.8); margin: 0; max-width: 650px; line-height: 1.6; }

/* Stats Grid */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 50px; }
.stat-box { text-align: center; padding: 25px 15px; background: #f0f9ff; border-radius: 12px; border: 1px solid #cce5ff; }
.stat-num { font-family: var(--display); font-size: 32px; font-weight: 800; color: #0066cc; margin-bottom: 6px; }
.stat-lbl { font-family: var(--sans); font-size: 13px; color: #666; font-weight: 600; }

/* GEO Box */
.geo-box { background: #f0f9ff; border: 1px solid #cce5ff; border-left: 5px solid #0066cc; border-radius: 12px; padding: 30px; margin-bottom: 50px; }
.geo-text { margin: 0; font-size: 16px; color: #334155; line-height: 1.7; }

/* Section Headers */
.section-header { border-left: 6px solid #0066cc; padding-left: 25px; margin-top: 50px; margin-bottom: 30px; }
.section-header h2 { font-family: var(--display); font-size: 28px; font-weight: 800; color: var(--brand-dark); margin: 0 0 8px 0; text-transform: uppercase; }
.section-header p { font-size: 15px; color: #64748b; margin: 0; }

/* Text Content */
p { margin-bottom: 20px; }
a { color: var(--brand-blue); text-decoration: none; font-weight: 600; }
a:hover { text-decoration: underline; }

/* Cards Grid */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 50px; }
.card-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-bottom: 50px; }
.feature-card { background: linear-gradient(180deg, #f8fcff 0%, #ffffff 100%); border: 1px solid #e1e8ed; border-radius: 20px; padding: 35px; position: relative; overflow: hidden; }
.feature-card.simple { background: #fff; padding: 30px; border-radius: 16px; }
.feature-card.simple .emoji { font-size: 34px; margin-bottom: 15px; }
.feature-card h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; margin: 0 0 12px 0; color: var(--brand-dark); }
.feature-card p { font-size: 15px; color: #555; margin: 0; line-height: 1.6; }

/* Small Icon Cards */
.icon-card { text-align: center; padding: 20px 10px; background: #f8fcff; border-radius: 12px; border: 1px solid #e1e8ed; }
.icon-card .emoji { font-size: 28px; margin-bottom: 8px; }
.icon-card .title { font-size: 13px; font-weight: 600; color: #333; line-height: 1.4; }

/* Tables */
.table-container { width: 100%; overflow-x: auto; margin-bottom: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid #e1e4e8; border-radius: 10px; background-color: #fff; }
.table-header { background: #fafafa; padding: 14px 20px; border-bottom: 1px solid #eee; }
.table-header h3 { font-size: 16px; font-weight: 700; color: #333; margin: 0; }
table { width: 100%; min-width: 600px; border-collapse: collapse; font-family: var(--sans); font-size: 15px; color: #333; }
th { background: #0066cc; color: #fff; padding: 12px 16px; text-align: left; border: 1px solid #004c99; font-weight: 600; }
td { padding: 12px 16px; border: 1px solid #eee; }
.td-bold { font-weight: 700; color: #0066cc; width: 40%; }
.td-hl { font-weight: 700; color: #16a34a; background: #f0fdf4; }
tbody tr:nth-child(even) { background: #f8fcff; }

/* Ref Section */
.ref-section { background: #f8fafc; border: 1px solid var(--border); border-radius: 12px; padding: 30px; margin-bottom: 50px; }
.ref-section ul { list-style: none; padding: 0; margin: 0; }
.ref-section li { font-size: 15px; color: #475569; margin-bottom: 12px; padding-left: 20px; position: relative; }
.ref-section li::before { content: "•"; color: #0066cc; font-weight: bold; position: absolute; left: 0; top: 0; font-size: 18px; line-height: 1.5; }

/* FAQ */
.faq-wrap { margin-bottom: 50px; border-top: 1px solid #eee; }
.faq-item { border-bottom: 1px solid #eee; }
.faq-item details summary { font-size: 16px; font-weight: 700; color: var(--brand-dark); padding: 22px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item details summary::-webkit-details-marker { display: none; }
.faq-item details summary::after { content: '+'; font-family: var(--display); font-size: 24px; color: #0066cc; font-weight: 800; }
.faq-item details[open] summary::after { content: '−'; }
.faq-item details p { font-size: 15px; color: #666; line-height: 1.7; padding-bottom: 22px; margin: 0; }

/* Related Grid */
.related-grid { display: grid !important; grid-template-columns: repeat(3, 1fr) !important; gap: 20px !important; margin: 40px 0 !important; padding: 0 !important; }
.related-grid > p, .related-grid > div:not(.rel-card), .related-grid > br { display: none !important; }
.rel-card { background: #fff !important; border: 1px solid #e1e8ed !important; border-radius: 12px !important; padding: 25px 20px !important; text-align: center !important; text-decoration: none !important; transition: transform 0.3s, box-shadow 0.3s !important; display: flex !important; flex-direction: column !important; align-items: center !important; }
.rel-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,102,204,0.1); }
.rel-icon { font-size: 32px !important; margin-bottom: 12px !important; }
.rel-name { font-size: 15px !important; font-weight: 700 !important; color: var(--brand-dark) !important; margin-bottom: 6px !important; }
.rel-desc { font-size: 13px !important; color: #0066cc !important; font-weight: 600 !important; margin: 0 !important; }

/* CTA Bottom */
.cta-bottom { background: linear-gradient(135deg, #001a33 0%, #003366 40%, #0066cc 100%); border-radius: 16px; padding: 50px 40px; text-align: center; position: relative; overflow: hidden; margin-bottom: 50px; }
.cta-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 80%, rgba(0,210,255,0.1) 0%, transparent 50%); pointer-events: none; }
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { font-family: var(--display); font-size: 32px; font-weight: 800; color: #fff; margin: 0 0 15px 0; text-transform: uppercase; }
.cta-content p { font-size: 16px; color: rgba(255,255,255,0.85); margin: 0 auto 30px auto; max-width: 700px; line-height: 1.6; }
.btn-primary { display: inline-block; background: #fff; color: #0066cc; font-size: 15px; font-weight: 700; padding: 15px 35px; border-radius: 8px; text-decoration: none; margin: 5px 10px; transition: transform 0.2s; }
.btn-secondary { display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: #fff; font-size: 15px; font-weight: 700; padding: 15px 35px; border-radius: 8px; text-decoration: none; margin: 5px 10px; transition: transform 0.2s; }
.btn-primary:hover, .btn-secondary:hover { transform: translateY(-2px); text-decoration: none; }

@media(max-width: 768px) {
 .zq-hero-content { flex-direction: column; text-align: center; }
 .stat-grid { grid-template-columns: repeat(2, 1fr); }
 .card-grid-3 { grid-template-columns: 1fr; }
 .card-grid-5 { grid-template-columns: repeat(2, 1fr); }
 .related-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media(max-width: 640px) {
 .zq-h1 { font-size: 32px; }
 .article-wrapper h2 { font-size: 24px; }
}
@media(max-width: 480px) {
 .card-grid-5 { grid-template-columns: 1fr; }
 .related-grid { grid-template-columns: 1fr !important; }
}