.sb-about,
.sb-plans,
.sb-plan-dialog {
    --sb-navy: #062d64;
    --sb-blue: #0876bd;
    --sb-cyan: #16a9df;
    --sb-green: #16863b;
    --sb-bg: #f4f8fc;
    --sb-soft: #eef7fd;
    --sb-line: #d7e5f0;
    --sb-muted: #5d7391;
    color: var(--sb-navy);
}

.sb-about {
    position: relative;
    overflow: hidden;
    padding: clamp(54px, 7vw, 96px) 0;
    background: linear-gradient(180deg, #f7fbfe 0%, #edf7fc 100%);
}

.sb-about::before,
.sb-about::after {
    position: absolute;
    z-index: 0;
    content: "";
    border-radius: 50%;
    pointer-events: none;
}

.sb-about::before {
    width: 440px;
    height: 440px;
    top: -220px;
    right: -140px;
    background: rgba(22, 169, 223, .1);
}

.sb-about::after {
    width: 220px;
    height: 220px;
    bottom: -130px;
    left: -90px;
    border: 35px solid rgba(8, 118, 189, .08);
}

.sb-about .container,
.sb-plans .container {
    position: relative;
    z-index: 1;
}

.sb-about-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: clamp(28px, 6vw, 78px);
    align-items: center;
}

.sb-kicker,
.sb-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sb-blue);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.sb-kicker::before,
.sb-section-kicker::before {
    width: 26px;
    height: 3px;
    border-radius: 10px;
    background: var(--sb-cyan);
    content: "";
}

.sb-about-copy h1,
.sb-plans-heading h2 {
    margin: 13px 0 17px;
    color: var(--sb-navy);
    font-weight: 900;
    letter-spacing: -.035em;
    line-height: 1.06;
}

.sb-about-copy h1 { font-size: clamp(2rem, 4vw, 3.75rem); }

.sb-about-copy > p,
.sb-plans-heading > p {
    max-width: 650px;
    margin: 0;
    color: var(--sb-muted);
    font-size: 16px;
    line-height: 1.75;
}

.sb-about-points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 27px 0 0;
    padding: 0;
    list-style: none;
}

.sb-about-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #284b70;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
}

.sb-about-points li::before {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    border-radius: 50%;
    background: #d9f4fc;
    color: var(--sb-blue);
    content: "✓";
    font-size: 12px;
    font-weight: 900;
}

.sb-about-visual {
    position: relative;
    min-height: 330px;
    padding: clamp(20px, 4vw, 38px);
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(140deg, #062d64 5%, #0a5595 66%, #0da8d8 100%);
    box-shadow: 0 24px 60px rgba(6, 45, 100, .2);
}

.sb-about-visual::after {
    position: absolute;
    width: 260px;
    height: 260px;
    right: -75px;
    bottom: -110px;
    border: 38px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    content: "";
}

.sb-about-visual img {
    position: absolute;
    inset: auto 0 0 auto;
    width: 52%;
    max-height: 88%;
    object-fit: contain;
    object-position: bottom right;
    opacity: .78;
    mix-blend-mode: screen;
}

.sb-about-visual-content {
    position: relative;
    z-index: 1;
    max-width: 330px;
    color: #fff;
}

.sb-about-visual-content strong {
    display: block;
    margin-bottom: 12px;
    color: #7ee7ff;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.sb-about-visual-content h2 {
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.1;
}

.sb-about-visual-content p {
    margin: 0;
    color: #dbeefa;
    line-height: 1.65;
}

.sb-plans {
    padding: clamp(56px, 8vw, 104px) 0;
    background: #fff;
}

.sb-plans-heading {
    max-width: 720px;
    margin: 0 auto 29px;
    text-align: center;
}

.sb-plans-heading h2 { font-size: clamp(2rem, 4vw, 3.35rem); }

.sb-billing {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 24px auto 0;
    padding: 5px;
    border: 1px solid var(--sb-line);
    border-radius: 999px;
    background: var(--sb-bg);
}

.sb-billing button {
    min-height: 42px;
    padding: 8px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--sb-muted);
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.sb-billing button.is-active {
    background: var(--sb-navy);
    color: #fff;
    box-shadow: 0 5px 14px rgba(6, 45, 100, .2);
}

.sb-billing-note {
    margin: 12px 0 28px;
    color: var(--sb-muted);
    font-size: 13px;
    text-align: center;
}

.sb-plans-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.sb-demo-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--sb-blue);
    border-radius: 18px;
    background: var(--sb-navy);
    color: #fff;
    box-shadow: 0 14px 36px rgba(6, 45, 100, .16);
}
.sb-demo-media { height: 204px; overflow: hidden; background: #dcecf5; }
.sb-demo-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sb-demo-content { display: flex; flex: 1; flex-direction: column; padding: 23px 22px 25px; text-align: center; }
.sb-demo-kicker { color: #9deafa; font-size: 11px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.sb-demo-card h3 { margin: 13px 0 18px; color: #fff; font-size: 24px; font-weight: 900; }
.sb-demo-card p { margin: 0; color: #fff; font-size: 14px; line-height: 1.6; }
.sb-demo-card .sb-demo-days { margin-bottom: 18px; font-size: 16px; font-weight: 800; }
.sb-demo-actions { margin-top: auto; padding-top: 22px; }
.sb-demo-button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; padding: 9px 24px; border: 1px solid #68defb; border-radius: 999px; background: #68defb; color: var(--sb-navy); font-weight: 900; text-decoration: none; }

.sb-plan-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 28px;
    border: 1px solid var(--sb-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(6, 45, 100, .07);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.sb-plan-card:hover,
.sb-plan-card:focus-within {
    border-color: #7bd9f2;
    box-shadow: 0 20px 48px rgba(6, 45, 100, .15);
    transform: translateY(-5px);
}

.sb-plan-card.is-featured {
    border-color: var(--sb-blue);
    background: linear-gradient(150deg, #062d64 0%, #0a5a98 100%);
    color: #fff;
    transform: translateY(-10px);
}

.sb-plan-card.is-featured:hover,
.sb-plan-card.is-featured:focus-within { transform: translateY(-15px); }

.sb-plan-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #c9f3ff;
    color: var(--sb-navy);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.sb-plan-card h3 {
    margin: 0 0 9px;
    color: var(--sb-navy);
    font-size: 24px;
    font-weight: 900;
}

.sb-plan-card.is-featured h3,
.sb-plan-card.is-featured .sb-plan-description,
.sb-plan-card.is-featured .sb-plan-features { color: #fff; }

.sb-plan-card.is-featured .sb-plan-muted { color: #c8e8f8; }

.sb-plan-price {
    display: flex;
    min-height: 77px;
    flex-direction: column;
    justify-content: center;
    margin: 12px 0 15px;
}

.sb-plan-price strong { font-size: clamp(28px, 3vw, 38px); line-height: 1; }
.sb-plan-price small { margin-top: 7px; color: var(--sb-muted); font-size: 12px; }
.sb-plan-card.is-featured .sb-plan-price small { color: #c8e8f8; }

.sb-plan-description {
    min-height: 70px;
    margin: 0;
    color: var(--sb-muted);
    font-size: 14px;
    line-height: 1.6;
}

.sb-plan-features {
    display: grid;
    gap: 10px;
    margin: 22px 0 26px;
    padding: 0;
    color: #284b70;
    font-size: 13px;
    list-style: none;
}

.sb-plan-features li::before { margin-right: 8px; color: var(--sb-green); content: "✓"; font-weight: 900; }
.sb-plan-card.is-featured .sb-plan-features li::before { color: #82e4fa; }

.sb-plan-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: auto;
}

.sb-plan-actions button,
.sb-plan-actions a {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    border: 1px solid var(--sb-blue);
    border-radius: 9px;
    background: #fff;
    color: var(--sb-blue);
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.sb-plan-actions .sb-plan-request,
.sb-plan-card.is-featured .sb-plan-actions button:first-child {
    background: var(--sb-blue);
    color: #fff;
}

.sb-plan-card.is-featured .sb-plan-actions a { border-color: #8ae8ff; background: transparent; color: #fff; }
.sb-plan-card.is-featured .sb-plan-actions .sb-plan-request { border-color: #68defb; background: #68defb; color: var(--sb-navy); }

.sb-comparison {
    margin-top: 44px;
    overflow: hidden;
    border: 1px solid var(--sb-line);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(6, 45, 100, .06);
}

.sb-comparison h3 {
    margin: 0;
    padding: 20px 22px;
    background: var(--sb-bg);
    color: var(--sb-navy);
    font-size: 18px;
}

.sb-comparison-scroll { overflow-x: auto; }
.sb-comparison table { width: 100%; min-width: 610px; border-collapse: collapse; }
.sb-comparison th,
.sb-comparison td { padding: 14px 18px; border-top: 1px solid var(--sb-line); text-align: center; }
.sb-comparison th:first-child,
.sb-comparison td:first-child { width: 39%; color: #284b70; text-align: left; }
.sb-comparison th { color: var(--sb-navy); font-size: 13px; }
.sb-comparison td { color: var(--sb-blue); font-size: 19px; font-weight: 900; }
.sb-comparison td:first-child { font-size: 13px; font-weight: 700; }

.sb-plan-dialog {
    width: min(680px, calc(100% - 24px));
    max-height: min(760px, calc(100dvh - 24px));
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 100px rgba(4, 29, 61, .35);
    color: var(--sb-navy);
}

.sb-plan-dialog::backdrop { background: rgba(4, 29, 61, .64); backdrop-filter: blur(4px); }
.sb-dialog-shell { max-height: min(760px, calc(100dvh - 24px)); overflow-y: auto; }
.sb-dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 24px 26px 10px; }
.sb-dialog-header h2 { margin: 0; color: var(--sb-navy); font-size: 25px; }
.sb-dialog-close { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border: 1px solid var(--sb-line); border-radius: 50%; background: #fff; color: var(--sb-navy); font-size: 24px; cursor: pointer; }
.sb-dialog-body { padding: 10px 26px 26px; }
.sb-dialog-body p { color: var(--sb-muted); line-height: 1.6; }
.sb-detail-price { margin: 16px 0 18px; color: var(--sb-blue); font-size: 27px; font-weight: 900; }
.sb-detail-list { display: grid; gap: 10px; margin: 0; padding: 0; color: #284b70; list-style: none; }
.sb-detail-list li::before { margin-right: 8px; color: var(--sb-green); content: "✓"; font-weight: 900; }
.sb-dialog-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sb-dialog-actions button { min-height: 46px; padding: 10px 18px; border: 1px solid var(--sb-blue); border-radius: 9px; background: var(--sb-blue); color: #fff; font-family: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.sb-dialog-actions button.secondary { background: #fff; color: var(--sb-blue); }
.sb-request-form { display: grid; gap: 14px; }
.sb-request-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sb-request-field { display: grid; gap: 7px; }
.sb-request-field.full { grid-column: 1 / -1; }
.sb-request-field label { color: #38516e; font-size: 13px; font-weight: 800; }
.sb-request-field input,
.sb-request-field select,
.sb-request-field textarea { width: 100%; min-height: 45px; padding: 10px 12px; border: 1px solid #cbd9e5; border-radius: 9px; background: #fff; color: var(--sb-navy); font: inherit; }
.sb-request-field textarea { min-height: 95px; resize: vertical; }
.sb-request-field input:focus,
.sb-request-field select:focus,
.sb-request-field textarea:focus { outline: 3px solid rgba(22, 169, 223, .2); border-color: var(--sb-cyan); }
.sb-request-selected { padding: 12px 14px; border: 1px solid #bde9f5; border-radius: 10px; background: var(--sb-soft); color: var(--sb-navy); font-size: 14px; font-weight: 800; }
.sb-request-consent { display: flex; align-items: flex-start; gap: 9px; color: var(--sb-muted); font-size: 12px; line-height: 1.45; }
.sb-request-consent input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--sb-blue); }
.sb-form-note { margin: 0; color: var(--sb-muted); font-size: 12px; }
.sb-form-error { margin: 0; padding: 11px 13px; border-radius: 9px; background: #fff0f1; color: #a51f37; font-size: 12px; line-height: 1.45; }
.sb-request-form .sb-dialog-actions { position: sticky; z-index: 2; bottom: -1px; display: grid; grid-template-columns: minmax(0, 1fr) auto; margin: 2px -26px -26px; padding: 14px 26px 26px; border-top: 1px solid rgba(203, 217, 229, .9); background: linear-gradient(180deg, rgba(255, 255, 255, .86), #fff 26%); box-shadow: 0 -8px 18px rgba(4, 29, 61, .06); }
.sb-request-form .sb-dialog-actions button { display: inline-flex; align-items: center; justify-content: center; min-width: 0; }
.sb-request-form .sb-dialog-actions .sb-submit-button { display: inline-flex !important; visibility: visible !important; opacity: 1 !important; position: relative; z-index: 3; width: 100%; min-height: 46px; background: var(--sb-blue) !important; color: #fff !important; }
.sb-confirmation { padding: 16px 0 2px; text-align: center; }
.sb-confirmation-icon { display: grid; width: 54px; height: 54px; margin: 0 auto 15px; place-items: center; border-radius: 50%; background: #dff7e8; color: var(--sb-green); font-size: 27px; font-weight: 900; }
.sb-confirmation h3 { margin: 0 0 10px; color: var(--sb-navy); font-size: 23px; }
.sb-confirmation p { margin: 7px 0; }
.sb-confirmation-number { display: inline-block; margin: 8px 0; padding: 10px 14px; border-radius: 8px; background: var(--sb-navy); color: #fff; font-size: 16px; font-weight: 900; letter-spacing: .06em; }

@media (max-width: 900px) {
    .sb-about-grid { grid-template-columns: 1fr; }
    .sb-about-visual { min-height: 280px; }
    .sb-plans-grid { grid-template-columns: repeat(2, minmax(250px, 1fr)); overflow-x: visible; padding: 4px 3px 13px; }
    .sb-plan-card { min-width: 250px; }
    .sb-plan-card.is-featured { transform: none; }
    .sb-plan-card.is-featured:hover,
    .sb-plan-card.is-featured:focus-within { transform: translateY(-5px); }
}

@media (max-width: 575px) {
    .sb-about-points { grid-template-columns: 1fr; }
    .sb-about-visual { min-height: 330px; }
    .sb-about-visual img { width: 65%; opacity: .48; }
    .sb-plans-grid { grid-template-columns: 1fr; overflow: visible; }
    .sb-plan-card { min-width: 0; padding: 23px 20px; }
    .sb-plan-description { min-height: 0; }
    .sb-comparison { margin-top: 30px; }
    .sb-dialog-header,
    .sb-dialog-body { padding-right: 18px; padding-left: 18px; }
    .sb-request-grid { grid-template-columns: 1fr; }
    .sb-request-field.full { grid-column: auto; }
    .sb-dialog-actions { flex-direction: column; }
    .sb-dialog-actions button { width: 100%; }
    .sb-request-form .sb-dialog-actions { grid-template-columns: 1fr; margin-right: -18px; margin-left: -18px; padding-right: 18px; padding-left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
    .sb-plan-card { transition: none; }
}
