:root {
    --crg-ink: #07111f;
    --crg-muted: #53667d;
    --crg-blue: #00A5FF;
    --crg-blue-dark: #075fab;
    --crg-navy: #080516;
    --crg-dark: #061421;
    --crg-slate: #f3f7fb;
    --crg-line: rgba(7,17,31,.10);
    --crg-card: #ffffff;
    --crg-radius: 22px;
    --crg-shadow: 0 24px 70px rgba(7,17,31,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.cybatar-enterprise-public,
body {
    color: var(--crg-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: -0.016em;
    overflow-x: hidden;
}
body.cybatar-enterprise-public { margin: 0; background: #fff; }
a { color: inherit; text-decoration: none; }
.crg-container,
body.cybatar-enterprise-public .container { width: min(1200px, calc(100% - 56px)); max-width: 1200px; margin: 0 auto; }

.crg-enterprise-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--crg-line);
    box-shadow: 0 12px 34px rgba(7,17,31,.04);
}
.nav-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-lockup { display: inline-flex; align-items: center; flex: 0 0 auto; min-width: 230px; font-weight: 950; letter-spacing: .055em; color: #173350; text-transform: uppercase; }
.brand-lockup img { width: auto; max-width: 285px; object-fit: contain; display: block; }
.brand-lockup span { font-size: 15px; letter-spacing: .12em; }
.nav-menu { display: flex !important; align-items: center; justify-content: flex-end; gap: 22px; margin-left: auto; font-size: 14px; font-weight: 850; white-space: nowrap; visibility: visible !important; opacity: 1 !important; }
.nav-menu a { color: var(--crg-ink); opacity: .92; }
.nav-menu a:hover { color: var(--crg-blue-dark); opacity: 1; }
.nav-toggle { display: none !important; }
.nav-cta,
.btn-primary-enterprise {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: var(--crg-navy);
    color: #fff !important;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .05em;
    box-shadow: 0 16px 38px rgba(8,5,22,.18);
    border: 0;
}
.btn-secondary-enterprise {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: #fff;
    color: var(--crg-ink);
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    border: 1px solid rgba(7,17,31,.14);
    box-shadow: 0 12px 30px rgba(7,17,31,.05);
}
.btn-primary-enterprise.light { background: #fff; color: var(--crg-ink) !important; }
.btn-primary-enterprise.full-width { width: 100%; cursor: pointer; margin-top: 16px; }

.enterprise-hero,
.hero.hero-home {
    position: relative;
    overflow: hidden;
    padding: 94px 0 78px;
    background:
        radial-gradient(circle at 80% 8%, rgba(0,165,255,.18), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, #fff 76%) !important;
}
.enterprise-hero:before,
.hero.hero-home:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(7,17,31,.033) 1px, transparent 1px), linear-gradient(90deg, rgba(7,17,31,.033) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, #000, transparent 78%);
    pointer-events: none;
}
.hero-grid,
.hero.hero-home .hero-grid {
    position: relative;
    display: grid !important;
    grid-template-columns: minmax(0, 1.02fr) minmax(380px, 500px) !important;
    gap: clamp(44px, 6vw, 86px) !important;
    align-items: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--crg-blue-dark);
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-weight: 950;
    margin-bottom: 20px;
}
.eyebrow:before { content: ""; width: 38px; height: 3px; border-radius: 99px; background: var(--crg-blue); display: inline-block; }
.hero-copy h1,
.split-heading h2,
.method-grid h2,
.hero.hero-home h1 {
    margin: 0;
    color: var(--crg-ink) !important;
    font-weight: 950;
    line-height: 1.02 !important;
    letter-spacing: -0.055em;
    word-spacing: .02em;
}
.hero-copy h1,
.hero.hero-home h1 { font-size: clamp(48px, 5.2vw, 76px) !important; max-width: 760px; }
.hero-copy p,
.hero.hero-home p { margin: 26px 0 0; max-width: 670px; color: var(--crg-muted); font-size: 19px; line-height: 1.68; letter-spacing: -0.018em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.proof-strip { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 30px; color: #203248; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.proof-strip span { display: inline-flex; align-items: center; gap: 8px; }
.proof-strip span:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--crg-blue); }

.enterprise-command-panel,
.hero-panel {
    min-height: 500px !important;
    border-radius: 34px !important;
    padding: 28px !important;
    background: linear-gradient(145deg, #07111f, #0b1f34 62%, #0b3657) !important;
    color: #fff !important;
    box-shadow: 0 44px 120px rgba(0,40,80,.24) !important;
    position: relative !important;
    overflow: hidden !important;
    border: 0 !important;
}
.enterprise-command-panel:before,
.hero-panel:before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 34px 34px; opacity: .58; }
.enterprise-command-panel:after,
.hero-panel:after { content: ""; position: absolute; width: 300px; height: 300px; right: -105px; bottom: -85px; background: rgba(0,165,255,.23); border-radius: 50%; }
.command-topline, .command-main, .command-foot, .hero-panel > * { position: relative; z-index: 2; }
.command-topline { display: flex; justify-content: space-between; gap: 20px; align-items: center; color: #9bdcff; text-transform: uppercase; font-size: 11px; letter-spacing: .16em; font-weight: 950; }
.command-topline strong { color: rgba(255,255,255,.86); }
.command-main { display: grid; grid-template-columns: .82fr 1fr; gap: 18px; margin-top: 24px; }
.command-score { min-height: 300px; padding: 26px; border-radius: 26px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.055)); border: 1px solid rgba(255,255,255,.13); display: flex; flex-direction: column; justify-content: space-between; }
.command-score small { color: #9bdcff; text-transform: uppercase; letter-spacing: .12em; font-weight: 900; }
.command-score strong { display: block; font-size: 100px; line-height: .8; letter-spacing: -.09em; color: #fff; }
.command-score span { color: rgba(255,255,255,.72); line-height: 1.5; }
.command-stack { display: grid; gap: 14px; }
.command-stack div { padding: 20px; min-height: 94px; border-radius: 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.13); }
.command-stack span { display: block; color: #9bdcff; font-weight: 950; font-size: 12px; margin-bottom: 8px; }
.command-stack strong { display: block; color: #fff; font-size: 24px; letter-spacing: -.04em; line-height: 1; }
.command-stack small { color: rgba(255,255,255,.66); display: block; margin-top: 8px; line-height: 1.45; }
.command-foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; }
.command-foot div { padding: 16px; border-radius: 17px; background: rgba(0,165,255,.10); border: 1px solid rgba(143,216,255,.18); }
.command-foot strong { display: block; color: #fff; font-size: 15px; letter-spacing: -.03em; }
.command-foot span { display: block; margin-top: 4px; color: rgba(255,255,255,.64); font-size: 12px; }
.standard-band { border-top: 1px solid var(--crg-line); border-bottom: 1px solid var(--crg-line); background: #fff; }
.standard-row { display: flex; gap: 24px; align-items: center; justify-content: space-between; min-height: 70px; flex-wrap: wrap; }
.standard-row span { color: var(--crg-blue-dark); font-size: 11px; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.standard-row strong { font-size: 13px; color: #203248; }

.section { padding: 92px 0; }
.split-heading, .method-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(340px, 1fr); gap: 72px; align-items: start; margin-bottom: 46px; }
.split-heading h2, .method-grid h2 { font-size: clamp(38px, 4.1vw, 62px); max-width: 720px; }
.split-heading p, .method-grid p { color: var(--crg-muted); font-size: 18px; line-height: 1.72; margin: 35px 0 0; max-width: 620px; }
.cards-grid { display: grid; gap: 22px; }
.cards-grid.six { grid-template-columns: repeat(3, 1fr); }
.cards-grid.three { grid-template-columns: repeat(3, 1fr); }
.cards-grid.four { grid-template-columns: repeat(4, 1fr); }
.authority-card, .insight-card, .industry-strip a {
    display: block;
    background: var(--crg-card);
    border: 1px solid var(--crg-line);
    border-radius: var(--crg-radius);
    padding: 30px;
    min-height: 218px;
    box-shadow: 0 14px 44px rgba(7,17,31,.045);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.authority-card:hover, .insight-card:hover, .industry-strip a:hover { transform: translateY(-5px); box-shadow: var(--crg-shadow); border-color: rgba(0,165,255,.32); }
.authority-card span, .insight-card span { display: block; color: var(--crg-blue-dark); font-size: 12px; font-weight: 950; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.authority-card h3, .insight-card h3 { color: var(--crg-ink); font-size: 25px; line-height: 1.08; letter-spacing: -.045em; margin: 0 0 16px; }
.authority-card p, .insight-card p, .industry-strip small { color: var(--crg-muted); font-size: 15px; line-height: 1.66; letter-spacing: -.012em; }
.dark-band { position: relative; overflow: hidden; background: #061421; color: #fff; }
.dark-band:after { content: ""; position: absolute; top: -120px; right: -130px; width: 385px; height: 385px; border-radius: 50%; background: rgba(0,165,255,.16); }
.split-heading.light h2 { color: #fff !important; }
.split-heading.light p { color: rgba(255,255,255,.72); }
.operating-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; position: relative; z-index: 2; }
.operating-grid div { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.07); border-radius: 20px; padding: 26px; }
.operating-grid strong { display: block; color: #fff; font-size: 18px; margin-bottom: 10px; letter-spacing: -.04em; }
.operating-grid p { color: rgba(255,255,255,.68); margin: 0; line-height: 1.6; font-size: 14px; }
.method-section { background: #f5f8fb; }
.method-flow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.method-flow span { padding: 10px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--crg-line); color: #203248; font-weight: 850; font-size: 13px; }
.industry-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.industry-strip a { min-height: 210px; padding: 24px; }
.industry-strip span { display: block; color: var(--crg-ink); font-size: 18px; line-height: 1.1; letter-spacing: -.04em; font-weight: 950; margin-bottom: 12px; }
.text-link { display: inline-flex; align-self: center; color: var(--crg-blue-dark); font-weight: 950; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.ecosystem-preview { background: linear-gradient(180deg, #fff, #f8fbff); }
.insight-preview { background: #fff; }
.cta-panel { padding: 76px 0; background: #f1f7fc; }
.cta-inner { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 32px; padding: 42px 52px; border-radius: 30px; background: linear-gradient(135deg, var(--crg-blue), #143c9a); color: #fff; box-shadow: 0 34px 95px rgba(0,80,160,.22); }
.cta-inner h2 { font-size: clamp(28px, 3vw, 44px); line-height: 1.04; letter-spacing: -.05em; margin: 0; color: #fff !important; }
.cta-inner .eyebrow { color: #fff; margin: 0; }
.cta-inner .eyebrow:before { background: #fff; }
.crg-enterprise-footer { background: var(--crg-navy); color: #fff; padding: 72px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 54px; }
.footer-grid h4 { color: #fff; font-size: 24px; letter-spacing: -.045em; margin: 0 0 14px; }
.footer-grid p { color: rgba(255,255,255,.65); max-width: 440px; line-height: 1.7; }
.footer-grid h6 { color: #fff; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; margin-bottom: 16px; }
.footer-grid a, .footer-contact span { display: block; color: rgba(255,255,255,.72); margin: 10px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 48px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.56); font-size: 13px; }

.auth-enterprise-page { background: linear-gradient(135deg, #f8fbff 0%, #fff 45%, #eef7ff 100%); min-height: 100vh; }
.auth-nav { position: relative; }
.auth-menu { gap: 26px; }
.auth-enterprise-shell { width: min(1240px, calc(100% - 72px)); margin: 0 auto; min-height: calc(100vh - 84px); display: grid; grid-template-columns: 1fr 500px; gap: 70px; align-items: center; padding: 76px 0; }
.auth-intelligence-panel h1 { font-size: clamp(48px, 5.5vw, 82px); line-height: .98; letter-spacing: -.065em; margin: 0; color: var(--crg-ink); }
.auth-intelligence-panel p { color: var(--crg-muted); font-size: 19px; line-height: 1.68; max-width: 680px; margin-top: 24px; }
.auth-trust-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 34px; }
.auth-trust-grid div { background: #fff; border: 1px solid var(--crg-line); border-radius: 18px; padding: 20px; box-shadow: 0 12px 34px rgba(7,17,31,.05); }
.auth-trust-grid strong { display: block; font-size: 16px; letter-spacing: -.04em; margin-bottom: 8px; }
.auth-trust-grid span { color: var(--crg-muted); font-size: 13px; line-height: 1.5; }
.auth-card-enterprise { background: rgba(255,255,255,.94); border: 1px solid var(--crg-line); border-radius: 30px; box-shadow: var(--crg-shadow); padding: 40px; }
.auth-card-header h2 { font-size: 38px; line-height: 1; letter-spacing: -.055em; margin: 0 0 10px; color: var(--crg-ink); }
.auth-card-header p { color: var(--crg-muted); margin: 0 0 24px; }
.enterprise-login-form label { display: block; color: var(--crg-ink); font-weight: 900; font-size: 13px; margin: 18px 0 8px; }
.enterprise-login-form .form-control { width: 100%; min-height: 54px; border-radius: 14px; border: 1px solid rgba(7,17,31,.16); padding: 0 16px; box-shadow: none; }
.auth-row { display: flex; justify-content: space-between; align-items: center; margin: 18px 0; gap: 20px; font-size: 14px; }
.remember-row { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; font-weight: 650 !important; color: var(--crg-muted) !important; }
.auth-row a, .auth-card-footer a { color: var(--crg-blue-dark); font-weight: 900; }
.auth-card-footer { border-top: 1px solid var(--crg-line); margin-top: 24px; padding-top: 18px; text-align: center; color: var(--crg-muted); font-size: 14px; }

/* Compatibility overrides for older public files that may still be loaded by legacy routes. */
.hero-panel .panel-topline,
.signal-card span { color: #9bdcff !important; }
.signal-card,
.signal-card.large { background: rgba(255,255,255,.08) !important; border: 1px solid rgba(255,255,255,.13) !important; border-radius: 20px !important; box-shadow: none !important; color: #fff !important; }
.signal-card strong { color: #fff !important; }
.signal-card p { color: rgba(255,255,255,.68) !important; }
.logo-standard { display: none !important; }

@media (max-width: 1180px) {
    .nav-inner { align-items: flex-start; flex-direction: column; padding: 18px 0; gap: 14px; }
    .brand-lockup { min-width: 0; }
    .nav-menu { width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; gap: 18px; }
    .nav-menu::-webkit-scrollbar { height: 4px; }
    .hero-grid,
    .hero.hero-home .hero-grid { grid-template-columns: 1fr !important; gap: 44px !important; }
    .enterprise-command-panel,
    .hero-panel { max-width: 760px; min-height: auto !important; }
    .split-heading, .method-grid { grid-template-columns: 1fr; gap: 24px; }
    .split-heading p, .method-grid p { margin-top: 6px; }
    .cards-grid.six, .cards-grid.three, .cards-grid.four, .operating-grid, .industry-strip { grid-template-columns: repeat(2, 1fr); }
    .auth-enterprise-shell { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
    .crg-container,
    body.cybatar-enterprise-public .container,
    .auth-enterprise-shell { width: min(100% - 32px, 1180px); }
    .nav-menu { font-size: 13px; gap: 16px; }
    .nav-cta { min-height: 40px; padding: 0 18px; }
    .enterprise-hero,
    .hero.hero-home,
    .section { padding: 66px 0; }
    .hero-copy h1,
    .hero.hero-home h1 { font-size: clamp(42px, 10.5vw, 62px) !important; line-height: 1.04 !important; letter-spacing: -.05em; }
    .hero-copy p,
    .hero.hero-home p { font-size: 16px; line-height: 1.64; }
    .command-main, .command-foot, .cards-grid.six, .cards-grid.three, .cards-grid.four, .operating-grid, .industry-strip, .auth-trust-grid, .footer-grid { grid-template-columns: 1fr; }
    .enterprise-command-panel,
    .hero-panel { padding: 22px !important; border-radius: 26px !important; }
    .command-score { min-height: 220px; }
    .command-score strong { font-size: 82px; }
    .split-heading h2, .method-grid h2 { font-size: clamp(34px, 9vw, 48px); }
    .cta-inner { grid-template-columns: 1fr; padding: 34px; }
    .footer-bottom { flex-direction: column; }
    .auth-card-enterprise { padding: 28px; }
}
