:root {
  --cf-ink: #071421;
  --cf-ink-soft: #385064;
  --cf-blue: #0b3b75;
  --cf-blue-2: #102a43;
  --cf-cyan: #23c7d9;
  --cf-green: #21d19f;
  --cf-gold: #d4a843;
  --cf-cloud: #f5f8fb;
  --cf-card: #ffffff;
  --cf-border: rgba(10, 37, 64, 0.12);
  --cf-shadow: 0 24px 70px rgba(7, 20, 33, 0.12);
}

.corefi-modern {
  color: var(--cf-ink);
  background: #fff;
  font-family: Inter, "Roboto", Arial, sans-serif;
  overflow: hidden;
}

.corefi-modern * { box-sizing: border-box; }
.corefi-modern a { color: inherit; }
.cf-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.cf-eyebrow { color: var(--cf-cyan); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; margin-bottom: 14px; }
.cf-section { padding: 90px 0; position: relative; }
.cf-section-muted { background: var(--cf-cloud); }
.cf-section-dark { background: radial-gradient(circle at 10% 0%, rgba(35,199,217,.25), transparent 35%), linear-gradient(135deg, #06111f 0%, #0e2f54 65%, #082033 100%); color: #fff; }
.cf-section h2 { font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1.02; letter-spacing: -0.045em; margin: 0 0 18px; color: inherit; }
.cf-lede { font-size: clamp(1.05rem, 1.4vw, 1.24rem); line-height: 1.65; color: var(--cf-ink-soft); max-width: 820px; margin: 0; }
.cf-section-dark .cf-lede { color: rgba(255,255,255,.78); }

.cf-hero { min-height: 760px; padding: 118px 0 86px; color: #fff; background: radial-gradient(circle at 78% 22%, rgba(33,209,159,.30), transparent 26%), radial-gradient(circle at 20% 10%, rgba(35,199,217,.26), transparent 30%), linear-gradient(135deg, #071421 0%, #0b315d 58%, #06111f 100%); position: relative; }
.cf-hero:after { content: ""; position: absolute; inset: auto -10% -28% -10%; height: 390px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 74%); pointer-events: none; }
.cf-hero-grid { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr); gap: 54px; align-items: center; position: relative; z-index: 1; }
.cf-hero h1 { font-size: clamp(3.2rem, 7vw, 6.8rem); line-height: .91; letter-spacing: -.075em; margin: 0 0 26px; color: #fff; }
.cf-hero h1 span { display: block; color: var(--cf-cyan); }
.cf-hero-copy { color: rgba(255,255,255,.78); font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.65; max-width: 760px; margin: 0 0 30px; }
.cf-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 32px; }
.cf-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px; font-weight: 800; text-decoration: none !important; border: 1px solid transparent; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.cf-btn:hover { transform: translateY(-2px); }
.cf-btn-primary { color: #071421 !important; background: linear-gradient(135deg, var(--cf-cyan), var(--cf-green)); box-shadow: 0 16px 42px rgba(35,199,217,.28); }
.cf-btn-secondary { color: #fff !important; border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.08); backdrop-filter: blur(10px); }
.cf-proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 800px; }
.cf-proof span { border: 1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.07); color: rgba(255,255,255,.86); border-radius: 18px; padding: 13px 15px; font-size: .92rem; }

.cf-orbit { position: relative; min-height: 540px; }
.cf-orbit-card { position: absolute; inset: 0; margin: auto; width: min(430px, 100%); height: 430px; border-radius: 48px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 40px 100px rgba(0,0,0,.28); backdrop-filter: blur(18px); padding: 32px; }
.cf-orbit-core { height: 100%; border-radius: 32px; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 50% 18%, rgba(35,199,217,.32), transparent 30%), rgba(6,17,31,.68); border: 1px solid rgba(255,255,255,.12); }
.cf-orbit-core strong { font-size: 2.1rem; letter-spacing: -.04em; display: block; }
.cf-orbit-core small { color: rgba(255,255,255,.68); display: block; margin-top: 10px; }
.cf-agent { position: absolute; width: 164px; padding: 14px; border-radius: 20px; background: rgba(255,255,255,.94); color: var(--cf-ink); box-shadow: var(--cf-shadow); font-size: .92rem; line-height: 1.25; }
.cf-agent b { display: block; margin-bottom: 5px; }
.cf-agent:nth-child(2){ top: 10px; left: 0; }
.cf-agent:nth-child(3){ top: 70px; right: 0; }
.cf-agent:nth-child(4){ bottom: 86px; left: 10px; }
.cf-agent:nth-child(5){ bottom: 20px; right: 42px; }

.cf-sitemap-panel { display: grid; grid-template-columns: .72fr 1.28fr; gap: 34px; align-items: start; }
.cf-tree { background: #fff; border: 1px solid var(--cf-border); border-radius: 30px; padding: 28px; box-shadow: var(--cf-shadow); }
.cf-tree h3 { margin: 0 0 18px; font-size: 1.35rem; }
.cf-tree ul { margin: 0; padding-left: 20px; color: var(--cf-ink-soft); line-height: 1.9; }
.cf-tree strong { color: var(--cf-ink); }

.cf-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 38px; }
.cf-card { background: var(--cf-card); border: 1px solid var(--cf-border); border-radius: 28px; padding: 28px; box-shadow: 0 16px 44px rgba(7,20,33,.07); min-height: 100%; }
.cf-card h3 { margin: 0 0 12px; font-size: 1.35rem; letter-spacing: -.025em; color: var(--cf-ink); }
.cf-card p { margin: 0; color: var(--cf-ink-soft); line-height: 1.65; }
.cf-card .cf-num { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; background: #e8fbfd; color: #087a89; font-weight: 900; margin-bottom: 18px; }

.cf-lifecycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 38px; }
.cf-step { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.07); border-radius: 26px; padding: 24px; }
.cf-step small { color: var(--cf-cyan); font-weight: 900; }
.cf-step h3 { color: #fff; margin: 12px 0 10px; font-size: 1.28rem; }
.cf-step p { color: rgba(255,255,255,.72); margin: 0; line-height: 1.55; }

.cf-architecture { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 42px; }
.cf-layer { display: grid; grid-template-columns: 230px 1fr; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--cf-border); }
.cf-layer b { color: var(--cf-blue); }
.cf-layer span { color: var(--cf-ink-soft); }

.cf-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.cf-quote { border-radius: 34px; padding: 34px; background: #fff; box-shadow: var(--cf-shadow); border: 1px solid var(--cf-border); }
.cf-quote p { font-size: 1.35rem; line-height: 1.5; margin: 0; letter-spacing: -.025em; }
.cf-list { display: grid; gap: 14px; }
.cf-list div { padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--cf-border); color: var(--cf-ink-soft); }
.cf-list b { color: var(--cf-ink); }

.cf-insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.cf-insight { display: block; text-decoration: none !important; padding: 26px; border-radius: 26px; border: 1px solid var(--cf-border); background: #fff; min-height: 170px; transition: transform .18s ease, box-shadow .18s ease; }
.cf-insight:hover { transform: translateY(-4px); box-shadow: var(--cf-shadow); }
.cf-insight small { color: var(--cf-cyan); text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.cf-insight h3 { margin: 12px 0 0; font-size: 1.45rem; letter-spacing: -.035em; }

.cf-final { text-align: center; padding: 92px 0; }
.cf-final h2 { max-width: 860px; margin-left: auto; margin-right: auto; }
.cf-final .cf-hero-actions { justify-content: center; margin-bottom: 0; }

@media (max-width: 980px) {
  .cf-hero-grid, .cf-sitemap-panel, .cf-split { grid-template-columns: 1fr; }
  .cf-orbit { min-height: 500px; }
  .cf-card-grid, .cf-insights { grid-template-columns: 1fr 1fr; }
  .cf-lifecycle { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .cf-wrap { width: min(100% - 28px, 1180px); }
  .cf-hero { padding-top: 82px; min-height: auto; }
  .cf-proof, .cf-card-grid, .cf-lifecycle, .cf-insights { grid-template-columns: 1fr; }
  .cf-orbit { min-height: 680px; }
  .cf-orbit-card { height: 360px; }
  .cf-agent { position: relative; width: 100%; inset: auto !important; margin: 10px 0; }
  .cf-layer { grid-template-columns: 1fr; }
  .cf-section { padding: 64px 0; }
}
