/* Cloud Infrastructure & DevOps Automation — v1 */

:root {
  --cd-cyan: #00D4FF;
  --cd-blue: #0A4AFF;
  --cd-green: #00FF88;
  --cd-orange: #FF6B00;
  --cd-bg: #030D1A;
  --cd-bg2: #050F20;
}

.cd-accent { background: linear-gradient(135deg, var(--cd-cyan) 0%, var(--cd-blue) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ── SHARED ── */
.cd-section-header { text-align: center; max-width: 800px; margin: 0 auto 64px; }
.cd-section-header h2 { font-size: 44px; font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 14px; }
.cd-section-header p { font-size: 17px; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ── BUTTONS ── */
.cd-cta-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; background: linear-gradient(135deg, var(--cd-blue), var(--cd-cyan)); color: #fff; border: none; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 8px 30px rgba(0,212,255,0.3); }
.cd-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,212,255,0.5); }
.cd-cta-btn i { color: #fff !important; -webkit-text-fill-color: #fff !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; }
.cd-cta-btn:hover i { transform: translateX(4px); }
.cd-cta-large { font-size: 17px; padding: 20px 44px; }

/* ── HERO ── */
.cd-hero { position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center; background: var(--cd-bg); padding: 130px 60px 80px; overflow: hidden; text-align: center; }
.cd-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.cd-hero-inner { position: relative; z-index: 10; max-width: 900px; width: 100%; display: flex; flex-direction: column; align-items: center; }
.cd-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border: 1px solid rgba(0,212,255,0.35); border-radius: 50px; font-size: 12px; font-weight: 600; color: var(--cd-cyan); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 28px; }
.cd-hero-badge i { color: var(--cd-cyan) !important; -webkit-text-fill-color: var(--cd-cyan) !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; }
.cd-hero-title { font-size: 62px; font-weight: 900; color: #fff; line-height: 1.08; margin-bottom: 24px; letter-spacing: -2px; }
.cd-hero-sub { font-size: 18px; color: rgba(255,255,255,0.62); line-height: 1.8; max-width: 720px; margin-bottom: 48px; }

/* ── MANDATES GRID ── */
.cd-mandates { background: var(--cd-bg2); padding: 100px 60px; }
.cd-mandates-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1200px; margin: 0 auto; }

.cd-mandate-card { position: relative; background: rgba(10,30,60,0.45); backdrop-filter: blur(20px); border: 1px solid rgba(0,212,255,0.08); border-radius: 20px; padding: 36px 28px; transition: transform 0.35s ease, box-shadow 0.35s ease; overflow: hidden; }
.cd-mandate-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(0,212,255,0.14); }

/* circuit-trace border animation */
.cd-circuit-border { position: absolute; inset: 0; pointer-events: none; border-radius: 20px; overflow: hidden; }
.cd-circuit-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cd-trace { fill: none; stroke: var(--cd-cyan); stroke-width: 1.5; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 0s; }
.cd-mandate-card:hover .cd-trace { stroke-dashoffset: 0; transition: stroke-dashoffset 0.9s ease; }

.cd-mandate-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--cd-blue), var(--cd-cyan)); border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; position: relative; z-index: 1; }
.cd-mandate-icon i { font-size: 20px; color: #fff !important; -webkit-text-fill-color: #fff !important; font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; }
.cd-mandate-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.35; position: relative; z-index: 1; }
.cd-mandate-card p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; margin: 0; position: relative; z-index: 1; }

/* ── NO-OPS PIPELINE TIMELINE ── */
.cd-noops { background: var(--cd-bg); padding: 100px 60px; }
.cd-pipeline-layout { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 60px 1fr; gap: 0 40px; }

.cd-pipeline-track { position: relative; display: flex; justify-content: center; }
.cd-pipeline-tube { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 4px; height: 100%; background: rgba(0,212,255,0.1); border-radius: 4px; }
.cd-data-packet { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: var(--cd-cyan); border-radius: 50%; box-shadow: 0 0 16px var(--cd-cyan), 0 0 32px rgba(0,212,255,0.4); transition: top 0.6s cubic-bezier(0.4,0,0.2,1); z-index: 2; }
.cd-data-packet::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(0,212,255,0.4); animation: cdPulse 1.5s ease infinite; }
@keyframes cdPulse { 0%,100% { transform: scale(1); opacity: 0.6; } 50% { transform: scale(1.8); opacity: 0; } }

.cd-pipeline-phases { display: flex; flex-direction: column; }
.cd-pipe-phase { display: flex; gap: 28px; align-items: flex-start; padding: 48px 0; border-bottom: 1px solid rgba(0,212,255,0.06); opacity: 0.3; transition: opacity 0.4s ease; }
.cd-pipe-phase:last-child { border-bottom: none; }
.cd-pipe-phase.active { opacity: 1; }
.cd-pipe-node { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(0,212,255,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.4s ease; background: rgba(10,30,60,0.6); }
.cd-pipe-phase.active .cd-pipe-node { border-color: var(--cd-cyan); box-shadow: 0 0 24px rgba(0,212,255,0.5); background: rgba(0,212,255,0.08); }
.cd-pipe-num { font-size: 11px; font-weight: 800; color: rgba(255,255,255,0.3); letter-spacing: 1px; font-family: 'Courier New', monospace; }
.cd-pipe-phase.active .cd-pipe-num { color: var(--cd-cyan); }
.cd-pipe-body h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.cd-pipe-body p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.8; margin: 0 0 16px; }
.cd-pipe-tag { display: inline-block; }
.cd-pipe-tag code { font-family: 'Courier New', monospace; font-size: 12px; color: var(--cd-green); background: rgba(0,255,136,0.08); border: 1px solid rgba(0,255,136,0.2); padding: 5px 12px; border-radius: 6px; letter-spacing: 0.5px; }

/* ── TECH MATRIX ── */
.cd-matrix { background: var(--cd-bg2); padding: 100px 60px; }
.cd-tech-groups { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.cd-tech-group { display: flex; align-items: center; gap: 32px; padding: 24px 32px; background: rgba(10,30,60,0.4); border: 1px solid rgba(0,212,255,0.08); border-radius: 16px; transition: border-color 0.3s ease; }
.cd-tech-group:hover { border-color: rgba(0,212,255,0.2); }
.cd-group-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; color: var(--cd-cyan); min-width: 160px; flex-shrink: 0; font-family: 'Courier New', monospace; }
.cd-tech-icons { display: flex; flex-wrap: wrap; gap: 12px; }
.cd-tech-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 18px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; cursor: default; transition: all 0.3s ease; min-width: 72px; }
.cd-tech-item i { font-size: 22px; color: rgba(255,255,255,0.25) !important; -webkit-text-fill-color: rgba(255,255,255,0.25) !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; transition: all 0.3s ease; }
.cd-tech-item span { font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.3); text-align: center; transition: color 0.3s ease; white-space: nowrap; }
.cd-tech-item:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); transform: translateY(-3px); }
.cd-tech-item:hover span { color: rgba(255,255,255,0.8); }

/* ── TESTIMONIALS ── */
.cd-testimonials { background: var(--cd-bg); padding: 100px 60px; }
.cd-quotes-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cd-quote-card { background: rgba(10,30,60,0.45); backdrop-filter: blur(20px); border: 1px solid rgba(0,212,255,0.1); border-radius: 20px; padding: 44px 40px; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cd-quote-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,212,255,0.1); }
.cd-qmark { font-size: 80px; line-height: 0.6; color: var(--cd-cyan); opacity: 0.2; font-family: Georgia, serif; display: block; margin-bottom: 20px; }
.cd-quote-card blockquote { font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.8; font-style: italic; margin: 0 0 24px; border: none; padding: 0; }
.cd-quote-meta { display: flex; flex-direction: column; gap: 12px; }
.cd-quote-stat-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; background: rgba(0,255,136,0.08); border: 1px solid rgba(0,255,136,0.2); border-radius: 50px; font-size: 11px; font-weight: 700; color: var(--cd-green); width: fit-content; }
.cd-quote-stat-pill i { color: var(--cd-green) !important; -webkit-text-fill-color: var(--cd-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; }
.cd-quote-card cite { font-size: 13px; color: rgba(255,255,255,0.4); font-style: normal; }
.cd-quote-card cite span { color: var(--cd-cyan); }

/* ── FINAL CTA ── */
.cd-final-cta { position: relative; padding: 130px 60px; text-align: center; overflow: hidden; background: #020A14; border-top: 1px solid rgba(0,212,255,0.08); }
.cd-cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.cd-final-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 50%, rgba(10,74,255,0.12) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(0,212,255,0.12) 0%, transparent 50%); pointer-events: none; }
.cd-final-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.cd-final-cta h2 { font-size: 56px; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1.5px; }
.cd-final-cta p { font-size: 17px; color: rgba(255,255,255,0.6); line-height: 1.75; margin-bottom: 44px; }

/* ── LIGHT THEME ── */
body.light-theme section.cd-hero { background: #ffffff !important; }
body.light-theme section.cd-mandates { background: #f8f9ff !important; }
body.light-theme section.cd-noops { background: #ffffff !important; }
body.light-theme section.cd-matrix { background: #f8f9ff !important; }
body.light-theme section.cd-testimonials { background: #ffffff !important; }
body.light-theme section.cd-final-cta { background: #ffffff !important; border-top-color: rgba(0,0,0,0.06) !important; }
body.light-theme section.cd-final-cta::before { background: radial-gradient(circle at 20% 50%, rgba(255,123,0,0.06) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(255,123,0,0.06) 0%, transparent 50%) !important; }

body.light-theme .cd-accent { background: linear-gradient(135deg, var(--original-orange), var(--original-orange-hover)) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; background-clip: text !important; }
body.light-theme .cd-hero-title { color: #1a1f3a !important; }
body.light-theme .cd-hero-sub { color: rgba(26,31,58,0.65) !important; }
body.light-theme .cd-hero-badge { border-color: rgba(255,123,0,0.4) !important; color: var(--original-orange) !important; }
body.light-theme .cd-hero-badge i { color: var(--original-orange) !important; -webkit-text-fill-color: var(--original-orange) !important; }
body.light-theme .cd-section-header h2 { color: #1a1f3a !important; }
body.light-theme .cd-section-header p { color: rgba(26,31,58,0.6) !important; }

body.light-theme .cd-mandate-card { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; }
body.light-theme .cd-mandate-card:hover { box-shadow: 0 24px 60px rgba(255,123,0,0.12) !important; }
body.light-theme .cd-trace { stroke: var(--original-orange) !important; }
body.light-theme .cd-mandate-icon { background: linear-gradient(135deg, var(--original-orange), var(--original-orange-hover)) !important; }
body.light-theme .cd-mandate-icon i { color: #fff !important; -webkit-text-fill-color: #fff !important; }
body.light-theme .cd-mandate-card h3 { color: #1a1f3a !important; }
body.light-theme .cd-mandate-card p { color: rgba(26,31,58,0.6) !important; }

body.light-theme .cd-pipeline-tube { background: rgba(255,123,0,0.1) !important; }
body.light-theme .cd-data-packet { background: var(--original-orange) !important; box-shadow: 0 0 16px var(--original-orange), 0 0 32px rgba(255,123,0,0.4) !important; }
body.light-theme .cd-pipe-phase { border-bottom-color: rgba(0,0,0,0.06) !important; }
body.light-theme .cd-pipe-node { border-color: rgba(255,123,0,0.2) !important; background: #fff !important; }
body.light-theme .cd-pipe-phase.active .cd-pipe-node { border-color: var(--original-orange) !important; box-shadow: 0 0 24px rgba(255,123,0,0.3) !important; background: rgba(255,123,0,0.06) !important; }
body.light-theme .cd-pipe-num { color: rgba(26,31,58,0.3) !important; }
body.light-theme .cd-pipe-phase.active .cd-pipe-num { color: var(--original-orange) !important; }
body.light-theme .cd-pipe-body h3 { color: #1a1f3a !important; }
body.light-theme .cd-pipe-body p { color: rgba(26,31,58,0.6) !important; }
body.light-theme .cd-pipe-tag code { color: #1a6b3a !important; background: rgba(0,100,50,0.06) !important; border-color: rgba(0,100,50,0.2) !important; }

body.light-theme .cd-tech-group { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; }
body.light-theme .cd-tech-group:hover { border-color: rgba(255,123,0,0.25) !important; }
body.light-theme .cd-group-label { color: var(--original-orange) !important; }
body.light-theme .cd-tech-item { background: rgba(0,0,0,0.02) !important; border-color: rgba(0,0,0,0.08) !important; }
body.light-theme .cd-tech-item:hover { background: rgba(255,123,0,0.04) !important; border-color: rgba(255,123,0,0.2) !important; }
body.light-theme .cd-tech-item span { color: rgba(26,31,58,0.4) !important; }
body.light-theme .cd-tech-item:hover span { color: rgba(26,31,58,0.8) !important; }

body.light-theme .cd-quote-card { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; }
body.light-theme .cd-quote-card:hover { box-shadow: 0 20px 50px rgba(255,123,0,0.1) !important; }
body.light-theme .cd-qmark { color: var(--original-orange) !important; }
body.light-theme .cd-quote-card blockquote { color: rgba(26,31,58,0.85) !important; }
body.light-theme .cd-quote-card cite { color: rgba(26,31,58,0.45) !important; }
body.light-theme .cd-quote-card cite span { color: var(--original-orange) !important; }
body.light-theme .cd-quote-stat-pill { background: rgba(255,123,0,0.08) !important; border-color: rgba(255,123,0,0.2) !important; color: var(--original-orange) !important; }
body.light-theme .cd-quote-stat-pill i { color: var(--original-orange) !important; -webkit-text-fill-color: var(--original-orange) !important; }

body.light-theme .cd-final-cta h2 { color: #1a1f3a !important; }
body.light-theme .cd-final-cta p { color: rgba(26,31,58,0.65) !important; }
body.light-theme .cd-cta-btn { background: linear-gradient(135deg, var(--original-orange), var(--original-orange-hover)) !important; box-shadow: 0 8px 30px rgba(255,123,0,0.3) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) { .cd-mandates-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .cd-mandates-grid { grid-template-columns: 1fr; }
  .cd-hero-title { font-size: 38px; }
  .cd-section-header h2 { font-size: 32px; }
  .cd-quotes-grid { grid-template-columns: 1fr; }
  .cd-final-cta h2 { font-size: 36px; }
  .cd-hero, .cd-mandates, .cd-noops, .cd-matrix, .cd-testimonials, .cd-final-cta { padding: 80px 24px; }
  .cd-pipeline-layout { grid-template-columns: 1fr; }
  .cd-pipeline-track { display: none; }
  .cd-tech-group { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cd-group-label { min-width: unset; }
}
