/* ═══════════════════════════════════════════════════════════════
   EliteBooksCo additions on top of the CyberNex style.css
   1. Dark mode   2. New components   3. Small fixes
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. DARK MODE (html[data-theme="dark"]) ── */
html[data-theme="dark"] {
  --bg-base: #080d12; --bg-surface: #0d1520; --bg-card: #111c28; --bg-card-hov: #162333; --bg-input: #0f1a24;
  --border: rgba(255,255,255,0.08); --border-hov: var(--cyan-border);
  --text-primary: #e8f4f0; --text-secondary: #9bbac8; --text-muted: #6a8898;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.45);
  color-scheme: dark;
}
html[data-theme="dark"] body { background: var(--bg-base); color: var(--text-primary); }
html[data-theme="dark"] .stats-section { background: linear-gradient(135deg, #0b1620 0%, #0d1a24 100%); }
html[data-theme="dark"] .testimonials-bg,
html[data-theme="dark"] .services-bg { background: linear-gradient(135deg, #0b141d 0%, #0e1824 100%); }
html[data-theme="dark"] .page-hero { background: linear-gradient(160deg, #0b1a18 0%, #0d1622 100%); border-bottom-color: var(--border); }
html[data-theme="dark"] .step:hover,
html[data-theme="dark"] .table-row:hover { background: var(--bg-card-hov); }
html[data-theme="dark"] .post-content code { color: #7fe3c2; }
html[data-theme="dark"] .form-group input:focus,
html[data-theme="dark"] .form-group textarea:focus,
html[data-theme="dark"] .form-group select:focus { background: var(--bg-card-hov); }
html[data-theme="dark"] .trust-item .icon { background: rgba(255,255,255,0.05); }
html[data-theme="dark"] .about-card-main .tagline { color: #e8f4f0; }
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .blog-card { box-shadow: var(--shadow-card); }
html[data-theme="dark"] .btn-ghost-dark { color: var(--text-primary); border-color: var(--border); background: rgba(255,255,255,0.04); }
html[data-theme="dark"] select option { background: var(--bg-card); color: var(--text-primary); }

/* Theme toggle */
.nav-right { display: flex; align-items: center; gap: .6rem; order: 3; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem; line-height: 1; transition: var(--transition);
}
.theme-toggle:hover { border-color: var(--cyan-border); background: rgba(255,255,255,.12); }
.theme-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.theme-toggle .tt-moon { display: inline; }
.theme-toggle .tt-sun { display: none; }
html[data-theme="dark"] .theme-toggle .tt-moon { display: none; }
html[data-theme="dark"] .theme-toggle .tt-sun { display: inline; }

/* ── Navigation: Services dropdown (was an inline style block on the CyberNex site) ── */
.nav-menu { order: 2; }
.nav-menu a { white-space: nowrap; }
.nav-item-dropdown { position: relative; }
.nav-item-dropdown > a { display: flex; align-items: center; gap: .35rem; }
.nav-item-dropdown > a .caret { font-size: .6rem; transition: transform .25s; display: inline-block; opacity: .6; }
.nav-item-dropdown:hover > a .caret, .nav-item-dropdown.open > a .caret { transform: rotate(180deg); }
.services-dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px);
  background: #0f1f1a; border: 1px solid rgba(0,200,150,.15); border-radius: 14px; padding: .6rem; min-width: 260px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .22s, transform .22s; z-index: 9999;
}
.services-dropdown::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; } /* hover bridge */
.nav-item-dropdown:hover .services-dropdown, .nav-item-dropdown.open .services-dropdown,
.nav-item-dropdown:focus-within .services-dropdown { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.services-dropdown a { display: flex; align-items: center; gap: .7rem; padding: .6rem .85rem; border-radius: 9px; font-size: .85rem; font-weight: 500; color: #aac8c0; white-space: nowrap; }
.services-dropdown a:hover { background: rgba(0,200,150,.1); color: var(--cyan); }
.services-dropdown a.dd-active { color: var(--cyan); background: rgba(0,200,150,.08); }
.dd-icon { font-size: 1rem; width: 22px; text-align: center; }

/* Mobile menu from 1100px down (EliteBooksCo has more menu items than CyberNex). */
@media (max-width: 1100px) {
  html:not([data-theme="dark"]) .nav-menu { background: rgba(255,255,255,.98) !important; }
  html:not([data-theme="dark"]) .services-dropdown { background: #f2f8f5 !important; box-shadow: none; }
  .nav-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; max-height: calc(100vh - 72px); overflow-y: auto;
    background: rgba(8,13,18,.98); padding: 1.2rem 1.5rem 1.5rem; border-bottom: 1px solid var(--border); flex-direction: column; align-items: stretch; z-index: 999; backdrop-filter: blur(20px); }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: .75rem .9rem; font-size: .95rem; }
  .nav-menu .nav-cta { text-align: center; justify-content: center; margin-top: .5rem; }
  .hamburger { display: flex; }
  .nav-right { margin-left: auto; }
  .services-dropdown { position: static; transform: none; opacity: 1; pointer-events: all; border: none; border-radius: 0;
    background: rgba(0,0,0,.18); box-shadow: none; padding: 0; min-width: auto; display: none; }
  .services-dropdown::before { display: none; }
  .nav-item-dropdown.open .services-dropdown { display: block; transform: none; }
  .nav-item-dropdown:hover .services-dropdown { transform: none; }
  .services-dropdown a { padding: .55rem 1.2rem .55rem 2.2rem; font-size: .88rem; }
}

/* ── 2. COMPONENTS ── */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--cyan); color: #000; padding: .6rem 1rem; z-index: 2000; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.logo-img { height: 38px; width: auto; display: block; }
.nav-menu a.is-active { color: var(--cyan) !important; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.muted { color: var(--text-muted); font-weight: 400; }
.small-muted { display: block; font-size: .8rem; color: var(--text-muted); margin-top: .3rem; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.container-1100 { max-width: 1100px; margin: 0 auto; }
.section-head-center { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head-center .section-sub { margin: 0 auto; }
.section-tight { padding-top: 50px; padding-bottom: 60px; }
.btn-sm { padding: .65rem 1.3rem !important; font-size: .84rem !important; }
.btn-block { display: flex !important; justify-content: center; }
.btn-ghost-dark { color: var(--text-primary); border-color: var(--border); background: var(--bg-card); }
.btn-ghost-dark:hover { border-color: var(--cyan-border); color: var(--cyan); }
.inline-link { display: inline-block; margin-top: .35rem; color: var(--cyan); font-weight: 700; font-size: .88rem; }
.inline-link:hover { text-decoration: underline; }

/* Hero: 3 stats look balanced */
.hero-stats-card.stats-3 { grid-template-columns: repeat(3, 1fr); }
.stats-grid.stats-3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto; }
.stats-grid.stats-2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin: 0 auto; }

/* Service cards */
.services-grid-3 { grid-template-columns: repeat(3, 1fr); }
.service-letter { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; color: var(--cyan); text-transform: uppercase; margin-bottom: .3rem; }
.card-bullets { list-style: none; padding: 0; margin: .8rem 0 1.2rem; font-size: .86rem; color: var(--text-secondary); }
.card-bullets li { padding: .22rem 0 .22rem 1.3rem; position: relative; }
.card-bullets li::before { content: '✓'; position: absolute; left: 0; color: var(--cyan); font-weight: 800; }

/* Services list page */
.service-rows { display: grid; gap: 1.6rem; }
.service-row { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-card); }
.service-row-head { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.2rem; }
.service-row h2 { font-size: 1.4rem; margin: 0 0 .3rem; color: var(--text-primary); }
.service-row h2 a:hover { color: var(--cyan); }
.service-row-audience { color: var(--text-secondary); margin: 0; }
.service-row .features-list { columns: 2; column-gap: 2rem; }
.service-row-actions, .service-cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.list-heading { margin: 2rem 0 1rem; font-size: 1rem; color: var(--text-primary); }
.service-quote { margin: 2rem 0 0; padding: 1.4rem 1.6rem; border-left: 3px solid var(--cyan); background: var(--cyan-glow); border-radius: 0 var(--radius) var(--radius) 0; }
.service-quote p { font-style: italic; color: var(--text-primary); margin: .4rem 0; }
.service-quote cite { font-size: .84rem; color: var(--text-muted); font-style: normal; }
.service-quote .stars { color: #f5b942; }
.sidebar-wa { display: block; margin-top: .9rem; font-size: .84rem; color: var(--cyan); font-weight: 600; }

/* About */
.story-p { margin-top: 1rem; color: var(--text-secondary) !important; }
.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.timeline { margin-top: 1.5rem; border-left: 2px solid var(--cyan-border); padding-left: 1.4rem; }
.timeline-item { position: relative; display: flex; gap: 1rem; padding-bottom: 1.4rem; }
.timeline-dot { position: absolute; left: -1.95rem; top: .3rem; width: 14px; height: 14px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-glow); }
.timeline-item h4 { margin: 0 0 .2rem; color: var(--text-primary); }
.timeline-meta { color: var(--cyan); font-weight: 600; font-size: .88rem; }
.timeline-item p { color: var(--text-secondary); margin-top: .5rem; }
.track-card { margin-top: 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-card); }
.track-stars { color: #f5b942; font-size: 1.4rem; letter-spacing: 2px; }
.track-num { font-weight: 800; font-size: 1.2rem; color: var(--text-primary); margin: .3rem 0 1rem; }
.track-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.team-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; text-align: center; }
.team-card img, .team-initials { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; }
.team-initials { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--cyan), var(--purple)); color: #fff; font-weight: 800; font-size: 1.6rem; }
.team-card h4 { margin: 0; color: var(--text-primary); }
.team-role { color: var(--cyan); font-size: .85rem; font-weight: 600; margin-bottom: .6rem; }
.team-card p { color: var(--text-secondary); font-size: .88rem; }

/* The decorative glow layer covered the "See all reviews" button and blocked clicks. */
.testimonials-bg::before, .cta-band::before, .stats-section::before, .page-hero::before, .hero-bg, .hero-grid, .hero-orb1, .hero-orb2 { pointer-events: none; }
.testimonials-bg > * { position: relative; z-index: 1; }

/* Reviews slider: room for the arrows so they never cover the cards */
.cnx-slider { margin-top: 2.5rem; padding: 0 3.2rem 3rem; }
.cnx-slider-track { padding: .5rem 0; }
.cnx-slider .cnx-prev { left: .2rem; } .cnx-slider .cnx-next { right: .2rem; }
.cnx-slider-btn { width: 44px; height: 44px; font-size: 1.2rem; }
.cnx-slider.is-static { padding-left: 0; padding-right: 0; }
.cnx-slide .testimonial-card p { font-size: 1.02rem; }
/* Clip at the card edges (the padding around the slider holds the arrows, it must not show a half card). */
.cnx-slider { overflow: visible; }
.cnx-viewport { overflow: hidden; }
/* Shorter, even cards on the home slider; the full text is on the Reviews page. */
.cnx-slide .testimonial-card { padding: 1.6rem 1.7rem; }
.cnx-slide .testimonial-card p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; flex: 1 0 auto; }
.cnx-slide .author-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .92rem; line-height: 1.35; }
.cnx-slide .testimonial-author { margin-top: 1rem; padding-top: 1rem; }
.cnx-slide .t-service-badge { white-space: nowrap; }
.author-avatar { flex-shrink: 0; }
/* The reviews section uses more of the screen width. */
#reviews .container-1100 { max-width: min(92vw, 1400px); }
@media (max-width: 600px) { .cnx-slider { padding: 0 0 3rem; } .cnx-slider-btn { display: none !important; } }

/* Plans */
.promo-banner { text-align: center; background: linear-gradient(135deg, var(--cyan-glow), rgba(91,138,247,.12)); border: 1px solid var(--cyan-border); color: var(--text-primary); border-radius: 12px; padding: .9rem 1.2rem; font-weight: 700; margin-bottom: 2.5rem; }
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.plan-card { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem 1.6rem; display: flex; flex-direction: column; box-shadow: var(--shadow-card); transition: var(--transition); }
.plan-card:hover { transform: translateY(-4px); border-color: var(--cyan-border); }
.plan-highlight { border: 2px solid var(--cyan); box-shadow: var(--shadow-card), var(--shadow-glow); }
.plan-ribbon { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--cyan); color: #06120d; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 99px; white-space: nowrap; }
.plan-icon { font-size: 2rem; }
.plan-card h3 { margin: .6rem 0 .4rem; color: var(--text-primary); font-size: 1.25rem; }
.plan-desc { color: var(--text-secondary); font-size: .9rem; min-height: 2.8em; }
.plan-features { list-style: none; padding: 0; margin: 1rem 0; flex: 1; }
.plan-features li { padding: .35rem 0 .35rem 1.4rem; position: relative; font-size: .88rem; color: var(--text-secondary); border-bottom: 1px dashed var(--border); }
.plan-features li::before { content: '✓'; position: absolute; left: 0; color: var(--cyan); font-weight: 800; }
.plan-deal { background: rgba(245,185,66,.14); color: #b7790a; border: 1px solid rgba(245,185,66,.4); border-radius: 8px; padding: .4rem .7rem; font-size: .8rem; font-weight: 700; text-align: center; margin-bottom: .7rem; }
html[data-theme="dark"] .plan-deal { color: #f5c76a; }
.plan-price-note { font-size: .78rem; color: var(--text-muted); text-align: center; margin-bottom: .9rem; }
.plan-btn { justify-content: center; }

/* Forms */
.form-title { margin: 0 0 1.2rem; font-size: 1.1rem; color: var(--text-primary); }
.form-step { margin: 1.6rem 0 .8rem; font-size: .95rem; color: var(--text-primary); border-bottom: 1px solid var(--border); padding-bottom: .4rem; }
.form-step:first-of-type { margin-top: 0; }
.check-group { border: 0; padding: 0; margin: 0 0 1rem; }
.check-group legend { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--text-muted); margin-bottom: .5rem; }
.check { display: flex; align-items: center; gap: .6rem; padding: .55rem .8rem; border: 1px solid var(--border); border-radius: 9px; margin-bottom: .45rem; cursor: pointer; background: var(--bg-input); color: var(--text-primary); font-size: .9rem; }
.check:hover { border-color: var(--cyan-border); }
.check input { width: 18px; height: 18px; accent-color: var(--cyan); margin: 0; flex-shrink: 0; }
.form-group label.check, .check-group label.check { text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 500; color: var(--text-primary); }
.form-group input.is-invalid, .form-group textarea.is-invalid, .form-group select.is-invalid { border-color: #ef4444 !important; }
.field-error { display: block; color: #ef4444; font-size: .8rem; margin-top: .3rem; }
.form-alert { border-radius: 10px; padding: .85rem 1rem; margin-bottom: 1.2rem; font-size: .9rem; font-weight: 600; }
.form-alert-success { background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.4); color: #047857; }
html[data-theme="dark"] .form-alert-success { color: #6ee7b7; }
.form-alert-error { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.4); color: #b91c1c; }
html[data-theme="dark"] .form-alert-error { color: #fca5a5; }
.form-note { font-size: .8rem; color: var(--text-muted); margin-top: .8rem; }
.captcha-q { color: var(--cyan); font-weight: 800; }
.captcha-group input { max-width: 180px; }
.submit-btn:disabled { opacity: .7; cursor: wait; }
.contact-item-highlight { border: 1px solid var(--cyan-border); background: var(--cyan-glow); border-radius: 12px; padding: .9rem; }
.contact-item span a { color: inherit; }
.wa-link { color: #128c4b; }
html[data-theme="dark"] .wa-link { color: #4ade80; }
.map-wrap { max-width: 1200px; margin: 0 auto 80px; padding: 0 5%; }
.map-wrap iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }

/* Reviews page */
.reviews-summary { display: flex; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.6rem; margin-bottom: 2.5rem; color: var(--text-primary); }
.rs-stars { color: #f5b942; font-size: 1.4rem; letter-spacing: 2px; }
/* Reviews page: fixed 3 / 2 / 1 columns; a short last row is centred. */
.reviews-grid { --rg-gap: 1.4rem; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--rg-gap); }
.reviews-grid > .review-card { flex: 0 1 calc((100% - 2 * var(--rg-gap)) / 3); min-width: 0; }
@media (max-width: 1000px) { .reviews-grid > .review-card { flex-basis: calc((100% - var(--rg-gap)) / 2); } }
@media (max-width: 640px) { .reviews-grid > .review-card { flex-basis: 100%; } }
.review-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.review-head { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; }
.review-card .stars { color: #f5b942; letter-spacing: 1px; }
.review-card .stars span { color: var(--text-muted); font-size: .8rem; margin-left: .3rem; }
.review-card h3 { font-size: 1rem; margin: .8rem 0 .2rem; color: var(--text-primary); }
.review-period { font-size: .8rem; color: var(--text-muted); }
.review-quote { font-style: italic; color: var(--text-secondary); margin: .9rem 0; flex: 1; line-height: 1.7; }
.review-tags { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .9rem; }
.review-tags span { font-size: .72rem; background: var(--bg-input); border: 1px solid var(--border); border-radius: 6px; padding: .2rem .55rem; color: var(--text-secondary); }
.review-foot { display: flex; justify-content: space-between; gap: .6rem; font-size: .82rem; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: .8rem; }
.review-foot a { color: var(--cyan); font-weight: 600; }
.reviews-note { text-align: center; color: var(--text-muted); font-size: .85rem; margin-top: 2rem; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; margin-bottom: .7rem; overflow: hidden; }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: none; border: 0; padding: 1.05rem 1.2rem; font: inherit; font-weight: 700; color: var(--text-primary); text-align: left; cursor: pointer; }
.faq-icon { font-size: 1.3rem; color: var(--cyan); transition: transform .2s; }
.faq-a { display: none; padding: 0 1.2rem 1.1rem; color: var(--text-secondary); line-height: 1.7; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* Blog */
.blog-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.blog-toolbar .blog-filters { margin: 0; }
.blog-search { display: flex; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; background: var(--bg-card); }
.blog-search input { border: 0; background: transparent; padding: .6rem .9rem; color: var(--text-primary); min-width: 220px; outline: none; }
.blog-search button { border: 0; background: var(--cyan-glow); padding: 0 .9rem; cursor: pointer; }
.blog-card { color: inherit; text-decoration: none; display: flex; flex-direction: column; }
.blog-card-thumb { display: flex; align-items: center; justify-content: center; overflow: hidden; background: linear-gradient(135deg, var(--cyan-glow), rgba(91,138,247,.15)); }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-emoji { font-size: 3rem; }
.blog-author-av { background: linear-gradient(135deg, var(--cyan), var(--purple)); color: #fff; text-transform: uppercase; }
.post-meta-bar { display: flex; align-items: center; gap: .8rem; }
.pm-name { font-weight: 700; color: var(--text-primary); font-size: .92rem; }
.post-hero-thumb img { width: 100%; border-radius: var(--radius); display: block; }
.page-hero-slim { padding-bottom: 40px; }
.post-cta { margin-top: 2.5rem; background: linear-gradient(135deg, var(--cyan-glow), rgba(91,138,247,.1)); border: 1px solid var(--cyan-border); border-radius: var(--radius); padding: 1.6rem; }
.post-cta h3 { margin: 0 0 .4rem; color: var(--text-primary); }
.post-cta p { color: var(--text-secondary); margin-bottom: 1rem; }
.related { margin-top: 2.5rem; }
.related > h3 { font-size: 1.05rem; color: var(--text-primary); margin-bottom: 1rem; }
.widget-cta { background: linear-gradient(135deg, var(--cyan-glow), rgba(91,138,247,.08)); border-color: var(--cyan-border); }
.widget-cta p { font-size: .85rem; color: var(--text-secondary); margin-bottom: 1rem; }
.newsletter-widget form { display: grid; gap: .5rem; }
.newsletter-widget button { cursor: pointer; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-secondary); }
.pagination-wrap { margin-top: 2.5rem; }
.pagination { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; }
.page-btn { padding: .5rem .9rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-card); color: var(--text-secondary); font-size: .88rem; }
.page-btn.active { background: var(--cyan); color: #06120d; border-color: var(--cyan); font-weight: 700; }
.page-btn.disabled { opacity: .45; }

/* Rich text (blog, services, legal) */
.rich { color: var(--text-secondary); line-height: 1.85; }
.rich h2 { font-size: 1.35rem; color: var(--text-primary); margin: 2rem 0 .8rem; }
.rich h3 { font-size: 1.12rem; color: var(--text-primary); margin: 1.6rem 0 .6rem; }
.rich p { margin-bottom: 1rem; }
.rich ul, .rich ol { padding-left: 1.4rem; margin-bottom: 1rem; }
.rich li { margin-bottom: .4rem; }
.rich a { color: var(--cyan); text-decoration: underline; }
.rich img { max-width: 100%; height: auto; border-radius: 10px; }
.rich blockquote { border-left: 3px solid var(--cyan); background: var(--cyan-glow); padding: .8rem 1.2rem; margin: 1.2rem 0; border-radius: 0 10px 10px 0; }
.rich table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.rich th, .rich td { border: 1px solid var(--border); padding: .5rem .7rem; }
.legal-body { max-width: 820px; margin: 0 auto; }

/* Footer newsletter */
.footer-newsletter { margin-top: 1.2rem; }
.footer-newsletter label { display: block; font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: .45rem; }
.fn-row { display: flex; gap: .4rem; }
.fn-row input[type=email] { flex: 1; min-width: 0; padding: .55rem .7rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.06); color: #fff; }
.fn-row button { padding: .55rem .9rem; border-radius: 8px; border: 0; background: var(--cyan); color: #06120d; font-weight: 700; cursor: pointer; }
.fn-ok { color: #6ee7b7; font-size: .82rem; margin-top: .4rem; }
.fn-err { color: #fca5a5; font-size: .82rem; margin-top: .4rem; }
.footer .muted { color: rgba(255,255,255,.45); }
.footer-bottom span { color: rgba(255,255,255,.35); font-size: .85rem; }
.footer-credit { margin-left: auto; }
.footer-credit a { color: var(--cyan) !important; font-weight: 600; }
@media (max-width: 700px) { .footer-credit { margin-left: 0; width: 100%; } }

/* WhatsApp floating button */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(37,211,102,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* Installer / unsubscribe / errors */
.install-card { max-width: 720px; margin: 0 auto; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.check-list li { padding: .3rem 0; }
.check-list .ok { color: #059669; } .check-list .bad { color: #dc2626; font-weight: 700; }
.install-steps { padding-left: 1.3rem; color: var(--text-secondary); margin-bottom: 1.4rem; }
.lead-text { font-size: 1.05rem; color: var(--text-secondary); margin-bottom: 1.4rem; }
.error-hero { min-height: 100vh; padding-top: 0; justify-content: center; text-align: center; }
.error-inner { position: relative; z-index: 2; max-width: 620px; padding: 2rem; color: #e8f4f0; }
.error-code { font-size: 5rem; font-weight: 900; color: var(--cyan); line-height: 1; }
.error-inner h1 { color: #fff; margin: .6rem 0; }
.error-inner p { color: #9bbac8; margin-bottom: 1.6rem; }
.error-inner .hero-btns { justify-content: center; }

/* ── Readability & width (feedback 2026-11-11: too much side space, text too small) ── */
/* Everything is sized in rem, so a larger root size scales all text, spacing and buttons together. */
html { font-size: 16px; }
@media (min-width: 1024px) { html { font-size: 17px; } }
@media (min-width: 1366px) { html { font-size: 18px; } }
@media (min-width: 1680px) { html { font-size: 19px; } }
@media (min-width: 2200px) { html { font-size: 21px; } }
body { font-size: 1rem; }

/* Wider content: about 90% of the screen, up to a comfortable reading width. */
.section, .hero-inner, .footer-inner, .footer-bottom { max-width: min(92vw, 1640px); }
.cta-inner { max-width: min(90vw, 1560px); }
.stats-grid { max-width: min(90vw, 1200px); }
.hero-inner { gap: 5rem; }

/* ═══ LIGHT MODE: everything light (the CyberNex design kept the menu, hero, CTA and footer dark) ═══ */
html:not([data-theme="dark"]) .navbar { background: rgba(255,255,255,.92); border-bottom: 1px solid rgba(0,80,60,.1); box-shadow: 0 1px 18px rgba(0,60,45,.07); }
html:not([data-theme="dark"]) .navbar.scrolled { background: rgba(255,255,255,.98); box-shadow: 0 4px 28px rgba(0,60,45,.12); }
html:not([data-theme="dark"]) .logo { color: #0f2027; }
html:not([data-theme="dark"]) .nav-menu a { color: #2d4a40; }
html:not([data-theme="dark"]) .nav-menu a:hover { color: #0f2027; background: rgba(0,80,60,.06); }
html:not([data-theme="dark"]) .nav-menu .nav-cta { color: #06120d !important; }
html:not([data-theme="dark"]) .hamburger span { background: #0f2027; }
html:not([data-theme="dark"]) .theme-toggle { background: #f0f5f3; border-color: rgba(0,80,60,.15); }
html:not([data-theme="dark"]) .services-dropdown { background: #ffffff; border-color: rgba(0,80,60,.12); box-shadow: 0 18px 50px rgba(0,60,45,.16); }
html:not([data-theme="dark"]) .services-dropdown a { color: #2d4a40; }
html:not([data-theme="dark"]) .services-dropdown a:hover { background: rgba(0,200,150,.08); }

html:not([data-theme="dark"]) .hero-bg {
  background: radial-gradient(ellipse 90% 70% at 70% 35%, var(--cyan-glow) 0%, transparent 65%),
              radial-gradient(ellipse 60% 90% at 5% 90%, rgba(91,138,247,.10) 0%, transparent 60%),
              linear-gradient(180deg, #f4faf7 0%, #e9f2ef 100%);
}
html:not([data-theme="dark"]) .hero-grid { opacity: .55; }
html:not([data-theme="dark"]) .hero h1 { color: #0f2027; }
html:not([data-theme="dark"]) .hero-desc, html:not([data-theme="dark"]) .hero-trust-item { color: #2d4a40; }
html:not([data-theme="dark"]) .btn-ghost { background: #ffffff; color: #0f2027; border-color: rgba(0,80,60,.2); }
html:not([data-theme="dark"]) .btn-primary { color: #06120d; }
html:not([data-theme="dark"]) .hero-stats-card { background: #ffffff; border-color: rgba(0,80,60,.1); box-shadow: 0 10px 40px rgba(0,60,45,.1); }
html:not([data-theme="dark"]) .hstat { background: #f2f8f5; border-color: rgba(0,80,60,.1); }
html:not([data-theme="dark"]) .hstat-label { color: #4a6a60; }
html:not([data-theme="dark"]) .hstat-num { text-shadow: none; color: var(--cyan-dim); }
html:not([data-theme="dark"]) .highlight-row { background: #ffffff; border-color: rgba(0,80,60,.1); box-shadow: 0 2px 12px rgba(0,60,45,.05); }
html:not([data-theme="dark"]) .highlight-text strong { color: #0f2027; }
html:not([data-theme="dark"]) .highlight-text span { color: #4a6a60; }

html:not([data-theme="dark"]) .cta-band { background: linear-gradient(135deg, #dff2ea 0%, #e3ecf7 100%); border-top: 1px solid rgba(0,80,60,.1); border-bottom: 1px solid rgba(0,80,60,.1); }
html:not([data-theme="dark"]) .cta-inner h2 { color: #0f2027; }
html:not([data-theme="dark"]) .cta-inner p { color: #2d4a40; }

html:not([data-theme="dark"]) footer, html:not([data-theme="dark"]) .footer { background: #e6efeb; border-top: 1px solid rgba(0,80,60,.12); }
html:not([data-theme="dark"]) .footer .logo { color: #0f2027; }
html:not([data-theme="dark"]) .footer-brand p, html:not([data-theme="dark"]) .footer .muted { color: #4a6a60; }
html:not([data-theme="dark"]) .footer-col h5 { color: #0f2027; }
html:not([data-theme="dark"]) .footer-col ul a { color: #2d4a40; }
html:not([data-theme="dark"]) .footer-bottom span, html:not([data-theme="dark"]) .footer-bottom a { color: #4a6a60; }
html:not([data-theme="dark"]) .footer-inner { border-bottom-color: rgba(0,80,60,.12); }
html:not([data-theme="dark"]) .social-btn { background: #ffffff; border-color: rgba(0,80,60,.15); color: #2d4a40; }
html:not([data-theme="dark"]) .footer-newsletter label { color: #2d4a40; }
html:not([data-theme="dark"]) .fn-row input[type=email] { background: #ffffff; border-color: rgba(0,80,60,.2); color: #0f2027; }
html:not([data-theme="dark"]) .fn-ok { color: #047857; }
html:not([data-theme="dark"]) .fn-err { color: #b91c1c; }

/* ═══ DARK MODE: the light-only section backgrounds from style.css made dark ═══ */
html[data-theme="dark"] .about-card-main { background: linear-gradient(135deg, #12302a, #142a3a); }
html[data-theme="dark"] .cta-band { background: linear-gradient(135deg, #0f2420 0%, #101e2c 100%); }
html[data-theme="dark"] footer, html[data-theme="dark"] .footer { background: #070c11; }
html[data-theme="dark"] .trust-marquee-wrap { background: #0b131b; }
html[data-theme="dark"] .navbar { background: rgba(8,13,18,.94); }

/* Bigger, higher-contrast text. */
.nav-menu a { font-size: .95rem; }
.hero-desc { font-size: 1.12rem; max-width: 580px; color: #b4cdd8; }
.section-sub { font-size: 1.08rem; max-width: 640px; }
.service-card p, .about-feat p, .value-card p, .step p, .testimonial-card p, .blog-card p { font-size: 1rem; }
.card-bullets, .features-list li, .plan-features li, .plan-desc { font-size: .97rem; }
.form-group input, .form-group textarea, .form-group select { font-size: 1rem; }
.footer-col ul a, .footer-brand p { font-size: .95rem; }
.hero-trust-item { font-size: .95rem; }
.highlight-text strong { font-size: 1rem; }
.highlight-text span { font-size: .88rem; color: #9bbac8; }
.highlight-row { padding: 1rem 1.2rem; }
.highlight-icon { font-size: 1.25rem; }

/* Hero stats card: the hero is always dark, so keep the card dark in both modes (was a white box). */
.hero-stats-card { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.hstat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.08); }
.hstat:hover { background: rgba(255,255,255,.08); }
.hstat-label { color: #9bbac8; font-size: .78rem; }

/* ── 3. RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-right { margin-left: auto; }
  .services-grid-3, .about-columns { grid-template-columns: 1fr; }
  .service-row .features-list { columns: 1; }
  .hero-stats-card.stats-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .stats-grid.stats-3 { grid-template-columns: 1fr; }
  .blog-search input { min-width: 0; width: 100%; }
  .blog-search { width: 100%; }
  .wa-float { right: 14px; bottom: 14px; width: 52px; height: 52px; }
  .fn-row { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
