:root {
    --bp-ink: #10243b;
    --bp-navy: #0a2744;
    --bp-navy-deep: #06192d;
    --bp-muted: #5e6f80;
    --bp-line: #dce4e9;
    --bp-soft: #f3f6f7;
    --bp-white: #ffffff;
    --bp-red: #c72d3f;
    --bp-red-dark: #a82033;
    --bp-teal: #138979;
    --bp-shadow: 0 18px 50px rgba(8, 35, 60, .12);
    --bp-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--bp-ink); background: var(--bp-white); font-family: var(--bp-font); font-size: 16px; line-height: 1.7; }
body.bp-lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.bp-shell { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.bp-skip-link { position: fixed; left: 16px; top: -80px; z-index: 5000; padding: 10px 14px; background: #fff; color: var(--bp-navy); }
.bp-skip-link:focus { top: 12px; }

.bp-topbar { position: relative; z-index: 30; color: #d7e3ec; background: var(--bp-navy-deep); font-size: 13px; }
.bp-topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bp-topbar p { margin: 0; }
.bp-topbar-contact { display: flex; align-items: center; gap: 20px; }
.bp-topbar-contact > a:hover { color: #fff; }
.bp-language { display: flex; align-items: center; border-left: 1px solid rgba(255,255,255,.2); padding-left: 18px; gap: 10px; }
.bp-language a { opacity: .6; }
.bp-language a.active, .bp-language a:hover { color: #65d6c7; opacity: 1; }

.bp-header { position: sticky; top: 0; z-index: 25; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(220,228,233,.9); backdrop-filter: blur(16px); }
.bp-header-inner { height: 76px; display: flex; align-items: center; gap: 34px; }
.bp-logo { display: flex; align-items: center; flex: 0 0 auto; }
.bp-logo img { display: block; width: 164px; height: auto; max-height: 52px; object-fit: contain; }
.bp-nav { display: flex; align-items: stretch; align-self: stretch; margin-left: auto; gap: 4px; }
.bp-nav a { position: relative; display: flex; align-items: center; padding: 0 14px; color: #42566a; font-size: 15px; font-weight: 600; }
.bp-nav a::after { position: absolute; right: 14px; bottom: 0; left: 14px; height: 3px; background: var(--bp-red); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.bp-nav a:hover, .bp-nav a.active { color: var(--bp-navy); }
.bp-nav a:hover::after, .bp-nav a.active::after { transform: scaleX(1); }
.bp-header-actions { display: flex; align-items: center; gap: 12px; }
.bp-text-button { border: 0; background: transparent; padding: 10px 4px; font-size: 14px; font-weight: 600; cursor: pointer; }
.bp-text-button:hover { color: var(--bp-red); }
.bp-button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 6px; padding: 10px 20px; font-weight: 700; line-height: 1.3; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.bp-button:hover { transform: translateY(-2px); }
.bp-button-primary { color: #fff; background: var(--bp-red); }
.bp-button-primary:hover { color: #fff; background: var(--bp-red-dark); box-shadow: 0 12px 26px rgba(199,45,63,.24); }
.bp-header-cta { min-height: 42px; padding: 8px 16px; font-size: 14px; }
.bp-menu-button { display: none; width: 44px; height: 44px; border: 0; background: var(--bp-soft); padding: 11px; cursor: pointer; }
.bp-menu-button span { display: block; width: 22px; height: 2px; margin: 4px 0; background: var(--bp-navy); transition: transform .2s ease, opacity .2s ease; }

.bp-hero { position: relative; min-height: 570px; display: flex; align-items: stretch; overflow: hidden; color: #fff; background: var(--bp-navy-deep); }
.bp-hero-media { position: absolute; inset: 0; background-image: url("../images/bplan-home-hero-v2.png"); background-position: center; background-size: cover; }
.bp-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,19,34,.96) 0%, rgba(4,19,34,.78) 34%, rgba(4,19,34,.18) 67%, rgba(4,19,34,.08) 100%); }
.bp-hero-inner { position: relative; min-height: 570px; display: flex; align-items: center; padding-top: 44px; padding-bottom: 52px; }
.bp-hero-content { width: min(610px, 54%); }
.bp-kicker, .bp-eyebrow { margin: 0 0 14px; color: var(--bp-teal); font-size: 13px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.bp-kicker { color: #71d9cb; }
.bp-hero h1 { max-width: 650px; margin: 0; font-size: clamp(44px, 5vw, 68px); line-height: 1.12; font-weight: 760; letter-spacing: 0; }
.bp-hero-lead { max-width: 580px; margin: 24px 0 0; color: #dce6ed; font-size: 19px; line-height: 1.8; }
.bp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.bp-button-accent { color: #fff; background: var(--bp-red); }
.bp-button-accent:hover { color: #fff; background: var(--bp-red-dark); box-shadow: 0 14px 30px rgba(199,45,63,.3); }
.bp-button-ghost { color: #fff; border-color: rgba(255,255,255,.56); background: rgba(3,17,30,.2); }
.bp-button-ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.1); }
.bp-hero-proof { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; color: #e6eef3; font-size: 13px; }
.bp-hero-proof span { position: relative; padding-left: 17px; }
.bp-hero-proof span::before { position: absolute; top: .64em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #62d3c4; content: ""; }

.bp-trust-strip { border-bottom: 1px solid var(--bp-line); background: #fff; }
.bp-stats { min-height: 116px; display: grid; grid-template-columns: repeat(4, 1fr); }
.bp-stats > div { display: flex; flex-direction: column; justify-content: center; padding: 22px 34px; border-right: 1px solid var(--bp-line); }
.bp-stats > div:first-child { padding-left: 0; }
.bp-stats > div:last-child { border-right: 0; }
.bp-stats strong { color: var(--bp-navy); font-size: 30px; line-height: 1.2; }
.bp-stats span { margin-top: 4px; color: var(--bp-muted); font-size: 14px; }

.bp-section { padding: 104px 0; }
.bp-section-heading { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); align-items: end; gap: 80px; margin-bottom: 48px; }
.bp-section-heading h2, .bp-route-copy h2, .bp-cta-band h2 { margin: 0; color: var(--bp-navy); font-size: clamp(32px, 3.3vw, 46px); line-height: 1.28; letter-spacing: 0; }
.bp-section-heading > p { margin: 0 0 5px; color: var(--bp-muted); }
.bp-solution-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 18px; }
.bp-solution { min-height: 350px; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--bp-line); border-radius: 8px; background: #fff; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.bp-solution:hover { transform: translateY(-5px); border-color: #b8c7d0; box-shadow: var(--bp-shadow); }
.bp-solution-featured { color: #fff; border-color: var(--bp-navy); background: var(--bp-navy); }
.bp-solution-top { min-height: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bp-solution-index { color: var(--bp-red); font-size: 13px; font-weight: 800; }
.bp-solution-featured .bp-solution-index { color: #70d6c8; }
.bp-tag { border: 1px solid rgba(255,255,255,.26); border-radius: 99px; padding: 3px 10px; color: #dce8ef; font-size: 12px; }
.bp-solution h3 { margin: 48px 0 12px; color: var(--bp-navy); font-size: 26px; line-height: 1.35; }
.bp-solution-featured h3 { color: #fff; }
.bp-solution p { margin: 0; color: var(--bp-muted); font-size: 15px; }
.bp-solution-featured p { color: #cbd9e3; }
.bp-solution > a { width: fit-content; margin-top: auto; padding-top: 28px; color: var(--bp-red); font-size: 14px; font-weight: 800; }
.bp-solution > a::after, .bp-inline-link::after { margin-left: 8px; content: "→"; }
.bp-solution-featured > a { color: #76dbce; }

.bp-route-section { color: #fff; background: var(--bp-navy-deep); }
.bp-route-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 96px; }
.bp-route-copy { position: sticky; top: 120px; align-self: start; }
.bp-route-copy h2 { color: #fff; }
.bp-route-copy > p:not(.bp-eyebrow) { margin: 22px 0 28px; color: #bfcdda; }
.bp-inline-link { color: #72dacc; font-weight: 700; }
.bp-route { margin: 0; padding: 0; list-style: none; counter-reset: none; }
.bp-route li { display: grid; grid-template-columns: 54px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid rgba(255,255,255,.16); }
.bp-route li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.bp-route li > span { color: #6dd7c8; font-size: 13px; font-weight: 800; }
.bp-route h3 { margin: 0 0 7px; color: #fff; font-size: 22px; }
.bp-route p { margin: 0; color: #b9c9d5; font-size: 15px; }

.bp-why { background: var(--bp-soft); }
.bp-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--bp-line); background: var(--bp-line); }
.bp-why-grid article { min-height: 320px; padding: 34px; background: #fff; }
.bp-why-grid article > span { color: var(--bp-red); font-size: 13px; font-weight: 800; }
.bp-why-grid h3 { margin: 44px 0 14px; color: var(--bp-navy); font-size: 22px; line-height: 1.45; }
.bp-why-grid p { margin: 0; color: var(--bp-muted); font-size: 14px; }

.bp-cta-band { padding: 70px 0; color: #fff; background: var(--bp-red); }
.bp-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.bp-cta-band .bp-eyebrow { color: #ffd8dd; }
.bp-cta-band h2 { color: #fff; }
.bp-cta-band p:not(.bp-eyebrow) { margin: 10px 0 0; color: #ffe9ec; }
.bp-cta-actions { display: flex; align-items: center; gap: 24px; flex: 0 0 auto; }
.bp-button-light { color: var(--bp-red); background: #fff; }
.bp-button-light:hover { color: var(--bp-red-dark); background: #fff; box-shadow: 0 12px 28px rgba(80,8,18,.16); }
.bp-phone-link { border-bottom: 1px solid rgba(255,255,255,.55); font-weight: 700; }

.bp-footer { color: #b9c8d4; background: #061522; }
.bp-footer-main { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 56px; padding-top: 70px; padding-bottom: 56px; }
.bp-footer-brand img { width: 166px; filter: brightness(0) invert(1); }
.bp-footer-brand p { max-width: 350px; margin: 22px 0 0; }
.bp-footer h3 { margin: 0 0 18px; color: #fff; font-size: 15px; }
.bp-footer-main > div:not(.bp-footer-brand) { display: flex; flex-direction: column; align-items: flex-start; }
.bp-footer a, .bp-footer-main p { margin: 4px 0; font-size: 14px; }
.bp-footer a:hover { color: #fff; }
.bp-footer-bottom { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }
.bp-footer-bottom p { margin: 0; }

.bp-login-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(2,15,28,.55); opacity: 0; transition: opacity .25s ease; }
.bp-login-backdrop.is-visible { opacity: 1; }
.bp-login-panel { position: fixed; top: 0; right: 0; z-index: 101; width: min(460px, 100%); height: 100%; padding: 80px 52px 40px; overflow: auto; background: #fff; box-shadow: -20px 0 60px rgba(4,26,46,.18); transform: translateX(105%); transition: transform .3s ease; }
.bp-login-panel.is-visible { transform: translateX(0); }
.bp-login-close { position: absolute; top: 22px; right: 24px; width: 42px; height: 42px; border: 0; background: var(--bp-soft); font-size: 28px; line-height: 1; cursor: pointer; }
.bp-login-panel h2 { margin: 0; color: var(--bp-navy); font-size: 38px; }
.bp-login-intro { margin: 12px 0 32px; color: var(--bp-muted); }
.bp-login-panel form { display: grid; gap: 20px; }
.bp-login-panel label { display: grid; gap: 7px; color: var(--bp-navy); font-size: 14px; font-weight: 700; }
.bp-login-panel input { width: 100%; height: 50px; border: 1px solid #cbd7de; border-radius: 5px; padding: 0 14px; color: var(--bp-ink); outline: none; }
.bp-login-panel input:focus { border-color: var(--bp-teal); box-shadow: 0 0 0 3px rgba(19,137,121,.1); }
.bp-login-submit { width: 100%; margin-top: 4px; border: 0; cursor: pointer; }
.bp-register-link { margin-top: 22px; color: var(--bp-muted); font-size: 14px; }
.bp-register-link a { color: var(--bp-red); font-weight: 700; }

@media (max-width: 1024px) {
    .bp-topbar-inner > p { display: none; }
    .bp-topbar-inner { justify-content: flex-end; }
    .bp-header-inner { gap: 18px; }
    .bp-nav a { padding: 0 9px; font-size: 14px; }
    .bp-hero-content { width: 62%; }
    .bp-solution-grid { grid-template-columns: 1fr 1fr; }
    .bp-solution-featured { grid-row: span 2; }
    .bp-route-layout { gap: 54px; }
}

@media (max-width: 820px) {
    .bp-shell { width: min(100% - 32px, 1200px); }
    .bp-topbar-contact > a:first-child { display: none; }
    .bp-header-inner { height: 68px; }
    .bp-nav { position: absolute; top: 68px; right: 0; left: 0; display: none; height: auto; padding: 12px 16px 18px; border-bottom: 1px solid var(--bp-line); background: #fff; box-shadow: 0 18px 32px rgba(8,35,60,.12); }
    .bp-header.is-open .bp-nav { display: grid; }
    .bp-nav a { min-height: 44px; padding: 0 12px; }
    .bp-nav a::after { right: auto; left: 12px; bottom: 6px; width: 28px; }
    .bp-menu-button { display: block; }
    .bp-header.is-open .bp-menu-button span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
    .bp-header.is-open .bp-menu-button span:nth-child(2) { opacity: 0; }
    .bp-header.is-open .bp-menu-button span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
    .bp-hero, .bp-hero-inner { min-height: 560px; }
    .bp-hero-media { background-position: 62% center; }
    .bp-hero-shade { background: linear-gradient(90deg, rgba(4,19,34,.94), rgba(4,19,34,.62) 66%, rgba(4,19,34,.34)); }
    .bp-hero-content { width: 72%; }
    .bp-stats { grid-template-columns: repeat(2, 1fr); }
    .bp-stats > div { border-bottom: 1px solid var(--bp-line); }
    .bp-stats > div:nth-child(2) { border-right: 0; }
    .bp-stats > div:nth-child(3), .bp-stats > div:nth-child(4) { border-bottom: 0; }
    .bp-stats > div:first-child, .bp-stats > div:nth-child(3) { padding-left: 0; }
    .bp-section { padding: 80px 0; }
    .bp-section-heading { grid-template-columns: 1fr; gap: 20px; }
    .bp-route-layout { grid-template-columns: 1fr; gap: 46px; }
    .bp-route-copy { position: static; }
    .bp-why-grid { grid-template-columns: 1fr; }
    .bp-why-grid article { min-height: 0; }
    .bp-cta-inner { align-items: flex-start; flex-direction: column; gap: 28px; }
    .bp-footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
    .bp-footer-main > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .bp-topbar { display: none; }
    .bp-logo img { width: 142px; }
    .bp-header-actions { margin-left: auto; gap: 8px; }
    .bp-header-cta { display: none; }
    .bp-hero, .bp-hero-inner { min-height: 600px; }
    .bp-hero-media { background-position: 66% center; }
    .bp-hero-shade { background: linear-gradient(90deg, rgba(4,19,34,.95), rgba(4,19,34,.68)); }
    .bp-hero-inner { align-items: flex-end; padding-top: 90px; padding-bottom: 48px; }
    .bp-hero-content { width: 100%; }
    .bp-hero h1 { font-size: 41px; }
    .bp-hero-lead { font-size: 16px; }
    .bp-hero-actions { display: grid; grid-template-columns: 1fr; }
    .bp-button { width: 100%; }
    .bp-hero-proof { gap: 9px 16px; }
    .bp-stats > div { min-height: 96px; padding: 18px 14px; }
    .bp-stats strong { font-size: 24px; }
    .bp-stats span { font-size: 12px; }
    .bp-section { padding: 68px 0; }
    .bp-section-heading h2, .bp-route-copy h2, .bp-cta-band h2 { font-size: 32px; }
    .bp-solution-grid { grid-template-columns: 1fr; }
    .bp-solution { min-height: 300px; padding: 26px; }
    .bp-solution-featured { grid-row: auto; }
    .bp-route li { grid-template-columns: 40px 1fr; gap: 12px; }
    .bp-why-grid article { padding: 28px; }
    .bp-why-grid h3 { margin-top: 28px; }
    .bp-cta-actions { width: 100%; align-items: flex-start; flex-direction: column; }
    .bp-footer-main { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .bp-footer-brand, .bp-footer-main > div:last-child { grid-column: 1 / -1; }
    .bp-footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 18px 0; }
    .bp-login-panel { width: 100%; padding: 72px 24px 32px; }
}

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