/* 10X Solutions — Resource Page Styles */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: block; src: url('../assets/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: block; src: url('../assets/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: block; src: url('../assets/inter-700.woff2') format('woff2'); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; background: #0A1628; font-family: 'Inter', system-ui, sans-serif; overflow-x: hidden; }
a { text-decoration: none; }

/* Nav */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(10, 22, 40, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { max-width: 1080px; margin: 0 auto; padding: 16px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #ffffff; font-weight: 700; font-size: 16px; }
.nav-logo svg { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 28px; align-items: center; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.2s ease; }
.nav-links a:hover { color: #ffffff; }
.nav-links a.nav-cta { color: #E87722; font-weight: 600; }
.nav-mobile-toggle { display: none; background: none; border: none; color: #ffffff; font-size: 22px; cursor: pointer; }
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,22,40,0.98); padding: 20px 40px; gap: 18px; }
  .nav-mobile-toggle { display: block; }
}

/* Article */
.resource-page { padding: 140px 40px 100px; }
.resource-content { max-width: 760px; margin: 0 auto; }
.back-link { display: inline-block; font-size: 14px; color: rgba(255,255,255,0.45); margin-bottom: 32px; transition: color 0.2s ease; }
.back-link:hover { color: #007fff; }
.resource-pillar { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #E87722; margin-bottom: 12px; display: block; }
.resource-type { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px; display: block; }
.resource-title { font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; color: #ffffff; line-height: 1.15; margin-bottom: 20px; }
.resource-summary { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,0.6); line-height: 1.65; margin-bottom: 48px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.06); }

/* Content sections */
.resource-section { margin-bottom: 48px; }
.resource-section h2 { font-size: 22px; font-weight: 600; color: #ffffff; margin-bottom: 16px; line-height: 1.3; }
.resource-section h3 { font-size: 17px; font-weight: 600; color: #ffffff; margin-bottom: 12px; margin-top: 28px; line-height: 1.3; }
.resource-section p { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.75; margin-bottom: 16px; }
.resource-section ul, .resource-section ol { margin-bottom: 16px; padding-left: 24px; }
.resource-section li { font-size: 16px; color: rgba(255,255,255,0.7); line-height: 1.75; margin-bottom: 8px; }
.resource-section strong { color: #ffffff; font-weight: 600; }
.resource-section blockquote { border-left: 3px solid #E87722; padding-left: 20px; margin: 24px 0; font-size: 16px; color: rgba(255,255,255,0.6); font-style: italic; line-height: 1.7; }

/* External link card */
.external-links { margin-bottom: 48px; }
.external-link-card { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 10px; margin-bottom: 12px; transition: border-color 0.2s ease, background 0.2s ease; }
.external-link-card:hover { border-color: rgba(0,127,255,0.3); background: rgba(0,127,255,0.04); }
.external-link-card .link-info { display: flex; flex-direction: column; gap: 4px; }
.external-link-card .link-title { font-size: 15px; font-weight: 600; color: #ffffff; }
.external-link-card .link-source { font-size: 13px; color: rgba(255,255,255,0.4); }
.external-link-card .link-arrow { font-size: 14px; color: #007fff; font-weight: 500; }
.external-link-card a { display: contents; }

/* CTA block */
.cta-block { margin-top: 56px; padding: 40px; background: rgba(255,255,255,0.02); border-radius: 16px; border: 1px solid rgba(255,255,255,0.06); text-align: center; }
.cta-block h3 { font-size: 20px; font-weight: 600; color: #ffffff; margin-bottom: 12px; }
.cta-block p { font-size: 15px; color: rgba(255,255,255,0.5); margin-bottom: 24px; line-height: 1.6; }

/* Buttons */
.btn { display: inline-block; font-size: 15px; font-weight: 600; padding: 14px 28px; border-radius: 6px; cursor: pointer; border: none; transition: opacity 0.2s ease, transform 0.15s ease; }
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn-primary { background: #E87722; color: #ffffff; }
.btn-secondary { background: transparent; color: #007fff; border: 1.5px solid #007fff; }

/* Template/code block */
.code-block { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; padding: 24px; margin: 16px 0 24px; overflow-x: auto; }
.code-block pre { font-family: 'SF Mono', 'Monaco', 'Consolas', monospace; font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.7; white-space: pre-wrap; word-wrap: break-word; }
.code-block .copy-note { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 12px; }

/* Table */
.model-table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; }
.model-table th { text-align: left; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.08em; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.model-table td { font-size: 15px; color: rgba(255,255,255,0.7); padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.04); line-height: 1.6; }
.model-table td strong { color: #ffffff; }

/* Diagram steps */
.step-list { list-style: none; padding: 0; counter-reset: step; }
.step-list li { counter-increment: step; padding-left: 48px; position: relative; margin-bottom: 24px; }
.step-list li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: rgba(232,119,34,0.12); border: 1px solid rgba(232,119,34,0.3); color: #E87722; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step-list li strong { display: block; margin-bottom: 4px; }

/* Footer */
#footer { background: #0A1628; border-top: 1px solid rgba(255,255,255,0.06); padding: 60px 40px 32px; }
.footer-inner { max-width: 1080px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.4); font-style: italic; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 14px; }
.footer-links a:hover { color: #ffffff; }
.footer-contact { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; padding-top: 24px; margin-top: 24px; border-top: 1px solid rgba(255,255,255,0.04); }
.footer-contact a { color: rgba(255,255,255,0.55); font-size: 14px; text-decoration: none; transition: color 0.2s ease; }
.footer-contact a:hover { color: #ffffff; }
.footer-contact span { color: rgba(255,255,255,0.35); font-size: 13px; }
.footer-bottom { font-size: 13px; color: rgba(255,255,255,0.3); padding-top: 24px; margin-top: 24px; border-top: 1px solid rgba(255,255,255,0.04); }
