:root {
    --cp-navy: #0A1D3D;
    --cp-teal: #0EA5A0;
    --cp-teal-dark: #087F7A;
    --cp-cyan: #32C5C5;
    --cp-ink: #162033;
    --cp-slate: #5E6B7B;
    --cp-border: #D9E1E8;
    --cp-surface: #F7FAFC;
    --cp-white: #FFFFFF;
    --shadow-soft: 0 20px 60px rgba(10, 29, 61, .08);
    --shadow-card: 0 12px 32px rgba(10, 29, 61, .06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--cp-ink);
    background: var(--cp-surface);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
svg { display: block; }

.skip-link {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 1000;
    padding: 10px 14px;
    border-radius: 8px;
    color: #fff;
    background: var(--cp-navy);
    transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(247, 250, 252, .92);
    border-bottom: 1px solid rgba(217, 225, 232, .78);
    backdrop-filter: blur(18px);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.brand-link { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand-link img { width: 192px; height: auto; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 32px; }
.nav-links a {
    color: #405066;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color .2s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--cp-teal-dark); }
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    border-radius: 10px;
    background: var(--cp-navy);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(10,29,61,.16);
}
.nav-cta svg { width: 17px; height: 17px; fill: currentColor; }
.nav-cta:hover { background: #10294f; }

.hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 78px;
    background: linear-gradient(180deg, #fff 0%, #f8fbfd 58%, #f2f8fa 100%);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(14,165,160,.11) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(to right, transparent 3%, #000 48%, #000 90%, transparent 100%);
    opacity: .42;
}
.hero-glow { position: absolute; border-radius: 999px; filter: blur(20px); pointer-events: none; }
.hero-glow-one { width: 460px; height: 460px; right: -120px; top: 20px; background: rgba(50,197,197,.18); }
.hero-glow-two { width: 340px; height: 340px; left: 34%; bottom: -190px; background: rgba(14,165,160,.08); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr); gap: 48px; align-items: center; }
.hero-copy { padding: 14px 0 10px; }
.eyebrow, .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--cp-teal-dark);
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: 12px;
    font-weight: 800;
}
.eyebrow {
    padding: 9px 12px;
    border: 1px solid rgba(14,165,160,.22);
    border-radius: 999px;
    background: rgba(14,165,160,.07);
}
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cp-teal); box-shadow: 0 0 0 5px rgba(14,165,160,.10); }
.hero h1 {
    max-width: 650px;
    margin: 24px 0 18px;
    color: var(--cp-navy);
    font-size: clamp(46px, 5vw, 72px);
    line-height: 1.02;
    letter-spacing: -.055em;
    font-weight: 750;
}
.hero h1 span { color: var(--cp-teal-dark); }
.hero-lead {
    max-width: 610px;
    margin: 0;
    color: #31435c;
    font-size: 20px;
    line-height: 1.55;
    font-weight: 500;
}
.hero-sub {
    max-width: 600px;
    margin: 16px 0 0;
    color: var(--cp-slate);
    font-size: 15px;
    line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 750;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { color: #fff; background: var(--cp-navy); box-shadow: 0 12px 24px rgba(10,29,61,.18); }
.btn-primary:hover { background: #10294f; box-shadow: 0 15px 30px rgba(10,29,61,.22); }
.btn-secondary { color: var(--cp-navy); background: #fff; border: 1px solid #cad4de; }
.btn-secondary:hover { border-color: #a9bac8; box-shadow: 0 8px 20px rgba(10,29,61,.07); }
.btn-white { color: var(--cp-navy); background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.12); }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px 22px; margin-top: 30px; color: #53647a; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; }
.trust-row svg { width: 18px; height: 18px; fill: none; stroke: var(--cp-teal-dark); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.intelligence-stage {
    position: relative;
    min-height: 570px;
    border-radius: 30px;
    border: 1px solid rgba(217,225,232,.9);
    background:
        radial-gradient(circle at 50% 50%, rgba(50,197,197,.16), transparent 38%),
        linear-gradient(145deg, rgba(255,255,255,.94), rgba(240,248,250,.88));
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.stage-grid {
    position: absolute;
    inset: 0;
    opacity: .28;
    background-image:
        linear-gradient(rgba(10,29,61,.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10,29,61,.07) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: radial-gradient(circle, #000 0 50%, transparent 78%);
}
.network-lines { position: absolute; inset: 3% 1% auto; width: 98%; height: 94%; }
.network-lines path, .network-lines circle { fill: none; stroke: rgba(14,165,160,.24); stroke-width: 1.5; stroke-dasharray: 6 8; }
.network-lines circle:nth-of-type(2) { stroke: rgba(10,29,61,.11); stroke-dasharray: 2 9; }
.ai-core {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 204px; min-height: 186px;
    padding: 20px;
    border-radius: 22px;
    background: linear-gradient(145deg, #0A1D3D 0%, #102b50 100%);
    color: #fff;
    box-shadow: 0 24px 60px rgba(10,29,61,.25), 0 0 0 10px rgba(255,255,255,.72), 0 0 0 11px rgba(14,165,160,.16);
    z-index: 5;
}
.ai-core::after {
    content: "";
    position: absolute;
    width: 14px; height: 14px;
    border-radius: 50%;
    right: 15px; top: 15px;
    background: var(--cp-cyan);
    box-shadow: 0 0 0 6px rgba(50,197,197,.12);
}
.core-mark { width: 58px; height: 58px; display: grid; place-items: center; padding: 8px; border-radius: 14px; background: #fff; }
.core-mark img { width: 100%; height: 100%; }
.ai-core > div:nth-child(2) { display: flex; align-items: baseline; gap: 5px; margin-top: 16px; }
.ai-core > div:nth-child(2) span { font-size: 18px; font-weight: 650; }
.ai-core > div:nth-child(2) strong { color: var(--cp-cyan); font-size: 25px; letter-spacing: -.02em; }
.ai-core small { display: block; margin-top: 7px; color: #c6d8e6; font-size: 11px; line-height: 1.4; }
.module-card {
    position: absolute;
    z-index: 4;
    min-width: 142px;
    padding: 13px 14px 12px 16px;
    border: 1px solid rgba(217,225,232,.94);
    border-radius: 14px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 12px 30px rgba(10,29,61,.08);
}
.module-card::after {
    content: "";
    position: absolute;
    inset: auto 14px -1px 14px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(14,165,160,.55), transparent);
}
.module-card .module-dot { position: absolute; left: 13px; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--cp-teal); box-shadow: 0 0 0 4px rgba(14,165,160,.09); }
.module-card strong, .module-card small { display: block; margin-left: 18px; }
.module-card strong { color: var(--cp-navy); font-size: 13px; }
.module-card small { margin-top: 4px; color: #738196; font-size: 10px; }
.module-rota { left: 36px; top: 70px; }
.module-payroll { right: 40px; top: 60px; }
.module-finance { right: 20px; top: 238px; }
.module-care { right: 52px; bottom: 58px; }
.module-hr { left: 50px; bottom: 50px; }
.module-recruit { left: 18px; top: 240px; }
.signal { position: absolute; z-index: 3; width: 9px; height: 9px; border-radius: 50%; background: var(--cp-teal); box-shadow: 0 0 0 8px rgba(14,165,160,.09); animation: drift 4s ease-in-out infinite; }
.signal-one { left: 46%; top: 17%; }
.signal-two { right: 19%; bottom: 24%; animation-delay: -1.6s; }
.signal-three { left: 24%; bottom: 31%; animation-delay: -2.8s; }
@keyframes drift { 0%,100% { transform: translateY(0); opacity: .75; } 50% { transform: translateY(-8px); opacity: 1; } }

.module-band { border-top: 1px solid var(--cp-border); border-bottom: 1px solid var(--cp-border); background: #fff; }
.module-band-inner { min-height: 64px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 12px; color: #5d6c7f; font-size: 11px; font-weight: 700; letter-spacing: .015em; }
.module-band-inner i { width: 4px; height: 4px; border-radius: 50%; background: rgba(14,165,160,.55); }

.section { padding: 92px 0; background: var(--cp-surface); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2, .ai-copy h2, .contact-card h2 {
    margin: 12px 0 14px;
    color: var(--cp-navy);
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.08;
    letter-spacing: -.035em;
    font-weight: 730;
}
.section-heading p, .ai-copy > p { margin: 0; color: var(--cp-slate); font-size: 16px; line-height: 1.75; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature-card {
    position: relative;
    min-height: 290px;
    padding: 24px;
    border: 1px solid var(--cp-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--shadow-card);
    overflow: hidden;
}
.feature-card-accent { background: linear-gradient(155deg, #0A1D3D, #0d274b); border-color: transparent; }
.feature-card-accent h3, .feature-card-accent p, .feature-card-accent .feature-number { color: #fff; }
.feature-card-accent p { color: #d7e2ec; }
.feature-card-accent .feature-icon { background: rgba(255,255,255,.1); color: var(--cp-cyan); }
.feature-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: rgba(14,165,160,.09); color: var(--cp-teal-dark); }
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature-number { position: absolute; right: 22px; top: 22px; color: #aab5c2; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.feature-card h3 { margin: 26px 0 10px; color: var(--cp-navy); font-size: 19px; letter-spacing: -.015em; }
.feature-card p { margin: 0; color: var(--cp-slate); font-size: 14px; line-height: 1.65; }

.section-ai { position: relative; overflow: hidden; background: #fff; border-top: 1px solid #e8edf1; border-bottom: 1px solid #e8edf1; }
.section-ai::before { content: ""; position: absolute; width: 480px; height: 480px; right: -120px; bottom: -220px; border-radius: 50%; background: rgba(50,197,197,.12); filter: blur(4px); }
.ai-section-grid { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: 80px; align-items: center; }
.ai-copy { max-width: 570px; }
.ai-copy h2 { font-size: clamp(34px, 4vw, 48px); }
.ai-points { margin-top: 30px; display: grid; gap: 13px; }
.ai-points > div { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; padding-top: 14px; border-top: 1px solid #e6ebef; }
.ai-points > div > span { color: var(--cp-teal-dark); font-size: 11px; font-weight: 800; letter-spacing: .07em; }
.ai-points p { margin: 0; color: #53647a; font-size: 14px; line-height: 1.6; }
.ai-points strong { color: var(--cp-ink); }
.ai-panel { border: 1px solid #cbd8e1; border-radius: 20px; background: #f8fbfd; box-shadow: 0 30px 70px rgba(10,29,61,.14); overflow: hidden; transform: rotate(1.2deg); }
.panel-topbar { height: 48px; display: flex; align-items: center; gap: 7px; padding: 0 17px; border-bottom: 1px solid #d9e1e8; background: #fff; }
.panel-topbar > span { width: 8px; height: 8px; border-radius: 50%; background: #d9e1e8; }
.panel-topbar > span:first-child { background: #0EA5A0; }
.panel-topbar em { margin-left: auto; color: var(--cp-navy); font-style: normal; font-size: 11px; font-weight: 750; }
.panel-body { padding: 24px; }
.panel-status { display: inline-flex; align-items: center; gap: 8px; color: var(--cp-teal-dark); font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.status-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cp-teal); box-shadow: 0 0 0 5px rgba(14,165,160,.1); }
.panel-title-row { margin-top: 22px; display: flex; justify-content: space-between; align-items: flex-end; }
.panel-title-row small { display: block; color: #8390a0; font-size: 10px; }
.panel-title-row strong { display: block; margin-top: 4px; color: var(--cp-navy); font-size: 23px; letter-spacing: -.02em; }
.panel-title-row > span { padding: 6px 8px; border-radius: 999px; color: var(--cp-teal-dark); background: rgba(14,165,160,.09); font-size: 10px; font-weight: 800; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.metric-row > div { padding: 16px; border: 1px solid #dfe6eb; border-radius: 13px; background: #fff; }
.metric-row small, .metric-row strong, .metric-row span { display: block; }
.metric-row small { color: #8794a2; font-size: 10px; }
.metric-row strong { margin-top: 9px; color: var(--cp-navy); font-size: 15px; }
.metric-row span { margin-top: 4px; color: #738196; font-size: 9px; }
.insight-card { display: grid; grid-template-columns: 38px 1fr; gap: 13px; margin-top: 13px; padding: 17px; border-radius: 14px; background: var(--cp-navy); color: #fff; }
.insight-card > span { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; color: var(--cp-navy); background: var(--cp-cyan); font-weight: 800; }
.insight-card strong { font-size: 13px; }
.insight-card p { margin: 5px 0 0; color: #c8d6e2; font-size: 10px; line-height: 1.5; }
.panel-lines { display: grid; gap: 8px; margin-top: 20px; }
.panel-lines span { height: 7px; border-radius: 6px; background: linear-gradient(90deg, #d9e4ea, #eef3f6); }
.panel-lines span:nth-child(1) { width: 83%; }
.panel-lines span:nth-child(2) { width: 66%; }
.panel-lines span:nth-child(3) { width: 74%; }

.compact-heading { max-width: 680px; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.principles-grid article { padding: 27px; border-top: 3px solid var(--cp-teal); border-radius: 0 0 14px 14px; background: #fff; box-shadow: var(--shadow-card); }
.principles-grid article:nth-child(2) { border-top-color: var(--cp-cyan); }
.principles-grid article:nth-child(3) { border-top-color: var(--cp-navy); }
.principles-grid span { color: var(--cp-teal-dark); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 800; }
.principles-grid h3 { margin: 13px 0 8px; color: var(--cp-navy); font-size: 20px; }
.principles-grid p { margin: 0; color: var(--cp-slate); font-size: 14px; line-height: 1.65; }

.contact-section { padding: 0 0 84px; background: var(--cp-surface); }
.contact-card {
    min-height: 310px;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr);
    gap: 50px;
    align-items: center;
    padding: 48px 54px;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(50,197,197,.22), transparent 26%),
        linear-gradient(135deg, #0A1D3D 0%, #0b284a 100%);
    box-shadow: 0 28px 70px rgba(10,29,61,.19);
}
.light-kicker { color: #72dfdb; }
.contact-card h2 { margin-top: 12px; color: #fff; font-size: clamp(36px, 4vw, 52px); }
.contact-card p { max-width: 700px; margin: 0; color: #c9d7e2; font-size: 15px; line-height: 1.7; }
.contact-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.contact-phone { color: #d6e6ef; text-align: center; text-decoration: none; font-size: 12px; font-weight: 650; }
.contact-phone:hover { color: #fff; }

.footer { background: #fff; border-top: 1px solid var(--cp-border); }
.footer-inner { min-height: 132px; display: grid; grid-template-columns: 190px 1fr auto; gap: 28px; align-items: center; }
.footer-inner img { width: 166px; height: auto; }
.footer-copy { color: #607085; font-size: 12px; }
.footer-meta { display: flex; flex-direction: column; gap: 5px; color: #8290a0; text-align: right; font-size: 11px; }

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 16px;
    border-radius: 999px;
    color: #fff;
    background: var(--cp-teal-dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    box-shadow: 0 14px 34px rgba(8,127,122,.28);
}
.floating-whatsapp svg { width: 20px; height: 20px; fill: currentColor; }
.floating-whatsapp:hover { background: #066c68; }

:focus-visible { outline: 3px solid rgba(50,197,197,.45); outline-offset: 3px; }

@media (max-width: 1040px) {
    .nav-links { display: none; }
    .nav-cta { margin-left: auto; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { max-width: 760px; }
    .intelligence-stage { width: min(680px, 100%); margin: 0 auto; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .ai-section-grid { grid-template-columns: 1fr; gap: 48px; }
    .ai-copy { max-width: 730px; }
    .ai-panel { max-width: 720px; transform: none; }
    .footer-inner { grid-template-columns: 180px 1fr; }
    .footer-meta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; text-align: left; padding-bottom: 22px; }
}

@media (max-width: 720px) {
    .container { width: min(100% - 28px, 1180px); }
    .nav-wrap { min-height: 72px; }
    .brand-link img { width: 160px; }
    .nav-cta { padding: 10px 12px; font-size: 0; }
    .nav-cta svg { width: 20px; height: 20px; }
    .hero { padding: 50px 0 54px; }
    .hero-grid { gap: 36px; }
    .hero h1 { margin-top: 20px; font-size: clamp(40px, 13vw, 58px); }
    .hero-lead { font-size: 18px; }
    .hero-sub { font-size: 14px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
    .trust-row { flex-direction: column; gap: 11px; }
    .intelligence-stage { min-height: 510px; border-radius: 20px; }
    .ai-core { width: 182px; min-height: 168px; }
    .module-card { min-width: 124px; padding: 11px 10px 10px 12px; }
    .module-card strong { font-size: 12px; }
    .module-card small { font-size: 9px; }
    .module-rota { left: 12px; top: 54px; }
    .module-payroll { right: 12px; top: 50px; }
    .module-finance { right: 8px; top: 215px; }
    .module-care { right: 15px; bottom: 48px; }
    .module-hr { left: 15px; bottom: 47px; }
    .module-recruit { left: 7px; top: 218px; }
    .module-band-inner { justify-content: flex-start; padding: 16px 0; }
    .section { padding: 68px 0; }
    .section-heading { margin-bottom: 28px; }
    .feature-grid, .principles-grid { grid-template-columns: 1fr; }
    .feature-card { min-height: 0; }
    .ai-section-grid { gap: 36px; }
    .metric-row { grid-template-columns: 1fr; }
    .contact-section { padding-bottom: 56px; }
    .contact-card { grid-template-columns: 1fr; gap: 30px; padding: 36px 26px; border-radius: 18px; }
    .footer-inner { min-height: 160px; grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
    .footer-copy { max-width: 340px; }
    .footer-meta { grid-column: auto; padding: 0; }
    .floating-whatsapp { right: 16px; bottom: 16px; width: 48px; height: 48px; padding: 0; justify-content: center; }
    .floating-whatsapp span { display: none; }
}

@media (max-width: 430px) {
    .intelligence-stage { min-height: 480px; }
    .ai-core { top: 51%; width: 170px; min-height: 156px; padding: 16px; }
    .core-mark { width: 50px; height: 50px; }
    .module-card { min-width: 112px; }
    .module-card small { display: none; }
    .module-finance, .module-recruit { top: 212px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
