/* =========================================================
   Cloudsect Solutions — Design System
   Display: Space Grotesk | Body: Inter | Utility: JetBrains Mono
   ========================================================= */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body, 'Inter'), system-ui, sans-serif;
  background: linear-gradient(180deg, var(--paper) 0%, #EEF2F7 100%);
  background-attachment: fixed;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.font-display { font-family: var(--font-display, 'Space Grotesk'), var(--font-body, 'Inter'), sans-serif; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

h1, h2, h3, h4, .display {
  font-family: var(--font-display, 'Space Grotesk'), var(--font-body, 'Inter'), sans-serif;
  letter-spacing: -0.02em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(34,197,94,.18);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem;
  padding: 13px 26px; border-radius: 8px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, background .2s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), color-mix(in srgb, var(--cyan) 75%, var(--green))); color: var(--ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 18px -8px rgba(34,211,238,.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 14px 30px -10px rgba(34,211,238,.6); }
.btn-outline { border-color: rgba(255,255,255,.25); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-dark { background: linear-gradient(135deg, var(--ink), var(--ink-soft)); color: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.1), 0 6px 16px -8px rgba(11,18,32,.5); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 14px 30px -10px rgba(11,18,32,.55); }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,18,32,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 9px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  display: flex; align-items: center; justify-content: center;
  color: var(--ink); flex-shrink: 0;
}
.brand-name { font-family: var(--font-display, 'Space Grotesk'), sans-serif; font-weight: 700; font-size: 1.05rem; line-height: 1.1; }
.brand-name span { display: block; font-family: 'JetBrains Mono', monospace; font-size: .62rem; letter-spacing: .12em; color: var(--cyan); font-weight: 400; margin-top: 2px; }
.brand-logo-wrap { display: flex; align-items: center; }
.brand-logo-img { width: 160px; height: auto; max-height: 64px; display: block; filter: drop-shadow(0 1px 3px rgba(255,255,255,.12)); }
@media (max-width: 480px) { .brand-logo-img { width: 120px; } }

.nav-links { display: none; align-items: center; gap: 0; }
.nav-links a {
  color: rgba(255,255,255,.72); font-size: .87rem; font-weight: 500; white-space: nowrap;
  padding: 9px 11px; border-radius: 999px; transition: all .2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta { display: none; white-space: nowrap; font-size: .86rem; padding: 10px 18px; }
.menu-btn { color: #fff; background: none; border: none; cursor: pointer; padding: 6px; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-btn { display: none; }
}
@media (min-width: 1180px) {
  .nav-links a { padding: 9px 14px; font-size: .92rem; }
  .nav-cta { font-size: .95rem; padding: 13px 26px; }
}

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  background: var(--ink-soft); padding: 12px 24px 20px; border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: rgba(255,255,255,.8); padding: 10px 6px; border-radius: 8px; }
.mobile-menu a:hover { background: rgba(255,255,255,.06); color: #fff; }

/* ---------- Geometric Animated Background ---------- */
.geo-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.geo-grid {
  position: absolute; inset: -20%;
  background-image:
    linear-gradient(rgba(34,211,238,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,.07) 1px, transparent 1px);
  background-size: 46px 46px;
  animation: geo-pan 26s linear infinite;
  transform: rotate(-4deg) scale(1.1);
  mask-image: radial-gradient(ellipse 65% 60% at 30% 35%, #000 35%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 65% 60% at 30% 35%, #000 35%, transparent 80%);
}
.geo-grid-b {
  position: absolute; inset: -20%;
  background-image:
    linear-gradient(rgba(34,197,94,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,197,94,.06) 1px, transparent 1px);
  background-size: 68px 68px;
  animation: geo-pan-rev 38s linear infinite;
  transform: rotate(7deg) scale(1.15);
  mask-image: radial-gradient(ellipse 55% 55% at 75% 68%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 55% 55% at 75% 68%, #000 30%, transparent 78%);
}
@keyframes geo-pan { from { background-position: 0 0; } to { background-position: 46px 46px; } }
@keyframes geo-pan-rev { from { background-position: 0 0; } to { background-position: -68px 34px; } }

.geo-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; }
.geo-glow-a { width: 380px; height: 380px; top: -120px; right: -80px; background: radial-gradient(circle, var(--cyan), transparent 70%); }
.geo-glow-b { width: 320px; height: 320px; bottom: -100px; left: -60px; background: radial-gradient(circle, var(--green), transparent 70%); }

.geo-node {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 4px rgba(34,211,238,.15), 0 0 14px 2px rgba(34,211,238,.5);
  animation: geo-node-pulse 3.2s ease-in-out infinite;
}
@keyframes geo-node-pulse { 0%,100% { opacity: .35; transform: scale(1); } 50% { opacity: 1; transform: scale(1.4); } }

.geo-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.geo-line {
  fill: none; stroke: var(--cyan); stroke-width: 1;
  stroke-dasharray: 6 10; opacity: .3;
  animation: geo-line-flow 6s linear infinite;
}
@keyframes geo-line-flow { to { stroke-dashoffset: -160; } }

@media (prefers-reduced-motion: reduce) {
  .geo-grid, .geo-grid-b, .geo-node, .geo-line { animation: none; }
}

/* Waves pattern (default) — many thin flowing lines across 3 different curve
   shapes for a layered, organic look. Strictly background: low opacity,
   z-index:0, purely decorative, never competes with foreground text/images. */
.geo-flow-wrap { position: absolute; inset: -8% -4%; z-index: 0; pointer-events: none; }
.geo-flow-svg { width: 100%; height: 100%; display: block; color: var(--cyan); }
.geo-flow-svg path { fill: none; stroke: currentColor; stroke-width: 0.5; }
.geo-flow-svg .flow-a { animation: geo-flow-drift-a 18s ease-in-out infinite; }
.geo-flow-svg .flow-b { animation: geo-flow-drift-b 24s ease-in-out infinite; color: var(--green); }
.geo-flow-svg .flow-c { animation: geo-flow-drift-a 30s ease-in-out infinite reverse; }
@keyframes geo-flow-drift-a { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes geo-flow-drift-b { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

.geo-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(34,211,238,.18); animation: geo-ring-float 9s ease-in-out infinite; }
.geo-ring.r1 { width: 120px; height: 120px; top: 14%; right: 10%; animation-delay: 0s; }
.geo-ring.r2 { width: 60px; height: 60px; top: 60%; left: 6%; border-color: rgba(34,197,94,.2); animation-delay: 1.4s; }
.geo-ring.r3 { width: 200px; height: 200px; bottom: -60px; right: 22%; border-color: rgba(34,211,238,.1); animation-delay: 2.6s; }
@keyframes geo-ring-float { 0%,100% { transform: translateY(0) scale(1); opacity: .6; } 50% { transform: translateY(-14px) scale(1.04); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .geo-flow-svg, .geo-ring { animation: none; }
}

/* ---------- Marquee ticker (dark-cyber / futuristic themes) ---------- */
.marquee-ticker {
  background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08);
  overflow: hidden; padding: 12px 0;
}
.marquee-track { display: flex; width: max-content; animation: marquee-scroll 26s linear infinite; }
.marquee-track span {
  white-space: nowrap; font-family: 'JetBrains Mono', monospace; font-size: .78rem; letter-spacing: .1em;
  color: var(--cyan); padding-right: 0;
}
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* =========================================================
   Theme Layout variants — structural/visual differences only.
   Content and markup stay identical across all three; these
   classes (applied to <body>) restyle the same components.
   ========================================================= */

/* --- Dark Cyber / Terminal --- */
.theme-dark_cyber body { background: #0A0C10; }
.theme-dark_cyber .section-alt,
.theme-dark_cyber .p-card-plain { background: #0F1319; }
.theme-dark_cyber .card,
.theme-dark_cyber .post-card,
.theme-dark_cyber .gallery-item {
  background: #12161D; border-color: rgba(34,211,238,.16);
  box-shadow: 0 0 0 1px rgba(34,211,238,.05), 0 14px 30px -18px rgba(0,0,0,.6);
}
.theme-dark_cyber .card h4, .theme-dark_cyber .card-service h4,
.theme-dark_cyber .section-head h2, .theme-dark_cyber h1, .theme-dark_cyber h2, .theme-dark_cyber h3, .theme-dark_cyber h4,
.theme-dark_cyber .post-body h4, .theme-dark_cyber .p-card-plain h5 { color: #EAF6FF; }
.theme-dark_cyber body { color: #B9C4D0; }
.theme-dark_cyber .card p, .theme-dark_cyber .section-head p { color: #8592A3; }
.theme-dark_cyber .card:hover, .theme-dark_cyber .post-card:hover {
  box-shadow: 0 0 0 1px rgba(34,211,238,.35), 0 0 30px -6px rgba(34,211,238,.25), 0 20px 40px -18px rgba(0,0,0,.7);
  transform: translateY(-5px);
}
.theme-dark_cyber .chip { background: rgba(34,211,238,.08); border-color: rgba(34,211,238,.2); color: #9FE7F5; }
.theme-dark_cyber .method-item, .theme-dark_cyber .faq-item, .theme-dark_cyber table.p-table { border-color: rgba(34,211,238,.14); }
.theme-dark_cyber .field input, .theme-dark_cyber .field textarea { background: #12161D; border-color: rgba(34,211,238,.2); color: #EAF6FF; }
.theme-dark_cyber .site-header { background: rgba(10,12,16,.9); border-bottom-color: rgba(34,211,238,.15); }
.theme-dark_cyber .hero-visual-frame { box-shadow: 0 0 0 1px rgba(34,211,238,.25), 0 30px 80px -20px rgba(0,0,0,.7), 0 0 40px -10px rgba(34,211,238,.3); }

/* --- Futuristic Cyber Defense --- */
.theme-futuristic body { background: #090A14; }
.theme-futuristic .section-alt,
.theme-futuristic .p-card-plain { background: #0E1020; }
.theme-futuristic .card,
.theme-futuristic .post-card,
.theme-futuristic .gallery-item {
  background: linear-gradient(160deg, #12142A, #0E1020);
  border-color: rgba(167,139,250,.18);
  backdrop-filter: blur(6px);
  box-shadow: 0 14px 30px -18px rgba(0,0,0,.6);
}
.theme-futuristic h1, .theme-futuristic h2, .theme-futuristic h3, .theme-futuristic h4,
.theme-futuristic .p-card-plain h5 { color: #F1EEFF; }
.theme-futuristic body { color: #B4AFCB; }
.theme-futuristic .card p, .theme-futuristic .section-head p { color: #8A85A6; }
.theme-futuristic .card:hover, .theme-futuristic .post-card:hover {
  box-shadow: 0 0 0 1px rgba(167,139,250,.4), 0 0 34px -6px rgba(167,139,250,.3), 0 20px 40px -18px rgba(0,0,0,.7);
  transform: translateY(-5px);
}
.theme-futuristic .chip { background: rgba(167,139,250,.1); border-color: rgba(167,139,250,.25); color: #D9CFFF; }
.theme-futuristic .site-header { background: rgba(9,10,20,.9); border-bottom-color: rgba(167,139,250,.18); }
.theme-futuristic .hero-visual-frame { box-shadow: 0 0 0 1px rgba(167,139,250,.28), 0 30px 80px -20px rgba(0,0,0,.7), 0 0 44px -8px rgba(167,139,250,.32); }

/* --- Radius style overrides --- */
.radius-sharp .card, .radius-sharp .btn, .radius-sharp .post-card, .radius-sharp .gallery-item,
.radius-sharp .chip, .radius-sharp .field input, .radius-sharp .field textarea { border-radius: 4px; }
.radius-soft .card, .radius-soft .post-card, .radius-soft .gallery-item { border-radius: 24px; }
.radius-soft .btn { border-radius: 999px; }

/* --- Animation level overrides --- */
.anim-reduced .reveal { transition-duration: .3s; }
.anim-reduced .geo-flow-svg,
.anim-reduced .geo-ring, .anim-reduced .marquee-track, .anim-reduced .clients-track { animation-duration: 60s !important; }
.anim-off .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.anim-off .geo-flow-svg, .anim-off .geo-ring,
.anim-off .geo-node, .anim-off .geo-line, .anim-off .geo-grid, .anim-off .geo-grid-b,
.anim-off .marquee-track, .anim-off .clients-track, .anim-off .hero-scan-line,
.anim-off .hero-badge-ring, .anim-off .hero-badge-ring span { animation: none !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at 18% 20%, var(--ink-soft), var(--ink) 65%);
  color: #fff;
  padding: 100px 0 96px;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.08fr .92fr; } }

.hero h1 { font-size: clamp(2.15rem, 4.6vw, 3.5rem); line-height: 1.08; margin: 14px 0 18px; }
.hero p { color: rgba(255,255,255,.7); font-size: 1.06rem; line-height: 1.65; max-width: 48ch; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 460px; }
.hero-stat { border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 14px 16px; background: linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); box-shadow: 0 8px 20px -14px rgba(0,0,0,.5); transition: border-color .25s, transform .25s, box-shadow .25s; }
.hero-stat:hover { box-shadow: 0 14px 28px -16px rgba(0,0,0,.6); }
.hero-stat:hover { border-color: rgba(34,211,238,.35); transform: translateY(-2px); }
.hero-stat b { font-family: var(--font-display, 'Space Grotesk'), sans-serif; font-size: 1.5rem; color: var(--cyan); display: block; }
.hero-stat span { font-size: .78rem; color: rgba(255,255,255,.55); }

/* Hero visual: framed illustration with HUD corner accents, reliable single-slide crossfade */
.hero-visual { position: relative; width: 100%; max-width: 440px; min-height: 380px; margin: 0 auto; aspect-ratio: 1/1; }
.hero-visual-frame {
  position: absolute; inset: 6%; border-radius: 20px;
  border: 1px solid rgba(34,211,238,.25);
  background: linear-gradient(155deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.55), inset 0 0 60px rgba(34,211,238,.05);
}
.hero-visual-corner { position: absolute; width: 26px; height: 26px; border-color: var(--cyan); opacity: .8; }
.hero-visual-corner.tl { top: 0; left: 0; border-top: 2px solid; border-left: 2px solid; border-radius: 8px 0 0 0; }
.hero-visual-corner.tr { top: 0; right: 0; border-top: 2px solid; border-right: 2px solid; border-radius: 0 8px 0 0; }
.hero-visual-corner.bl { bottom: 0; left: 0; border-bottom: 2px solid; border-left: 2px solid; border-radius: 0 0 0 8px; }
.hero-visual-corner.br { bottom: 0; right: 0; border-bottom: 2px solid; border-right: 2px solid; border-radius: 0 0 8px 0; }
.hero-visual-slides { position: absolute; inset: 12%; }
.hero-slide-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity .7s ease; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4));
}
.hero-slide-img.is-visible { opacity: 1; }
.hero-scan-line {
  position: absolute; left: 6%; right: 6%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 10px 1px rgba(34,211,238,.6);
  animation: hero-scan 3.4s ease-in-out infinite;
}
@keyframes hero-scan { 0%,100% { top: 8%; opacity: 0; } 10% { opacity: 1; } 50% { top: 90%; opacity: 1; } 60% { opacity: 0; } }
.hero-visual-dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.hero-visual-dots button { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.22); border: none; cursor: pointer; transition: all .3s; padding: 0; }
.hero-visual-dots button.active { width: 24px; background: var(--cyan); }

@media (prefers-reduced-motion: reduce) {
  .hero-slide-img, .hero-scan-line { transition: none; animation: none; }
}

/* Angular hero layout variant */
.hero-angular-panel {
  position: absolute; top: -6%; right: -14%; width: 78%; height: 112%;
  background: linear-gradient(135deg, rgba(34,211,238,.14), rgba(34,197,94,.06));
  clip-path: polygon(18% 0%, 100% 0%, 82% 100%, 0% 100%);
  z-index: 0;
}
.hero-visual-angular { z-index: 1; }
.hero-badge-ring {
  position: absolute; top: -22px; right: -12px; width: 92px; height: 92px; z-index: 3;
  border-radius: 50%; border: 1px dashed rgba(34,211,238,.55);
  background: rgba(11,18,32,.72); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; text-align: center;
  animation: hero-badge-spin 16s linear infinite;
}
.hero-badge-ring span {
  display: inline-block; animation: hero-badge-spin-reverse 16s linear infinite;
  font-family: 'JetBrains Mono', monospace; font-size: .56rem; letter-spacing: .04em;
  color: var(--cyan); line-height: 1.4;
}
@keyframes hero-badge-spin { to { transform: rotate(360deg); } }
@keyframes hero-badge-spin-reverse { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) {
  .hero-badge-ring, .hero-badge-ring span { animation: none; }
}

/* Differentiated homepage CTA strip (distinct from the footer's centered CTA) */
.cta-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
  background: var(--ink); border-radius: 20px; padding: 34px 38px;
  box-shadow: 0 24px 50px -24px rgba(11,18,32,.4);
}
.cta-strip-icon {
  flex-shrink: 0; width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(34,211,238,.2), rgba(34,197,94,.15));
  color: var(--cyan); display: flex; align-items: center; justify-content: center;
}
.cta-strip-text { flex: 1; min-width: 220px; }
.cta-strip-text h3 { color: #fff; font-size: 1.15rem; margin-bottom: 6px; }
.cta-strip-text p { color: rgba(255,255,255,.55); font-size: .9rem; margin: 0; }
@media (max-width: 700px) { .cta-strip { padding: 28px; } }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FC 100%); }
.section-dark { background: radial-gradient(ellipse 120% 100% at 50% -10%, var(--ink-soft), var(--ink) 60%); color: #fff; position: relative; overflow: hidden; }
.section-dark .container { position: relative; z-index: 1; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head-split { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; margin-bottom: 48px; }
@media (min-width: 860px) { .section-head-split { grid-template-columns: 1.3fr .9fr; } }
.section-head-split .section-head, .section-head-split > div:first-child { max-width: 640px; margin-bottom: 0; }
.section-head-img { display: flex; align-items: center; justify-content: center; }
.section-head-img img { max-width: 220px; width: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0,0,0,.15)); }
.section-dark .section-head-img img { filter: drop-shadow(0 18px 34px rgba(0,0,0,.45)); }
.product-card-img { width: 100%; aspect-ratio: 16/10; object-fit: contain; border-radius: 10px; margin-bottom: 16px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 12px 0 10px; }
.section-head p { color: var(--slate); font-size: 1.02rem; }
.section-dark .section-head p { color: rgba(255,255,255,.6); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: linear-gradient(165deg, #FFFFFF 0%, #FAFBFD 100%);
  border: 1px solid #E7EBF1; border-radius: 14px; padding: 26px;
  box-shadow: 0 1px 2px rgba(11,18,32,.04), 0 6px 16px -8px rgba(11,18,32,.1);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 4px 8px rgba(11,18,32,.06), 0 26px 44px -20px rgba(11,18,32,.28); border-color: #CBD6E4; }
.card-service {
  position: relative; overflow: hidden; border-left: 3px solid rgba(34,211,238,.35);
  box-shadow: 0 1px 2px rgba(11,18,32,.04), 0 8px 18px -10px rgba(11,18,32,.16);
}
.card-service::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--green));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card-service:hover { border-left-color: var(--cyan); }
.card-service:hover::before { transform: scaleX(1); }
.card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.card-icon {
  width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(34,211,238,.15), rgba(34,197,94,.15));
  box-shadow: 0 0 0 1px rgba(34,211,238,.12);
  color: var(--ink); flex-shrink: 0;
}
.card-icon-img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.card-head h4 { margin: 0; }
.card h4 { font-size: 1.02rem; margin-bottom: 6px; line-height: 1.3; }
.card p { color: var(--slate); font-size: .92rem; line-height: 1.55; margin: 0; }

.chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.chip {
  font-family: 'JetBrains Mono', monospace; font-size: .66rem; letter-spacing: .01em;
  color: var(--slate); background: #F1F5F9; border: 1px solid #E2E8F0;
  padding: 3px 9px; border-radius: 999px; white-space: nowrap;
}

.tag {
  font-family: 'JetBrains Mono', monospace; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--green); background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.25);
  padding: 4px 10px; border-radius: 999px; display: inline-block; margin-bottom: 10px;
}

/* Image gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 700px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1/1;
  background: linear-gradient(160deg, #EEF2F7, #E4E9F0);
  box-shadow: 0 2px 10px -6px rgba(11,18,32,.1);
}
.gallery-item img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 14px;
  background: linear-gradient(0deg, rgba(11,18,32,.82), transparent);
  display: flex; flex-direction: column; gap: 2px;
  color: #fff; font-size: .82rem; font-weight: 600;
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

/* Trust bar under hero */
.trust-bar {
  position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 12px 28px;
  margin-top: 56px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.08);
}
.trust-bar span {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'JetBrains Mono', monospace; font-size: .74rem; letter-spacing: .02em;
  color: rgba(255,255,255,.55);
}
.trust-bar span i { color: var(--green); }

.active-dot { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,.22); border: none; cursor: pointer; transition: all .3s; padding: 0; }
.active-dot.active { width: 24px; background: var(--cyan); }


/* Methodologies (compliance grid) — uses the shared .card + .card-head + .card-icon
   pattern so it matches the icon styling used everywhere else on the site. */
.method-card .card-icon { background: linear-gradient(135deg, rgba(34,197,94,.18), rgba(34,211,238,.12)); color: var(--green); }
.method-card p { color: var(--slate); font-size: .88rem; margin: 0; }

/* Process timeline */
.process-list { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 800px) { .process-list { grid-template-columns: repeat(4, 1fr); } }
.process-item {
  position: relative; padding: 26px 22px; border: 1px solid #E7EBF1; border-radius: 14px; background: #fff;
  box-shadow: 0 1px 2px rgba(11,18,32,.04), 0 6px 16px -10px rgba(11,18,32,.12);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.process-item:hover { transform: translateY(-5px); box-shadow: 0 20px 34px -18px rgba(11,18,32,.24); border-color: #CBD6E4; }
.process-index { font-family: 'JetBrains Mono', monospace; color: var(--cyan); font-size: .8rem; margin-bottom: 10px; display: block; }

/* Team */
.team-card { text-align: left; }
.team-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.team-role { font-family: 'JetBrains Mono', monospace; font-size: .74rem; color: var(--cyan); letter-spacing: .06em; }

/* Testimonials */
.testimonial-box { background: var(--ink); color: #fff; border-radius: 18px; padding: 44px; position: relative; min-height: 220px; }
.testimonial-slide { display: none; }
.testimonial-slide.active { display: block; }
.testimonial-slide q { font-size: 1.25rem; line-height: 1.6; font-family: var(--font-display, 'Space Grotesk'), sans-serif; font-weight: 500; display: block; margin-bottom: 18px; quotes: none; }
.dots { display: flex; gap: 8px; margin-top: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.25); border: none; cursor: pointer; transition: all .25s ease; }
.dot.active { background: var(--cyan); width: 22px; border-radius: 4px; }
/* On light sections (e.g. the Classic Blue testimonial split) the box itself isn't
   dark, so the default white-based dot colour is invisible — use an ink-based dot instead. */
.cb-testimonial-split .dot,
.section:not(.section-dark) .dot,
.cb-section:not(.section-dark) .dot { background: rgba(15,23,42,.18); }
.cb-testimonial-split .dot.active,
.section:not(.section-dark) .dot.active,
.cb-section:not(.section-dark) .dot.active { background: #1D4ED8; }

/* Clients strip */
/* ---------- Clients strip (static, centered) ---------- */
/* ---------- Clients strip (auto-scrolling marquee, generous padding so hover-scale never clips) ---------- */
.clients-marquee { overflow: hidden; padding: 22px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.clients-track { display: flex; align-items: center; gap: 46px; width: max-content; animation: clients-scroll 20s linear infinite; }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
@keyframes clients-scroll { from { transform: translateX(0); } to { transform: translateX(-33.3334%); } }
.clients-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 30px 36px; padding: 14px 0; }
.client-logo-wrap {
  position: relative; width: 112px; height: 112px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  background: #fff; border: 2px solid rgba(11,18,32,.4);
  box-shadow: 0 10px 26px -12px rgba(11,18,32,.32);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.client-logo-wrap:hover {
  transform: translateY(-4px) scale(1.08);
  border-color: var(--cyan);
  box-shadow: 0 18px 34px -14px rgba(11,18,32,.4);
}
.client-logo { height: 64px; width: 64px; object-fit: contain; padding: 0; filter: grayscale(1); opacity: .82; transition: all .25s; }
.client-logo-wrap:hover .client-logo { filter: grayscale(0); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .client-logo-wrap { transition: none; } .clients-track { animation: none; } }

/* Certification badges */
.cert-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px; margin-top: 10px; }
.cert-badge {
  width: 130px; height: 130px; border-radius: 16px; background: linear-gradient(165deg, #fff, #FAFBFD);
  border: 1px solid #E7EBF1; display: flex; align-items: center; justify-content: center; padding: 16px;
  box-shadow: 0 1px 2px rgba(11,18,32,.04), 0 8px 18px -10px rgba(11,18,32,.14);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.cert-badge:hover { transform: translateY(-5px); box-shadow: 0 16px 30px -14px rgba(11,18,32,.24); border-color: #CBD6E4; }
.cert-badge img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Insights / blog */
.post-card { display: block; border-radius: 14px; overflow: hidden; border: 1px solid #E7EBF1; background: linear-gradient(165deg, #FFFFFF, #FAFBFD); text-decoration: none; color: inherit; box-shadow: 0 1px 2px rgba(11,18,32,.04), 0 6px 16px -10px rgba(11,18,32,.12); transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 20px 38px -18px rgba(11,18,32,.25); border-color: #D5DEEA; }
.post-img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-body { padding: 20px; }
.post-meta { font-family: 'JetBrains Mono', monospace; font-size: .7rem; color: var(--slate); letter-spacing: .05em; margin-bottom: 8px; }
.post-read-more { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--cyan-ink, var(--ink)); }
.post-card .post-read-more { color: var(--ink); }
.post-card:hover .post-read-more { color: var(--cyan); }

.post-detail-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
@media (min-width: 940px) { .post-detail-grid { grid-template-columns: 1fr 300px; } }
.post-detail-img { width: 100%; border-radius: 14px; margin-bottom: 26px; aspect-ratio: 16/9; object-fit: cover; }
.post-detail-body p { color: var(--slate); font-size: 1.02rem; line-height: 1.8; margin: 0 0 20px; }
.post-detail-sidebar { position: sticky; top: 100px; }
.p-card-plain { background: #F9FBFD; border: 1px solid #E7EBF1; border-radius: 14px; padding: 22px; }
.p-card-plain h5 { font-family: var(--font-display, 'Space Grotesk'), sans-serif; font-size: .95rem; margin-bottom: 14px; }
.sidebar-post-link { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid #E7EBF1; font-size: .88rem; font-weight: 600; color: var(--ink); }
.sidebar-post-link:last-of-type { border-bottom: none; }
.sidebar-post-link:hover { color: var(--cyan); }

/* FAQ */
.faq-item { border-bottom: 1px solid #E7EBF1; padding: 18px 0; }
.faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; }
.faq-a { max-height: 0; overflow: hidden; color: var(--slate); font-size: .92rem; line-height: 1.6; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 320px; padding-top: 10px; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-q i { transition: transform .25s; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .85fr 1.15fr; } }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info-item i { color: var(--cyan); flex-shrink: 0; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid #D5DEEA; border-radius: 9px; padding: 11px 13px;
  font-family: inherit; font-size: .94rem; background: #F9FBFD; color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--cyan); background: #fff; }

/* Page header (inner pages) */
.page-hero {
  background: radial-gradient(ellipse 130% 100% at 30% -20%, var(--ink-soft), var(--ink) 65%); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 12px 0 10px; }
.page-hero p { color: rgba(255,255,255,.62); max-width: 60ch; }
.breadcrumb { font-family: 'JetBrains Mono', monospace; font-size: .74rem; color: rgba(255,255,255,.45); margin-bottom: 4px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 70px 0 28px; position: relative; overflow: hidden; border-top: 1px solid rgba(34,211,238,.12); }
.footer-cta {
  position: relative; z-index: 1; text-align: center; padding-bottom: 46px; margin-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-cta h3 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 10px 0 22px; }
.footer-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 34px; margin-bottom: 40px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-grid h5 { color: #fff; font-family: var(--font-display, 'Space Grotesk'), sans-serif; font-size: .95rem; margin-bottom: 14px; }
.footer-grid a { display: block; color: rgba(255,255,255,.6); font-size: .88rem; padding: 5px 0; }
.footer-grid a:hover { color: var(--cyan); }
.footer-bottom { position: relative; z-index: 1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .82rem; color: rgba(255,255,255,.45); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); }

/* Utility */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }

/* =========================================================
   AI CyberX layout — bold full-bleed hero, diagonal collage,
   inspired by the uploaded reference mockup. Scoped entirely
   under .aicx so it never affects the other 3 layouts.
   ========================================================= */
.aicx {
  --aicx-accent: #D6273A;
  --aicx-accent-dark: #A31626;
  --aicx-ink: #0D0D0D;
  font-family: var(--font-body, 'Inter'), sans-serif;
}
.aicx h1, .aicx h2, .aicx h3, .aicx h4 { font-family: var(--font-display, 'Space Grotesk'), sans-serif; letter-spacing: -0.02em; }
.aicx .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.aicx .text-center { text-align: center; }

/* Hero */
.aicx-hero { position: relative; background: var(--aicx-accent); color: #fff; overflow: hidden; padding: 54px 0 40px; }
.aicx-bg-text {
  position: absolute; top: 6%; right: -3%; font-size: clamp(5rem, 16vw, 11rem); font-weight: 800;
  color: rgba(255,255,255,.08); font-family: var(--font-display, 'Space Grotesk'), sans-serif;
  line-height: .85; letter-spacing: -0.03em; pointer-events: none; white-space: nowrap;
}
.aicx-hero-inner { position: relative; z-index: 1; }
.aicx-hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.aicx-est-badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 62px; height: 62px; border: 1px solid rgba(255,255,255,.4); border-radius: 6px;
  font-family: 'JetBrains Mono', monospace; font-size: .62rem; letter-spacing: .05em;
}
.aicx-est-badge b { font-size: .95rem; }
.aicx-hero-note { display: flex; flex-direction: column; font-family: 'JetBrains Mono', monospace; font-size: .68rem; letter-spacing: .08em; text-align: right; }
.aicx-hero-note-label { font-weight: 700; }
.aicx-badge-ring {
  width: 84px; height: 84px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: 'JetBrains Mono', monospace; font-size: .58rem; letter-spacing: .05em; font-weight: 700;
  animation: hero-badge-spin 18s linear infinite; flex-shrink: 0; position: relative; overflow: hidden;
}
.aicx-badge-ring img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; border-radius: 50%; }
.aicx-badge-ring span { position: relative; z-index: 1; animation: hero-badge-spin-reverse 18s linear infinite; }
.aicx-badge-ring-lg { width: 130px; height: 130px; font-size: .66rem; }

.aicx-hero-mid { display: flex; justify-content: center; margin: 20px 0; }
.aicx-hero-img { max-width: 380px; width: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }

.aicx-hero-bottom { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; border-top: 1px solid rgba(255,255,255,.25); padding-top: 20px; }
.aicx-hero-title { font-size: clamp(2.4rem, 7vw, 4.2rem); line-height: .95; font-weight: 800; }
.aicx-pill-btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--aicx-ink); color: #fff;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .88rem; white-space: nowrap;
  transition: transform .2s ease;
}
.aicx-pill-btn:hover { transform: translateY(-2px); }
.aicx-pill-btn-dark { background: #fff; color: var(--aicx-ink); margin-top: 18px; }

/* Marquee */
.aicx-marquee { background: var(--aicx-ink); color: rgba(255,255,255,.85); overflow: hidden; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.aicx-marquee-track { display: flex; width: max-content; animation: marquee-scroll 22s linear infinite; font-family: 'JetBrains Mono', monospace; font-size: .78rem; letter-spacing: .08em; white-space: nowrap; }

/* Sections */
.aicx-section { padding: 64px 0; background: #fff; color: var(--aicx-ink); }
.aicx-section-dark { background: var(--aicx-ink); color: #fff; }
.aicx-section-accent { background: var(--aicx-accent); color: #fff; }
.aicx-section h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 10px; }
.aicx-section p { color: #8A8A8A; font-size: .96rem; line-height: 1.6; margin: 0 0 18px; max-width: 46ch; }
.aicx-section-dark p, .aicx-section-accent p { color: rgba(255,255,255,.65); }

.aicx-gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.aicx-drag-hint { font-family: 'JetBrains Mono', monospace; font-size: .72rem; letter-spacing: .08em; color: #999; border: 1px solid #ddd; padding: 5px 14px; border-radius: 999px; }
.aicx-section-dark .aicx-drag-hint { color: rgba(255,255,255,.6); border-color: rgba(255,255,255,.2); }

.aicx-gallery-pair { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px; }
@media (min-width: 700px) { .aicx-gallery-pair { grid-template-columns: 1.1fr 1fr; } }
.aicx-gallery-card { position: relative; border-radius: 18px; overflow: hidden; background: #F1F3F6; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.aicx-gallery-card img { width: 80%; height: 80%; object-fit: contain; }
.aicx-gallery-card-accent { background: var(--aicx-accent); }
.aicx-gallery-num { position: absolute; top: 16px; right: 18px; font-family: 'JetBrains Mono', monospace; font-size: 1.3rem; font-weight: 700; color: #fff; }
.aicx-gallery-label { position: absolute; bottom: 16px; left: 18px; color: #fff; font-size: .8rem; font-weight: 600; }

.aicx-btn-outline { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--aicx-ink); color: var(--aicx-ink); padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: .88rem; }
.aicx-section-dark .aicx-btn-outline, .aicx-section-accent .aicx-btn-outline { border-color: rgba(255,255,255,.5); color: #fff; }

.aicx-team-strip { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 30px; }
.aicx-team-mini { display: flex; align-items: center; gap: 10px; }
.aicx-team-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--aicx-accent); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.aicx-team-mini div { display: flex; flex-direction: column; font-size: .76rem; line-height: 1.3; }
.aicx-team-mini b { font-size: .82rem; }
.aicx-section-dark .aicx-team-mini span { color: rgba(255,255,255,.5); }
.aicx-team-mini span { color: #999; }

.aicx-collage { display: flex; gap: 10px; padding: 8px 24px 0; overflow-x: auto; scrollbar-width: none; }
.aicx-collage::-webkit-scrollbar { display: none; }
.aicx-collage-item { flex-shrink: 0; width: 190px; height: 260px; border-radius: 14px; overflow: hidden; transition: transform .3s ease; }
.aicx-collage-item img { width: 100%; height: 100%; object-fit: cover; }
.aicx-collage-item:hover { transform: translateY(-6px); }
.aicx-rot-1 { transform: rotate(-4deg); } .aicx-rot-2 { transform: rotate(2deg); margin-top: 18px; }
.aicx-rot-3 { transform: rotate(0); } .aicx-rot-4 { transform: rotate(-2deg); margin-top: 10px; }
.aicx-rot-5 { transform: rotate(4deg); }

.aicx-video-grid { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
@media (min-width: 800px) { .aicx-video-grid { grid-template-columns: 1fr 1fr; } }
.aicx-video-thumb { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 4/3; background: rgba(0,0,0,.2); display: flex; align-items: center; justify-content: center; }
.aicx-video-thumb img { width: 70%; height: 70%; object-fit: contain; }
.aicx-play-btn { position: absolute; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--aicx-ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); }

.aicx-plan-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .aicx-plan-grid { grid-template-columns: 1fr 1fr; } }
.aicx-plan-card { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 30px; }
.aicx-plan-icon { width: 52px; height: 52px; border-radius: 12px; background: var(--aicx-accent); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.aicx-plan-num { position: absolute; top: 24px; right: 26px; font-family: 'JetBrains Mono', monospace; color: rgba(255,255,255,.25); font-size: 1.4rem; font-weight: 700; }
.aicx-plan-card h4 { color: #fff; margin-bottom: 8px; }
.aicx-plan-card p { margin: 0; max-width: none; }

.aicx-split { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 800px) { .aicx-split { grid-template-columns: .9fr 1.1fr; } }
.aicx-split-img { position: relative; border-radius: 18px; overflow: hidden; background: #F1F3F6; aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; }
.aicx-split-img img { width: 75%; height: 75%; object-fit: contain; }
.aicx-split-img .aicx-gallery-num { color: var(--aicx-ink); }
.aicx-eyebrow-red { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: .7rem; letter-spacing: .1em; color: var(--aicx-accent); margin-bottom: 10px; font-weight: 700; }

.aicx-closing { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 800px) { .aicx-closing { grid-template-columns: 1.3fr .7fr; } }
.aicx-closing h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.aicx-social-row { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.aicx-social-row span { font-family: 'JetBrains Mono', monospace; font-size: .74rem; letter-spacing: .06em; color: rgba(255,255,255,.5); margin-right: 4px; }
.aicx-social-row a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: #fff; }
.aicx-badge-ring-lg { margin: 0 auto; }

@media (prefers-reduced-motion: reduce) {
  .aicx-badge-ring, .aicx-badge-ring span, .aicx-marquee-track { animation: none; }
}

/* AI CyberX — cohesive header/footer accents (shared chrome stays functional, just recoloured) */
.theme-ai_cyberx .site-header { background: rgba(13,13,13,.95); border-bottom-color: rgba(214,39,58,.25); }
.theme-ai_cyberx .nav-links a:hover, .theme-ai_cyberx .nav-links a.active { background: rgba(214,39,58,.18); }
.theme-ai_cyberx .nav-cta.btn-primary { background: #D6273A; color: #fff; }
.theme-ai_cyberx .site-footer { background: #0D0D0D; }
.theme-ai_cyberx .footer-cta .btn-primary { background: #D6273A; color: #fff; }

/* =========================================================
   Classic Blue layout — light corporate blue/white theme with
   a dense mesh line background. Structurally distinct template
   (core/home_classic_blue.html), not just a colour swap.
   ========================================================= */
.cb-mesh-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.cb-mesh {
  position: absolute; inset: -10%;
  background-image:
    linear-gradient(rgba(37,99,235,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.09) 1px, transparent 1px);
  background-size: 17px 17px;
  animation: geo-pan 46s linear infinite;
}
.cb-mesh-b {
  background-image:
    linear-gradient(rgba(37,99,235,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.05) 1px, transparent 1px);
  background-size: 31px 31px;
  transform: rotate(12deg) scale(1.2);
  animation: geo-pan-rev 62s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .cb-mesh { animation: none; } }

.cb { font-family: var(--font-body, 'Inter'), sans-serif; color: #1E293B; }
.cb h1, .cb h2, .cb h3, .cb h4, .cb h5 { font-family: var(--font-display, 'Space Grotesk'), sans-serif; letter-spacing: -0.02em; color: #0F172A; }
.cb .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.cb-eyebrow { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: .72rem; letter-spacing: .1em; color: var(--cyan); font-weight: 700; margin-bottom: 14px; }
.cb-eyebrow-sm { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: .7rem; letter-spacing: .1em; color: var(--cyan); font-weight: 700; margin-bottom: 8px; }

.cb-hero { position: relative; overflow: hidden; padding: 60px 0 44px; background: linear-gradient(180deg, #F5F9FF 0%, #EEF4FE 100%); }
.cb-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 940px) { .cb-hero-grid { grid-template-columns: 1.1fr .9fr; } }
.cb-hero-title { font-size: clamp(2.1rem, 4.6vw, 3.1rem); line-height: 1.1; margin-bottom: 16px; }
.cb-hero-text { color: #475569; font-size: 1.02rem; line-height: 1.65; max-width: 48ch; margin-bottom: 26px; }
.cb-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.cb-hero-visual { display: flex; justify-content: center; }
.cb-hero-visual img { max-width: 380px; width: 100%; object-fit: contain; filter: drop-shadow(0 30px 46px rgba(37,99,235,.18)); }

.cb-btn-primary {
  display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #2563EB, #1D4ED8); color: #fff;
  padding: 13px 24px; border-radius: 10px; font-weight: 600; font-size: .92rem;
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 22px -10px rgba(37,99,235,.55);
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
}
.cb-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(0,0,0,.1), 0 16px 30px -10px rgba(37,99,235,.6); }
.cb-btn-outline {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: #1D4ED8;
  border: 1.5px solid #C7D9F7; padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: .92rem;
  transition: all .25s ease;
}
.cb-btn-outline:hover { border-color: #2563EB; background: #F5F9FF; transform: translateY(-2px); }

.cb-stat-row { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 42px; }
@media (min-width: 700px) { .cb-stat-row { grid-template-columns: repeat(4,1fr); } }
.cb-stat-card {
  background: #fff; border: 1px solid #E2E9F7; border-radius: 14px; padding: 18px 18px;
  box-shadow: 0 1px 2px rgba(11,18,32,.03), 0 8px 20px -14px rgba(37,99,235,.2);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.cb-stat-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px -16px rgba(37,99,235,.3); }
.cb-stat-card b { font-family: var(--font-display,'Space Grotesk'),sans-serif; font-size: 1.4rem; color: #1D4ED8; line-height: 1.1; }
.cb-stat-card span { font-size: .8rem; color: #64748B; line-height: 1.35; }

.cb-section { padding: 70px 0; }
.cb-section p { color: #64748B; line-height: 1.65; }

.cb-mini-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 700px) { .cb-mini-grid { grid-template-columns: repeat(3,1fr); } }
.cb-mini-card {
  background: #fff; border: 1px solid #E7EBF1; border-radius: 14px; padding: 22px;
  box-shadow: 0 1px 2px rgba(11,18,32,.03), 0 6px 16px -12px rgba(11,18,32,.12);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.cb-mini-card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -16px rgba(37,99,235,.28); border-color: #C7D9F7; }
.cb-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cb-mini-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 10px; background: linear-gradient(135deg, #DCEAFF, #EAF2FF); color: #1D4ED8; flex-shrink: 0;
}
.cb-mini-card h4 { font-size: .98rem; margin: 0; }
.cb-mini-card p { font-size: .86rem; margin: 0 0 12px; }
.cb-learn-more { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: #1D4ED8; }
.cb-mini-card:hover .cb-learn-more { color: var(--cyan); }

.cb-trust-band { background: linear-gradient(160deg, #0F2C63, #0B1E44); padding: 60px 0; color: #fff; }
.cb-trust-grid { display: grid; grid-template-columns: 1fr; gap: 34px; }
@media (min-width: 900px) { .cb-trust-grid { grid-template-columns: .8fr 1.2fr; } }
.cb-trust-band h2 { color: #fff; font-size: clamp(1.5rem,2.8vw,2rem); margin: 8px 0 10px; }
.cb-trust-band p { color: rgba(255,255,255,.6); }
.cb-trust-items { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .cb-trust-items { grid-template-columns: 1fr 1fr; } }
.cb-trust-item { display: flex; flex-direction: column; gap: 10px; transition: transform .25s ease; }
.cb-trust-item-head { display: flex; align-items: center; gap: 12px; }
.cb-trust-icon { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14); color: #93C5FD; display: flex; align-items: center; justify-content: center; transition: background .25s ease, border-color .25s ease; }
.cb-trust-item h5 { color: #fff; font-size: .92rem; margin: 0; }
.cb-trust-item p { color: rgba(255,255,255,.55); font-size: .84rem; margin: 0; padding-left: 52px; line-height: 1.55; }
.cb-trust-item:hover { transform: translateY(-2px); }
.cb-trust-item:hover .cb-trust-icon { background: rgba(255,255,255,.16); border-color: rgba(147,197,253,.4); }

.cb-feature-strip { background: linear-gradient(180deg, #F1F5FB, #E9F0FA); padding: 56px 0; }
.cb-feature-split { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; }
@media (min-width: 980px) { .cb-feature-split { grid-template-columns: .62fr 1.38fr; align-items: center; } }
.cb-feature-intro h2 { font-size: clamp(1.3rem, 2.3vw, 1.65rem); margin: 8px 0 10px; }
.cb-feature-intro p { font-size: .88rem; max-width: 36ch; }
.cb-feature-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .cb-feature-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1240px) { .cb-feature-row { grid-template-columns: repeat(4, 1fr); } }
.cb-feature-item h5 { font-size: .92rem; margin: 0; }
.cb-feature-item p { font-size: .85rem; margin: 0; }

.cb-testimonial-card { background: #fff; border: 1px solid #E2E9F7; border-radius: 18px; padding: 40px; box-shadow: 0 1px 2px rgba(11,18,32,.03), 0 20px 40px -24px rgba(37,99,235,.25); transition: transform .3s ease; }
.cb-testimonial-card:hover { transform: translateY(-3px); }
.cb-testimonial-card q { display: block; font-size: 1.15rem; line-height: 1.6; color: #1E293B; font-family: var(--font-display,'Space Grotesk'),sans-serif; font-weight: 500; margin-bottom: 16px; quotes: none; }
.cb-testimonial-card span { font-weight: 600; color: #1D4ED8; font-size: .88rem; }

.cb-testimonial-section { padding-top: 30px !important; padding-bottom: 30px !important; }
.cb-testimonial-split { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: start; }
@media (min-width: 860px) { .cb-testimonial-split { grid-template-columns: .85fr 1.15fr; padding-top: 6px; } }
.cb-testimonial-split h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.cb-testimonial-wrap {
  background: linear-gradient(180deg, #F5F9FF, #EEF4FE); border: 1px solid #E2E9F7; border-radius: 24px;
  padding: 44px 32px; box-shadow: 0 1px 2px rgba(11,18,32,.03), 0 20px 40px -28px rgba(37,99,235,.2);
}
.cb-trusted-section { background: linear-gradient(180deg, #EEF4FE 0%, #E4EDFC 100%); padding-bottom: 40px !important; margin-top: 10px; }
.cb .cta-strip { box-shadow: 0 1px 2px rgba(11,18,32,.06), 0 24px 50px -24px rgba(15,44,99,.5); }
.cb-cta-dark { background: linear-gradient(150deg, #0F2C63, #0B2050) !important; }
.cb-cta-dark .cta-strip-text h3 { color: #fff !important; }
.cb-cta-dark .cta-strip-text p { color: rgba(255,255,255,.72) !important; }

/* #2 — hero image cluster: auto-cycling crossfade, never overlapping simultaneously */
.cb-hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.cb-hero-img-main { max-width: 340px; width: 100%; object-fit: contain; filter: drop-shadow(0 30px 46px rgba(37,99,235,.2)); position: relative; z-index: 2; }
.cb-hero-cycle-img {
  position: absolute; inset: 0; margin: auto; max-width: 320px; max-height: 340px; width: 90%; object-fit: contain;
  filter: drop-shadow(0 30px 46px rgba(37,99,235,.22));
  opacity: 0; transform: scale(.94);
  animation: cb-hero-cycle 12s ease-in-out infinite;
}
@keyframes cb-hero-cycle {
  0%   { opacity: 0; transform: scale(.94); }
  4%   { opacity: 1; transform: scale(1); }
  21%  { opacity: 1; transform: scale(1); }
  26%  { opacity: 0; transform: scale(.94); }
  100% { opacity: 0; transform: scale(.94); }
}
@media (prefers-reduced-motion: reduce) {
  .cb-hero-cycle-img { animation: none; opacity: 1; transform: none; }
  .cb-hero-cycle-img:not(:first-child) { display: none; }
}

/* #3 — stronger 3D-style blue borders + depth on every box */
.cb-stat-card, .cb-mini-card, .cb-testimonial-card, .cert-badge, .cb-hero-img-accent {
  border-color: #BFD7FA !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 -1px 0 rgba(37,99,235,.06) inset, 0 10px 22px -14px rgba(37,99,235,.28) !important;
}
.cb-stat-card:hover, .cb-mini-card:hover, .cert-badge:hover {
  border-color: #93C5FD !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 18px 32px -16px rgba(37,99,235,.4) !important;
}

/* #4 / #10 — highlighted section backgrounds so they stand out */
.cb-section-highlight { background: linear-gradient(180deg, #F5F9FF 0%, #EDF3FE 100%); }

/* #5 — icon/text alignment in trust band: icon + title share a row, description sits below, indented to match the title */
.cb-trust-item-head { align-items: center; }

/* #7 — feature strip cards, properly highlighted instead of plain text */
.cb-feature-item {
  background: #fff; border: 1.5px solid #BFD7FA; border-radius: 14px; padding: 22px; text-align: left;
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 10px 20px -14px rgba(37,99,235,.22);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease;
}
.cb-feature-item:hover { transform: translateY(-4px); border-color: #93C5FD; box-shadow: 0 16px 28px -14px rgba(37,99,235,.32); }
.cb-feature-item .cb-mini-icon { background: linear-gradient(135deg, #2563EB, #1D4ED8); color: #fff; }

/* Classic Blue — cohesive header/footer/page-hero across every page, not just home */
.theme-classic_blue .site-header { background: rgba(255,255,255,.94); border-bottom-color: #E2E9F7; box-shadow: 0 1px 2px rgba(11,18,32,.04); }
.theme-classic_blue .nav-links a { color: #475569; }
.theme-classic_blue .nav-links a:hover, .theme-classic_blue .nav-links a.active { color: #0F172A; background: #EEF4FE; }
.theme-classic_blue .brand-name { color: #0F172A; }
.theme-classic_blue .brand-name span { color: #2563EB; }
.theme-classic_blue .menu-btn { color: #0F172A; }
.theme-classic_blue .mobile-menu { background: #fff; border-top-color: #E2E9F7; }
.theme-classic_blue .mobile-menu a { color: #475569; }
.theme-classic_blue .mobile-menu a:hover { background: #EEF4FE; color: #0F172A; }
.theme-classic_blue .nav-cta.btn-primary { background: linear-gradient(135deg,#2563EB,#1D4ED8); color: #fff; }
.theme-classic_blue .site-footer,
.theme-classic_blue .page-hero,
.theme-classic_blue .section-dark { background: linear-gradient(160deg, #0F2C63, #0B1E44); }

.trust-image-stack { display: flex; gap: 18px; margin-top: 40px; flex-wrap: wrap; }
.trust-image-stack .icon-frame {
  width: 76px; height: 76px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(34,211,238,.16), rgba(34,197,94,.14));
  box-shadow: 0 0 0 1px rgba(34,211,238,.18), 0 10px 24px -10px rgba(0,0,0,.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.trust-image-stack .icon-frame:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(34,211,238,.3), 0 16px 28px -10px rgba(0,0,0,.4); }
.trust-image-stack img { width: 44px; height: 44px; object-fit: contain; }

/* light-background section (testimonials) needs a softer frame */
.cb-testimonial-section .icon-frame {
  background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(34,197,94,.08));
  box-shadow: 0 0 0 1px rgba(37,99,235,.14), 0 10px 20px -12px rgba(11,18,32,.15);
}


.page-hero-split { display: grid; grid-template-columns: 1fr; align-items: center; gap: 36px; }
@media (min-width: 860px) { .page-hero-split { grid-template-columns: 1.2fr .8fr; } }
.page-hero-img { display: flex; align-items: center; justify-content: center; }
.page-hero-img img { max-width: 320px; width: 100%; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0,0,0,.4)); }