/* ==========================================================================
   BMB Nexus · the inner pages (redesign 2026-11-17)
   Same theme as the home page, held calm: no breathing, no bubbles, nothing
   moving beside the reading. Loaded after each page's own styles; rules that must
   beat a <style> block placed inside <body> (about, privacy, terms) start with "html body".
   ========================================================================== */

/* ── the opening of every inner page: a quiet grid and one soft light ─── */
.solutions-hero, .blog-hero, .contact-hero, html body .about-hero, .policy-header, .demo-header,
.blog-header, .guide-header, .case-study-header, .social-guide-header, .blog-post-header {
  position: relative; isolation: isolate;
}
.solutions-hero, .blog-hero, .contact-hero, html body .about-hero {
  padding: 150px 0 56px; background: none; color: var(--nx-text); text-align: center; overflow: hidden;
}
.solutions-hero::before, .blog-hero::before, .contact-hero::before, html body .about-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(140, 165, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 165, 255, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 10%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse 70% 90% at 50% 10%, #000 10%, transparent 72%);
}
.solutions-hero h1, .blog-hero h1, .contact-hero h1, html body .about-hero .hero-title {
  max-width: 16em; margin: 0 auto; font: 700 clamp(2.3rem, 4.8vw, 3.7rem)/1.04 var(--nx-display); letter-spacing: -.035em; color: var(--nx-text);
}
.solutions-hero p, .blog-hero p, .contact-hero p, html body .about-hero .hero-subtitle {
  max-width: 40em; margin: 20px auto 0; color: var(--nx-soft); font-size: 1.125rem; line-height: 1.6; font-weight: 400; opacity: 1;
}
:lang(ar) .solutions-hero h1, :lang(ar) .blog-hero h1, :lang(ar) .contact-hero h1, :lang(ar) .about-hero .hero-title { line-height: 1.3; }
.solutions-hero .container, .blog-hero .container { max-width: var(--nx-wrap); }
html body .about-hero .gradient-text, html body .about-hero .hero-title .gradient-text {
  background: linear-gradient(100deg, var(--nx-blue-hi) 0%, #fff 30%, var(--nx-signal) 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* ── shared inner-page parts ─────────────────────────────────────────── */
.section-title { font-family: var(--nx-display); letter-spacing: -.03em; }
.section-subtitle { color: var(--nx-muted); }
.btn.btn-large { min-height: 54px; padding: 0 30px; font-size: 1.0313rem; }

/* the closing call on solutions and blog: a calm panel, no orbits */
.solutions-container ~ .cta, .blog-container ~ .cta { padding: 40px 0 100px; background: none; }
.solutions-container ~ .cta .container, .blog-container ~ .cta .container {
  max-width: 1000px; padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px); border-radius: 30px; text-align: center;
  background: radial-gradient(70% 90% at 50% 0%, rgba(79, 124, 255, .28), transparent 70%), linear-gradient(180deg, rgba(20, 29, 58, .78), rgba(8, 12, 26, .85));
  box-shadow: inset 0 0 0 1px var(--nx-line-2), 0 40px 90px -50px #000;
}
.solutions-container ~ .cta .cta-title, .blog-container ~ .cta .cta-title { font: 700 clamp(1.9rem, 3.6vw, 2.8rem)/1.08 var(--nx-display); letter-spacing: -.03em; color: var(--nx-text); }
.solutions-container ~ .cta .cta-subtitle, .blog-container ~ .cta .cta-subtitle { margin: 16px auto 0; max-width: 34em; color: var(--nx-soft); font-size: 1.0938rem; }
.solutions-container ~ .cta .cta-actions, .blog-container ~ .cta .cta-actions { display: flex; justify-content: center; margin-top: 30px; }

/* ═══ SOLUTIONS ═════════════════════════════════════════════════════════ */
.industry-selector { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 34px auto 0; max-width: 1100px; }
.industry-tag {
  display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 18px; border: 0; border-radius: 14px; cursor: pointer;
  background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--nx-line); color: var(--nx-soft);
  font: 500 .9688rem/1 var(--nx-body); transition: background-color .2s, color .2s, box-shadow .2s;
}
.industry-tag i { color: var(--nx-blue-hi); font-size: .875rem; }
.industry-tag:hover { color: #fff; background: rgba(255, 255, 255, .08); transform: none; }
.industry-tag.active { color: #fff; background: linear-gradient(180deg, rgba(79, 124, 255, .46), rgba(79, 124, 255, .2)); box-shadow: inset 0 0 0 1px rgba(157, 183, 255, .55), inset 0 -2px 0 var(--nx-signal), 0 10px 26px -14px rgba(79, 124, 255, .9); }
.industry-tag.active i { color: #fff; }
.solutions-container { max-width: var(--nx-wrap); margin: 0 auto; padding: 24px var(--nx-gutter) 40px; }
.solution-header { max-width: 760px; margin: 30px auto 40px; text-align: center; }
.solution-header::before { content: ""; display: block; width: 64px; height: 2px; margin: 0 auto 22px; border-radius: 2px; background: linear-gradient(90deg, var(--nx-blue), var(--nx-signal)); box-shadow: 0 0 18px rgba(255, 138, 61, .6); }
.solution-title { font: 700 clamp(1.9rem, 3.6vw, 2.8rem)/1.06 var(--nx-display); letter-spacing: -.03em; color: var(--nx-text); }
.solution-subtitle { margin-top: 16px; color: var(--nx-muted); font-size: 1.0938rem; line-height: 1.6; }
.solution-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.stat-card { padding: 24px 18px 22px; border-radius: 20px; text-align: center; background: linear-gradient(180deg, rgba(20, 29, 58, .7), rgba(9, 14, 30, .7)); box-shadow: inset 0 0 0 1px var(--nx-line); border: 0; }
.solution-stats .stat-number { font: 800 clamp(1.8rem, 3vw, 2.4rem)/1.05 var(--nx-display); letter-spacing: -.03em; background: linear-gradient(100deg, #fff, var(--nx-blue-hi) 60%, var(--nx-signal)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.solution-stats .stat-label { color: var(--nx-muted); font: 500 .75rem/1.4 var(--nx-mono); letter-spacing: .04em; text-transform: uppercase; }
.benefits-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.benefit-card { position: relative; padding: 28px; border: 0; border-radius: 24px; background: linear-gradient(180deg, rgba(20, 29, 58, .72), rgba(9, 14, 30, .72)); box-shadow: inset 0 0 0 1px var(--nx-line); transition: box-shadow .25s, transform .25s; }
.benefit-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(157, 183, 255, .4), 0 26px 60px -36px rgba(79, 124, 255, .7); }
.benefit-icon {
  position: relative; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 15px;
  background: radial-gradient(circle at 30% 25%, rgba(157, 183, 255, .45), rgba(79, 124, 255, .25) 55%, rgba(79, 124, 255, .1));
  box-shadow: inset 0 0 0 1px rgba(157, 183, 255, .45), 0 10px 26px -12px rgba(79, 124, 255, .9); color: #fff;
}
.benefit-icon::after { content: ""; position: absolute; top: -3px; inset-inline-end: -3px; width: 9px; height: 9px; border-radius: 50%; background: var(--nx-signal); box-shadow: 0 0 10px var(--nx-signal); }
.benefit-title { font: 700 1.25rem/1.25 var(--nx-display); color: var(--nx-text); }
.benefit-description { margin-top: 8px; color: var(--nx-muted); line-height: 1.6; }
.benefit-features { margin-top: 16px; padding: 16px 0 0; border-top: 1px solid var(--nx-line); }
.benefit-features li { color: var(--nx-soft); }
.benefit-features li i { color: var(--nx-blue-hi); }
.automation-checklist { margin-top: 26px; padding: clamp(24px, 3vw, 36px); border: 0; border-radius: 26px; background: radial-gradient(80% 100% at 50% 0%, rgba(79, 124, 255, .16), transparent 70%), linear-gradient(180deg, rgba(20, 29, 58, .6), rgba(9, 14, 30, .6)); box-shadow: inset 0 0 0 1px var(--nx-line); }
.checklist-title { font: 700 1.375rem/1.2 var(--nx-display); color: var(--nx-text); text-align: center; }
.checklist-items { gap: 10px; }
.checklist-item { border: 0; border-radius: 14px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--nx-line); color: var(--nx-soft); }
.checklist-item i { color: var(--nx-ok); }
.checklist-item:hover { background: rgba(79, 124, 255, .18); border-color: transparent; color: #fff; }
.roi-calculator { max-width: var(--nx-wrap); margin: 40px auto 0; border-radius: 28px; background: radial-gradient(70% 100% at 50% 0%, rgba(79, 124, 255, .3), transparent 70%), linear-gradient(180deg, rgba(20, 29, 58, .82), rgba(8, 12, 26, .88)); box-shadow: inset 0 0 0 1px var(--nx-line-2), 0 40px 90px -50px #000; }
.roi-calculator h3 { font: 700 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--nx-display); letter-spacing: -.02em; color: var(--nx-text); }
.roi-calculator p { color: var(--nx-soft); opacity: 1; }
.roi-calculator label { color: var(--nx-soft); font: 500 .875rem/1.3 var(--nx-body); }
.roi-calculator input { min-height: 48px; border: 0; border-radius: 12px; background: rgba(6, 10, 22, .8); box-shadow: inset 0 0 0 1px var(--nx-line-2); color: var(--nx-text); font: 500 1rem var(--nx-mono); }
.roi-calculator input:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--nx-blue-hi), 0 0 0 4px rgba(79, 124, 255, .18); }
.roi-value { font-family: var(--nx-display); background: linear-gradient(100deg, #fff, var(--nx-blue-hi) 60%, var(--nx-signal)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ═══ BLOG LIST ═════════════════════════════════════════════════════════ */
.blog-search { max-width: 560px; margin: 30px auto 0; }
.blog-search input { min-height: 54px; border: 0; border-radius: 16px; background: rgba(8, 13, 28, .8); box-shadow: inset 0 0 0 1px var(--nx-line-2); color: var(--nx-text); font: 400 1rem var(--nx-body); }
.blog-search input::placeholder { color: var(--nx-muted); }
.blog-search input:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--nx-blue-hi), 0 0 0 4px rgba(79, 124, 255, .18); }
.blog-search button { border-radius: 12px; background: var(--nx-blue); color: #fff; }
.blog-container { max-width: var(--nx-wrap); margin: 0 auto; padding: 10px var(--nx-gutter) 30px; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filter-tag { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px var(--nx-line); color: var(--nx-soft); font: 500 .9375rem/1 var(--nx-body); text-decoration: none; transition: background-color .15s, color .15s; }
.filter-tag:hover { color: #fff; background: rgba(255, 255, 255, .09); transform: none; }
.filter-tag.active { color: #fff; background: rgba(79, 124, 255, .3); box-shadow: inset 0 0 0 1px var(--nx-blue-hi); }
.results-counter { color: var(--nx-muted) !important; font: 400 .8125rem/1.4 var(--nx-mono) !important; }

/* covers: generated, one of four patterns per card, an icon badge in the middle */
.featured-post-image, .blog-post-image { position: relative; display: grid; place-items: center; overflow: hidden; background-color: #0B1226; color: #fff; }
.featured-post-image i, .blog-post-image i {
  position: relative; z-index: 1; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; font-size: 1.5rem;
  background: radial-gradient(circle at 30% 25%, rgba(157, 183, 255, .5), rgba(79, 124, 255, .3) 55%, rgba(79, 124, 255, .12));
  box-shadow: inset 0 0 0 1px rgba(157, 183, 255, .5), 0 14px 34px -12px rgba(79, 124, 255, .9); opacity: 1;
}
.featured-post-image { background-image: radial-gradient(circle at 70% 55%, rgba(255, 138, 61, .45), transparent 26%), repeating-radial-gradient(circle at 70% 55%, rgba(157, 183, 255, .28) 0 1px, transparent 1px 30px), linear-gradient(135deg, #132257, #0A1022); }
.blog-post:nth-child(4n+1) .blog-post-image { background-image: radial-gradient(circle at 24% 30%, rgba(79, 124, 255, .7), transparent 46%), linear-gradient(rgba(157, 183, 255, .15) 1px, transparent 1px), linear-gradient(90deg, rgba(157, 183, 255, .15) 1px, transparent 1px), linear-gradient(135deg, #0F1B45, #0A1022); background-size: auto, 26px 26px, 26px 26px, auto; }
.blog-post:nth-child(4n+2) .blog-post-image { background-image: radial-gradient(circle at 80% 20%, rgba(255, 138, 61, .38), transparent 44%), repeating-linear-gradient(118deg, rgba(157, 183, 255, .18) 0 1px, transparent 1px 18px), linear-gradient(135deg, #16265F, #0A1022); }
.blog-post:nth-child(4n+3) .blog-post-image { background-image: radial-gradient(circle at 50% 100%, rgba(79, 124, 255, .65), transparent 58%), radial-gradient(rgba(157, 183, 255, .45) 1.2px, transparent 1.4px), linear-gradient(135deg, #101C4A, #0A1022); background-size: auto, 20px 20px, auto; }
.blog-post:nth-child(4n) .blog-post-image { background-image: radial-gradient(circle at 30% 70%, rgba(255, 138, 61, .4), transparent 30%), repeating-radial-gradient(circle at 30% 70%, rgba(157, 183, 255, .22) 0 1px, transparent 1px 26px), linear-gradient(135deg, #132257, #0A1022); }

.featured-post { position: relative; margin-bottom: 20px; border: 0; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, rgba(20, 29, 58, .78), rgba(9, 14, 30, .8)); box-shadow: inset 0 0 0 1px var(--nx-line); transition: transform .25s var(--nx-ease), box-shadow .25s; }
.featured-post:hover, .blog-post:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(157, 183, 255, .4), 0 30px 70px -40px rgba(79, 124, 255, .8); }
@media (min-width: 861px) {
  /* the page script sets display:block on each card, so the cover is placed, not gridded */
  .featured-post { min-height: 320px; }
  .featured-post-image { position: absolute; top: 0; bottom: 0; inset-inline-start: 0; width: 46%; height: auto; min-height: 0; }
  .featured-post-content { margin-inline-start: 46%; padding: clamp(28px, 3.4vw, 44px); }
}
.featured-post-image { min-height: 220px; }
.featured-post-content h2 { margin: 14px 0 10px; font: 700 clamp(1.5rem, 2.6vw, 2.1rem)/1.15 var(--nx-display); letter-spacing: -.02em; color: var(--nx-text); }
.featured-post-content p, .blog-post-content p { color: var(--nx-muted); line-height: 1.6; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.blog-post { border: 0; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, rgba(20, 29, 58, .72), rgba(9, 14, 30, .74)); box-shadow: inset 0 0 0 1px var(--nx-line); transition: transform .25s var(--nx-ease), box-shadow .25s; }
.blog-post-image { height: 150px; }
.blog-post-content { padding: 20px 22px 24px; }
.blog-grid .blog-post h3 { margin: 12px 0 8px; font: 700 1.1875rem/1.25 var(--nx-display); letter-spacing: -.015em; color: var(--nx-text); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--nx-muted); font: 400 .75rem/1.4 var(--nx-mono); }
.post-meta i { color: var(--nx-blue-hi); }
.post-category { padding: 4px 10px; border-radius: 999px; background: rgba(79, 124, 255, .16); box-shadow: inset 0 0 0 1px rgba(79, 124, 255, .4); color: var(--nx-blue-hi); font: 500 .75rem/1.3 var(--nx-mono); }
.auto-content-badge { padding: 4px 10px; border-radius: 999px; background: rgba(61, 220, 151, .12); box-shadow: inset 0 0 0 1px rgba(61, 220, 151, .4); color: var(--nx-ok); font: 500 .75rem/1.3 var(--nx-mono); }
.auto-content-badge i { color: var(--nx-ok) !important; }
.read-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--nx-blue-hi); font-weight: 500; text-decoration: none; }
.read-more:hover { color: #fff; }
.blog-main .btn-large { min-height: 0; padding: 16px 30px; line-height: 1.3; }

/* ═══ ABOUT ═════════════════════════════════════════════════════════════ */
html body .about-hero .stat, html body .mission-card, html body .vision-card, html body .timeline-content, html body .value-card, html body .tech-card {
  border: 0; background: linear-gradient(180deg, rgba(20, 29, 58, .72), rgba(9, 14, 30, .72)); box-shadow: inset 0 0 0 1px var(--nx-line); -webkit-backdrop-filter: none; backdrop-filter: none;
}
html body .about-hero .stat-number { font-family: var(--nx-display); color: var(--nx-blue-hi); }
html body .about-hero .stat-label { color: var(--nx-muted); font-family: var(--nx-mono); }
html body .timeline-content h4 { color: var(--nx-blue-hi); font-family: var(--nx-display); }
html body .timeline-marker { background: #0B1226; box-shadow: inset 0 0 0 1.5px var(--nx-blue-hi), 0 0 0 6px var(--nx-bg), 0 0 26px rgba(79, 124, 255, .45); color: var(--nx-blue-hi); }
html body .story-timeline::before { background: linear-gradient(180deg, var(--nx-blue), rgba(79, 124, 255, .15)); }
html body .tech-icon { background: radial-gradient(circle at 30% 25%, rgba(157, 183, 255, .45), rgba(79, 124, 255, .3) 55%, rgba(79, 124, 255, .12)); box-shadow: inset 0 0 0 1px rgba(157, 183, 255, .45); }
html body .tech-feature { background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(140, 165, 255, .16); color: var(--nx-blue-hi); font: 400 .75rem/1.4 var(--nx-mono); }
html body .about-cta { border-top: 1px solid var(--nx-line); }
html body .about-cta h2 { font-family: var(--nx-display); letter-spacing: -.03em; }
html body .about-cta p { color: var(--nx-soft); opacity: 1; }

/* ═══ CONTACT ═══════════════════════════════════════════════════════════ */
.contact-hero-content { max-width: var(--nx-wrap); margin: 0 auto; padding: 0 var(--nx-gutter); }
.contact-hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact-stat { min-width: 150px; padding: 16px 18px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--nx-line); }
.contact-stat-number { font: 800 1.75rem/1.1 var(--nx-display); letter-spacing: -.02em; color: var(--nx-text); }
.contact-stat-label { color: var(--nx-muted); font: 400 .75rem/1.4 var(--nx-mono); opacity: 1; }
.contact-cta-text, .contact-hero p { opacity: 1; }
.contact-enhanced-grid { max-width: var(--nx-wrap); margin: 0 auto; padding: 0 var(--nx-gutter); }
.contact-info-enhanced, .contact-form-enhanced { border: 0; border-radius: 26px; background: linear-gradient(180deg, rgba(20, 29, 58, .74), rgba(9, 14, 30, .76)); box-shadow: inset 0 0 0 1px var(--nx-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
.contact-section-title { font-family: var(--nx-display); letter-spacing: -.02em; color: var(--nx-text); }
.contact-item-enhanced { border-left: 3px solid var(--nx-blue); border-radius: 16px; background: rgba(255, 255, 255, .035); }
[dir="rtl"] .contact-item-enhanced { border-left: 0; border-right: 3px solid var(--nx-blue); }
.contact-icon-enhanced { background: radial-gradient(circle at 30% 25%, rgba(157, 183, 255, .5), rgba(79, 124, 255, .32) 55%, rgba(79, 124, 255, .14)); box-shadow: inset 0 0 0 1px rgba(157, 183, 255, .5); color: #fff; }
.contact-link-enhanced { color: var(--nx-blue-hi); }
.contact-link-enhanced:hover { color: #fff; }
.contact-form-enhanced input, .contact-form-enhanced select, .contact-form-enhanced textarea { border: 0; border-radius: 12px; background: rgba(6, 10, 22, .8); box-shadow: inset 0 0 0 1px var(--nx-line-2); color: var(--nx-text); font-family: var(--nx-body); }
.contact-form-enhanced input:focus, .contact-form-enhanced select:focus, .contact-form-enhanced textarea:focus { outline: 0; border-color: transparent; box-shadow: inset 0 0 0 1.5px var(--nx-blue-hi), 0 0 0 4px rgba(79, 124, 255, .18); }
.contact-form-enhanced select option { background: #0A1022; }
.contact-form-enhanced .checkbox-label input[type="checkbox"] { accent-color: var(--nx-blue); }
.contact-faq { padding: 80px 0 40px; }
.faq-grid { gap: 14px; }
.faq-item { border: 0; border-left: 3px solid var(--nx-blue); border-radius: 18px; background: linear-gradient(180deg, rgba(20, 29, 58, .7), rgba(9, 14, 30, .7)); box-shadow: inset 0 0 0 1px var(--nx-line); }
[dir="rtl"] .faq-item { border-left: 0; border-right: 3px solid var(--nx-blue); }
.faq-question { font: 700 1.0625rem/1.35 var(--nx-display); color: var(--nx-text); }
.faq-answer { color: var(--nx-muted); line-height: 1.6; }
.contact-cta-section { padding: 30px 0 100px; }
.contact-cta-content {
  max-width: 1000px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px); border-radius: 30px; text-align: center;
  background: radial-gradient(70% 90% at 50% 0%, rgba(79, 124, 255, .28), transparent 70%), linear-gradient(180deg, rgba(20, 29, 58, .78), rgba(8, 12, 26, .85)); box-shadow: inset 0 0 0 1px var(--nx-line-2);
}
.contact-cta-title { font: 700 clamp(1.9rem, 3.6vw, 2.8rem)/1.08 var(--nx-display); letter-spacing: -.03em; color: var(--nx-text); }
.contact-cta-text { color: var(--nx-soft); }
.contact-cta-content .add-agent-btn { margin-top: 26px; }

/* ═══ PRIVACY · TERMS: a quiet reading column ═══════════════════════════ */
html body .policy-header, html body .terms-header { padding: 40px 0 34px; border-bottom: 1px solid var(--nx-line); }
html body .policy-header h1, html body .terms-header h1 { font: 700 clamp(2.2rem, 4.4vw, 3.3rem)/1.06 var(--nx-display); letter-spacing: -.03em; color: var(--nx-text); }
html body .last-updated { color: var(--nx-muted); font: 400 .875rem/1.4 var(--nx-mono); font-style: normal; }
html body .policy-content, html body .terms-content { max-width: 760px; font-size: 1.0625rem; }
html body .policy-section h2, html body .terms-section h2 { font: 700 1.625rem/1.2 var(--nx-display); letter-spacing: -.02em; color: var(--nx-text); border-left: 3px solid var(--nx-signal); }
[dir="rtl"] body .policy-section h2, [dir="rtl"] body .terms-section h2 { border-left: 0; border-right: 3px solid var(--nx-signal); padding-left: 0; padding-right: var(--space-4); }
html body .policy-section h3, html body .terms-section h3 { font: 600 1.1875rem/1.3 var(--nx-display); color: var(--nx-text); }
html body .policy-section h4, html body .terms-section h4 { color: var(--nx-soft); }
html body .policy-section p, html body .policy-section li, html body .terms-section p, html body .terms-section li { color: #B7C1DA; line-height: 1.75; }
html body .policy-section strong, html body .terms-section strong, html body .terms-acknowledgment strong { color: var(--nx-text); }
html body .contact-details, html body .acknowledgment-box { border: 0; background: linear-gradient(180deg, rgba(20, 29, 58, .7), rgba(9, 14, 30, .7)); box-shadow: inset 0 0 0 1px var(--nx-line); -webkit-backdrop-filter: none; backdrop-filter: none; }
html body .contact-method h4, html body .acknowledgment-text h4 { color: var(--nx-blue-hi); }
html body .acknowledgment-box i { color: var(--nx-signal); }

/* ═══ BLOG POSTS: made for reading ══════════════════════════════════════ */
.reading-progress { display: none; }
.nx-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1100; background: linear-gradient(90deg, var(--nx-blue), var(--nx-signal)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
[dir="rtl"] .nx-progress { transform-origin: right; }
.blog-post-container, .guide-container, .case-study-container, .social-guide-container { max-width: 860px; }
/* a post page wraps its article in .blog-post too (the list cards use the same class): only the one holding a header */
article.blog-post:has(> .blog-header) { max-width: 860px; margin: 0 auto; padding: 120px var(--nx-gutter) 60px; overflow: visible; border-radius: 0; background: none; box-shadow: none; border: 0; }
article.blog-post:has(> .blog-header):hover { transform: none; box-shadow: none; }
.breadcrumb { color: var(--nx-muted); font: 400 .8125rem/1.5 var(--nx-mono); }
.breadcrumb a { color: var(--nx-blue-hi); }
.breadcrumb span { color: var(--nx-muted); }
.blog-header, .guide-header, .case-study-header, .social-guide-header, .blog-post-header {
  margin: 18px 0 40px; padding: clamp(32px, 5vw, 56px) clamp(22px, 4vw, 48px); border-radius: 28px; overflow: hidden; color: var(--nx-text);
  background: radial-gradient(80% 120% at 85% 0%, rgba(43, 79, 217, .5), transparent 65%), radial-gradient(60% 80% at 0% 100%, rgba(255, 138, 61, .12), transparent 70%), linear-gradient(180deg, #111A38, #0A1022);
  box-shadow: inset 0 0 0 1px var(--nx-line-2), 0 40px 90px -50px #000;
}
.blog-header::before, .guide-header::before, .case-study-header::before, .social-guide-header::before, .blog-post-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(140, 165, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(140, 165, 255, .08) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 80% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 80% 90% at 80% 0%, #000 10%, transparent 70%);
}
.blog-post-header { margin: 110px auto 30px; max-width: 860px; }
.guide-container, .case-study-container, .social-guide-container, .blog-post-container { margin: 0 auto; padding: 100px var(--nx-gutter) 60px; }
.blog-header h1, .blog-title, .guide-header h1, .case-study-header h1, .social-guide-header h1, .blog-post-header h1 {
  font: 700 clamp(2rem, 4.2vw, 3.1rem)/1.08 var(--nx-display); letter-spacing: -.03em; color: var(--nx-text); -webkit-text-fill-color: currentColor; background: none;
}
.blog-header p, .guide-header p, .case-study-header p, .social-guide-header p, .blog-post-header p { color: var(--nx-soft); }
:is(.blog-header, .guide-header, .case-study-header, .social-guide-header, .blog-post-header) :is(p, span, div), .use-case-card, .use-case-card p { opacity: 1; }
.blog-meta, .guide-meta, .post-meta, .case-study-meta, .meta-item { color: var(--nx-muted); font-family: var(--nx-mono); font-size: .8125rem; }
.blog-category, .category-tag, .tool-category, .blog-post-header .post-category {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; border: 0;
  background: rgba(79, 124, 255, .18); box-shadow: inset 0 0 0 1px rgba(157, 183, 255, .45); color: var(--nx-blue-hi); font: 500 .75rem/1.3 var(--nx-mono); letter-spacing: .02em; -webkit-text-fill-color: currentColor;
}
/* the text itself: soft on the night surface, measured line length, calm rhythm */
.blog-content, .guide-container > section, .case-study-container > section, .social-guide-container > section, .post-content { color: #C3CCE3; font-size: 1.0938rem; line-height: 1.78; }
.blog-content p, .guide-container > section p, .case-study-container > section p, .social-guide-container > section p, .post-content p { color: #C3CCE3; }
.blog-content h2, .guide-container h2, .case-study-container h2, .social-guide-container h2, .post-content h2 {
  margin-top: 2.2em; font: 700 clamp(1.5rem, 2.6vw, 1.95rem)/1.2 var(--nx-display); letter-spacing: -.02em; color: var(--nx-text); -webkit-text-fill-color: currentColor; background: none; border: 0;
}
.blog-content h3, .guide-container h3, .case-study-container h3, .social-guide-container h3, .post-content h3 { font-family: var(--nx-display); font-weight: 700; line-height: 1.3; color: var(--nx-text); }
.blog-content li, .guide-container li, .case-study-container li, .social-guide-container li, .post-content li { color: #C3CCE3; }
.blog-content strong, .guide-container strong, .case-study-container strong, .social-guide-container strong, .post-content strong { color: var(--nx-text); }
.section-header h2 { border-bottom: 0; }
.section-header::after { background: linear-gradient(90deg, var(--nx-blue), var(--nx-signal)) !important; }
.internal-link, .external-link { color: var(--nx-blue-hi); text-decoration: underline; text-decoration-color: rgba(157, 183, 255, .4); text-underline-offset: 3px; }
.internal-link:hover, .external-link:hover { color: #fff; text-decoration-color: currentColor; }
.highlight-box, .key-insight, .case-study-box {
  border: 0; border-radius: 16px; background: rgba(79, 124, 255, .09); box-shadow: inset 4px 0 0 var(--nx-blue-hi), inset 0 0 0 1px var(--nx-line); color: var(--nx-soft);
}
[dir="rtl"] .highlight-box, [dir="rtl"] .key-insight, [dir="rtl"] .case-study-box { box-shadow: inset -4px 0 0 var(--nx-blue-hi), inset 0 0 0 1px var(--nx-line); }
/* cards inside articles */
.stat-item, .result-card, .result-item, .stat-showcase-card, .tool-card, .platform-card, .use-case-card, .workflow-card, .sequence-step, .workflow-step, .timeline-content, .benefit-item, .calc-input-group {
  border: 0; border-radius: 18px; background: linear-gradient(180deg, rgba(20, 29, 58, .7), rgba(9, 14, 30, .72)); box-shadow: inset 0 0 0 1px var(--nx-line); color: var(--nx-soft);
}
.tool-card:hover, .platform-card:hover, .workflow-card:hover, .use-case-card:hover { border-color: transparent; transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(157, 183, 255, .45), 0 24px 50px -32px rgba(79, 124, 255, .7); }
.stat-number, .result-number, .result-value, .stat-showcase-number, .benefit-number, .workflow-savings {
  font-family: var(--nx-display); background: linear-gradient(100deg, #fff, var(--nx-blue-hi) 60%, var(--nx-signal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}
.stat-label, .result-label, .stat-showcase-label, .benefit-label { color: var(--nx-muted); }
.step-number { background: #0B1226; box-shadow: inset 0 0 0 1.5px var(--nx-blue-hi); color: var(--nx-blue-hi); font-family: var(--nx-mono); }
.timeline-date { background: rgba(255, 138, 61, .14); box-shadow: inset 0 0 0 1px rgba(255, 138, 61, .45); color: var(--nx-signal-hi); font-family: var(--nx-mono); border-color: var(--nx-blue); }
.result-detail { color: var(--nx-muted); }
.tool-name, .platform-name, .workflow-title, .use-case-title, .step-title { font-family: var(--nx-display); color: var(--nx-text); }
.tool-tag, .tool-features span, .platform-features span { background: rgba(255, 255, 255, .05); color: var(--nx-blue-hi); }
/* wide comparison tables scroll inside their own box instead of pushing the whole page sideways on phones */
@media (max-width: 860px) { .comparison-table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; } }
.comparison-table th { background: rgba(79, 124, 255, .22); color: var(--nx-text); }
.comparison-table td { border-color: var(--nx-line); color: var(--nx-soft); }
.use-case-card, .quote-section { background: radial-gradient(80% 100% at 0% 0%, rgba(255, 138, 61, .14), transparent 70%), linear-gradient(180deg, rgba(26, 30, 58, .8), rgba(12, 14, 30, .8)); color: var(--nx-soft); }
.quote-section { border-radius: 22px; box-shadow: inset 4px 0 0 var(--nx-signal), inset 0 0 0 1px var(--nx-line); }
.cta-box, .guide-container .cta-section, .case-study-container .cta-section, .social-guide-container .cta-section, .post-content .cta-section, .blog-post-container .cta-section {
  border: 0; border-radius: 26px; color: var(--nx-text); -webkit-backdrop-filter: none; backdrop-filter: none;
  background: radial-gradient(70% 100% at 50% 0%, rgba(79, 124, 255, .32), transparent 70%), linear-gradient(180deg, rgba(20, 29, 58, .85), rgba(8, 12, 26, .9));
  box-shadow: inset 0 0 0 1px var(--nx-line-2), 0 30px 70px -40px #000;
}
.cta-box h3, .cta-section h2, .cta-section h3, .cta-title { font-family: var(--nx-display); color: var(--nx-text); }
.cta-box p, .cta-section p { color: var(--nx-soft); }
.cta-button, .calc-button, .cta-section .btn-primary, .cta-section .cta-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 0; border-radius: 14px;
  color: #1A0B00; background: linear-gradient(180deg, var(--nx-signal-hi), var(--nx-signal)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 30px -12px rgba(255, 138, 61, .75);
  font: 600 1rem/1.1 var(--nx-body); text-decoration: none;
}
.cta-button:hover, .calc-button:hover { color: #1A0B00; transform: translateY(-1px); filter: brightness(1.05); }
.tool-link { border-radius: 10px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--nx-line-2); color: var(--nx-text); }
.tool-link:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.tool-link.demo { background: rgba(79, 124, 255, .32); box-shadow: inset 0 0 0 1px rgba(157, 183, 255, .5); color: #fff; }
.tool-link.demo:hover { background: rgba(79, 124, 255, .48); }
.calc-input { border: 0; border-radius: 12px; background: rgba(6, 10, 22, .8); box-shadow: inset 0 0 0 1px var(--nx-line-2); color: var(--nx-text); font-family: var(--nx-mono); }
.calculator-title { color: var(--nx-text); font-family: var(--nx-display); }

/* the short posts whose look is written inline */
section[style*="max-width: 800px"] h1[style] { font-family: var(--nx-display); letter-spacing: -.03em; }
section[style*="max-width: 800px"] a[style*="#0066ff"] {
  display: inline-flex !important; align-items: center; min-height: 48px; padding: 0 22px !important; border-radius: 14px !important;
  color: var(--nx-text) !important; background: rgba(255, 255, 255, .06) !important; box-shadow: inset 0 0 0 1px var(--nx-line-2); border: 0 !important;
}
section[style*="max-width: 800px"] span[style*="#48bb78"] { background: rgba(79, 124, 255, .2) !important; box-shadow: inset 0 0 0 1px rgba(157, 183, 255, .45); color: var(--nx-blue-hi) !important; font-family: var(--nx-mono); }

/* ═══ DEMO BOOKING ══════════════════════════════════════════════════════ */
.nx-mini-nav { position: fixed; top: 12px; left: 0; right: 0; z-index: 1000; padding: 0 var(--nx-gutter); pointer-events: none; }
.nx-mini-nav-in {
  pointer-events: auto; max-width: var(--nx-wrap); height: 60px; margin: 0 auto; padding: 0 10px 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  border-radius: 20px; background: linear-gradient(180deg, rgba(22, 31, 62, .9), rgba(10, 15, 32, .9)); box-shadow: inset 0 0 0 1px var(--nx-line-2), 0 18px 50px -20px rgba(0, 0, 0, .85);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
}
.nx-mini-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--nx-text); font: 700 1.125rem/1 var(--nx-display); letter-spacing: -.01em; text-decoration: none; }
.nx-mini-logo:hover { color: #fff; }
.nx-mini-logo .nx-mark { width: 30px; height: 30px; flex: none; }
.nx-mini-back { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--nx-line); color: var(--nx-soft); font: 500 .9375rem/1 var(--nx-body); text-decoration: none; }
.nx-mini-back:hover { color: #fff; background: rgba(255, 255, 255, .1); }
[dir="rtl"] .nx-mini-back i { transform: scaleX(-1); }
.nx-booking .demo-container { background: none; }
.nx-booking .demo-header { padding-top: 40px; }
.nx-booking .demo-title { font: 700 clamp(2.3rem, 4.8vw, 3.6rem)/1.04 var(--nx-display); letter-spacing: -.035em; background: linear-gradient(100deg, var(--nx-blue-hi) 0%, #fff 34%, var(--nx-signal) 80%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.nx-booking .demo-subtitle, .nx-booking .demo-form-desc, .nx-booking .ai-agent-subtitle, .nx-booking .agent-description, .nx-booking .testimonial-text, .nx-booking .budget-subtitle, .nx-booking .budget-range { color: var(--nx-soft); }
.nx-booking .demo-benefit { color: var(--nx-blue-hi); font-family: var(--nx-mono); font-size: .8125rem; }
.nx-booking .demo-benefit i { color: var(--nx-signal); }
.nx-booking .form-label, .nx-booking .ai-agent-title, .nx-booking .info-title, .nx-booking .budget-title, .nx-booking .testimonial-author, .nx-booking .budget-badge { color: var(--nx-blue-hi); }
.nx-booking .info-list li::before, .nx-booking .ai-agent-option.selected::before, .nx-booking .budget-option.selected::before { color: var(--nx-signal); }
.nx-booking .form-input, .nx-booking .form-select, .nx-booking .form-textarea, .nx-booking textarea { border-radius: 12px; background: rgba(6, 10, 22, .8); border-color: rgba(140, 165, 255, .24); color: var(--nx-text); }
.nx-booking .form-input:focus, .nx-booking .form-select:focus, .nx-booking textarea:focus { border-color: var(--nx-blue-hi); box-shadow: 0 0 0 4px rgba(79, 124, 255, .18); outline: 0; }
.nx-booking .form-input::placeholder, .nx-booking textarea::placeholder { color: #7F8BA8; }
.nx-booking .ai-agent-option:hover, .nx-booking .ai-agent-option.selected { border-color: var(--nx-blue-hi); }
.nx-booking .agent-value-tag, .nx-booking .budget-popular { background: linear-gradient(180deg, rgba(79, 124, 255, .7), rgba(79, 124, 255, .45)); color: #fff; }
.nx-booking .demo-button { color: #1A0B00; background: linear-gradient(180deg, var(--nx-signal-hi), var(--nx-signal)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 14px 34px -12px rgba(255, 138, 61, .8); border-radius: 14px; font-family: var(--nx-body); font-weight: 600; letter-spacing: .01em; }
.nx-booking .demo-button:hover { filter: brightness(1.05); }
.nx-booking .testimonial-card { border-left-color: var(--nx-blue); }
[dir="rtl"] .nx-booking .testimonial-card { border-left: 0; border-right: 4px solid var(--nx-blue); }
.nx-booking .demo-form-section, .nx-booking .demo-info-section > div, .nx-booking .info-card, .nx-booking .testimonial-card { border-radius: 22px; }

/* ═══ 404 · ARIA DEMO ═══════════════════════════════════════════════════ */
body.nx-404, body.nx-ariademo { font-family: var(--nx-body); background: radial-gradient(900px 600px at 70% -10%, rgba(43, 79, 217, .4), transparent 70%), var(--nx-bg); }
.nx-404 .error-container, .nx-ariademo .demo-container { border: 0; border-radius: 28px; background: linear-gradient(180deg, rgba(20, 29, 58, .8), rgba(8, 12, 26, .86)); box-shadow: inset 0 0 0 1px var(--nx-line-2), 0 40px 100px -40px #000; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nx-404 .logo { width: auto; margin: 0 auto 26px; justify-content: center; }
.nx-404 .error-code { font: 800 clamp(4.5rem, 12vw, 7rem)/1 var(--nx-display); letter-spacing: -.05em; background: linear-gradient(100deg, var(--nx-blue-hi), #fff 45%, var(--nx-signal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nx-404 .error-title { font-family: var(--nx-display); letter-spacing: -.02em; }
.nx-404 .error-message { color: var(--nx-soft); }
.nx-404 .back-home { color: #1A0B00; background: linear-gradient(180deg, var(--nx-signal-hi), var(--nx-signal)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 12px 30px -12px rgba(255, 138, 61, .8); border-radius: 14px; font-weight: 600; }
.nx-404 .back-home:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 16px 36px -12px rgba(255, 138, 61, .9); }
.nx-ariademo h1 { font-family: var(--nx-display); letter-spacing: -.03em; }
.nx-ariademo .feature-card { border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--nx-line); }
.nx-ariademo .feature-card i { color: var(--nx-blue-hi); }

/* ── smaller screens ─────────────────────────────────────────────────── */
@media (max-width: 1000px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .solutions-hero, .blog-hero, .contact-hero, html body .about-hero { padding: 116px 0 40px; }
  .benefits-grid { grid-template-columns: minmax(0, 1fr); }
  .featured-post-image { height: 190px; min-height: 0; }
  .solutions-hero .industry-selector { flex-direction: row; align-items: center; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--nx-gutter) * -1); padding: 2px var(--nx-gutter) 6px; scrollbar-width: none; }
  .industry-selector::-webkit-scrollbar { display: none; }
  .industry-tag { flex: none; }
  .blog-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--nx-gutter) * -1); padding: 2px var(--nx-gutter) 6px; scrollbar-width: none; }
  .blog-filters::-webkit-scrollbar { display: none; }
  .filter-tag { flex: none; }
  article.blog-post:has(> .blog-header) { padding-top: 96px; }
  .guide-container, .case-study-container, .social-guide-container, .blog-post-container { padding-top: 88px; }
  .blog-post-header { margin-top: 92px; }
  .nx-mini-nav { top: 10px; }
  .nx-mini-nav-in { height: 56px; border-radius: 18px; }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: minmax(0, 1fr); }
  .blog-content, .guide-container > section, .case-study-container > section, .social-guide-container > section, .post-content { font-size: 1.0313rem; }
}
