/* Cloud Migration & Strategy — v1 */

:root {
  --cm-purple: #7C3AED;
  --cm-violet: #A855F7;
  --cm-blue: #3B82F6;
  --cm-cyan: #00D4FF;
  --cm-green: #00FF88;
  --cm-bg: #04081A;
  --cm-bg2: #060B1F;
}

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

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

/* ── BUTTONS ── */
.cm-cta-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; background: linear-gradient(135deg, var(--cm-purple), var(--cm-violet)); 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(124,58,237,0.4); }
.cm-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(168,85,247,0.5); }
.cm-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; }
.cm-cta-btn:hover i { transform: translateX(4px); }
.cm-cta-large { font-size: 17px; padding: 20px 44px; }

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

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

.cm-pathway-card { position: relative; background: rgba(12,18,50,0.6); backdrop-filter: blur(20px); border: 1px solid rgba(124,58,237,0.12); border-radius: 20px; padding: 36px 28px; overflow: hidden; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.cm-pathway-card:hover { border-color: rgba(168,85,247,0.4); box-shadow: 0 24px 60px rgba(124,58,237,0.18); transform: translateY(-4px); }

/* glowing grid background on hover */
.cm-card-grid-bg { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; background-image: linear-gradient(rgba(124,58,237,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(124,58,237,0.06) 1px, transparent 1px); background-size: 28px 28px; border-radius: 20px; pointer-events: none; }
.cm-pathway-card:hover .cm-card-grid-bg { opacity: 1; }

.cm-pathway-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--cm-purple), var(--cm-violet)); border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; position: relative; z-index: 1; }
.cm-pathway-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; }
.cm-pathway-card h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 14px; line-height: 1.35; position: relative; z-index: 1; }
.cm-pathway-intro { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 20px; position: relative; z-index: 1; }
.cm-pathway-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; position: relative; z-index: 1; }
.cm-pathway-bullets li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.6); }
.cm-pathway-bullets li i { color: var(--cm-green) !important; -webkit-text-fill-color: var(--cm-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; font-size: 11px; flex-shrink: 0; }

/* ── METHODOLOGY TIMELINE ── */
.cm-methodology { background: var(--cm-bg); padding: 100px 60px; }
.cm-timeline-layout { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 56px 1fr; gap: 0 40px; }
.cm-timeline-track { position: relative; display: flex; justify-content: center; }
.cm-track-line { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2px; height: 100%; background: rgba(124,58,237,0.12); border-radius: 2px; }
.cm-track-glow { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2px; height: 0%; background: linear-gradient(180deg, var(--cm-violet), var(--cm-cyan)); border-radius: 2px; box-shadow: 0 0 12px var(--cm-violet); transition: height 0.05s linear; }

.cm-phases { display: flex; flex-direction: column; }
.cm-phase { display: flex; gap: 28px; align-items: flex-start; padding: 48px 0; border-bottom: 1px solid rgba(124,58,237,0.07); opacity: 0.3; transition: opacity 0.4s ease, transform 0.5s ease; transform: translateX(20px); }
.cm-phase:last-child { border-bottom: none; }
.cm-phase.active { opacity: 1; transform: translateX(0); }
.cm-phase-node { width: 52px; height: 52px; border-radius: 50%; border: 2px solid rgba(124,58,237,0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.4s ease; background: rgba(12,18,50,0.6); }
.cm-phase.active .cm-phase-node { border-color: var(--cm-violet); box-shadow: 0 0 24px rgba(168,85,247,0.5); background: rgba(124,58,237,0.1); }
.cm-phase-node span { font-size: 11px; font-weight: 800; color: rgba(255,255,255,0.3); letter-spacing: 1px; font-family: 'Courier New', monospace; }
.cm-phase.active .cm-phase-node span { color: var(--cm-violet); }
.cm-phase-body h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 12px; line-height: 1.3; }
.cm-phase-body p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.8; margin: 0 0 14px; }
.cm-code-tag { display: inline-block; font-family: 'Courier New', monospace; font-size: 12px; color: var(--cm-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; }

/* ── CLOUD ECOSYSTEM ── */
.cm-ecosystem { background: var(--cm-bg2); padding: 100px 60px; }
.cm-cloud-logos { display: flex; justify-content: center; align-items: center; gap: 48px; flex-wrap: wrap; max-width: 900px; margin: 0 auto 48px; }
.cm-cloud-logo { display: flex; flex-direction: column; align-items: center; gap: 12px; cursor: default; transition: all 0.3s ease; }
.cm-cloud-logo i { font-size: 52px; color: rgba(255,255,255,0.2) !important; -webkit-text-fill-color: rgba(255,255,255,0.2) !important; font-family: "Font Awesome 6 Brands" !important; font-weight: 400 !important; background: none !important; -webkit-background-clip: initial !important; background-clip: initial !important; transition: color 0.3s ease, -webkit-text-fill-color 0.3s ease, filter 0.3s ease; filter: grayscale(1); }
.cm-cloud-logo span { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.3); letter-spacing: 0.5px; transition: color 0.3s ease; }
.cm-cloud-logo:hover span { color: rgba(255,255,255,0.7); }

.cm-tool-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.cm-tool-chip { padding: 7px 16px; background: rgba(124,58,237,0.06); border: 1px solid rgba(124,58,237,0.18); border-radius: 50px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; transition: all 0.25s ease; cursor: default; }
.cm-tool-chip:hover { background: rgba(124,58,237,0.14); border-color: rgba(168,85,247,0.4); color: rgba(255,255,255,0.85); }

/* ── DE-RISKING BENTO ── */
.cm-derisking { background: var(--cm-bg); padding: 100px 60px; }
.cm-bento-grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 20px; max-width: 1100px; margin: 0 auto; }
.cm-bento-card { background: rgba(12,18,50,0.6); backdrop-filter: blur(20px); border: 1px solid rgba(124,58,237,0.12); border-radius: 20px; padding: 36px 30px; transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease; }
.cm-bento-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(124,58,237,0.16); border-color: rgba(168,85,247,0.35); }
.cm-bento-anchor { grid-row: span 2; display: flex; flex-direction: column; }
.cm-bento-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--cm-purple), var(--cm-violet)); border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; flex-shrink: 0; }
.cm-bento-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; }
.cm-bento-card h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 6px; line-height: 1.3; }
.cm-bento-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--cm-violet); margin-bottom: 14px; font-family: 'Courier New', monospace; }
.cm-bento-card p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.8; margin: 0 0 24px; }
.cm-bento-metric { margin-top: auto; display: flex; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(124,58,237,0.12); }
.cm-bm-item { display: flex; flex-direction: column; gap: 4px; }
.cm-bm-val { font-size: 32px; font-weight: 900; color: var(--cm-violet); line-height: 1; }
.cm-bm-label { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.8px; color: rgba(255,255,255,0.35); }

/* ── FINAL CTA ── */
.cm-final-cta { position: relative; padding: 130px 60px; text-align: center; overflow: hidden; background: #030614; border-top: 1px solid rgba(124,58,237,0.1); }
.cm-cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.cm-final-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 25% 50%, rgba(124,58,237,0.14) 0%, transparent 55%), radial-gradient(circle at 75% 50%, rgba(0,212,255,0.1) 0%, transparent 55%); pointer-events: none; }
.cm-final-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cm-final-cta h2 { font-size: 52px; font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1.5px; }
.cm-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.cm-hero { background: #ffffff !important; }
body.light-theme section.cm-pathways { background: #f8f9ff !important; }
body.light-theme section.cm-methodology { background: #ffffff !important; }
body.light-theme section.cm-ecosystem { background: #f8f9ff !important; }
body.light-theme section.cm-derisking { background: #ffffff !important; }
body.light-theme section.cm-final-cta { background: #ffffff !important; border-top-color: rgba(0,0,0,0.06) !important; }
body.light-theme section.cm-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 .cm-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 .cm-hero-title { color: #1a1f3a !important; }
body.light-theme .cm-hero-sub { color: rgba(26,31,58,0.65) !important; }
body.light-theme .cm-hero-badge { border-color: rgba(255,123,0,0.4) !important; color: var(--original-orange) !important; }
body.light-theme .cm-hero-badge i { color: var(--original-orange) !important; -webkit-text-fill-color: var(--original-orange) !important; }
body.light-theme .cm-section-header h2 { color: #1a1f3a !important; }
body.light-theme .cm-section-header p { color: rgba(26,31,58,0.6) !important; }

body.light-theme .cm-pathway-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 .cm-pathway-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 .cm-pathway-icon { background: linear-gradient(135deg, var(--original-orange), var(--original-orange-hover)) !important; }
body.light-theme .cm-pathway-icon i { color: #fff !important; -webkit-text-fill-color: #fff !important; }
body.light-theme .cm-pathway-card h3 { color: #1a1f3a !important; }
body.light-theme .cm-pathway-intro { color: rgba(26,31,58,0.6) !important; }
body.light-theme .cm-pathway-bullets li { color: rgba(26,31,58,0.6) !important; }
body.light-theme .cm-pathway-bullets li i { color: #1a6b3a !important; -webkit-text-fill-color: #1a6b3a !important; }

body.light-theme .cm-track-line { background: rgba(255,123,0,0.1) !important; }
body.light-theme .cm-track-glow { background: linear-gradient(180deg, var(--original-orange), var(--original-orange-hover)) !important; box-shadow: 0 0 12px var(--original-orange) !important; }
body.light-theme .cm-phase { border-bottom-color: rgba(0,0,0,0.06) !important; }
body.light-theme .cm-phase-node { border-color: rgba(255,123,0,0.2) !important; background: #fff !important; }
body.light-theme .cm-phase.active .cm-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 .cm-phase-node span { color: rgba(26,31,58,0.3) !important; }
body.light-theme .cm-phase.active .cm-phase-node span { color: var(--original-orange) !important; }
body.light-theme .cm-phase-body h3 { color: #1a1f3a !important; }
body.light-theme .cm-phase-body p { color: rgba(26,31,58,0.6) !important; }
body.light-theme .cm-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 .cm-cloud-logo i { color: rgba(26,31,58,0.2) !important; -webkit-text-fill-color: rgba(26,31,58,0.2) !important; }
body.light-theme .cm-cloud-logo span { color: rgba(26,31,58,0.35) !important; }
body.light-theme .cm-cloud-logo:hover span { color: rgba(26,31,58,0.7) !important; }
body.light-theme .cm-tool-chip { background: rgba(255,123,0,0.05) !important; border-color: rgba(255,123,0,0.18) !important; color: rgba(26,31,58,0.55) !important; }
body.light-theme .cm-tool-chip:hover { background: rgba(255,123,0,0.1) !important; border-color: rgba(255,123,0,0.4) !important; color: rgba(26,31,58,0.85) !important; }

body.light-theme .cm-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 .cm-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 .cm-bento-icon { background: linear-gradient(135deg, var(--original-orange), var(--original-orange-hover)) !important; }
body.light-theme .cm-bento-icon i { color: #fff !important; -webkit-text-fill-color: #fff !important; }
body.light-theme .cm-bento-card h3 { color: #1a1f3a !important; }
body.light-theme .cm-bento-tag { color: var(--original-orange) !important; }
body.light-theme .cm-bento-card p { color: rgba(26,31,58,0.6) !important; }
body.light-theme .cm-bento-metric { border-top-color: rgba(0,0,0,0.08) !important; }
body.light-theme .cm-bm-val { color: var(--original-orange) !important; }
body.light-theme .cm-bm-label { color: rgba(26,31,58,0.4) !important; }

body.light-theme .cm-final-cta h2 { color: #1a1f3a !important; }
body.light-theme .cm-final-cta p { color: rgba(26,31,58,0.65) !important; }
body.light-theme .cm-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) {
  .cm-pathways-grid { grid-template-columns: repeat(2, 1fr); }
  .cm-bento-grid { grid-template-columns: 1fr; }
  .cm-bento-anchor { grid-row: span 1; }
}
@media (max-width: 700px) {
  .cm-pathways-grid { grid-template-columns: 1fr; }
  .cm-hero-title { font-size: 38px; }
  .cm-section-header h2 { font-size: 32px; }
  .cm-final-cta h2 { font-size: 32px; }
  .cm-hero, .cm-pathways, .cm-methodology, .cm-ecosystem, .cm-derisking, .cm-final-cta { padding: 80px 24px; }
  .cm-timeline-layout { grid-template-columns: 1fr; }
  .cm-timeline-track { display: none; }
  .cm-cloud-logos { gap: 28px; }
  .cm-cloud-logo i { font-size: 38px; }
}
