/* Enterprise Kubernetes & Container Orchestration — v1 */

:root {
  --k8s-blue: #326CE5;
  --k8s-cyan: #00D4FF;
  --k8s-green: #00FF88;
  --k8s-bg: #030D1A;
  --k8s-bg2: #050F20;
}

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

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

/* ── BUTTONS ── */
.k8s-cta-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; background: linear-gradient(135deg, var(--k8s-blue), var(--k8s-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(50,108,229,0.35); }
.k8s-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,212,255,0.5); }
.k8s-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; }
.k8s-cta-btn:hover i { transform: translateX(4px); }
.k8s-cta-large { font-size: 17px; padding: 20px 44px; }

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

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

.k8s-bento-card { position: relative; background: rgba(10,30,60,0.5); backdrop-filter: blur(20px); border: 1px solid rgba(50,108,229,0.12); border-radius: 20px; padding: 36px 30px; transition: transform 0.35s ease, box-shadow 0.35s ease; overflow: hidden; }
.k8s-bento-card:hover { transform: translateY(-5px); box-shadow: 0 24px 60px rgba(50,108,229,0.18); border-color: rgba(50,108,229,0.4); }

/* spinning node on hover */
@keyframes k8sSpin { to { transform: rotate(360deg); } }
.k8s-bento-card:hover .k8s-card-icon i { animation: k8sSpin 1.2s linear infinite; }

.k8s-card-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--k8s-blue), var(--k8s-cyan)); border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.k8s-card-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; }
.k8s-bento-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 6px; line-height: 1.35; }
.k8s-card-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--k8s-cyan); margin-bottom: 12px; font-family: 'Courier New', monospace; }
.k8s-bento-card p:last-child { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; margin: 0; }

/* ── BLUEPRINT TIMELINE ── */
.k8s-blueprint { background: var(--k8s-bg); padding: 100px 60px; }
.k8s-timeline-layout { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 56px 1fr; gap: 0 40px; }
.k8s-timeline-track { position: relative; display: flex; justify-content: center; }
.k8s-track-tube { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 3px; height: 100%; background: rgba(50,108,229,0.12); border-radius: 3px; }
.k8s-track-packet { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 14px; height: 14px; background: var(--k8s-cyan); border-radius: 50%; box-shadow: 0 0 18px var(--k8s-cyan), 0 0 36px rgba(0,212,255,0.4); z-index: 2; transition: top 0.6s cubic-bezier(0.4,0,0.2,1); }
.k8s-track-packet::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid rgba(0,212,255,0.35); animation: k8sPulse 1.8s ease infinite; }
@keyframes k8sPulse { 0%,100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(2); opacity: 0; } }

.k8s-phases { display: flex; flex-direction: column; }
.k8s-phase { display: flex; gap: 28px; align-items: flex-start; padding: 48px 0; border-bottom: 1px solid rgba(50,108,229,0.08); opacity: 0.3; transition: opacity 0.4s ease; }
.k8s-phase:last-child { border-bottom: none; }
.k8s-phase.active { opacity: 1; }
.k8s-phase-node { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(50,108,229,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); }
.k8s-phase.active .k8s-phase-node { border-color: var(--k8s-cyan); box-shadow: 0 0 24px rgba(0,212,255,0.45); background: rgba(0,212,255,0.08); }
.k8s-phase-node span { font-size: 11px; font-weight: 800; color: rgba(255,255,255,0.3); letter-spacing: 1px; font-family: 'Courier New', monospace; }
.k8s-phase.active .k8s-phase-node span { color: var(--k8s-cyan); }
.k8s-phase-body h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.k8s-phase-body p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.8; margin: 0 0 14px; }
.k8s-code-tag { display: inline-block; font-family: 'Courier New', monospace; font-size: 12px; color: var(--k8s-green); background: rgba(0,255,136,0.07); border: 1px solid rgba(0,255,136,0.2); padding: 5px 12px; border-radius: 6px; letter-spacing: 0.3px; }

/* ── ROI METRICS ── */
.k8s-roi { background: var(--k8s-bg2); padding: 100px 60px; }
.k8s-metrics-strip { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.k8s-metric-chip { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 28px; background: rgba(10,30,60,0.5); border: 1px solid rgba(50,108,229,0.12); border-radius: 16px; cursor: default; transition: all 0.3s ease; min-width: 180px; flex: 1; text-align: center; }
.k8s-metric-chip:hover { background: rgba(50,108,229,0.1); border-color: var(--k8s-cyan); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,212,255,0.12); }
.k8s-metric-chip i { font-size: 22px; color: var(--k8s-cyan) !important; -webkit-text-fill-color: var(--k8s-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; margin-bottom: 4px; }
.k8s-metric-chip span { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.3; }
.k8s-metric-chip em { font-size: 11px; font-style: normal; color: rgba(255,255,255,0.35); font-family: 'Courier New', monospace; letter-spacing: 0.5px; }
.k8s-metric-chip:hover i { color: var(--k8s-green) !important; -webkit-text-fill-color: var(--k8s-green) !important; }

/* ── TESTIMONIAL ── */
.k8s-testimonial { background: var(--k8s-bg); padding: 100px 60px; }
.k8s-quote-block { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: center; }
.k8s-qmark { font-size: 120px; line-height: 0.6; color: var(--k8s-blue); opacity: 0.25; font-family: Georgia, serif; display: block; margin-bottom: 24px; }
.k8s-quote-left blockquote { font-size: 20px; color: rgba(255,255,255,0.85); line-height: 1.75; font-style: italic; margin: 0 0 24px; border: none; padding: 0; }
.k8s-quote-left cite { font-size: 14px; color: rgba(255,255,255,0.4); font-style: normal; }
.k8s-quote-left cite span { color: var(--k8s-cyan); }
.k8s-quote-stat-card { background: rgba(10,30,60,0.5); border: 1px solid rgba(50,108,229,0.2); border-radius: 20px; padding: 36px 28px; text-align: center; }
.k8s-stat-row { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 20px; }
.k8s-stat-val { font-size: 36px; font-weight: 900; color: var(--k8s-cyan); line-height: 1; }
.k8s-stat-val span { font-size: 20px; }
.k8s-stat-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.35); margin-top: 4px; }
.k8s-stat-divider { width: 1px; height: 48px; background: rgba(50,108,229,0.2); }
.k8s-stat-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; 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(--k8s-green); }
.k8s-stat-badge i { color: var(--k8s-green) !important; -webkit-text-fill-color: var(--k8s-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; }

/* ── FINAL CTA ── */
.k8s-final-cta { position: relative; padding: 130px 60px; text-align: center; overflow: hidden; background: #020A14; border-top: 1px solid rgba(50,108,229,0.1); }
.k8s-cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.k8s-final-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 25% 50%, rgba(50,108,229,0.14) 0%, transparent 55%), radial-gradient(circle at 75% 50%, rgba(0,212,255,0.1) 0%, transparent 55%); pointer-events: none; }
.k8s-final-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.k8s-final-cta h2 { font-size: 52px; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1.5px; }
.k8s-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.k8s-hero { background: #ffffff !important; }
body.light-theme section.k8s-mandates { background: #f8f9ff !important; }
body.light-theme section.k8s-blueprint { background: #ffffff !important; }
body.light-theme section.k8s-roi { background: #f8f9ff !important; }
body.light-theme section.k8s-testimonial { background: #ffffff !important; }
body.light-theme section.k8s-final-cta { background: #ffffff !important; border-top-color: rgba(0,0,0,0.06) !important; }
body.light-theme section.k8s-final-cta::before { background: radial-gradient(circle at 25% 50%, rgba(255,123,0,0.07) 0%, transparent 55%), radial-gradient(circle at 75% 50%, rgba(255,123,0,0.05) 0%, transparent 55%) !important; }

body.light-theme .k8s-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 .k8s-hero-title { color: #1a1f3a !important; }
body.light-theme .k8s-hero-sub { color: rgba(26,31,58,0.65) !important; }
body.light-theme .k8s-hero-badge { border-color: rgba(255,123,0,0.4) !important; color: var(--original-orange) !important; }
body.light-theme .k8s-hero-badge i { color: var(--original-orange) !important; -webkit-text-fill-color: var(--original-orange) !important; }
body.light-theme .k8s-section-header h2 { color: #1a1f3a !important; }
body.light-theme .k8s-section-header p { color: rgba(26,31,58,0.6) !important; }

body.light-theme .k8s-bento-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 .k8s-bento-card:hover { box-shadow: 0 24px 60px rgba(255,123,0,0.12) !important; border-color: rgba(255,123,0,0.3) !important; }
body.light-theme .k8s-card-icon { background: linear-gradient(135deg, var(--original-orange), var(--original-orange-hover)) !important; }
body.light-theme .k8s-card-icon i { color: #fff !important; -webkit-text-fill-color: #fff !important; }
body.light-theme .k8s-bento-card h3 { color: #1a1f3a !important; }
body.light-theme .k8s-card-tag { color: var(--original-orange) !important; }
body.light-theme .k8s-bento-card p:last-child { color: rgba(26,31,58,0.6) !important; }

body.light-theme .k8s-track-tube { background: rgba(255,123,0,0.1) !important; }
body.light-theme .k8s-track-packet { background: var(--original-orange) !important; box-shadow: 0 0 18px var(--original-orange), 0 0 36px rgba(255,123,0,0.4) !important; }
body.light-theme .k8s-phase { border-bottom-color: rgba(0,0,0,0.06) !important; }
body.light-theme .k8s-phase-node { border-color: rgba(255,123,0,0.2) !important; background: #fff !important; }
body.light-theme .k8s-phase.active .k8s-phase-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 .k8s-phase-node span { color: rgba(26,31,58,0.3) !important; }
body.light-theme .k8s-phase.active .k8s-phase-node span { color: var(--original-orange) !important; }
body.light-theme .k8s-phase-body h3 { color: #1a1f3a !important; }
body.light-theme .k8s-phase-body p { color: rgba(26,31,58,0.6) !important; }
body.light-theme .k8s-code-tag { color: #1a6b3a !important; background: rgba(0,100,50,0.06) !important; border-color: rgba(0,100,50,0.2) !important; }

body.light-theme .k8s-metric-chip { background: #ffffff !important; border-color: rgba(0,0,0,0.08) !important; }
body.light-theme .k8s-metric-chip:hover { background: rgba(255,123,0,0.05) !important; border-color: rgba(255,123,0,0.3) !important; box-shadow: 0 16px 40px rgba(255,123,0,0.1) !important; }
body.light-theme .k8s-metric-chip i { color: var(--original-orange) !important; -webkit-text-fill-color: var(--original-orange) !important; }
body.light-theme .k8s-metric-chip:hover i { color: var(--original-orange-hover) !important; -webkit-text-fill-color: var(--original-orange-hover) !important; }
body.light-theme .k8s-metric-chip span { color: #1a1f3a !important; }
body.light-theme .k8s-metric-chip em { color: rgba(26,31,58,0.4) !important; }

body.light-theme .k8s-qmark { color: var(--original-orange) !important; }
body.light-theme .k8s-quote-left blockquote { color: rgba(26,31,58,0.85) !important; }
body.light-theme .k8s-quote-left cite { color: rgba(26,31,58,0.45) !important; }
body.light-theme .k8s-quote-left cite span { color: var(--original-orange) !important; }
body.light-theme .k8s-quote-stat-card { background: #ffffff !important; border-color: rgba(255,123,0,0.15) !important; box-shadow: 0 4px 20px rgba(0,0,0,0.05) !important; }
body.light-theme .k8s-stat-val { color: var(--original-orange) !important; }
body.light-theme .k8s-stat-divider { background: rgba(255,123,0,0.15) !important; }

body.light-theme .k8s-final-cta h2 { color: #1a1f3a !important; }
body.light-theme .k8s-final-cta p { color: rgba(26,31,58,0.65) !important; }
body.light-theme .k8s-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) {
  .k8s-bento-grid { grid-template-columns: repeat(2, 1fr); }
  .k8s-bento-wide { grid-column: span 2; }
  .k8s-quote-block { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .k8s-bento-grid { grid-template-columns: 1fr; }
  .k8s-bento-wide { grid-column: span 1; }
  .k8s-hero-title { font-size: 38px; }
  .k8s-section-header h2 { font-size: 32px; }
  .k8s-final-cta h2 { font-size: 32px; }
  .k8s-hero, .k8s-mandates, .k8s-blueprint, .k8s-roi, .k8s-testimonial, .k8s-final-cta { padding: 80px 24px; }
  .k8s-timeline-layout { grid-template-columns: 1fr; }
  .k8s-timeline-track { display: none; }
  .k8s-metrics-strip { flex-direction: column; }
}
