/* CyberSecurity & DevSecOps — cybersecurity.css v1 */

:root {
  --cs-green:   #00FF41;
  --cs-green2:  #00C832;
  --cs-red:     #FF2D2D;
  --cs-red2:    #CC0000;
  --cs-bg:      #000000;
  --cs-bg2:     #050A0F;
  --cs-bg3:     #080F18;
  --cs-card:    #060D16;
  --cs-border:  rgba(0, 255, 65, 0.12);
  --cs-border2: rgba(0, 255, 65, 0.25);
  --cs-slate:   #0D1B2A;
}

/* ── SHARED ── */
.cs-accent {
  background: linear-gradient(135deg, var(--cs-green), var(--cs-green2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cs-section-header { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.cs-section-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 2.5px; color: var(--cs-green); margin-bottom: 14px; display: block;
}
.cs-section-header h2 { font-size: 42px; font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 0; letter-spacing: -1px; }

/* ── CTA BUTTONS ── */
.cs-cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(135deg, var(--cs-green2), var(--cs-green));
  color: #000 !important; -webkit-text-fill-color: #000 !important;
  border: none; border-radius: 10px; font-size: 15px; font-weight: 800;
  cursor: pointer; transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0,255,65,0.3); text-decoration: none;
}
.cs-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,255,65,0.5); }
.cs-cta-btn i { color: #000 !important; -webkit-text-fill-color: #000 !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; transition: transform 0.2s; }
.cs-cta-btn:hover i { transform: translateX(4px); }
.cs-cta-large { font-size: 16px; padding: 18px 40px; }
.cs-cta-alert {
  background: linear-gradient(135deg, var(--cs-red2), var(--cs-red)) !important;
  color: #fff !important; -webkit-text-fill-color: #fff !important;
  box-shadow: 0 8px 30px rgba(255,45,45,0.4) !important;
}
.cs-cta-alert:hover { box-shadow: 0 14px 40px rgba(255,45,45,0.6) !important; }
.cs-cta-alert i { color: #fff !important; -webkit-text-fill-color: #fff !important; }

/* ── HERO ── */
.cs-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; background: var(--cs-bg); padding: 130px 60px 80px;
  overflow: hidden; text-align: center;
}
.cs-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.cs-hero-inner { position: relative; z-index: 10; max-width: 900px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.cs-hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px;
  border: 1px solid rgba(0,255,65,0.35); border-radius: 50px;
  font-size: 11px; font-weight: 700; color: var(--cs-green); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 30px;
  background: rgba(0,255,65,0.06);
}
.cs-hero-badge i { color: var(--cs-green) !important; -webkit-text-fill-color: var(--cs-green) !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; }
.cs-hero-title { font-size: 66px; font-weight: 900; color: #fff; line-height: 1.05; margin-bottom: 24px; letter-spacing: -2.5px; }
.cs-hero-sub { font-size: 18px; color: rgba(255,255,255,0.55); line-height: 1.8; max-width: 760px; margin-bottom: 48px; }

/* ── IMPACT BAR ── */
.cs-impact { background: var(--cs-bg2) !important; padding: 64px 60px; border-top: 1px solid var(--cs-border); border-bottom: 1px solid var(--cs-border); }
.cs-impact-grid { display: grid; grid-template-columns: repeat(4,1fr); max-width: 1200px; margin: 0 auto; }
.cs-impact-item { text-align: center; padding: 20px 24px; border-right: 1px solid var(--cs-border); }
.cs-impact-item:last-child { border-right: none; }
.cs-impact-num { font-size: 58px; font-weight: 900; line-height: 1; letter-spacing: -2px; background: linear-gradient(135deg, var(--cs-green), var(--cs-green2)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 10px; }
.cs-impact-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.5; }

/* ── BENTO GRID ── */
.cs-caps { background: var(--cs-bg) !important; padding: 100px 60px; }
.cs-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.cs-bento-wide { grid-column: span 2; }

.cs-bento-card {
  position: relative; overflow: hidden;
  background: var(--cs-card);
  border: 1px solid var(--cs-border);
  border-radius: 16px;
  padding: 40px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.cs-bento-card:hover { border-color: var(--cs-green2); box-shadow: 0 0 40px rgba(0,255,65,0.08); }

/* Laser scan animation on hover */
.cs-card-scan {
  position: absolute; top: 0; left: -100%; width: 60%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cs-green), transparent);
  opacity: 0; transition: opacity 0.2s;
  pointer-events: none;
}
.cs-bento-card:hover .cs-card-scan {
  opacity: 1;
  animation: csScan 1.2s ease-in-out infinite;
}
@keyframes csScan {
  0%   { left: -60%; top: 0; }
  25%  { left: 100%; top: 0; }
  26%  { left: 100%; top: 0; width: 2px; height: 60%; }
  50%  { left: 100%; top: 100%; }
  51%  { left: 100%; top: 100%; width: 60%; height: 2px; }
  75%  { left: -60%; top: 100%; }
  76%  { left: 0; top: 100%; width: 2px; height: 60%; }
  99%  { left: 0; top: 0; }
  100% { left: -60%; top: 0; }
}

.cs-card-glow {
  position: absolute; inset: 0; border-radius: 16px;
  background: radial-gradient(ellipse at 20% 20%, rgba(0,255,65,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.cs-card-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(0,255,65,0.08); border: 1px solid rgba(0,255,65,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.cs-card-icon i {
  font-size: 22px;
  color: var(--cs-green) !important;
  -webkit-text-fill-color: var(--cs-green) !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  display: block;
  line-height: 1;
}
.cs-bento-card h3 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 14px; letter-spacing: -0.3px; }
.cs-bento-card p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.75; margin-bottom: 24px; }
.cs-card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-card-tags span { padding: 4px 12px; background: rgba(0,255,65,0.07); border: 1px solid rgba(0,255,65,0.15); border-radius: 50px; font-size: 11px; font-weight: 600; color: var(--cs-green); letter-spacing: 0.3px; }

/* ── ZERO-TRUST FRAMEWORK ── */
.cs-framework { background: var(--cs-bg2) !important; padding: 100px 60px; }
.cs-framework-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start;
}
.cs-framework-pin { position: sticky; top: 100px; }
.cs-framework-pin .cs-section-label { text-align: left; }
.cs-framework-pin h2 { font-size: 42px; font-weight: 900; color: #fff; line-height: 1.15; letter-spacing: -1px; margin-bottom: 16px; text-align: left; }
.cs-framework-sub { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 36px; }
.cs-framework-progress { display: flex; flex-direction: column; gap: 16px; }
.cs-progress-track { height: 3px; background: rgba(0,255,65,0.12); border-radius: 2px; overflow: hidden; }
.cs-progress-fill { height: 100%; width: 33.33%; background: var(--cs-green); border-radius: 2px; transition: width 0.4s ease; }
.cs-progress-dots { display: flex; gap: 12px; }
.cs-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(0,255,65,0.2); border: 1px solid rgba(0,255,65,0.3);
  cursor: pointer; transition: all 0.3s ease; padding: 0;
}
.cs-dot.active { background: var(--cs-green); box-shadow: 0 0 10px rgba(0,255,65,0.6); }

.cs-framework-layers { display: flex; flex-direction: column; gap: 24px; }
.cs-layer-card {
  background: var(--cs-card); border: 1px solid var(--cs-border);
  border-radius: 16px; padding: 40px;
  opacity: 0.4; transform: translateX(20px);
  transition: all 0.4s ease;
}
.cs-layer-card.active { opacity: 1; transform: translateX(0); border-color: var(--cs-green2); box-shadow: 0 0 30px rgba(0,255,65,0.08); }
.cs-layer-num { font-size: 11px; font-weight: 700; color: var(--cs-green); letter-spacing: 2px; margin-bottom: 16px; }
.cs-layer-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(0,255,65,0.08); border: 1px solid rgba(0,255,65,0.2); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cs-layer-icon i { font-size: 20px; color: var(--cs-green) !important; -webkit-text-fill-color: var(--cs-green) !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; }
.cs-layer-card h3 { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.cs-layer-card p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.75; margin-bottom: 20px; }
.cs-layer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-layer-tags span { padding: 4px 12px; background: rgba(0,255,65,0.07); border: 1px solid rgba(0,255,65,0.15); border-radius: 50px; font-size: 11px; font-weight: 600; color: var(--cs-green); }

/* ── CASE STUDIES ── */
.cs-cases { background: var(--cs-bg) !important; padding: 100px 60px; }
.cs-cards-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cs-case-card {
  min-width: calc(33.333% - 16px); flex-shrink: 0;
  background: var(--cs-card); border: 1px solid var(--cs-border);
  border-radius: 16px; padding: 40px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.cs-case-card:hover { border-color: var(--cs-green2); transform: translateY(-4px); }
.cs-case-metric {
  font-size: 72px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--cs-green), var(--cs-green2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; letter-spacing: -3px; margin-bottom: 4px;
}
.cs-case-metric-label { font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 24px; }
.cs-case-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; background: rgba(0,255,65,0.07); border: 1px solid rgba(0,255,65,0.15); border-radius: 50px; font-size: 11px; font-weight: 700; color: var(--cs-green); margin-bottom: 16px; }
.cs-case-tag i { color: var(--cs-green) !important; -webkit-text-fill-color: var(--cs-green) !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; }
.cs-case-card h3 { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 20px; line-height: 1.3; }
.cs-case-section { margin-bottom: 16px; }
.cs-case-label { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--cs-green); margin-bottom: 6px; }
.cs-case-section p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.7; margin: 0; }
.cs-case-stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.cs-case-stack span { padding: 3px 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 50px; font-size: 11px; color: rgba(255,255,255,0.45); }

/* ── FINAL CTA ── */
.cs-final-cta {
  position: relative; overflow: hidden;
  background: var(--cs-bg) !important;
  padding: 120px 60px; text-align: center;
  border-top: 1px solid rgba(255,45,45,0.15);
}
.cs-cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.cs-final-inner { position: relative; z-index: 10; max-width: 760px; margin: 0 auto; }
.cs-final-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 18px;
  border: 1px solid rgba(255,45,45,0.4); border-radius: 50px;
  font-size: 11px; font-weight: 700; color: var(--cs-red); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 30px;
  background: rgba(255,45,45,0.08);
  animation: csPulse 2s ease-in-out infinite;
}
.cs-final-badge i { color: var(--cs-red) !important; -webkit-text-fill-color: var(--cs-red) !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; }
@keyframes csPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,45,45,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(255,45,45,0); }
}
.cs-final-inner h2 { font-size: 52px; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 20px; letter-spacing: -2px; }
.cs-final-inner p { font-size: 18px; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 48px; }

/* ── LIGHT THEME OVERRIDES — follows global orange design system ── */

/* section backgrounds */
body.light-theme .cs-hero,
body.light-theme .cs-caps,
body.light-theme .cs-cases,
body.light-theme .cs-final-cta { background: #ffffff !important; }
body.light-theme .cs-impact,
body.light-theme .cs-framework { background: #f4f6fb !important; border-color: rgba(0,0,0,0.07) !important; }

/* override design-system.css global section dark bg in light mode */
body.light-theme section.cs-hero,
body.light-theme section.cs-caps,
body.light-theme section.cs-cases,
body.light-theme section.cs-impact,
body.light-theme section.cs-framework { background: inherit !important; }

/* section label — orange */
body.light-theme .cs-section-label { color: #ff7b00 !important; -webkit-text-fill-color: #ff7b00 !important; }

/* accent gradient — orange */
body.light-theme .cs-accent { background: linear-gradient(135deg, #ff7b00, #e65c00) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important; }

/* headings */
body.light-theme .cs-hero-title,
body.light-theme .cs-section-header h2,
body.light-theme .cs-framework-pin h2,
body.light-theme .cs-bento-card h3,
body.light-theme .cs-layer-card h3,
body.light-theme .cs-case-card h3,
body.light-theme .cs-final-inner h2 { color: #1a1f3a !important; -webkit-text-fill-color: #1a1f3a !important; }

/* body text */
body.light-theme .cs-hero-sub,
body.light-theme .cs-framework-sub,
body.light-theme .cs-bento-card p,
body.light-theme .cs-layer-card p,
body.light-theme .cs-case-section p,
body.light-theme .cs-final-inner p { color: rgba(26,31,58,0.65) !important; -webkit-text-fill-color: rgba(26,31,58,0.65) !important; }

/* hero badge — orange */
body.light-theme .cs-hero-badge { border-color: rgba(255,123,0,0.3) !important; background: #ffedd5 !important; color: #ff7b00 !important; -webkit-text-fill-color: #ff7b00 !important; }
body.light-theme .cs-hero-badge i { color: #ff7b00 !important; -webkit-text-fill-color: #ff7b00 !important; }

/* impact numbers — orange gradient */
body.light-theme .cs-impact-num { background: linear-gradient(135deg, #ff7b00, #e65c00) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important; }
body.light-theme .cs-impact-item { border-right-color: rgba(0,0,0,0.08) !important; }
body.light-theme .cs-impact-label { color: rgba(26,31,58,0.5) !important; -webkit-text-fill-color: rgba(26,31,58,0.5) !important; }

/* cards */
body.light-theme .cs-bento-card,
body.light-theme .cs-layer-card,
body.light-theme .cs-case-card { background: #fff !important; border-color: rgba(0,0,0,0.1) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.06) !important; }
body.light-theme .cs-bento-card:hover,
body.light-theme .cs-layer-card.active,
body.light-theme .cs-case-card:hover { border-color: rgba(255,123,0,0.3) !important; box-shadow: 0 12px 40px rgba(255,123,0,0.1) !important; }

/* card icon boxes — orange */
body.light-theme .cs-card-icon,
body.light-theme .cs-layer-icon { background: #ffedd5 !important; border-color: rgba(255,123,0,0.25) !important; }
body.light-theme .cs-card-icon i,
body.light-theme .cs-layer-icon i,
body.light-theme .cs-bento-card i.fas,
body.light-theme .cs-bento-card i.far,
body.light-theme .cs-bento-card i.fab,
body.light-theme .cs-layer-card i.fas,
body.light-theme .cs-layer-card i.far,
body.light-theme .cs-layer-card i.fab {
  color: #ff7b00 !important;
  -webkit-text-fill-color: #ff7b00 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  display: block;
  line-height: 1;
}
body.light-theme .cs-card-glow { background: radial-gradient(ellipse at 20% 20%, rgba(255,123,0,0.04) 0%, transparent 60%) !important; }

/* card tags & stack pills — orange */
body.light-theme .cs-card-tags span,
body.light-theme .cs-layer-tags span { background: #ffedd5 !important; border-color: rgba(255,123,0,0.25) !important; color: rgba(26,31,58,0.7) !important; -webkit-text-fill-color: rgba(26,31,58,0.7) !important; }
body.light-theme .cs-case-stack span { background: #ffedd5 !important; border-color: rgba(255,123,0,0.2) !important; color: rgba(26,31,58,0.65) !important; -webkit-text-fill-color: rgba(26,31,58,0.65) !important; }

/* case metric — orange */
body.light-theme .cs-case-metric { background: linear-gradient(135deg, #ff7b00, #e65c00) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important; }
body.light-theme .cs-case-metric-label { color: rgba(26,31,58,0.45) !important; -webkit-text-fill-color: rgba(26,31,58,0.45) !important; }
body.light-theme .cs-case-tag { background: #ffedd5 !important; border-color: rgba(255,123,0,0.25) !important; color: #ff7b00 !important; -webkit-text-fill-color: #ff7b00 !important; }
body.light-theme .cs-case-tag i { color: #ff7b00 !important; -webkit-text-fill-color: #ff7b00 !important; }
body.light-theme .cs-case-label { color: #ff7b00 !important; -webkit-text-fill-color: #ff7b00 !important; }

/* carousel controls — orange (removed) */

/* framework progress — orange */
body.light-theme .cs-progress-track { background: rgba(255,123,0,0.12) !important; }
body.light-theme .cs-progress-fill { background: #ff7b00 !important; }
body.light-theme .cs-dot { background: rgba(255,123,0,0.2) !important; border-color: rgba(255,123,0,0.3) !important; }
body.light-theme .cs-dot.active { background: #ff7b00 !important; box-shadow: 0 0 10px rgba(255,123,0,0.4) !important; }
body.light-theme .cs-layer-num { color: #ff7b00 !important; -webkit-text-fill-color: #ff7b00 !important; }

/* final CTA — white background, orange accents */
body.light-theme .cs-final-cta { background: #ffffff !important; border-top-color: rgba(0,0,0,0.07) !important; }
body.light-theme .cs-final-badge { border-color: rgba(255,123,0,0.3) !important; background: #ffedd5 !important; color: #ff7b00 !important; -webkit-text-fill-color: #ff7b00 !important; }
body.light-theme .cs-final-badge i { color: #ff7b00 !important; -webkit-text-fill-color: #ff7b00 !important; }
body.light-theme .cs-final-inner h2 { color: #1a1f3a !important; -webkit-text-fill-color: #1a1f3a !important; }
body.light-theme .cs-final-inner p { color: rgba(26,31,58,0.65) !important; -webkit-text-fill-color: rgba(26,31,58,0.65) !important; }

/* CTA buttons — orange system */
body.light-theme .cs-cta-btn { background: #ff7b00 !important; color: #fff !important; -webkit-text-fill-color: #fff !important; box-shadow: 0 8px 30px rgba(255,123,0,0.3) !important; }
body.light-theme .cs-cta-btn:hover { background: #e65c00 !important; box-shadow: 0 14px 40px rgba(255,123,0,0.4) !important; }
body.light-theme .cs-cta-btn i { color: #fff !important; -webkit-text-fill-color: #fff !important; }
body.light-theme .cs-cta-alert { background: #ff7b00 !important; box-shadow: 0 8px 30px rgba(255,123,0,0.35) !important; }
body.light-theme .cs-cta-alert:hover { background: #e65c00 !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .cs-framework-inner { grid-template-columns: 1fr; gap: 40px; }
  .cs-framework-pin { position: static; }
  .cs-cards-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .cs-hero { padding: 120px 24px 60px; }
  .cs-hero-title { font-size: 40px; letter-spacing: -1.5px; }
  .cs-hero-sub { font-size: 16px; }
  .cs-impact { padding: 48px 24px; }
  .cs-impact-grid { grid-template-columns: repeat(2,1fr); }
  .cs-impact-item:nth-child(2) { border-right: none; }
  .cs-caps, .cs-framework, .cs-cases, .cs-final-cta { padding: 64px 24px; }
  .cs-bento-grid { grid-template-columns: 1fr; }
  .cs-bento-wide { grid-column: span 1; }
  .cs-cards-grid { grid-template-columns: 1fr; }
  .cs-final-inner h2 { font-size: 36px; }
  .cs-section-header h2 { font-size: 32px; }
}

/* laser scan — orange in light mode */
body.light-theme .cs-card-scan { background: linear-gradient(90deg, transparent, #ff7b00, transparent) !important; }

/* hide dark canvas in light mode */
body.light-theme .cs-cta-canvas { opacity: 0; }
