/* Quantum Neon — Shared Styles (aligned with new design system) */
:root {
  --ink: #0A0A0A;
  --cyan: #00C5E5;
  --cyan-dark: #009BB5;
  --cyan-light: #E0F9FF;
  --muted: #6B7280;
  --subtle: #9CA3AF;
  --dark: #0A0A0A;
  --darker: #1E1E1E;
  --gray: #6B7280;
  --light-gray: #F7F8FA;
  --border: #E5E7EB;
  --surface: #F7F8FA;
  --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 6%; display: flex; align-items: center;
  justify-content: space-between; height: 66px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo svg { height: 34px; width: auto; }
/* support both old and new class names */
.nav-logo-text, .nav-wordmark { font-size: 0.95rem; font-weight: 700; color: var(--ink); letter-spacing: -0.2px; }
.nav-links, .nav-center { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a, .nav-center a { text-decoration: none; color: var(--muted); font-size: 0.855rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-center a:hover { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 14px; }

/* CTA button — dark, consistent with new pages */
.nav-cta, .btn-nav {
  background: var(--ink) !important; color: var(--white) !important;
  padding: 8px 18px; border-radius: 7px; font-size: 0.845rem;
  font-weight: 600; text-decoration: none; transition: opacity 0.2s;
  cursor: pointer; display: inline-flex; align-items: center; border: none;
}
.nav-cta:hover, .btn-nav:hover { opacity: 0.82; background: var(--ink) !important; color: var(--white) !important; }

/* ── LANGUAGE SWITCHER ── */
.lang-switch { display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.lang-btn { padding: 4px 9px; font-size: 0.74rem; font-weight: 700; color: var(--muted); text-decoration: none; line-height: 1.65; transition: background 0.15s, color 0.15s; background: none; border: none; cursor: pointer; }
/* support both .lang-active (old) and .active (new) */
.lang-btn.lang-active, .lang-btn.active { background: var(--ink); color: var(--white); }
.lang-btn:hover:not(.lang-active):not(.active) { background: var(--surface); color: var(--ink); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--ink); color: var(--white); padding: 12px 24px;
  border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.9rem;
  transition: opacity 0.2s; display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer;
}
.btn-primary:hover { opacity: 0.82; }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.75); padding: 12px 22px;
  border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.9rem;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* ── SECTION COMMON ── */
section { padding: 88px 5%; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag { display: inline-block; color: var(--muted); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.section-tag::before { content: ''; width: 20px; height: 1px; background: currentColor; flex-shrink: 0; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 700; color: var(--ink); letter-spacing: -0.8px; line-height: 1.15; margin-bottom: 14px; }
.section-subtitle { font-size: 0.97rem; color: var(--muted); max-width: 560px; line-height: 1.75; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

/* ── HERO LP (landing pages) ── */
.hero-lp {
  padding: 120px 6% 80px;
  background: #0A0A0A;
  position: relative; overflow: hidden;
}
.hero-lp-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,197,229,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,197,229,0.03) 1px, transparent 1px);
  background-size: 64px 64px; pointer-events: none;
}
.hero-lp-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.hero-lp-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,197,229,0.08); border: 1px solid rgba(0,197,229,0.2);
  color: var(--cyan); padding: 5px 14px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px;
}
.hero-lp h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; color: var(--white); line-height: 1.1; letter-spacing: -1.2px; margin-bottom: 20px; }
.hero-lp h1 span { color: rgba(255,255,255,0.48); font-style: normal; }
/* contrast fix: was 0.62, now 0.75 */
.hero-lp .lead { font-size: 1rem; color: rgba(255,255,255,0.75); margin-bottom: 36px; max-width: 560px; line-height: 1.78; }
.hero-lp .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── FEATURES GRID ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  border: 1px solid var(--border); border-radius: 14px; padding: 32px 28px;
  background: var(--white); transition: border-color 0.2s, box-shadow 0.2s;
}
.feature-card:hover { border-color: #9CA3AF; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.feature-icon { width: 44px; height: 44px; background: var(--surface); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; border: 1px solid var(--border); }
.feature-icon svg { width: 20px; height: 20px; stroke: var(--muted); fill: none; }
.feature-card h3 { font-size: 0.97rem; font-weight: 700; margin-bottom: 10px; color: var(--ink); }
/* contrast fix: was gray (~6B7280), now explicit #555 */
.feature-card p { font-size: 0.87rem; color: #555; line-height: 1.7; }

/* ── TAGS ── */
.tag { background: var(--surface); color: var(--muted); border: 1px solid var(--border); padding: 3px 10px; border-radius: 4px; font-size: 0.74rem; font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ── CTA BOX ── */
.cta-block {
  background: var(--ink);
  border-radius: 20px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-block h2 { font-size: clamp(1.6rem, 2.5vw, 2.4rem); font-weight: 700; color: var(--white); margin-bottom: 14px; letter-spacing: -0.8px; }
.cta-block p { font-size: 0.97rem; color: rgba(255,255,255,0.72); margin-bottom: 32px; line-height: 1.75; }
.cta-block .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: var(--white); color: var(--ink); padding: 13px 26px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 0.9rem; transition: opacity 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-white:hover { opacity: 0.88; }
.btn-dark { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.15); padding: 13px 26px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: all 0.2s; }
.btn-dark:hover { background: rgba(255,255,255,0.15); color: var(--white); }

/* ── BLOG LAYOUT ── */
.blog-hero { padding: 120px 6% 60px; background: var(--surface); border-bottom: 1px solid var(--border); }
.blog-hero-inner { max-width: 800px; margin: 0 auto; }
.breadcrumb { font-size: 0.8rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--ink); }
.article-meta { display: flex; align-items: center; gap: 16px; font-size: 0.82rem; color: var(--muted); margin-top: 20px; flex-wrap: wrap; }
.article-meta strong { color: var(--ink); }
.meta-tag { background: var(--surface); color: var(--muted); border: 1px solid var(--border); padding: 3px 10px; border-radius: 100px; font-size: 0.72rem; font-weight: 700; }

.article-body { padding: 60px 6%; }
.article-layout { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 280px; gap: 64px; align-items: start; }
/* contrast fix: was color:#555 (4.6:1) — keep, it's fine */
.article-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--ink); margin: 40px 0 14px; letter-spacing: -0.3px; }
.article-content h3 { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 28px 0 10px; }
.article-content p { font-size: 0.97rem; color: #4B5563; line-height: 1.78; margin-bottom: 16px; }
.article-content ul, .article-content ol { margin: 12px 0 20px 24px; }
.article-content li { font-size: 0.97rem; color: #4B5563; line-height: 1.72; margin-bottom: 8px; }
.article-content strong { color: var(--ink); }
.article-content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--border); }
.article-content a:hover { text-decoration-color: var(--ink); }
.article-content .intro { font-size: 1rem; color: var(--ink); line-height: 1.78; background: var(--surface); border-left: 3px solid var(--ink); padding: 20px 24px; border-radius: 0 8px 8px 0; margin-bottom: 32px; }
.inline-cta { background: #0A0A0A; border-radius: 14px; padding: 32px; margin: 36px 0; }
.inline-cta h4 { font-size: 1.05rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
/* contrast fix: was rgba(255,255,255,0.55) — bump to 0.68 */
.inline-cta p { font-size: 0.88rem; color: rgba(255,255,255,0.68); margin-bottom: 20px; line-height: 1.7; }
.table-wrap { overflow-x: auto; margin: 20px 0; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.table-wrap th { background: var(--surface); padding: 12px 16px; text-align: left; font-weight: 700; border: 1px solid var(--border); color: var(--ink); }
.table-wrap td { padding: 11px 16px; border: 1px solid var(--border); color: #4B5563; }
.table-wrap tr:hover td { background: var(--surface); }

.article-sidebar { position: sticky; top: 90px; }
.sidebar-box { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 24px; margin-bottom: 20px; }
.sidebar-box h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--subtle); margin-bottom: 16px; }
.toc-list { list-style: none; }
.toc-list li { margin-bottom: 10px; }
.toc-list a { font-size: 0.86rem; color: var(--muted); text-decoration: none; transition: color 0.2s; display: flex; gap: 8px; align-items: flex-start; }
.toc-list a:hover { color: var(--ink); }
.sidebar-cta { background: var(--ink); border-radius: 14px; padding: 24px; text-align: center; }
.sidebar-cta h3, .sidebar-cta h4 { font-size: 0.95rem; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.sidebar-cta p { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-bottom: 16px; line-height: 1.65; }
.sidebar-cta a { background: var(--white); color: var(--ink); padding: 10px 20px; border-radius: 7px; text-decoration: none; font-weight: 700; font-size: 0.85rem; display: block; transition: opacity 0.2s; }
.sidebar-cta a:hover { opacity: 0.88; }

/* ── STEPS ── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 1px; background: var(--border); z-index: 0; }
.step { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-num { width: 68px; height: 68px; background: var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.1rem; font-weight: 700; color: var(--white); }
.step h4 { font-size: 0.93rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.step p { font-size: 0.84rem; color: var(--muted); line-height: 1.65; }

/* ── CHECKLIST ── */
.checklist { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; color: #4B5563; line-height: 1.55; }
.checklist li::before { content: '→'; color: var(--ink); font-size: 0.85rem; flex-shrink: 0; margin-top: 2px; font-weight: 700; }

/* ── TWO-COL ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.dark-card { background: #0A0A0A; border-radius: 20px; padding: 48px; }
.metric { display: flex; align-items: center; gap: 18px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 18px 22px; margin-bottom: 16px; }
.metric-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.06); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.metric-icon svg { width: 20px; height: 20px; stroke: var(--cyan); fill: none; }
.metric-value { font-size: 1.3rem; font-weight: 700; color: var(--white); line-height: 1; }
/* contrast fix: was rgba(255,255,255,0.45) — bump to 0.6 */
.metric-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-top: 2px; }

/* ── PRICING TABLE ── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pricing-card { border: 1px solid var(--border); border-radius: 16px; padding: 36px 28px; }
.pricing-card.featured { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pricing-card .plan-name { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--subtle); margin-bottom: 8px; }
.pricing-card .price { font-size: 2rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; letter-spacing: -1px; }
.pricing-card .price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.pricing-card .price-desc { font-size: 0.85rem; color: var(--muted); margin-bottom: 28px; }
.pricing-card hr { border: none; border-top: 1px solid var(--border); margin-bottom: 24px; }

/* ── FOOTER ── */
footer { background: #0A0A0A; color: rgba(255,255,255,0.5); padding: 56px 6% 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.83rem; line-height: 1.65; color: rgba(255,255,255,0.52); max-width: 240px; margin-top: 12px; }
.footer-col h5 { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.55); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
/* contrast fix: was rgba(255,255,255,0.38) — bump to 0.48 */
.footer-col ul li a { text-decoration: none; color: rgba(255,255,255,0.48); font-size: 0.845rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: rgba(255,255,255,0.85); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.28); flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: rgba(255,255,255,0.48); text-decoration: none; }
.footer-logo-text { font-size: 0.95rem; font-weight: 700; color: rgba(255,255,255,0.75); letter-spacing: -0.2px; }

/* ── TOC BOX ── */
.toc-box { background: var(--surface); border-radius: 12px; padding: 22px 26px; margin: 32px 0; border-left: 3px solid var(--ink); }
.toc-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--subtle); margin-bottom: 14px; }
.toc-box ol { margin-left: 18px; }
.toc-box ol li { margin-bottom: 7px; }
.toc-box ol li a { font-size: 0.88rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.toc-box ol li a:hover { color: var(--ink); }

/* ── INLINE CTA BUTTON ── */
.btn-cta-inline { display: inline-flex; align-items: center; gap: 6px; background: var(--ink); color: var(--white); padding: 11px 22px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 0.88rem; transition: opacity 0.2s; margin-top: 16px; cursor: pointer; border: none; }
.btn-cta-inline:hover { opacity: 0.82; }

/* ── CTA BLOCK WRAPPER ── */
.cta-block-wrap { padding: 64px 6%; }
.cta-block-wrap .cta-block { max-width: 900px; margin: 0 auto; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps::before { display: none; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  nav .nav-links, nav .nav-center { display: none; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-lp { padding: 100px 5% 60px; }
  section { padding: 72px 5%; }
  nav { padding: 0 5%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
