:root {
    --blue-900: #0a2a4d;
    --blue-700: #124c8f;
    --blue-500: #1c6fd4;
    --gold-500: #d3a642;
    --gold-400: #f1c76a;
    --gray-900: #1b1e24;
    --gray-700: #4f5667;
    --gray-200: #e7e9ef;
    --white: #ffffff;
    --radius: 18px;
    --shadow-soft: 0 20px 50px rgba(9, 31, 67, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: Outfit, sans-serif;
    color: var(--gray-900);
    background: radial-gradient(circle at 20% 0%, #e9f1ff 0%, #f6f7fb 40%, #fcfcfd 100%);
}

body {
    position: relative;
}

.site-bg-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(120deg, rgba(10, 42, 77, 0.04), rgba(211, 166, 66, 0.03));
    z-index: -1;
}

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: linear-gradient(160deg, rgba(10, 42, 77, 0.95), rgba(18, 76, 143, 0.92));
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-header.home-header {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(180deg, rgba(6, 20, 42, 0.78), rgba(6, 20, 42, 0.35));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-row,
.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-row {
    min-height: 42px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.micro-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    margin: 0;
}

.top-links a,
nav a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    margin-left: 14px;
    font-size: 0.9rem;
}

.nav-row {
    min-height: 72px;
    gap: 18px;
}

.brand {
    font-family: "Space Grotesk", sans-serif;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.brand span:last-child {
    letter-spacing: 0.01em;
}

.brand-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    box-shadow: 0 0 0 8px rgba(241, 199, 106, 0.15);
}

nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

nav a {
    padding: 8px 10px;
    border-radius: 10px;
}

nav a.active,
nav a:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
}

.auth-links {
    display: flex;
    gap: 10px;
}

.auth-links .btn.ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.6);
}

.auth-links .btn.primary {
    background: linear-gradient(135deg, #3d6bff, #5b89ff);
    color: #fff;
    box-shadow: 0 12px 22px rgba(61, 107, 255, 0.35);
}

.btn {
    border: none;
    border-radius: 999px;
    padding: 11px 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn.primary {
    background: linear-gradient(130deg, var(--gold-500), var(--gold-400));
    color: var(--blue-900);
    box-shadow: 0 12px 20px rgba(211, 166, 66, 0.25);
}

.btn.ghost {
    background: rgba(255, 255, 255, 0.11);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn.ghost.light {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
}

.btn.danger {
    background: #ffe8ea;
    color: #99263a;
}

.btn.full {
    width: 100%;
}

.hero-slider-wrap {
    position: relative;
}

.hero-slider .swiper-slide {
    min-height: 76vh;
    position: relative;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 76vh;
    object-fit: cover;
    filter: saturate(1.05);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(7, 22, 45, 0.76), rgba(19, 83, 154, 0.42));
}

.slide-overlay.gold {
    background: linear-gradient(110deg, rgba(10, 34, 63, 0.76), rgba(211, 166, 66, 0.42));
}

.slide-content {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    gap: 14px;
    color: var(--white);
}

.kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 600;
    margin: 0;
    color: var(--gold-400);
}

.slide-content h1,
.hero-mini h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.65rem);
    line-height: 1.08;
    max-width: 760px;
}

.slide-content p {
    max-width: 620px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-checklist {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    max-width: 340px;
}

.hero-checklist li {
    position: relative;
    padding-left: 26px;
    color: rgba(255, 255, 255, 0.92);
}

.hero-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 12px;
    height: 12px;
    border: 1.5px solid var(--blue-500);
    border-radius: 50%;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.8);
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--white);
}

.swiper-pagination-bullet-active {
    background: var(--gold-400);
}

.section {
    padding: 68px 0;
}

.section-compact {
    padding: 44px 0;
}

.section-head h2 {
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    margin: 8px 0 24px;
    color: var(--blue-900);
}

.section-intro {
    max-width: 680px;
    margin: -10px auto 0;
    color: var(--gray-700);
}

.muted {
    color: var(--gray-700);
}

.service-type-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.service-tab {
    display: inline-flex;
    align-items: center;
    color: var(--blue-900);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(18, 76, 143, 0.16);
    border-radius: 999px;
    padding: 9px 14px;
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.service-tab:hover {
    transform: translateY(-1px);
    background: rgba(232, 241, 255, 0.95);
}

.service-tab.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(140deg, var(--blue-700), var(--blue-500));
    box-shadow: 0 8px 20px rgba(18, 76, 143, 0.26);
}

.pricing-type-block {
    margin-top: 18px;
    padding-top: 18px;
}

.pricing-type-block + .pricing-type-block {
    margin-top: 28px;
    border-top: 1px solid rgba(18, 76, 143, 0.14);
}

.pricing-type-block[hidden] {
    display: none;
}

.card-cloud {
    position: relative;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.feature-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-grid.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.glass-card,
.panel,
.price-card,
.auth-card,
.empty-state,
.stat {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.73));
    border: 1px solid rgba(18, 76, 143, 0.12);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    padding: 24px;
}

.glass-card h3,
.price-card h3,
.panel h3,
.auth-card h1 {
    margin-top: 0;
    color: var(--blue-900);
}

.feature-cards-clean .glass-card {
    background: #fff;
}

.feature-cards-clean .glass-card a {
    color: var(--blue-500);
    text-decoration: none;
    font-weight: 600;
}

.feature-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    margin-bottom: 14px;
    background: linear-gradient(140deg, #eef4ff, #f8fbff);
    color: var(--blue-500);
    font-size: 1.4rem;
}

.light-section {
    background: linear-gradient(180deg, #eef4ff 0%, #f8fafc 100%);
}

.why-section {
    background: #fff;
}

.trust-strip {
    background: #fff;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.trust-title {
    text-align: center;
    color: var(--gray-700);
    margin: 0 0 12px;
}

.trust-logos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.trust-logos span {
    text-align: center;
    color: #7e8698;
    font-weight: 600;
    padding: 8px;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.kpi-grid article {
    background: #f9fbff;
    border: 1px solid #dbe5f3;
    border-radius: 14px;
    text-align: center;
    padding: 14px;
}

.kpi-grid h3 {
    margin: 0;
    color: var(--blue-700);
}

.kpi-grid p {
    margin: 4px 0 0;
    color: var(--gray-700);
}

.technology-strip {
    background: #fff;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.tech-grid article {
    padding: 10px 14px;
    border-right: 1px solid var(--gray-200);
}

.tech-grid article:last-child {
    border-right: none;
}

.tech-grid strong {
    display: block;
    color: var(--blue-900);
    margin-bottom: 4px;
}

.tech-grid span {
    display: block;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.price-card.featured {
    border-color: rgba(211, 166, 66, 0.6);
    transform: translateY(-8px);
}

.pricing-home-card {
    position: relative;
    background: #fff;
}

.pricing-home-card .btn.primary {
    background: #fff;
    color: var(--blue-500);
    border: 2px solid #9db6ff;
    box-shadow: none;
}

.pricing-home-card .btn.primary:hover {
    background: #f2f6ff;
}

.pricing-home-card.featured .btn.primary {
    background: linear-gradient(135deg, #3d6bff, #5b89ff);
    color: #fff;
    border-color: transparent;
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 24px;
    right: 24px;
    text-align: center;
    background: linear-gradient(135deg, var(--blue-500), #5c84ff);
    color: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 700;
}

.price {
    font-size: 2rem;
    margin: 8px 0 14px;
    color: var(--blue-700);
}

.price span {
    font-size: 1rem;
    color: var(--gray-700);
}

.price-card ul {
    margin: 0 0 18px;
    padding-left: 18px;
}

.price-card li {
    margin: 8px 0;
    color: var(--gray-700);
}

.hero-mini {
    padding: 100px 0 56px;
    background:
        linear-gradient(155deg, rgba(10, 42, 77, 0.94), rgba(18, 76, 143, 0.9)),
        url('/Sabbox/assets/images/sections.png') center/cover no-repeat;
    color: var(--white);
    position: relative;
}

.hero-mini::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 20%, rgba(211, 166, 66, 0.22), transparent 45%);
}

.hero-mini .container {
    position: relative;
    z-index: 1;
}

.center {
    text-align: center;
}

.two-col {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}

.two-col.align-center {
    align-items: center;
}

.icon-list {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.icon-list li {
    position: relative;
    padding-left: 24px;
    color: var(--gray-700);
}

.icon-list strong {
    display: block;
    color: var(--blue-900);
    font-size: 0.98rem;
}

.icon-list li::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(120deg, var(--blue-500), var(--gold-500));
    position: absolute;
    left: 2px;
    top: 8px;
}

.image-placeholder {
    min-height: 270px;
    border-radius: var(--radius);
    background:
        linear-gradient(160deg, rgba(18, 76, 143, 0.88), rgba(10, 42, 77, 0.92)),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 10px, rgba(255, 255, 255, 0.02) 10px 20px);
    color: var(--white);
    display: grid;
    place-items: center;
    font-weight: 600;
    box-shadow: var(--shadow-soft);
}

.image-placeholder.tall {
    min-height: 340px;
}

.team-image-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-soft);
}

.team-image-crop {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.team-image-crop.top {
    object-position: center top;
}

.team-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.96);
    padding: 12px 16px;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(17, 34, 68, 0.16);
}

.team-badge p {
    margin: 2px 0 0;
    font-size: 0.86rem;
    color: var(--gray-700);
}

.team-avatars {
    display: flex;
}

.team-avatars span,
.author-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
    border: 2px solid #fff;
}

.team-avatars span + span {
    margin-left: -8px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.stat h3 {
    margin: 0;
    font-size: 1.9rem;
    color: var(--blue-700);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

thead {
    background: linear-gradient(160deg, var(--blue-900), var(--blue-700));
    color: var(--white);
}

th,
td {
    padding: 14px;
    border-bottom: 1px solid var(--gray-200);
    text-align: left;
}

.checkout-bar {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: var(--shadow-soft);
}

.checkout-layout {
    align-items: start;
}

.form-stack {
    display: grid;
    gap: 10px;
}

input,
select,
textarea {
    border: 1px solid #cfdae9;
    border-radius: 12px;
    padding: 12px 13px;
    font: inherit;
    background: #fff;
}

.payment-note {
    background: #f5f8ff;
    border: 1px solid #d6e0f2;
    border-radius: 12px;
    padding: 12px;
    color: var(--gray-700);
}

.summary-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 9px;
}

.summary-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-200);
}

.summary-total {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
    font-size: 1.15rem;
}

.auth-shell {
    padding: 90px 0;
}

.auth-card {
    max-width: 540px;
    margin: 0 auto;
}

.auth-meta {
    color: var(--gray-700);
}

.auth-meta a {
    color: var(--blue-700);
}

.alert {
    margin-top: 18px;
    border-radius: 12px;
    padding: 14px 16px;
    font-weight: 500;
}

.alert-success {
    background: #e9f9ee;
    color: #1f7c3f;
    border: 1px solid #bbe8c8;
}

.alert-error {
    background: #ffeef0;
    color: #a02a3b;
    border: 1px solid #ffc7ce;
}

.site-footer {
    margin-top: 0;
    padding-top: 38px;
    background: linear-gradient(165deg, #111f36, #1a2942);
    color: rgba(255, 255, 255, 0.88);
}

.cta-banner {
    padding-top: 10px;
}

.image-band-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.footer-art-section {
    padding-top: 10px;
    padding-bottom: 0;
}

.image-band {
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.68));
    border: 1px solid rgba(18, 76, 143, 0.1);
}

.full-band-image {
    display: block;
    width: 100%;
    height: auto;
}

.cta-shell {
    background:
        linear-gradient(120deg, rgba(8, 31, 58, 0.96), rgba(18, 76, 143, 0.9)),
        url('/Sabbox/assets/images/slider2.png') center/cover no-repeat;
    border-radius: 20px;
    color: var(--white);
    padding: 32px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    box-shadow: var(--shadow-soft);
}

.cta-shell h2 {
    margin: 0 0 8px;
}

.cta-shell p {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-image {
    min-height: 150px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(211, 166, 66, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 18px;
}

.footer-grid-refined {
    grid-template-columns: 1.6fr repeat(6, minmax(0, 1fr));
}

.footer-grid-refined > div:first-child {
    padding-right: 14px;
}

.site-footer h4 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #fff;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.social-links a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.75rem;
    font-weight: 700;
}

.quote-mark {
    font-size: 2rem;
    line-height: 1;
    color: var(--blue-500);
    margin-bottom: 8px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
}

.testimonial-author small {
    display: block;
    color: var(--gray-700);
    margin-top: 2px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.slider-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #cfd7ea;
}

.slider-dots .dot.active {
    background: var(--blue-500);
}

.footer-bottom {
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    nav {
        display: none;
    }

    .pricing-grid,
    .feature-grid.four,
    .feature-grid.three,
    .tech-grid,
    .trust-logos,
    .kpi-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-header.home-header {
        position: sticky;
        background: linear-gradient(160deg, rgba(10, 42, 77, 0.95), rgba(18, 76, 143, 0.92));
    }

    .two-col {
        grid-template-columns: 1fr;
    }

    .cta-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .top-row,
    .nav-row,
    .checkout-bar,
    .actions {
        flex-direction: column;
        align-items: stretch;
    }

    .auth-links {
        width: 100%;
    }

    .auth-links .btn {
        flex: 1;
    }

    .pricing-grid,
    .feature-grid,
    .feature-grid.four,
    .feature-grid.three,
    .tech-grid,
    .trust-logos,
    .kpi-grid,
    .stats-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .tech-grid article {
        border-right: none;
        border-bottom: 1px solid var(--gray-200);
    }

    .team-image-crop {
        height: 360px;
    }

    .hero-slider .swiper-slide,
    .slide-image {
        min-height: 68vh;
        height: 68vh;
    }
}
