:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-soft: #eff6ff;
    --ink: #0f172a;
    --muted: #64748b;
    --line: #e5e7eb;
    --teal: #2563eb;
    --teal-dark: #1d4ed8;
    --green: #16a34a;
    --amber: #f59e0b;
    --blue: #2563eb;
    --red: #ef4444;
    --accent: #06b6d4;
    --navy: #0f172a;
    --shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding: 14px clamp(18px, 4vw, 56px);
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.public-topbar {
    padding: 8px 0;
    background: #0f172a;
    color: rgba(255, 255, 255, 0.86);
    font-size: 13px;
}

.public-topbar-meta,
.public-topbar-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.public-topbar-meta a,
.public-topbar-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
}

.public-topbar-social a {
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.public-topbar-social a:hover {
    background: rgba(255, 255, 255, 0.16);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.brand .site-logo-img {
    display: block;
    width: auto;
    max-width: 190px;
    height: auto;
    max-height: 58px;
    object-fit: contain;
}

.brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 12px;
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 18px;
}

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

.main-nav a {
    padding: 9px 12px;
    border-radius: 999px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--teal-dark);
    background: #eff6ff;
}

.nav-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.panel-topbar {
    position: sticky;
    top: 0;
    z-index: 32;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.panel-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}

.panel-brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 14px;
    font-weight: 800;
}

.panel-brand strong,
.panel-brand small {
    display: block;
}

.panel-brand small {
    color: var(--muted);
    font-size: 12px;
}

.panel-top-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.panel-top-links a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.panel-top-links a:hover {
    color: var(--teal-dark);
}

.panel-userbar {
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-user-meta {
    display: grid;
    line-height: 1.15;
    text-align: right;
}

.panel-user-meta small {
    color: var(--muted);
}

.panel-footer {
    padding: 18px 0 28px;
    color: var(--muted);
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.hero,
.page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.85fr);
    gap: clamp(28px, 5vw, 64px);
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: clamp(44px, 7vw, 88px) clamp(18px, 5vw, 72px);
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.18), transparent 28%),
        radial-gradient(circle at top left, rgba(6, 182, 212, 0.14), transparent 22%),
        linear-gradient(180deg, #f8fbff 0%, #f8fafc 100%);
}

.page-hero.slim {
    display: block;
    min-height: 280px;
    padding-top: 70px;
}

.hero-copy {
    max-width: 720px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 9px;
    border: 1px solid rgba(17, 122, 122, 0.22);
    border-radius: 999px;
    color: var(--teal-dark);
    background: rgba(17, 122, 122, 0.08);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 18px;
    font-size: 58px;
    line-height: 1.04;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 12px;
    font-size: 34px;
    line-height: 1.18;
    letter-spacing: 0;
}

h3 {
    margin-bottom: 10px;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: 0;
}

p {
    color: var(--muted);
}

.hero-copy p,
.page-hero p {
    max-width: 700px;
    font-size: 18px;
}

.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 800;
    white-space: nowrap;
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease, background 140ms ease;
}

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

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
}

.btn-secondary {
    color: #1e3a8a;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border-color: #dbeafe;
}

.btn-line {
    color: #1d4ed8;
    background: transparent;
    border-color: rgba(37, 99, 235, 0.22);
}

.btn-soft {
    color: #1e3a8a;
    background: #eff6ff;
    border-color: #dbeafe;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(110px, 1fr));
    gap: 14px;
    max-width: 560px;
    margin: 34px 0 0;
}

.hero-stats div {
    padding: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.hero-stats dt {
    font-size: 26px;
    font-weight: 900;
}

.hero-stats dd {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.hero-visual {
    overflow: hidden;
    min-height: 500px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.visual-top {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 48px;
    padding: 0 18px;
    color: #d9eeee;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.visual-top span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e27765;
}

.visual-top span:nth-child(2) {
    background: #e0b54f;
}

.visual-top span:nth-child(3) {
    background: #52b987;
}

.visual-top strong {
    margin-left: auto;
    font-size: 13px;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
}

.visual-panel {
    min-height: 140px;
    padding: 18px;
    color: #ecfbf7;
    background: #1b3338;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
}

.visual-panel.tall {
    grid-row: span 2;
    min-height: 294px;
}

.visual-panel.wide {
    grid-column: span 2;
}

.visual-panel small,
.visual-panel em {
    display: block;
    color: #9cc3bf;
    font-style: normal;
}

.visual-panel strong {
    display: block;
    margin: 12px 0;
    font-size: 30px;
}

.bar-set {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
    gap: 10px;
    height: 150px;
    margin-top: 26px;
}

.bar-set span {
    display: block;
    min-height: 24px;
    background: linear-gradient(180deg, #5bd0ba, #e4a640);
    border-radius: 6px 6px 0 0;
}

.health-row {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.content-band,
.split-section,
.cta-band {
    padding: clamp(44px, 6vw, 78px) clamp(18px, 5vw, 72px);
}

.content-band.muted {
    background: var(--surface-soft);
}

.content-band.inner {
    padding: 0;
    background: transparent;
}

.section-header {
    max-width: 780px;
    margin-bottom: 28px;
}

body.admin-page .section-header,
body.admin-page .section-header.mb-4 {
    max-width: none;
    margin-bottom: 12px !important;
}

body.admin-page .section-header .eyebrow {
    font-size: 11px;
    line-height: 1.1;
}

body.admin-page .section-header h2 {
    margin: 4px 0 3px;
    font-size: 22px;
    line-height: 1.15;
}

body.admin-page .section-header p {
    max-width: 760px;
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.35;
}

.rich-editor-field {
    display: grid;
    gap: 7px;
    align-items: stretch;
    color: #42545b;
    font-weight: 800;
}

.rich-editor-field > .crud-field-label {
    margin: 0;
    color: inherit;
    font-weight: inherit;
}

.rich-editor-field textarea[data-rich-editor] {
    min-height: 220px;
}

.rich-editor-field .ck.ck-editor {
    min-width: 0;
    width: 100%;
}

.rich-editor-field .ck.ck-toolbar {
    border-color: #dbeafe;
    border-radius: 14px 14px 0 0;
}

.rich-editor-field .ck.ck-editor__editable {
    min-height: 240px;
    color: #0f172a;
    border-color: #dbeafe;
    border-radius: 0 0 14px 14px;
    box-shadow: inset 0 1px 0 rgba(37, 99, 235, 0.04);
}

.service-content-card .rich-editor-field .ck.ck-editor__editable {
    min-height: 320px;
}

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

.module-card,
.pricing-card,
.case-card,
.feature-panel,
.metric,
.usage-panel,
.release-card,
.roadmap-item,
.setup-card,
.policy-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.module-card,
.pricing-card,
.case-card,
.feature-panel,
.metric,
.usage-panel,
.release-card,
.roadmap-item,
.policy-panel {
    padding: 22px;
}

.module-icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    margin-bottom: 18px;
    color: #fff;
    background: var(--ink);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
}

.compact-list {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.compact-list li {
    position: relative;
    padding-left: 18px;
    color: #46565d;
}

.compact-list li::before {
    position: absolute;
    left: 0;
    content: "";
    width: 7px;
    height: 7px;
    margin-top: 9px;
    background: var(--teal);
    border-radius: 50%;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 24px;
    align-items: start;
}

.split-section.compact {
    padding: 34px 0;
}

.product-list,
.case-grid,
.release-grid,
.roadmap-list {
    display: grid;
    gap: 14px;
}

.product-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 82px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.product-row span {
    display: block;
    color: var(--muted);
    font-size: 14px;
}

.product-row > div:last-child {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.timeline li {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
    color: #405057;
}

.timeline span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    background: var(--teal);
    border-radius: 7px;
    font-size: 12px;
    font-weight: 900;
}

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

.pricing-card {
    display: grid;
    gap: 16px;
}

.pricing-card form {
    display: grid;
}

.pricing-card strong {
    font-size: 28px;
}

.pricing-card small {
    color: var(--muted);
    font-size: 14px;
}

.pricing-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.badge,
.pill {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 26px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.badge {
    color: #5f3908;
    background: #fff0d8;
}

.pill-good {
    color: #0d5b41;
    background: #dff5ed;
}

.pill-warn {
    color: #704300;
    background: #fff1d6;
}

.pill-bad {
    color: #7a1d1d;
    background: #ffe3e3;
}

.pill-info {
    color: #244b9c;
    background: #e4ebff;
}

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

.case-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.tag-cloud,
.security-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.store-filters {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 220px 180px 130px;
    gap: 12px;
    margin-bottom: 24px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

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

.store-card {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto auto;
    gap: 14px;
    height: 100%;
    min-height: 360px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
}

.store-card-media {
    display: grid;
    place-items: center;
    min-height: 148px;
    overflow: hidden;
    color: #2563eb;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    border: 1px solid #dbeafe;
    border-radius: 14px;
    font-size: 34px;
}

.product-card-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 12 / 5;
    min-height: 0;
    overflow: hidden;
    color: #1d4ed8;
    background: #f4f7fb;
    border: 1px solid #dbeafe;
    border-radius: 14px;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: fill;
    object-position: center;
    display: block;
}

.product-card-image.cover img,
.product-card-image.contain img,
.product-card-image.banner-contain img {
    object-fit: fill;
    padding: 0;
}

.product-card-image.logo-contain img {
    object-fit: fill;
    padding: 0;
}

.product-card-image.cover,
.product-card-image.contain,
.product-card-image.logo-contain,
.product-card-image.banner-contain {
    background: #ffffff;
}

.product-card-image.banner-contain {
    background: #ffffff;
}

.product-card-image.banner-contain img {
    padding: 0;
}

.product-card-image span,
.product-card-image.is-broken::after {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border-radius: 16px;
    font-size: 26px;
    font-weight: 900;
    text-transform: uppercase;
}

.product-card-image.is-broken::after {
    content: "N";
}

.store-card h2 {
    margin-bottom: 0;
    font-size: 24px;
}

.store-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.store-meta span {
    padding: 6px 8px;
    color: #405057;
    background: #f3f7f8;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
}

.store-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.store-price strong {
    font-size: 22px;
}

.product-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.45fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    padding: clamp(44px, 7vw, 88px) clamp(18px, 5vw, 72px);
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(17, 122, 122, 0.12), rgba(61, 103, 194, 0.08)), #fbfcfc;
}

.product-hero h1 {
    font-size: 48px;
}

.order-summary {
    display: grid;
    gap: 14px;
}

.order-summary strong {
    font-size: 32px;
}

.payment-method-grid,
.license-checkout-grid {
    display: grid;
    gap: 10px;
}

.payment-method-grid {
    margin-bottom: 16px;
}

.payment-method-option,
.license-checkout-card {
    display: grid;
    gap: 8px;
    padding: 12px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
}

.payment-method-option {
    position: relative;
    grid-template-columns: 18px 36px minmax(0, 1fr);
    align-items: center;
    cursor: pointer;
}

.payment-method-option input {
    margin: 0;
}

.payment-method-option > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 8px;
}

.payment-method-option strong,
.payment-method-option small {
    grid-column: 3;
}

.payment-method-option small {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.license-checkout-panel {
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #dbeafe;
    border-radius: 8px;
}

.license-checkout-panel h2 {
    margin: 4px 0 6px;
    font-size: 22px;
}

.license-checkout-panel p {
    color: #64748b;
    font-size: 13px;
}

.license-checkout-card label {
    display: grid;
    gap: 6px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 800;
}

.tag-cloud span,
.security-strip span {
    padding: 10px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    font-weight: 750;
}

.security-strip span:nth-child(2n) {
    border-color: rgba(61, 103, 194, 0.35);
}

.security-strip span:nth-child(3n) {
    border-color: rgba(217, 133, 27, 0.40);
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    background: #102c2c;
    color: #fff;
}

.cta-band p,
.cta-band h2 {
    color: #fff;
}

.footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 32px clamp(18px, 5vw, 72px);
    color: #dbe3f3;
    background: linear-gradient(135deg, #0f172a, #0b1f4d);
}

.footer p {
    max-width: 560px;
    margin: 8px 0 0;
    color: #aebcbd;
}

.footer-brand-block strong {
    display: block;
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
}

.footer-trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.footer-trust-row a,
.footer-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 12px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
}

.footer-trust-row i {
    color: #38bdf8;
    font-size: 16px;
}

.footer-trust-row .etbis-badge {
    color: #0f172a;
    background: #ffffff;
    border-color: #ffffff;
}

.footer-trust-row .etbis-badge i {
    color: #16a34a;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-content: start;
}

.footer-links a {
    color: #fff;
    font-weight: 800;
}

.app-shell {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 0;
    min-height: calc(100vh - 72px);
}

.sidebar {
    position: sticky;
    top: 72px;
    align-self: start;
    display: grid;
    gap: 6px;
    min-height: calc(100vh - 72px);
    padding: 24px 16px;
    background: linear-gradient(180deg, #0f172a 0%, #0b1f4d 100%);
    color: #fff;
}

.sidebar strong {
    margin-bottom: 14px;
    padding: 0 10px;
}

.sidebar a {
    padding: 10px;
    border-radius: 6px;
    color: #d5e5e2;
    font-weight: 750;
}

.sidebar a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.sidebar a.is-current {
    color: #fff;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.95), rgba(6, 182, 212, 0.92));
}

.workspace {
    min-width: 0;
    padding: clamp(22px, 4vw, 44px);
}

.workspace-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 24px;
}

.workspace-head h1 {
    margin-bottom: 0;
    font-size: 38px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.metric {
    display: grid;
    gap: 8px;
    min-height: 136px;
    border-top: 4px solid var(--teal);
}

.metric strong {
    font-size: 30px;
    line-height: 1.1;
}

.metric span,
.metric small {
    color: var(--muted);
}

.metric-amber {
    border-top-color: var(--amber);
}

.metric-blue {
    border-top-color: var(--blue);
}

.metric-green {
    border-top-color: var(--green);
}

.metric-red {
    border-top-color: var(--red);
}

.panel-section {
    padding: 0;
}

.subnav,
.quick-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 14px 0 18px;
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 4px;
}

.subnav a,
.quick-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    color: #244247;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.subnav a.is-active,
.quick-actions a:hover {
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #2563eb;
}

.compact-actions {
    margin-top: -8px;
}

.table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
}

table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
}

th,
td {
    padding: 13px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

th {
    color: #53636b;
    background: #f8fafb;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

tr:last-child td {
    border-bottom: 0;
}

.table-wrap .btn,
.inline-form .btn {
    min-height: 34px;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: none;
}

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

.tool-grid.mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-button {
    min-height: 54px;
    padding: 10px;
    color: #234044;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 7px;
    cursor: pointer;
    font-weight: 800;
    text-align: left;
}

.tool-button:hover {
    border-color: var(--teal);
}

.usage-layout,
.support-layout,
.ai-review {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    gap: 18px;
    margin-top: 18px;
}

.usage-panel label {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    color: #405057;
    font-weight: 800;
}

meter {
    width: 100%;
    height: 12px;
    margin-top: 6px;
}

.action-stack,
.queue-list {
    display: grid;
    gap: 10px;
}

.queue-list span {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px;
    background: #f6f9fa;
    border: 1px solid var(--line);
    border-radius: 7px;
}

.support-form,
.ai-review form {
    display: grid;
    gap: 12px;
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

label {
    display: grid;
    gap: 7px;
    color: #42545b;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #d5deee;
    border-radius: 12px;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

textarea {
    resize: vertical;
}

.alert-text {
    padding: 14px;
    color: #7a1d1d;
    background: #ffe9e9;
    border: 1px solid #ffc4c4;
    border-radius: 7px;
}

.setup-shell {
    display: grid;
    min-height: calc(100vh - 72px);
    place-items: center;
    padding: 34px 18px;
}

.login-shell {
    display: grid;
    min-height: calc(100vh - 72px);
    place-items: center;
    padding: 34px 18px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 24%),
        radial-gradient(circle at bottom right, rgba(6, 182, 212, 0.10), transparent 22%),
        linear-gradient(180deg, #f8fbff 0%, #f8fafc 100%);
}

.login-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
    gap: 24px;
    width: min(980px, 100%);
    padding: 32px;
    background: #fff;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.09);
}

.auth-panel {
    border-radius: 24px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
}

.auth-copy h1 {
    margin-top: 12px;
    margin-bottom: 12px;
    max-width: 520px;
    font-size: clamp(38px, 4vw, 52px);
    line-height: 1.02;
}

.auth-link-list,
.auth-secondary-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.auth-link-list {
    margin-top: 20px;
}

.auth-link-list a,
.auth-secondary-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 14px;
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    background: #ffffff;
    border: 1px solid #dbe3f0;
    border-radius: 999px;
    box-shadow: none;
}

.auth-link-list a.is-current {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #2563eb;
    box-shadow: none;
}

.auth-link-list a:hover,
.auth-secondary-links a:hover {
    color: #1d4ed8;
    background: #f8fbff;
    border-color: #cbd5e1;
}

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

.auth-form .btn-primary,
.auth-form .btn-secondary {
    min-height: 48px;
    border-radius: 14px;
}

.auth-secondary-links {
    margin-top: 12px;
}

.auth-form .btn-primary {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #2563eb;
    box-shadow: 0 16px 28px rgba(37, 99, 235, 0.16);
}

.auth-form .btn-secondary {
    background: #ffffff;
    border-color: #dbeafe;
    color: #1e3a8a;
}

.login-form,
.entity-form {
    display: grid;
    gap: 12px;
}

.demo-credentials {
    display: grid;
    gap: 6px;
    margin-top: 26px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #dbeafe;
    border-radius: 18px;
}

.demo-credentials span {
    color: #475569;
    font-size: 14px;
}

.auth-highlights {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.auth-highlight {
    padding: 16px 18px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #dbeafe;
    border-radius: 18px;
}

.auth-highlight strong {
    display: block;
    margin-bottom: 6px;
    color: #0f172a;
}

.auth-highlight p {
    margin-bottom: 0;
    font-size: 14px;
}

.auth-copy p {
    max-width: 560px;
}

.auth-form {
    align-content: start;
    padding: 8px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    border: 1px solid #edf2ff;
}

.auth-form label {
    color: #0f172a;
    font-weight: 700;
}

.auth-form input,
.auth-form textarea,
.auth-form select {
    margin-top: 8px;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d5deee;
    border-radius: 14px;
    background: #f8fbff;
}

.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus {
    outline: none;
    border-color: #93c5fd;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
    background: #ffffff;
}

.admin-login-only-page {
    min-height: 100vh;
    background: #f4f7fb;
}

.admin-login-only-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
}

.admin-login-card {
    display: grid;
    gap: 24px;
    width: min(420px, 100%);
    padding: 32px;
    background: #ffffff;
    border: 1px solid #dde5f0;
    border-radius: 8px;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.10);
}

.admin-login-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-login-brand img {
    width: 148px;
    max-width: 62%;
    height: auto;
}

.admin-login-brand span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    color: #1e3a8a;
    font-size: 12px;
    font-weight: 800;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
}

.admin-login-heading {
    display: grid;
    gap: 6px;
}

.admin-login-heading h1 {
    margin: 0;
    color: #0f172a;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: 0;
}

.admin-login-heading p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

.admin-login-form {
    display: grid;
    gap: 14px;
}

.admin-login-form label {
    display: grid;
    gap: 8px;
    margin: 0;
    color: #1e293b;
    font-size: 13px;
    font-weight: 800;
}

.admin-login-form input {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
}

.admin-login-form input:focus {
    outline: none;
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.admin-login-form .btn-primary,
.admin-login-actions .btn {
    min-height: 48px;
    border-radius: 8px;
}

.admin-login-form .btn-primary {
    width: 100%;
    background: #1d4ed8;
    border-color: #1d4ed8;
    box-shadow: none;
}

.admin-login-form .btn-primary:hover {
    background: #1e40af;
    border-color: #1e40af;
}

.admin-login-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

@media (max-width: 560px) {
    .admin-login-only-shell {
        align-items: start;
        padding: 18px;
    }

    .admin-login-card {
        padding: 24px;
    }

    .admin-login-brand {
        align-items: flex-start;
        flex-direction: column;
    }

    .admin-login-brand img {
        max-width: 180px;
    }

    .admin-login-actions {
        grid-template-columns: 1fr;
    }
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin: 0 0 18px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.form-grid .wide-field {
    grid-column: span 2;
}

.form-grid .button-field {
    align-self: end;
}

body.admin-page .form-grid {
    gap: 16px;
    padding: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbe3ea;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

body.admin-page .form-grid label,
body.admin-page .integration-field,
body.admin-page .crud-field-label {
    display: grid;
    gap: 7px;
    color: #172033;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.25;
}

body.admin-page input:not([type="checkbox"]):not([type="radio"]),
body.admin-page select,
body.admin-page textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.02);
    transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

body.admin-page textarea {
    min-height: 112px;
    resize: vertical;
}

body.admin-page input::placeholder,
body.admin-page textarea::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

body.admin-page input:not([type="checkbox"]):not([type="radio"]):focus,
body.admin-page select:focus,
body.admin-page textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
    background: #ffffff;
}

body.admin-page input[type="checkbox"],
body.admin-page input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
}

body.admin-page input[type="file"] {
    padding: 8px;
    cursor: pointer;
}

body.admin-page .btn {
    border-radius: 10px;
    font-weight: 800;
}

body.admin-page .form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

body.admin-page .form-grid .wide-field,
body.admin-page .form-grid .rich-editor-field {
    grid-column: span 2;
}

body.admin-page .form-grid .button-field {
    grid-column: 1 / -1;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}

body.admin-page .form-grid .button-field > div {
    justify-content: flex-end;
}

body.admin-page .switch-row,
body.admin-page .form-grid label > .d-flex.align-items-center {
    min-height: 44px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
}

body.admin-page .service-editor-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

body.admin-page .service-editor-grid label {
    display: grid;
    gap: 7px;
    color: #172033;
    font-size: 13px;
    font-weight: 800;
}

body.admin-page .service-editor-grid .wide-field {
    grid-column: span 2;
}

.setting-subsection {
    display: grid;
    gap: 4px;
    margin: 4px 0 0;
    padding: 14px 16px;
    background: linear-gradient(180deg, #f8fbff, #ffffff);
    border: 1px solid #dbeafe;
    border-left: 4px solid #2563eb;
    border-radius: 14px;
}

.setting-subsection span {
    color: #0f172a;
    font-size: 16px;
    font-weight: 900;
}

.setting-subsection small {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.check-field {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 12px;
    color: var(--muted);
    background: #f8fbfb;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.check-field input {
    width: auto;
}

.secret-box {
    display: grid;
    gap: 8px;
    margin: 0 0 14px;
    padding: 16px;
    background: #f5f9f8;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.secret-box span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.secret-box strong {
    color: var(--ink);
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: clamp(18px, 2vw, 24px);
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

.code-block {
    margin: 0 0 18px;
    padding: 12px;
    color: #21343b;
    background: #eef5f5;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.rbac-form {
    display: grid;
    gap: 12px;
    min-width: min(720px, 68vw);
}

.matrix-checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(190px, 1fr));
    gap: 8px;
}

.matrix-checks.role-checks {
    grid-template-columns: repeat(2, minmax(150px, 1fr));
}

.matrix-checks .check-field {
    align-items: flex-start;
    min-height: 58px;
    margin: 0;
}

.matrix-checks small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.muted-note {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.setup-card {
    width: min(780px, 100%);
    padding: 32px;
}

.setup-list {
    display: grid;
    gap: 10px;
    margin: 24px 0;
}

.setup-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px;
    background: #f8fafb;
    border: 1px solid var(--line);
    border-radius: 7px;
}

.setup-list dt {
    color: var(--muted);
    font-weight: 800;
}

.setup-list dd {
    margin: 0;
    font-weight: 800;
}

.notice {
    margin: 16px 0;
    padding: 14px;
    border-radius: 7px;
    font-weight: 800;
}

.notice-good {
    color: #0d5b41;
    background: #ddf5ed;
}

.notice-bad {
    color: #7a1d1d;
    background: #ffe3e3;
}

.roadmap-item {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
}

.roadmap-item h2 {
    margin-bottom: 0;
    font-size: 22px;
}

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

pre {
    overflow-x: auto;
    padding: 16px;
    color: #eaf6f6;
    background: #172126;
    border-radius: 7px;
}

.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
    max-width: min(420px, calc(100vw - 36px));
    padding: 14px 16px;
    color: #fff;
    background: #172126;
    border-radius: 8px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.hero-enterprise {
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
}

.hero.hero-slider {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: calc(100vh - 96px);
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.03), rgba(37, 99, 235, 0.09)),
        linear-gradient(180deg, #f8fbff 0%, #eef6ff 54%, #f8fafc 100%);
}

.hero.hero-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.76), transparent 78%);
}

.hero-slider-copy {
    max-width: 780px;
}

.hero-copy-stage {
    position: relative;
    min-height: 360px;
}

.hero-slide {
    display: none;
}

.hero-slide.is-active {
    display: block;
    animation: heroSlideIn 360ms ease both;
}

.hero-slide h1 {
    max-width: 800px;
    margin: 16px 0 18px;
    font-size: 62px;
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-slide p {
    max-width: 680px;
    color: #475569;
    font-size: 18px;
    line-height: 1.65;
}

.hero-slider-controls {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid #dbeafe;
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
}

.hero-slider-nav {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    color: #1d4ed8;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 50%;
    cursor: pointer;
}

.hero-slider-dots {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.hero-slider-dots button {
    width: 24px;
    height: 7px;
    padding: 0;
    background: #cbd5e1;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: width 180ms ease, background 180ms ease;
}

.hero-slider-dots button.is-active {
    width: 42px;
    background: #2563eb;
}

@keyframes heroSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-trust-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
    color: #475569;
    font-weight: 700;
}

.hero-trust-inline strong {
    color: var(--ink);
}

.hero-showcase,
.showcase-window,
.showcase-body,
.showcase-panels {
    display: grid;
}

.showcase-window {
    overflow: hidden;
    border: 1px solid #dbeafe;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 20px 48px rgba(37, 99, 235, 0.12);
}

.showcase-topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.showcase-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.showcase-topbar span:first-child {
    background: #2563eb;
}

.showcase-topbar span:nth-child(2) {
    background: #06b6d4;
}

.showcase-topbar span:nth-child(3) {
    background: #0f172a;
}

.showcase-topbar b {
    margin-left: auto;
    color: #0f172a;
}

.showcase-body {
    gap: 18px;
    padding: 22px;
}

.showcase-visual-copy {
    padding: 18px;
    background: linear-gradient(180deg, #eff6ff, #ffffff);
    border: 1px solid #dbeafe;
    border-radius: 20px;
}

.showcase-visual-slide {
    display: none;
    align-items: center;
    gap: 14px;
}

.showcase-visual-slide.is-active {
    display: flex;
    animation: heroSlideIn 320ms ease both;
}

.showcase-visual-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 16px;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.22);
    font-size: 22px;
}

.showcase-visual-slide h3 {
    margin: 0 0 5px;
    color: #0f172a;
    font-size: 20px;
}

.showcase-visual-slide p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

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

.showcase-metrics article,
.status-mini {
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
}

.showcase-metrics small,
.status-mini span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.showcase-metrics strong,
.status-mini strong {
    display: block;
    margin: 8px 0 6px;
    color: #0f172a;
    font-size: 24px;
}

.showcase-metrics em {
    color: #16a34a;
    font-style: normal;
    font-size: 13px;
    font-weight: 700;
}

.showcase-panels {
    grid-template-columns: minmax(0, 1fr) 190px;
    gap: 16px;
}

.showcase-chart {
    padding: 18px;
    background: linear-gradient(180deg, #eff6ff, #ffffff);
    border: 1px solid #dbeafe;
    border-radius: 20px;
}

.showcase-side {
    display: grid;
    gap: 12px;
}

.trust-bar {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 18px clamp(18px, 5vw, 72px) 0;
    margin-top: -22px;
}

.trust-item {
    display: grid;
    gap: 4px;
    padding: 18px 20px;
    background: #0f172a;
    border-radius: 18px;
    color: #ffffff;
}

.trust-item i {
    color: #38bdf8;
    font-size: 22px;
}

.trust-item small {
    color: #cbd5e1;
}

.landing-section {
    padding-top: 56px;
    padding-bottom: 56px;
}

.service-grid,
.sector-grid,
.product-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.site-page #urunler .product-card-grid {
    --home-market-gap: clamp(8px, 1.15vw, 18px);
    --home-market-pad: clamp(10px, 1.1vw, 18px);
    --home-market-title: clamp(14px, 1.35vw, 21px);
    --home-market-text: clamp(10px, 0.86vw, 14px);
    --home-market-button: clamp(10px, 0.82vw, 13px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--home-market-gap);
}

body.site-page #urunler .product-card-grid .store-card {
    gap: clamp(7px, 0.72vw, 11px);
    min-height: 0;
    padding: var(--home-market-pad);
}

body.site-page #urunler .product-card-grid .product-card-image {
    border-radius: clamp(10px, 0.9vw, 14px);
}

body.site-page #urunler .product-card-grid .badge,
body.site-page #urunler .product-card-grid .store-meta span,
body.site-page #urunler .product-card-grid .store-package-choice,
body.site-page #urunler .product-card-grid .store-price-stack small {
    font-size: clamp(9px, 0.72vw, 12px);
    line-height: 1.25;
}

body.site-page #urunler .product-card-grid .store-card h2 {
    font-size: var(--home-market-title);
    line-height: 1.15;
}

body.site-page #urunler .product-card-grid .product-card-slogan {
    min-height: calc(var(--home-market-text) * 2.8);
    font-size: var(--home-market-text);
    line-height: 1.4;
}

body.site-page #urunler .product-card-grid .store-meta,
body.site-page #urunler .product-card-grid .store-package-switch {
    gap: clamp(4px, 0.45vw, 8px);
}

body.site-page #urunler .product-card-grid .store-package-choice {
    min-height: clamp(28px, 2.35vw, 34px);
    padding: clamp(5px, 0.62vw, 8px) clamp(5px, 0.72vw, 10px);
}

body.site-page #urunler .product-card-grid .store-price-stack strong {
    font-size: clamp(15px, 1.55vw, 24px);
}

body.site-page #urunler .product-card-grid .marketplace-actions {
    gap: clamp(5px, 0.62vw, 10px);
}

body.site-page #urunler .product-card-grid .marketplace-cart-form {
    gap: clamp(5px, 0.62vw, 10px);
}

body.site-page #urunler .product-card-grid .marketplace-action {
    gap: clamp(3px, 0.42vw, 7px);
    min-height: clamp(34px, 3.1vw, 44px);
    padding: clamp(7px, 0.72vw, 11px) clamp(6px, 0.8vw, 12px);
    border-radius: clamp(8px, 0.9vw, 12px);
    font-size: var(--home-market-button);
}

body.site-page #urunler .product-card-grid .marketplace-action i {
    font-size: clamp(11px, 0.95vw, 15px);
}

.service-card,
.feature-panel-pro,
.panel-surface,
.dashboard-main-card,
.dashboard-widget {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.service-card {
    height: 100%;
}

.icon-badge {
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 22px;
}

.text-link {
    color: #2563eb;
    font-weight: 800;
}

.product-cover {
    width: 100%;
    aspect-ratio: 12 / 5;
    object-fit: fill;
    object-position: center;
    padding: 0;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.placeholder-cover {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #dbeafe, #eff6ff 55%, #e0f2fe);
}

.placeholder-cover span {
    color: #1d4ed8;
    font-size: 48px;
    font-weight: 900;
}

.product-card-pro h2 {
    font-size: 22px;
}

.pricing-card-pro {
    min-height: 100%;
}

.integration-cloud span {
    background: #ffffff;
    border: 1px solid #dbeafe;
}

.integration-logo-groups {
    display: grid;
    gap: 16px;
}

.integration-logo-group {
    padding: 16px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.integration-logo-group header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.integration-logo-group header span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.integration-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.integration-logo-card {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 86px;
    padding: 12px;
    background: linear-gradient(180deg, #ffffff, #fbfdff);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.integration-logo-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    transform: translateY(-2px);
}

.integration-logo-mark {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 62px;
    height: 62px;
    color: #ffffff;
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 12px 24px rgba(15, 23, 42, 0.14);
}

.integration-logo-mark i {
    position: absolute;
    top: 8px;
    right: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

.integration-logo-mark b {
    max-width: 52px;
    overflow: hidden;
    font-size: 16px;
    font-weight: 950;
    line-height: 1;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.integration-logo-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.integration-logo-copy strong {
    color: #0f172a;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.15;
}

.integration-logo-copy small {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.sector-showcase {
    background:
        linear-gradient(135deg, rgba(219, 234, 254, 0.46), rgba(255, 255, 255, 0.9) 48%, rgba(240, 253, 244, 0.62)),
        #ffffff;
}

.sector-solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.sector-solution-card {
    --sector-accent: rgba(255, 255, 255, 0.72);
    --sector-shadow: rgba(15, 23, 42, 0.18);
    position: relative;
    isolation: isolate;
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 260px;
    padding: 24px;
    overflow: hidden;
    color: #ffffff;
    background: var(--sector-bg);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    box-shadow: 0 22px 46px var(--sector-shadow);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.sector-solution-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.18), transparent 42%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 42px);
    opacity: 0.9;
}

.sector-solution-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 58px var(--sector-shadow);
}

.sector-solution-icon {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.sector-solution-icon i {
    font-size: 24px;
}

.sector-solution-kicker {
    width: fit-content;
    color: var(--sector-accent);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

.sector-solution-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 26px;
    font-weight: 950;
    line-height: 1.12;
}

.sector-solution-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.55;
}

.sector-solution-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: auto;
}

.sector-solution-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 9px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
}

.sector-tone-rose {
    --sector-bg: linear-gradient(135deg, #9f1239, #e11d48 58%, #fb7185);
    --sector-accent: #ffe4e6;
    --sector-shadow: rgba(190, 18, 60, 0.26);
}

.sector-tone-blue {
    --sector-bg: linear-gradient(135deg, #1e3a8a, #2563eb 56%, #06b6d4);
    --sector-accent: #dbeafe;
    --sector-shadow: rgba(37, 99, 235, 0.25);
}

.sector-tone-amber {
    --sector-bg: linear-gradient(135deg, #92400e, #f59e0b 56%, #f97316);
    --sector-accent: #fef3c7;
    --sector-shadow: rgba(245, 158, 11, 0.27);
}

.sector-tone-green {
    --sector-bg: linear-gradient(135deg, #065f46, #059669 56%, #22c55e);
    --sector-accent: #dcfce7;
    --sector-shadow: rgba(5, 150, 105, 0.25);
}

.integrations-page {
    background: #f8fafc;
}

.integrations-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: clamp(24px, 4vw, 54px);
    min-height: 560px;
    padding: clamp(58px, 7vw, 96px) clamp(18px, 5vw, 72px);
    color: #ffffff;
    background:
        linear-gradient(120deg, rgba(14, 165, 233, 0.18), transparent 32%),
        repeating-linear-gradient(115deg, rgba(96, 165, 250, 0.08) 0 1px, transparent 1px 54px),
        linear-gradient(135deg, #020617 0%, #082f49 48%, #0f172a 100%);
    align-items: center;
}

.integrations-hero-copy {
    display: grid;
    gap: 18px;
    max-width: 700px;
}

.integrations-hero h1 {
    max-width: 720px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(30px, 3.8vw, 48px);
    font-weight: 950;
    line-height: 1.08;
}

.integrations-hero p,
.integrations-cta p {
    max-width: 640px;
    margin: 0;
    color: #d7e8ff;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.7;
}

.integrations-hero-panel {
    display: grid;
    gap: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 8px;
    box-shadow: 0 28px 68px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(18px);
}

.integration-hub-map {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    background: rgba(2, 6, 23, 0.28);
    border: 1px solid rgba(147, 197, 253, 0.16);
    border-radius: 8px;
}

.integration-hub-map span {
    display: grid;
    place-items: center;
    min-height: 76px;
    color: #ffffff;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.42), rgba(14, 165, 233, 0.18));
    border: 1px solid rgba(191, 219, 254, 0.22);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.integration-hub-map i {
    font-size: 28px;
}

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

.integrations-stat-grid article {
    display: grid;
    gap: 5px;
    min-height: 104px;
    padding: 16px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.integrations-stat-grid strong {
    color: #0f172a;
    font-size: 30px;
    font-weight: 950;
    line-height: 1;
}

.integrations-stat-grid span {
    color: #475569;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.3;
}

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

.integrations-pillar-grid article {
    display: grid;
    gap: 14px;
    min-height: 230px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.07);
}

.integrations-pillar-grid article > span {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 8px;
}

.integrations-pillar-grid h2 {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
    font-weight: 950;
}

.integrations-pillar-grid p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.premium-integration-groups {
    display: grid;
    gap: 18px;
}

.premium-integration-group {
    --premium-accent: #2563eb;
    display: grid;
    gap: 18px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.07);
}

.premium-integration-group header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.premium-integration-group header span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 9px;
    padding: 6px 10px;
    color: var(--premium-accent);
    background: color-mix(in srgb, var(--premium-accent) 9%, #ffffff);
    border: 1px solid color-mix(in srgb, var(--premium-accent) 16%, #ffffff);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.premium-integration-group header h2 {
    max-width: 560px;
    margin: 0;
    color: #0f172a;
    font-size: clamp(15px, 1.6vw, 18px);
    font-weight: 950;
    line-height: 1.35;
}

.premium-integration-group header em {
    flex: 0 0 auto;
    color: #0f172a;
    font-style: normal;
    font-size: 13px;
    font-weight: 900;
}

.premium-integration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.premium-integration-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-height: 82px;
    padding: 12px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.premium-integration-card > span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid color-mix(in srgb, var(--premium-accent) 18%, #e2e8f0);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 22px rgba(15, 23, 42, 0.07);
}

.premium-integration-logo img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.premium-integration-card strong {
    display: block;
    color: #0f172a;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.2;
}

.premium-integration-card small {
    color: #64748b;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.3;
}

.premium-tone-navy { --premium-accent: #1e3a8a; }
.premium-tone-sky { --premium-accent: #0284c7; }
.premium-tone-amber { --premium-accent: #d97706; }
.premium-tone-green { --premium-accent: #059669; }
.premium-tone-rose { --premium-accent: #e11d48; }

.integrations-cta {
    background: linear-gradient(135deg, #0f172a, #1e3a8a 64%, #059669);
}

@media (max-width: 1180px) {
    .integrations-hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .integrations-pillar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .integrations-hero {
        padding: 42px 18px;
    }

    .integration-hub-map,
    .integrations-stat-grid,
    .integrations-pillar-grid {
        grid-template-columns: 1fr;
    }

    .integrations-hero-panel,
    .premium-integration-group {
        padding: 14px;
    }

    .premium-integration-group header,
    .integrations-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .premium-integration-card {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .premium-integration-card > span {
        width: 46px;
        height: 46px;
    }
}

.integration-logo-tone-navy .integration-logo-mark { background: linear-gradient(135deg, #0f172a, #1e3a8a); }
.integration-logo-tone-blue .integration-logo-mark { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.integration-logo-tone-sky .integration-logo-mark { background: linear-gradient(135deg, #06b6d4, #0284c7); }
.integration-logo-tone-green .integration-logo-mark { background: linear-gradient(135deg, #10b981, #15803d); }
.integration-logo-tone-amber .integration-logo-mark { background: linear-gradient(135deg, #f59e0b, #ea580c); }
.integration-logo-tone-red .integration-logo-mark { background: linear-gradient(135deg, #ef4444, #b91c1c); }

.cta-band-pro {
    border-radius: 24px 24px 0 0;
    background: linear-gradient(135deg, #0f172a, #1d4ed8 70%, #06b6d4);
}

@media (max-width: 1200px) {
    .store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.admin-shell-pro {
    display: grid;
    grid-template-columns: 262px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    width: min(1880px, calc(100% - 16px));
    margin: 0 auto;
    padding: 10px 0 20px;
}

.sidebar-pro {
    position: sticky;
    top: 84px;
    align-self: start;
    min-height: calc(100vh - 100px);
    padding: 18px 14px;
    background: linear-gradient(180deg, #0f172a 0%, #0b1f4d 100%);
    color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.16);
}

.sidebar-pro a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    color: rgba(226, 232, 240, 0.88);
    font-size: 13px;
    font-weight: 700;
}

.sidebar-pro a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.sidebar-pro a.is-current {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.98), rgba(6, 182, 212, 0.92));
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

body.admin-page {
    --admin-sidebar-width: 288px;
    --admin-topbar-height: 58px;
}

body.admin-page .panel-topbar {
    min-height: var(--admin-topbar-height);
}

body.admin-page .panel-topbar > .container-fluid {
    min-height: var(--admin-topbar-height);
}

body.admin-page .admin-shell-pro,
body.admin-page .app-shell.admin-shell-pro {
    display: block;
    width: auto;
    max-width: none;
    min-height: calc(100vh - var(--admin-topbar-height));
    margin: 0 0 0 var(--admin-sidebar-width);
    padding: 16px 18px 28px;
}

body.admin-page .admin-shell-pro.crud-shell-pro {
    padding-top: 16px;
}

body.admin-page .admin-sidebar {
    position: fixed;
    inset: var(--admin-topbar-height) auto 0 0;
    z-index: 24;
    display: block;
    width: var(--admin-sidebar-width);
    height: calc(100dvh - var(--admin-topbar-height));
    min-width: 0;
    min-height: 0;
    max-height: calc(100dvh - var(--admin-topbar-height));
    padding: 10px 10px 18px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    border: 0;
    border-right: 1px solid #dbe3ea;
    border-radius: 0;
    box-shadow: none;
}

body.admin-page .panel-footer {
    margin-left: var(--admin-sidebar-width);
    border-top: 1px solid #dbe3ea;
    background: #f4f6f9;
}

body.admin-page .sidebar-pro::-webkit-scrollbar {
    width: 8px;
}

body.admin-page .sidebar-pro::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

body.admin-page .sidebar-pro strong,
body.admin-page .sidebar-branding strong {
    color: #0f172a;
}

body.admin-page .sidebar-branding {
    display: none;
}

body.admin-page .sidebar-branding span {
    color: #64748b;
}

body.admin-page .sidebar-nav {
    gap: 4px;
    padding-top: 0;
    margin-top: 0;
}

body.admin-page .admin-sidebar-nav {
    display: grid;
    gap: 6px;
    padding: 0;
    overflow: visible;
}

body.admin-page .sidebar-group {
    display: grid;
    gap: 4px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eef2f7;
}

body.admin-page .sidebar-group:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

body.admin-page .sidebar-group-label {
    display: block;
    padding: 6px 10px 4px;
    margin-bottom: 3px;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.1;
    text-transform: none;
}

body.admin-page .sidebar-group-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
    text-align: left;
    cursor: pointer;
}

body.admin-page .sidebar-group-toggle i {
    color: #64748b;
    transition: transform 160ms ease;
}

body.admin-page .sidebar-group.is-open .sidebar-group-toggle {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #dbeafe;
}

body.admin-page .sidebar-group.is-open .sidebar-group-toggle i {
    color: #1d4ed8;
    transform: rotate(180deg);
}

body.admin-page .sidebar-submenu {
    display: none;
    gap: 4px;
    padding: 5px 0 0 8px;
}

body.admin-page .sidebar-group.is-open .sidebar-submenu {
    display: grid;
}

body.admin-page .sidebar-group:first-child .sidebar-group-label {
    padding-top: 0;
}

body.admin-page .sidebar-group-label + a {
    margin-top: 0;
}

body.admin-page .sidebar-pro a {
    gap: 3px !important;
    column-gap: 3px !important;
    justify-content: flex-start;
    text-align: left;
    min-height: 38px;
    padding: 5px 8px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: 0;
    box-shadow: none;
    transition: color 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

body.admin-page .sidebar-pro a i {
    display: inline-grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    font-size: 14px;
    text-align: center;
    transition: color 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

body.admin-page .sidebar-pro a span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.admin-page .sidebar-pro a:hover,
body.admin-page .sidebar-pro a.is-current {
    color: #0f172a;
    background: #ffffff;
    border-color: #dbeafe;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
    transform: translateX(2px);
}

body.admin-page .sidebar-pro a:hover i,
body.admin-page .sidebar-pro a.is-current i {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: transparent;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.24);
}

body.admin-page .sidebar-pro a.is-current {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

body.admin-page .sidebar-branding {
    display: none;
}

body.admin-page .admin-sidebar-nav {
    padding-bottom: 18px;
}

body.admin-page .sidebar-group {
    scroll-margin-top: 84px;
}

body.admin-page .sidebar-group-label {
    color: #334155;
    letter-spacing: 0;
    text-transform: none;
}

body.admin-page .sidebar-pro a {
    min-width: 0;
}

body.admin-page .sidebar-pro a span {
    font-weight: 760;
}

body.portal-page,
body.partner-page {
    --panel-sidebar-width: 288px;
    --panel-topbar-height: 58px;
}

body.portal-page .panel-topbar,
body.partner-page .panel-topbar {
    min-height: var(--panel-topbar-height);
}

body.portal-page .panel-topbar > .container-fluid,
body.partner-page .panel-topbar > .container-fluid {
    min-height: var(--panel-topbar-height);
}

body.portal-page .admin-shell-pro,
body.portal-page .app-shell.admin-shell-pro,
body.partner-page .admin-shell-pro,
body.partner-page .app-shell.admin-shell-pro {
    display: block;
    width: auto;
    max-width: none;
    min-height: calc(100vh - var(--panel-topbar-height));
    margin: 0 0 0 var(--panel-sidebar-width);
    padding: 16px 18px 28px;
}

body.portal-page .panel-fixed-sidebar,
body.partner-page .panel-fixed-sidebar {
    position: fixed;
    inset: var(--panel-topbar-height) auto 0 0;
    z-index: 24;
    display: block;
    width: var(--panel-sidebar-width);
    height: calc(100dvh - var(--panel-topbar-height));
    min-width: 0;
    min-height: 0;
    max-height: calc(100dvh - var(--panel-topbar-height));
    padding: 14px 14px 20px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: #0f172a;
    border: 0;
    border-right: 1px solid #dbe3ea;
    border-radius: 0;
    box-shadow: none;
}

body.portal-page .panel-footer,
body.partner-page .panel-footer {
    margin-left: var(--panel-sidebar-width);
    border-top: 1px solid #dbe3ea;
    background: #f4f6f9;
}

body.portal-page .panel-fixed-sidebar::-webkit-scrollbar,
body.partner-page .panel-fixed-sidebar::-webkit-scrollbar {
    width: 8px;
}

body.portal-page .panel-fixed-sidebar::-webkit-scrollbar-thumb,
body.partner-page .panel-fixed-sidebar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 999px;
}

body.portal-page .panel-fixed-sidebar strong,
body.portal-page .sidebar-branding strong,
body.partner-page .panel-fixed-sidebar strong,
body.partner-page .sidebar-branding strong {
    color: #0f172a;
}

body.portal-page .panel-fixed-sidebar .sidebar-branding,
body.partner-page .panel-fixed-sidebar .sidebar-branding {
    padding: 0 0 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

body.portal-page .panel-fixed-sidebar .sidebar-branding span,
body.partner-page .panel-fixed-sidebar .sidebar-branding span {
    color: #64748b;
}

body.portal-page .panel-fixed-sidebar .sidebar-nav,
body.partner-page .panel-fixed-sidebar .sidebar-nav {
    gap: 4px;
    padding-top: 0;
    margin-top: 0;
}

body.portal-page .panel-fixed-sidebar .admin-sidebar-nav,
body.partner-page .panel-fixed-sidebar .admin-sidebar-nav {
    display: grid;
    gap: 10px;
    padding: 0;
    overflow: visible;
}

body.portal-page .panel-fixed-sidebar .sidebar-group,
body.partner-page .panel-fixed-sidebar .sidebar-group {
    display: grid;
    gap: 4px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef2f7;
}

body.portal-page .panel-fixed-sidebar .sidebar-group:last-child,
body.partner-page .panel-fixed-sidebar .sidebar-group:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

body.portal-page .panel-fixed-sidebar .sidebar-group-label,
body.partner-page .panel-fixed-sidebar .sidebar-group-label {
    display: block;
    padding: 0 10px;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1.1;
    text-transform: uppercase;
}

body.portal-page .panel-fixed-sidebar a,
body.partner-page .panel-fixed-sidebar a {
    gap: 3px !important;
    column-gap: 3px !important;
    justify-content: flex-start;
    text-align: left;
    min-height: 42px;
    padding: 6px 9px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #1f2937;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: 0;
    box-shadow: none;
    transition: color 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

body.portal-page .panel-fixed-sidebar a i,
body.partner-page .panel-fixed-sidebar a i {
    display: inline-grid;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    font-size: 14px;
    text-align: center;
    transition: color 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

body.portal-page .panel-fixed-sidebar a span,
body.partner-page .panel-fixed-sidebar a span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.portal-page .panel-fixed-sidebar a:hover,
body.portal-page .panel-fixed-sidebar a.is-current,
body.partner-page .panel-fixed-sidebar a:hover,
body.partner-page .panel-fixed-sidebar a.is-current {
    color: #0f172a;
    background: #ffffff;
    border-color: #dbeafe;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
    transform: translateX(2px);
}

body.portal-page .panel-fixed-sidebar a:hover i,
body.portal-page .panel-fixed-sidebar a.is-current i,
body.partner-page .panel-fixed-sidebar a:hover i,
body.partner-page .panel-fixed-sidebar a.is-current i {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: transparent;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.24);
}

body.portal-page .panel-fixed-sidebar a.is-current,
body.partner-page .panel-fixed-sidebar a.is-current {
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.workspace-pro {
    min-width: 0;
    padding: 0;
}

.workspace-head-pro {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: 1px solid #dbeafe;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.metrics-grid-pro {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.breadcrumb-line {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.metrics-grid-pro .metric {
    min-height: 132px;
    border-top-width: 0;
    border-left: 4px solid transparent;
    border-radius: 18px;
}

.metrics-grid-pro .metric-blue { border-left-color: #2563eb; }
.metrics-grid-pro .metric-green { border-left-color: #16a34a; }
.metrics-grid-pro .metric-teal { border-left-color: #06b6d4; }
.metrics-grid-pro .metric-red { border-left-color: #ef4444; }

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) 320px;
    gap: 14px;
    margin-bottom: 14px;
}

.dashboard-main-card,
.dashboard-widget,
.panel-surface {
    padding: 20px;
}

.dashboard-side-stack {
    display: grid;
    gap: 18px;
}

.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.card-head a {
    color: #2563eb;
    font-weight: 700;
}

.quick-actions-pro {
    margin: 0;
}

.split-section-pro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 18px;
}

.portal-shell-pro,
.crud-shell-pro {
    gap: 16px;
    padding: 10px 0 20px;
}

.portal-sidebar-pro,
.crud-sidebar-pro {
    min-width: 248px;
    border-radius: 20px;
}

.sidebar-branding {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 0 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-branding span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 13px;
}

.sidebar-nav {
    display: grid;
    gap: 6px;
}

.surface-card {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.05);
}

.crud-list-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.crud-list-head h2 {
    margin: 4px 0 3px;
    font-size: 22px;
    line-height: 1.15;
}

.crud-list-head p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.crud-list-head .btn {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 14px;
}

.crud-image-thumb {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 42px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.crud-image-thumb img {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: fill;
    object-position: center;
}

.crud-image-thumb.is-empty {
    color: #94a3b8;
    font-size: 18px;
}

.crud-upload-preview {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    margin-top: 8px;
    padding: 8px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.crud-upload-preview img {
    width: 72px;
    height: 48px;
    object-fit: fill;
    object-position: center;
    background: #ffffff;
    border-radius: 6px;
}

.crud-upload-preview > i {
    display: grid;
    width: 72px;
    height: 48px;
    place-items: center;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 6px;
    font-size: 22px;
}

.crud-upload-preview small {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 12px;
    font-weight: 750;
}

.crud-field-help,
.crud-field-help-muted {
    display: block;
    margin-top: 6px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.45;
}

.crud-field-help-muted {
    color: #64748b;
    font-weight: 650;
}

.crud-shell-pro .surface-card {
    padding: 16px;
}

.admin-shell-pro .surface-card .section-header + .table-wrap,
.admin-shell-pro .section-header + .table-wrap {
    margin-top: 0;
}

.admin-shell-pro .surface-card > .section-header:first-child {
    margin-top: 0;
}

.crud-shell-pro .surface-card > .form-grid {
    gap: 10px;
    margin-bottom: 12px;
    padding: 12px;
}

.stack-panels {
    display: grid;
    gap: 18px;
    margin: 24px 0;
}

.workspace-pro > .panel-section,
.workspace-pro > .split-section-pro,
.workspace-pro > .surface-card {
    margin-bottom: 16px;
}

.crud-shell-pro .surface-card,
.portal-shell-pro .surface-card,
.admin-shell-pro .panel-surface,
.admin-shell-pro .dashboard-main-card,
.admin-shell-pro .dashboard-widget,
.admin-shell-pro .feature-panel-pro {
    overflow: hidden;
}

.crud-shell-pro .workspace-head-pro,
.portal-shell-pro .workspace-head-pro,
.admin-shell-pro .workspace-head-pro {
    margin-bottom: 16px;
}

.crud-shell-pro .table-wrap,
.portal-shell-pro .table-wrap,
.admin-shell-pro .table-wrap {
    border-radius: 18px;
}

.customer-profile-shell {
    display: grid;
    gap: 18px;
}

.customer-profile-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #1d4ed8 62%, #06b6d4);
    border-radius: 14px;
}

.customer-profile-hero .eyebrow {
    color: #dff7ff;
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.24);
}

.customer-profile-hero h2 {
    margin: 8px 0 4px;
    font-size: 28px;
}

.customer-profile-hero p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.customer-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

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

.customer-summary-grid article,
.customer-field-grid > div {
    display: grid;
    gap: 5px;
    min-width: 0;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.customer-summary-grid span,
.customer-field-grid span {
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.customer-summary-grid strong,
.customer-field-grid strong {
    min-width: 0;
    color: #0f172a;
    font-size: 15px;
    overflow-wrap: anywhere;
}

.customer-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 10px;
    scrollbar-width: thin;
}

.customer-tabs button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 12px;
    color: #334155;
    background: #ffffff;
    border: 1px solid #dbe3ea;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.customer-tabs button.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.customer-tab-content {
    display: none;
}

.customer-tab-content.is-active {
    display: grid;
    gap: 14px;
}

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

.customer-tab-panel {
    display: grid;
    gap: 12px;
}

.customer-tab-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.customer-tab-head h3 {
    margin-bottom: 4px;
}

.customer-tab-head p {
    margin: 0;
    font-size: 13px;
}

.customer-tab-head > span {
    flex: 0 0 auto;
    padding: 6px 10px;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

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

.system-status-card {
    position: relative;
    display: grid;
    gap: 6px;
    min-height: 142px;
    padding: 16px;
    overflow: hidden;
    color: #ffffff;
    border-radius: 14px;
    isolation: isolate;
}

.system-status-card::after {
    position: absolute;
    inset: auto -20px -36px auto;
    width: 100px;
    height: 100px;
    content: "";
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    z-index: -1;
}

.system-status-card i {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    font-size: 19px;
}

.system-status-card span,
.system-status-card small {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 800;
}

.system-status-card strong {
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
}

.status-server { background: linear-gradient(135deg, #2563eb, #0f3a8a); }
.status-invoice { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.status-license { background: linear-gradient(135deg, #059669, #065f46); }
.status-alert { background: linear-gradient(135deg, #f97316, #b91c1c); }

.dashboard-order-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    min-width: max-content;
}

.dashboard-order-action-form {
    display: inline-flex;
    margin: 0;
}

.order-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    padding: 6px 8px;
    color: #ffffff;
    border: 0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.10);
}

.order-action-btn:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.order-action-detail { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.order-action-edit { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.order-action-delete { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.order-action-approve { background: linear-gradient(135deg, #22c55e, #15803d); }
.order-action-reject { background: linear-gradient(135deg, #f97316, #c2410c); }

.crud-shell-pro table,
.portal-shell-pro table,
.admin-shell-pro table {
    min-width: 900px;
}

.service-editor-shell {
    padding: 0 !important;
}

.service-editor-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.18), transparent 34%),
        linear-gradient(110deg, #020617 0%, #071d3d 58%, #0f3b62 100%);
}

.service-editor-hero h2 {
    margin: 8px 0 6px;
    color: #ffffff;
    font-size: 30px;
}

.service-editor-hero p {
    max-width: 760px;
    margin: 0;
    color: #cfe2ff;
    font-size: 14px;
}

.service-editor-status {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: 420px;
}

.service-editor-status span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 10px;
    color: #e0f2fe;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.service-editor-form {
    padding: 18px;
}

.service-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
}

.service-editor-main {
    display: grid;
    gap: 18px;
}

.service-editor-card,
.service-preview-card,
.service-editor-ai-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.service-editor-card {
    padding: 18px;
}

.service-editor-card-head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin-bottom: 16px;
}

.service-editor-card-head h3 {
    margin: 0 0 4px;
    color: #0f172a;
    font-size: 20px;
}

.service-editor-card-head p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.service-editor-step {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 12px;
    font-weight: 900;
}

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

.service-editor-grid label {
    display: grid;
    gap: 7px;
    min-width: 0;
    color: #334155;
    font-size: 12px;
    font-weight: 900;
}

.service-editor-grid .wide-field {
    grid-column: 1 / -1;
}

.service-editor-grid input,
.service-editor-grid select,
.service-editor-grid textarea {
    width: 100%;
    min-height: 42px;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.service-editor-grid textarea {
    resize: vertical;
    line-height: 1.55;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-weight: 600;
}

.service-editor-grid input:focus,
.service-editor-grid select:focus,
.service-editor-grid textarea:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
    outline: 0;
}

.switch-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 42px;
    padding: 8px 10px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
}

.switch-row input {
    width: 18px;
    min-height: 18px;
}

.service-studio-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.service-studio-toolbar .btn {
    min-height: 38px;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 12px;
}

.service-editor-note {
    display: flex;
    gap: 9px;
    margin-top: 12px;
    padding: 12px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
}

.service-editor-note i {
    color: #2563eb;
}

.service-editor-aside {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 14px;
}

.service-preview-card {
    overflow: hidden;
}

.service-preview-image {
    display: grid;
    min-height: 190px;
    place-items: center;
    color: #bfdbfe;
    background:
        linear-gradient(135deg, rgba(6, 182, 212, 0.18), transparent 40%),
        linear-gradient(110deg, #020617, #0b2b58);
    font-size: 42px;
}

.service-preview-image img {
    width: 100%;
    height: 220px;
    padding: 0;
    object-fit: fill;
    object-position: center;
}

.service-preview-body {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.service-preview-body > span {
    width: fit-content;
    padding: 5px 9px;
    color: #075985;
    background: #e0f2fe;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.service-preview-body h3 {
    margin: 0;
    color: #0f172a;
    font-size: 22px;
}

.service-preview-body p {
    margin: 0;
    color: #64748b;
    line-height: 1.55;
}

.service-preview-html {
    max-height: 260px;
    overflow: auto;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}

.service-preview-html h2,
.service-preview-html h3 {
    font-size: 18px;
}

.service-preview-html ul {
    margin: 8px 0 0;
    padding-left: 18px;
}

.service-editor-ai-card {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.service-editor-ai-card strong {
    color: #0f172a;
    font-size: 16px;
}

.service-editor-ai-card p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.service-editor-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.service-editor-metrics span {
    display: grid;
    gap: 2px;
    padding: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
}

.service-editor-metrics b {
    color: #0f172a;
    font-size: 20px;
}

.service-editor-metrics small {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
}

.service-editor-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin: 18px -18px -18px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.92);
    border-top: 1px solid #e2e8f0;
    backdrop-filter: blur(12px);
}

.crud-shell-pro th,
.crud-shell-pro td,
.portal-shell-pro th,
.portal-shell-pro td,
.admin-shell-pro th,
.admin-shell-pro td {
    padding: 12px 14px;
}

.provider-brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.provider-brand-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.provider-brand-icon {
    display: inline-grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-size: 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.provider-brand-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.provider-brand-copy strong {
    color: #0f172a;
    font-size: 15px;
}

.provider-brand-copy span {
    color: #64748b;
    font-size: 12px;
    font-weight: 700;
}

.provider-brand-card em {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 6px 10px;
    border-radius: 999px;
    color: #0f172a;
    background: #f8fafc;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.provider-tone-navy .provider-brand-icon { background: linear-gradient(135deg, #0f172a, #1e3a8a); }
.provider-tone-sky .provider-brand-icon { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }
.provider-tone-green .provider-brand-icon { background: linear-gradient(135deg, #10b981, #16a34a); }
.provider-tone-amber .provider-brand-icon { background: linear-gradient(135deg, #f59e0b, #f97316); }
.provider-tone-blue .provider-brand-icon { background: linear-gradient(135deg, #2563eb, #1d4ed8); }

.integration-settings-form {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.integration-setting-card {
    position: relative;
    overflow: hidden;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #dbe5ef;
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
}

.integration-setting-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: #2563eb;
}

.integration-card-head {
    position: relative;
    min-height: 52px;
    margin-bottom: 14px;
    padding: 0 72px 14px 0;
    border-bottom: 1px solid #e8eef6;
}

.integration-card-head h2 {
    margin: 0 0 5px;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: 0;
}

.integration-card-head p {
    max-width: 760px;
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.45;
}

.integration-card-logo {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-grid;
    place-items: center;
    width: 52px;
    height: 52px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 16px;
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.24);
    font-size: 22px;
}

.integration-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
}

.integration-field {
    gap: 6px;
    margin: 0;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.integration-card-grid .wide-field {
    grid-column: 1 / -1;
}

.integration-card-grid input,
.integration-card-grid select,
.integration-card-grid textarea {
    min-height: 42px;
    padding: 9px 11px;
    color: #0f172a;
    background: #fbfdff;
    border: 1px solid #d8e2ee;
    border-radius: 11px;
    font-size: 13px;
}

.integration-card-grid textarea {
    min-height: 86px;
}

.integration-card-grid input:focus,
.integration-card-grid select:focus,
.integration-card-grid textarea:focus {
    background: #ffffff;
}

.integration-form-actions {
    display: flex;
    justify-content: flex-end;
    padding: 2px 0 10px;
}

.integration-form-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.integration-tone-navy::before,
.integration-tone-navy .integration-card-logo { background: linear-gradient(135deg, #0f172a, #1e3a8a); }
.integration-tone-sky::before,
.integration-tone-sky .integration-card-logo { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }
.integration-tone-green::before,
.integration-tone-green .integration-card-logo { background: linear-gradient(135deg, #10b981, #16a34a); }
.integration-tone-amber::before,
.integration-tone-amber .integration-card-logo { background: linear-gradient(135deg, #f59e0b, #f97316); }
.integration-tone-blue::before,
.integration-tone-blue .integration-card-logo { background: linear-gradient(135deg, #2563eb, #1d4ed8); }

.public-auth-modal .modal-dialog {
    width: min(760px, calc(100% - 24px));
    margin-right: auto;
    margin-left: auto;
}

.public-auth-modal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.16);
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
}

.public-auth-modal .modal-header {
    align-items: flex-start;
    padding: 22px 24px 16px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border-bottom: 1px solid #e2e8f0;
}

.public-auth-modal .modal-title {
    margin: 3px 0 0;
    color: #0f172a;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0;
}

.public-auth-modal .modal-body {
    padding: 18px 24px 24px;
}

.auth-modal-tabs {
    gap: 8px;
    padding: 6px;
    margin-bottom: 18px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.auth-modal-tabs .nav-link {
    min-height: 38px;
    padding: 8px 16px;
    color: #475569;
    border-radius: 10px;
    font-weight: 800;
}

.auth-modal-tabs .nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.auth-modal-form {
    display: grid;
    gap: 14px;
}

.auth-modal-register-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.auth-modal-form label {
    display: grid;
    gap: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.auth-modal-form input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    outline: 0;
}

.auth-modal-form input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.auth-modal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
}

.auth-modal-actions a {
    color: #2563eb;
    font-weight: 800;
}

.auth-modal-form .wide-field {
    grid-column: 1 / -1;
}

.auth-access-page .main-nav-links {
    display: none;
}

.auth-access-page .topbar {
    min-height: 72px;
}

.auth-access-page .nav-actions {
    margin-left: auto;
}

.auth-access-page .public-topbar {
    display: none;
}

.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1120px) {
    .admin-shell-pro {
        grid-template-columns: 1fr;
        width: calc(100% - 12px);
        gap: 12px;
        padding: 10px 0 18px;
    }

    .sidebar-pro {
        position: static;
        min-height: 0;
    }

    body.admin-page .admin-shell-pro,
    body.admin-page .app-shell.admin-shell-pro {
        width: 100%;
        margin-left: 0;
        padding: 8px 8px 18px;
    }

    body.admin-page .admin-sidebar {
        position: static;
        width: auto;
        inset: auto;
        margin-bottom: 12px;
    }

    body.admin-page .sidebar-pro {
        top: 0;
        min-height: 0;
        max-height: none;
        overflow: visible;
        border-left: 1px solid #dbe3ea;
        border-radius: 16px;
    }

    body.admin-page .panel-footer {
        margin-left: 0;
    }

    body.portal-page .admin-shell-pro,
    body.portal-page .app-shell.admin-shell-pro,
    body.partner-page .admin-shell-pro,
    body.partner-page .app-shell.admin-shell-pro {
        width: 100%;
        margin-left: 0;
        padding: 8px 8px 18px;
    }

    body.portal-page .panel-fixed-sidebar,
    body.partner-page .panel-fixed-sidebar {
        position: static;
        width: auto;
        height: auto;
        max-height: none;
        inset: auto;
        margin-bottom: 12px;
        overflow: visible;
        border: 1px solid #dbe3ea;
        border-radius: 16px;
    }

    body.portal-page .panel-footer,
    body.partner-page .panel-footer {
        margin-left: 0;
    }

    .workspace-pro {
        padding-top: 0;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-copy-stage {
        min-height: 300px;
    }

    .hero-slide h1 {
        font-size: 50px;
    }

    .hero-visual {
        min-height: 420px;
    }

    .module-grid,
    .pricing-grid,
    .case-grid,
    .release-grid,
    .store-grid,
    .metrics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tool-grid,
    .showcase-metrics,
    .trust-bar,
    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

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

    .portal-shell-pro,
    .crud-shell-pro {
        grid-template-columns: 1fr;
        padding: 8px 0 18px;
    }

    .sidebar {
        position: relative;
        top: 0;
        display: flex;
        min-height: auto;
        overflow-x: auto;
    }

    .sidebar strong {
        min-width: fit-content;
        margin: 0;
        padding: 10px;
    }

    .sidebar a {
        min-width: fit-content;
    }

    .portal-sidebar-pro,
    .crud-sidebar-pro {
        position: static;
        min-width: 0;
    }

    .metrics-grid-pro,
    .dashboard-grid,
    .split-section-pro {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workspace-head-pro {
        flex-direction: column;
    }
}

@media (max-width: 760px) {
    .topbar {
        align-items: flex-start;
    }

    .public-topbar .container-fluid {
        align-items: flex-start !important;
    }

    .panel-topbar .container-fluid {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .panel-userbar {
        width: 100%;
        justify-content: space-between;
    }

    .public-auth-modal .modal-header,
    .public-auth-modal .modal-body {
        padding-right: 16px;
        padding-left: 16px;
    }

    .auth-modal-register-grid {
        grid-template-columns: 1fr;
    }

    .auth-modal-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .auth-modal-actions .btn {
        width: 100%;
    }

    .footer-trust-row {
        justify-content: flex-start;
    }

    .brand {
        min-width: auto;
    }

    .menu-toggle {
        display: inline-grid;
        place-items: center;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        display: none;
        justify-content: flex-start;
        padding: 12px 18px 18px;
        background: #fff;
        border-bottom: 1px solid var(--line);
    }

    .main-nav.is-open {
        display: flex;
    }

    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 28px;
    }

    .hero,
    .page-hero.slim {
        padding: 42px 18px;
    }

    .hero.hero-slider {
        min-height: auto;
    }

    .hero-copy-stage {
        min-height: auto;
    }

    .hero-slide h1 {
        font-size: 38px;
        line-height: 1.08;
    }

    .hero-slide p {
        font-size: 16px;
        line-height: 1.55;
    }

    .hero-slider .hero-actions {
        flex-direction: column;
    }

    .hero-slider .hero-actions .btn {
        width: 100%;
    }

    .hero-slider-controls {
        width: 100%;
        justify-content: space-between;
        border-radius: 18px;
    }

    .showcase-visual-slide {
        align-items: flex-start;
    }

    .hero-stats,
    .module-grid,
    .pricing-grid,
    .case-grid,
    .release-grid,
    .store-grid,
    .metrics-grid,
    .login-panel,
    .product-hero,
    .split-section,
    .usage-layout,
    .support-layout,
    .ai-review,
    .form-grid,
    .store-filters,
    .trust-bar,
    .showcase-metrics,
    .showcase-panels,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid-pro,
    .split-section-pro {
        grid-template-columns: 1fr;
    }

    .rbac-form {
        min-width: 0;
    }

    .matrix-checks,
    .matrix-checks.role-checks {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: auto;
    }

    .visual-grid {
        grid-template-columns: 1fr;
    }

    .visual-panel.tall,
    .visual-panel.wide {
        grid-column: auto;
        grid-row: auto;
        min-height: 150px;
    }

    .tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .workspace-head,
    .workspace-head-pro,
    .cta-band,
    .product-row,
    .store-price,
    .footer,
    .roadmap-item {
        align-items: stretch;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    .product-row,
    .store-price,
    .cta-band,
    .footer {
        display: flex;
    }

    .product-row > div:last-child {
        justify-content: space-between;
    }

    .setup-list div {
        flex-direction: column;
    }

    .provider-brand-card {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .provider-brand-card em {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

.white-label-page {
    background: #f7f8f6;
}

.tenant-topbar {
    border-bottom-color: color-mix(in srgb, var(--teal) 22%, var(--line));
}

.tenant-shell {
    width: min(1220px, calc(100% - 36px));
    margin: 0 auto;
    padding: 32px 0 56px;
}

.tenant-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 32px 0 26px;
    border-bottom: 1px solid var(--line);
}

.tenant-header h1 {
    margin-top: 12px;
    margin-bottom: 10px;
    font-size: clamp(34px, 6vw, 58px);
}

.tenant-header p {
    max-width: 760px;
    margin-bottom: 0;
}

.tenant-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.tenant-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
    margin-top: 28px;
}

.tenant-main,
.tenant-side {
    display: grid;
    gap: 22px;
}

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

.tenant-product,
.tenant-panel {
    padding: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(23, 33, 38, 0.06);
}

.tenant-product h2,
.tenant-panel h2 {
    margin-top: 10px;
    font-size: 22px;
}

.tenant-product .btn {
    margin-top: 12px;
}

.tenant-status-list {
    display: grid;
    gap: 10px;
}

.tenant-status-list div {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}

.tenant-status-list div:last-child {
    border-bottom: 0;
}

.tenant-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 24px clamp(18px, 5vw, 72px);
    color: var(--muted);
    background: #fff;
    border-top: 1px solid var(--line);
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.checkbox-grid legend {
    padding: 0 6px;
    color: var(--muted);
    font-weight: 800;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--ink);
    font-size: 13px;
}

.checkbox-grid input {
    width: auto;
}

.inline-form {
    display: inline-flex;
    margin: 0;
}

.inline-form .btn {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
}

.quote-workspace {
    max-width: 1120px;
    margin: 0 auto;
    padding: 34px clamp(18px, 4vw, 52px);
}

.quote-document {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(22px, 4vw, 42px);
}

@media print {
    .topbar,
    .quote-actions .btn,
    .main-nav {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .quote-workspace,
    .quote-document {
        max-width: none;
        margin: 0;
        padding: 0;
        border: 0;
    }
}

@media (max-width: 980px) {
    .tenant-header,
    .tenant-grid {
        display: block;
    }

    .tenant-actions,
    .tenant-side {
        margin-top: 20px;
    }

    .tenant-product-grid {
        grid-template-columns: 1fr;
    }

    .surface-card {
        padding: 20px;
        border-radius: 20px;
    }

    .service-editor-hero,
    .service-editor-layout {
        grid-template-columns: 1fr;
    }

    .service-editor-hero {
        display: grid;
    }

    .service-editor-status {
        justify-content: flex-start;
        max-width: none;
    }

    .service-editor-aside {
        position: static;
    }
}

@media (max-width: 480px) {
    .brand small {
        display: none;
    }

    .public-topbar-meta,
    .public-topbar-social {
        gap: 10px;
    }

    .panel-userbar,
    .auth-inline-actions,
    .auth-secondary-links {
        flex-direction: column;
        align-items: stretch;
    }

    .panel-user-meta {
        text-align: left;
    }

    h1 {
        font-size: 34px;
    }

    .tool-grid {
        grid-template-columns: 1fr;
    }

    .form-grid .wide-field {
        grid-column: auto;
    }

    .btn {
        width: 100%;
    }

    .service-editor-form {
        padding: 12px;
    }

    .service-editor-hero {
        padding: 18px;
    }

    .service-editor-grid {
        grid-template-columns: 1fr;
    }

    .service-studio-toolbar,
    .service-editor-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .service-editor-actions {
        margin-right: -12px;
        margin-left: -12px;
        padding-right: 12px;
        padding-left: 12px;
    }
}

body.site-page {
    background: #f7f9fc;
    overflow-x: hidden;
}

body.site-page .public-topbar {
    display: block;
    padding: 7px clamp(18px, 4vw, 48px);
    background: #06142e;
    color: #cfe3ff;
    border-bottom: 1px solid rgba(147, 197, 253, 0.18);
    font-size: 12px;
    font-weight: 700;
}

body.site-page .public-topbar .container-fluid {
    max-width: 1280px;
    margin: 0 auto;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body.site-page .public-topbar-meta {
    gap: 18px;
}

body.site-page .public-topbar-meta a,
body.site-page .public-topbar-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: inherit;
}

body.site-page .public-topbar-meta i,
body.site-page .public-topbar-social i {
    color: #38bdf8;
}

body.site-page .public-topbar-social {
    gap: 8px;
}

body.site-page .public-topbar-social a {
    width: 28px;
    height: 28px;
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(147, 197, 253, 0.2);
}

body.site-page .public-topbar-social a:hover {
    background: rgba(37, 99, 235, 0.28);
}

body.site-page .topbar {
    position: sticky;
    top: 0;
    min-height: 64px;
    padding: 8px clamp(18px, 4vw, 48px);
    background: #02091a !important;
    border-bottom: 1px solid rgba(37, 99, 235, 0.28) !important;
    box-shadow: 0 16px 40px rgba(2, 8, 23, 0.24);
}

body.site-page .site-header-stack {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #02091a;
    box-shadow: 0 16px 40px rgba(2, 8, 23, 0.24);
}

body.site-page .site-header-stack .topbar {
    position: relative;
    top: auto;
    z-index: auto;
    box-shadow: none;
}

body.site-page .topbar .container-fluid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1280px;
    margin: 0 auto;
    padding-right: 0 !important;
    padding-left: 0 !important;
}

body.site-page .brand {
    min-width: 170px;
    color: #ffffff;
}

body.site-page .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, transparent 0 16%, #38bdf8 16% 27%, transparent 27% 41%, #2563eb 41% 100%),
        #061431;
    box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.22), 0 12px 24px rgba(37, 99, 235, 0.28);
    color: transparent;
}

body.site-page .brand strong {
    color: #ffffff;
    font-size: 17px;
    line-height: 1;
}

body.site-page .brand small {
    color: #8db4e8;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

body.site-page .main-nav {
    gap: 14px;
}

body.site-page .main-nav-underbar {
    display: block;
    width: 100%;
    background: #061431;
    border-top: 1px solid rgba(147, 197, 253, 0.14);
    border-bottom: 1px solid rgba(37, 99, 235, 0.28);
}

body.site-page .main-nav-underbar .container-fluid {
    max-width: 1280px;
    margin: 0 auto;
    padding-right: clamp(18px, 4vw, 48px) !important;
    padding-left: clamp(18px, 4vw, 48px) !important;
}

body.site-page .main-nav-links {
    justify-content: center;
    width: 100%;
    padding: 8px 0;
    flex-wrap: nowrap;
    gap: 7px;
}

body.site-page .header-actions {
    margin-left: auto;
}

body.site-page .main-nav a {
    padding: 10px 12px;
    color: #ffffff;
    font-size: 13px;
    border-radius: 7px;
    font-weight: 900;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
}

body.site-page .main-nav .main-nav-control {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 38px;
    padding: 10px 12px;
    color: #ffffff;
    background: transparent;
    border: 0;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.32);
}

body.site-page .main-nav .main-nav-control i {
    font-size: 10px;
}

body.site-page .main-nav a:hover,
body.site-page .main-nav a.is-active,
body.site-page .main-nav .main-nav-control:hover,
body.site-page .main-nav .main-nav-control.is-active,
body.site-page .main-nav .main-nav-control.show {
    color: #ffffff;
    background: rgba(37, 99, 235, 0.24);
}

body.site-page .nav-actions .btn {
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .02em;
}

body.site-page .nav-actions .btn-primary {
    background: #ffffff;
    color: #08234f;
    box-shadow: none;
}

body.site-page .nav-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

body.site-page .nav-cart-link em {
    display: inline-grid;
    min-width: 18px;
    height: 18px;
    place-items: center;
    padding: 0 5px;
    color: #ffffff;
    background: #2563eb;
    border-radius: 999px;
    font-size: 11px;
    font-style: normal;
    line-height: 1;
}

body.site-page .dropdown-menu {
    min-width: 180px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

body.site-page .nav-solutions-menu {
    min-width: 292px;
}

body.site-page .nav-corporate-menu {
    min-width: 236px;
}

body.site-page .main-nav .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    color: #0f172a !important;
    background: transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    text-shadow: none;
}

body.site-page .main-nav .dropdown-menu .dropdown-item i {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 7px;
    font-size: 14px;
}

body.site-page .main-nav .dropdown-menu .dropdown-item:hover {
    color: #1d4ed8 !important;
    background: #eff6ff;
}

body.site-page .nav-actions .nav-login-link {
    gap: 7px;
}

body.site-page .nav-actions .nav-login-link i {
    font-size: 15px;
}

body.site-page .nav-actions .btn-secondary,
body.site-page .nav-actions .btn-soft {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(147, 197, 253, 0.38);
    box-shadow: none;
}

body.site-page .navbar-toggler-icon,
body.site-page .navbar-toggler-icon::before,
body.site-page .navbar-toggler-icon::after {
    border-top-color: #ffffff;
}

.hero.hero-slider.hero-reference {
    position: relative;
    grid-template-columns: minmax(380px, 0.95fr) minmax(460px, 1.05fr);
    gap: clamp(28px, 4vw, 56px);
    min-height: 448px;
    padding: 52px clamp(18px, 5vw, 72px) 34px;
    color: #ffffff;
    border-bottom: 0;
    background:
        linear-gradient(113deg, rgba(0, 209, 255, 0.18) 0 1px, transparent 1px 19%),
        linear-gradient(147deg, transparent 0 46%, rgba(37, 99, 235, 0.24) 46% 47%, transparent 47% 100%),
        repeating-linear-gradient(115deg, rgba(96, 165, 250, 0.08) 0 1px, transparent 1px 52px),
        linear-gradient(105deg, #020617 0%, #041537 48%, #062e61 100%);
}

.hero.hero-slider.hero-reference::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(56, 189, 248, 0.16), transparent 38%),
        linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.24) 100%);
    mask-image: none;
}

.hero.hero-slider.hero-reference::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(58vw, 820px);
    height: 74%;
    z-index: -1;
    background:
        linear-gradient(130deg, transparent 0 22%, rgba(14, 165, 233, 0.2) 22% 23%, transparent 23% 100%),
        linear-gradient(156deg, transparent 0 32%, rgba(37, 99, 235, 0.22) 32% 33%, transparent 33% 100%);
    opacity: 0.92;
}

.hero-reference .hero-slider-copy {
    min-width: 0;
    max-width: 620px;
}

.hero-reference .hero-copy-stage {
    width: 100%;
    min-width: 0;
    min-height: 274px;
}

.hero-reference .hero-slide {
    min-width: 0;
}

.hero-reference .eyebrow {
    min-height: 28px;
    padding: 5px 10px;
    color: #9edcff;
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(96, 165, 250, 0.36);
    border-radius: 6px;
    font-size: 11px;
    letter-spacing: 0;
}

.hero-reference .hero-slide h1 {
    width: 100%;
    max-width: 620px;
    margin: 18px 0 14px;
    color: #ffffff;
    font-size: clamp(36px, 4.1vw, 54px);
    line-height: 1.12;
    letter-spacing: 0;
}

.hero-reference .hero-slide p {
    width: 100%;
    max-width: 570px;
    color: #d7e8ff;
    font-size: 15px;
    line-height: 1.7;
}

.hero-reference .hero-actions {
    gap: 12px;
    margin-top: 24px;
}

.hero-reference .hero-actions .btn {
    min-height: 40px;
    padding: 10px 18px;
    border-radius: 7px;
    font-size: 13px;
    box-shadow: none;
}

.hero-reference .hero-actions .btn-primary {
    background: #0d6efd;
    border-color: #2b8cff;
}

.hero-reference .hero-actions .btn-soft {
    color: #ffffff;
    background: rgba(2, 6, 23, 0.34);
    border-color: rgba(255, 255, 255, 0.56);
}

.hero-reference .hero-slider-controls {
    margin-top: 18px;
    padding: 6px;
    background: rgba(2, 10, 30, 0.62);
    border-color: rgba(96, 165, 250, 0.32);
    border-radius: 8px;
    box-shadow: none;
}

.hero-reference .hero-slider-nav {
    width: 32px;
    height: 32px;
    color: #dbeafe;
    background: rgba(15, 23, 42, 0.72);
    border-color: rgba(96, 165, 250, 0.3);
}

.hero-reference .hero-slider-dots button {
    width: 18px;
    height: 6px;
    background: rgba(219, 234, 254, 0.4);
}

.hero-reference .hero-slider-dots button.is-active {
    width: 34px;
    background: #38bdf8;
}

.hero-reference .hero-showcase {
    position: relative;
    align-self: end;
    min-width: 0;
}

.hero-reference .showcase-device-stack {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 338px;
    padding: 24px 28px 34px 0;
}

.hero-reference .showcase-window {
    position: relative;
    overflow: hidden;
    width: min(100%, 650px);
    max-width: 100%;
    border: 1px solid rgba(96, 165, 250, 0.36);
    border-radius: 9px;
    background: #06142e;
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36), 0 0 0 6px rgba(96, 165, 250, 0.06);
    transform: perspective(1100px) rotateY(-7deg) rotateX(2deg);
    transform-origin: center right;
}

.hero-reference .showcase-window::after {
    content: "";
    position: absolute;
    left: 11%;
    right: 5%;
    bottom: -16px;
    height: 18px;
    background: linear-gradient(180deg, #0f172a, #020617);
    border-radius: 0 0 18px 18px;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.38));
}

.hero-reference .showcase-topbar {
    padding: 12px 16px;
    background: #071a3a;
    border-bottom: 1px solid rgba(96, 165, 250, 0.22);
}

.hero-reference .showcase-topbar span {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.24);
}

.hero-reference .showcase-topbar b {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #dbeafe;
    font-size: 12px;
}

.hero-reference .showcase-topbar b i {
    color: #38bdf8;
}

.hero-reference .showcase-body {
    gap: 12px;
    padding: 14px;
    background: linear-gradient(180deg, #eef6ff 0%, #ffffff 100%);
}

.hero-reference .showcase-visual-copy,
.hero-reference .showcase-chart,
.hero-reference .showcase-metrics article,
.hero-reference .status-mini {
    border-radius: 8px;
    border-color: #dbe7f5;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.hero-reference .showcase-visual-copy {
    padding: 12px;
}

.hero-reference .showcase-visual-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 19px;
}

.hero-reference .showcase-visual-slide h3 {
    font-size: 15px;
}

.hero-reference .showcase-visual-slide p {
    max-width: 420px;
    font-size: 11px;
    line-height: 1.4;
}

.hero-reference .showcase-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.hero-reference .showcase-metrics article,
.hero-reference .status-mini {
    min-width: 0;
    padding: 11px;
}

.hero-reference .showcase-metrics small,
.hero-reference .status-mini span {
    font-size: 10px;
}

.hero-reference .showcase-metrics strong,
.hero-reference .status-mini strong {
    margin: 4px 0;
    font-size: 17px;
}

.hero-reference .showcase-metrics em {
    font-size: 10px;
}

.hero-reference .showcase-panels {
    grid-template-columns: minmax(0, 1fr) 126px;
    gap: 10px;
}

.hero-reference .showcase-chart {
    padding: 12px;
}

.hero-reference .showcase-chart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.hero-reference .showcase-chart-head h3 {
    margin: 0;
    color: #0f172a;
    font-size: 13px;
}

.hero-reference .showcase-chart-head span {
    padding: 3px 7px;
    color: #2563eb;
    background: #eff6ff;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}

.hero-reference .showcase-line-chart {
    position: relative;
    height: 94px;
    margin-top: 10px;
    background:
        linear-gradient(#edf2f7 1px, transparent 1px),
        linear-gradient(90deg, #edf2f7 1px, transparent 1px);
    background-size: 100% 25%, 16.66% 100%;
}

.hero-reference .showcase-line-chart::before {
    content: "";
    position: absolute;
    left: 4%;
    right: 4%;
    top: 52%;
    height: 34px;
    border-top: 3px solid #2563eb;
    border-right: 3px solid #2563eb;
    transform: skewY(-15deg);
    opacity: 0.72;
}

.hero-reference .showcase-line-chart i {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 7px;
    height: 7px;
    background: #2563eb;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 5px 12px rgba(37, 99, 235, 0.28);
}

.hero-reference .showcase-side {
    gap: 10px;
}

.hero-reference .showcase-phone {
    position: absolute;
    right: 0;
    bottom: 8px;
    width: 132px;
    height: 238px;
    padding: 11px;
    background: linear-gradient(180deg, #081a3d, #020617);
    border: 1px solid rgba(147, 197, 253, 0.45);
    border-radius: 20px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.36);
}

.hero-reference .showcase-phone-speaker {
    width: 42px;
    height: 4px;
    margin: 0 auto 10px;
    background: rgba(219, 234, 254, 0.34);
    border-radius: 999px;
}

.hero-reference .showcase-phone-screen {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 198px;
    padding: 13px 10px;
    color: #0f172a;
    background: #f8fafc;
    border-radius: 14px;
}

.hero-reference .showcase-phone-screen span,
.hero-reference .showcase-phone-screen small {
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
}

.hero-reference .showcase-phone-screen strong {
    font-size: 28px;
    line-height: 1;
}

.hero-reference .showcase-phone-chart {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
    gap: 5px;
    height: 54px;
    margin-top: 4px;
}

.hero-reference .showcase-phone-chart i {
    display: block;
    border-radius: 999px 999px 3px 3px;
    background: linear-gradient(180deg, #38bdf8, #2563eb);
}

.hero-reference .showcase-phone-chart i:nth-child(1) { height: 42%; }
.hero-reference .showcase-phone-chart i:nth-child(2) { height: 72%; }
.hero-reference .showcase-phone-chart i:nth-child(3) { height: 56%; }
.hero-reference .showcase-phone-chart i:nth-child(4) { height: 88%; }

body.site-page .trust-bar {
    gap: 0;
    padding: 0 clamp(18px, 5vw, 72px) 0;
    margin-top: 0;
    background: #062752;
}

body.site-page .trust-item {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0 13px;
    min-height: 72px;
    padding: 14px clamp(14px, 2vw, 30px);
    background: transparent;
    border-right: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 0;
}

body.site-page .trust-item:last-child {
    border-right: 0;
}

body.site-page .trust-item i {
    grid-row: span 2;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #8bd9ff;
    background: rgba(37, 99, 235, 0.34);
    border: 1px solid rgba(147, 197, 253, 0.26);
    border-radius: 50%;
    font-size: 19px;
}

body.site-page .trust-item span {
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
}

body.site-page .trust-item small {
    color: #c9dfff;
    font-size: 12px;
}

.contact-page .page-hero.contact-hero {
    display: block;
    min-height: 360px;
    padding: clamp(64px, 8vw, 96px) clamp(18px, 5vw, 72px);
    color: #ffffff;
    background:
        linear-gradient(145deg, rgba(56, 189, 248, 0.12), transparent 34%),
        repeating-linear-gradient(115deg, rgba(96, 165, 250, 0.08) 0 1px, transparent 1px 52px),
        linear-gradient(110deg, #020617 0%, #061b3d 55%, #083463 100%);
    border-bottom: 0;
}

.contact-page .page-hero h1 {
    max-width: 820px;
    margin-top: 18px;
    color: #ffffff;
    font-size: clamp(34px, 4.2vw, 58px);
}

.contact-page .page-hero p {
    max-width: 680px;
    color: #d7e8ff;
}

.contact-layout {
    align-items: start;
    gap: clamp(24px, 4vw, 48px);
}

.contact-info-stack {
    display: grid;
    gap: 18px;
}

.contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
    display: grid;
    gap: 8px;
    min-height: 150px;
}

.contact-card i {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 12px;
    font-size: 20px;
}

.contact-card span {
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.contact-card strong {
    color: #0f172a;
    font-size: 18px;
    line-height: 1.35;
}

.contact-form {
    position: sticky;
    top: 92px;
}

.contact-form h2 {
    font-size: 30px;
}

.contact-social-panel h3 {
    margin-bottom: 14px;
}

.contact-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-social-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 11px;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

.contact-social-links i {
    color: #2563eb;
}

.services-page .service-hero,
.solution-page .solution-detail-hero {
    min-height: 500px;
    color: #ffffff;
    background:
        linear-gradient(120deg, rgba(14, 165, 233, 0.14), transparent 34%),
        repeating-linear-gradient(115deg, rgba(96, 165, 250, 0.08) 0 1px, transparent 1px 52px),
        linear-gradient(110deg, #020617 0%, #071c3f 58%, #0f3b62 100%);
    border-bottom: 0;
}

.services-page .service-hero h1,
.solution-page .solution-detail-hero h1,
.services-page .service-hero p,
.solution-page .solution-detail-hero p {
    color: #ffffff;
}

.services-page .service-hero p,
.solution-page .solution-detail-hero p {
    color: #d7e8ff;
}

.service-hero-panel,
.solution-hero-card {
    display: grid;
    gap: 16px;
    padding: 26px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(14px);
}

.service-hero-panel > span,
.solution-hero-card > span {
    color: #93c5fd;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.service-hero-panel strong,
.solution-hero-card strong {
    color: #ffffff;
    font-size: 28px;
    line-height: 1.18;
}

.service-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.service-hero-metrics article {
    padding: 14px;
    background: rgba(2, 6, 23, 0.36);
    border: 1px solid rgba(147, 197, 253, 0.18);
    border-radius: 10px;
}

.service-hero-metrics b,
.service-hero-metrics small {
    display: block;
}

.service-hero-metrics b {
    color: #ffffff;
    font-size: 24px;
}

.service-hero-metrics small {
    color: #b6cdf2;
    font-size: 12px;
    font-weight: 800;
}

.service-pro-grid,
.solution-product-grid,
.service-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card-pro,
.solution-product-card,
.service-process-grid article,
.solution-side-panel,
.solution-empty-panel {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.service-card-pro,
.solution-product-card,
.service-process-grid article,
.solution-side-panel,
.solution-empty-panel {
    padding: 24px;
}

.service-card-pro {
    display: grid;
    gap: 14px;
    min-height: 430px;
}

.service-card-icon,
.solution-hero-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 12px;
    font-size: 22px;
}

.service-card-pro > span,
.solution-product-card > span {
    width: fit-content;
    padding: 5px 9px;
    color: #075985;
    background: #e0f2fe;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.service-card-pro h2,
.solution-product-card h2 {
    margin: 0;
    font-size: 23px;
}

.service-card-pro p,
.solution-product-card p,
.service-process-grid p,
.solution-empty-panel p {
    margin: 0;
    line-height: 1.6;
}

.service-card-pro ul,
.solution-side-panel ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.service-card-pro li,
.solution-side-panel li {
    position: relative;
    padding-left: 22px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.service-card-pro li::before,
.solution-side-panel li::before {
    position: absolute;
    top: 7px;
    left: 0;
    width: 8px;
    height: 8px;
    content: "";
    background: #22c55e;
    border-radius: 999px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: auto;
    color: #1d4ed8;
    font-weight: 900;
}

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

.service-process-grid article {
    display: grid;
    gap: 10px;
}

.service-process-grid span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #ffffff;
    background: #0f172a;
    border-radius: 10px;
    font-weight: 900;
}

.service-process-grid h3 {
    margin: 0;
}

.service-cta-band,
.solution-cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #ffffff;
    background: linear-gradient(110deg, #021129, #093569 58%, #0e7490);
}

.service-cta-band h2,
.solution-cta-band h2,
.service-cta-band p,
.solution-cta-band p {
    color: #ffffff;
}

.service-cta-band p,
.solution-cta-band p {
    max-width: 720px;
    color: #d7e8ff;
}

.solution-hero-card p {
    margin: 0;
}

.solution-overview {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
    gap: 24px;
    align-items: start;
}

.solution-overview > div > p {
    max-width: 820px;
    font-size: 18px;
    line-height: 1.7;
}

.solution-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.solution-feature-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 14px;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    font-weight: 800;
}

.solution-feature-list i {
    color: #16a34a;
    font-size: 19px;
}

.solution-side-panel {
    position: sticky;
    top: 118px;
}

.solution-product-card {
    display: grid;
    gap: 14px;
    min-height: 280px;
}

.solution-product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.solution-product-foot strong {
    color: #0f172a;
    font-size: 20px;
}

.solution-empty-panel {
    display: grid;
    gap: 10px;
    max-width: 780px;
}

.service-public-cover {
    width: 100%;
    max-height: 260px;
    object-fit: fill;
    object-position: center;
    background: #ffffff;
    border-radius: 14px;
}

.service-public-content {
    display: grid;
    gap: 28px;
}

.service-public-html {
    max-width: 980px;
    color: #334155;
    font-size: 17px;
    line-height: 1.75;
}

.service-public-html h2,
.service-public-html h3 {
    color: #0f172a;
}

.service-public-html ul {
    display: grid;
    gap: 8px;
    padding-left: 22px;
}

.service-public-blocks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-public-blocks article {
    display: grid;
    gap: 10px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.06);
}

.service-public-blocks i {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 12px;
    font-size: 20px;
}

.service-public-blocks h2 {
    margin: 0;
    font-size: 22px;
}

.service-public-blocks p {
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 1180px) {
    body.site-page .main-nav-links {
        flex-wrap: wrap;
    }

    .service-pro-grid,
    .solution-product-grid,
    .service-process-grid,
    .service-public-blocks {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .solution-overview {
        grid-template-columns: 1fr;
    }

    .solution-side-panel {
        position: static;
    }

    .hero.hero-slider.hero-reference {
        grid-template-columns: minmax(0, 1fr);
        min-height: auto;
    }

    .hero-reference .hero-slider-copy {
        max-width: 760px;
    }

    .hero-reference .hero-copy-stage {
        min-height: 250px;
    }

    .hero-reference .showcase-device-stack {
        max-width: 720px;
        min-height: 336px;
    }
}

@media (max-width: 760px) {
    body.site-page .public-topbar {
        padding: 8px 18px;
    }

    body.site-page .public-topbar .container-fluid,
    body.site-page .public-topbar-meta,
    body.site-page .public-topbar-social {
        align-items: flex-start !important;
    }

    body.site-page .public-topbar-meta {
        display: grid;
        gap: 7px;
    }

    body.site-page .topbar {
        min-height: 66px;
        padding: 9px 18px;
    }

    body.site-page .topbar .container-fluid {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
        padding-right: 54px !important;
    }

    body.site-page .header-actions {
        gap: 6px;
    }

    body.site-page .header-actions .btn {
        min-width: 38px;
        min-height: 38px;
        padding: 7px 9px;
    }

    body.site-page .header-actions .btn span {
        display: none;
    }

    body.site-page .header-actions .dropdown-toggle::after {
        margin-left: 0;
    }

    body.site-page .main-nav-underbar {
        top: 100%;
        background: #02091a;
        border-bottom-color: rgba(37, 99, 235, 0.28);
        box-shadow: 0 22px 34px rgba(2, 8, 23, 0.28);
    }

    body.site-page .main-nav-underbar .container-fluid {
        width: min(100%, 354px);
        max-width: 354px;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.site-page .main-nav-underbar .main-nav-links {
        padding: 0;
    }

    body.site-page .main-nav a {
        width: 100%;
        color: rgba(255, 255, 255, 0.88);
    }

    body.site-page .main-nav-links,
    body.site-page .nav-dropdown,
    body.site-page .main-nav .main-nav-control {
        width: 100%;
    }

    body.site-page .main-nav-links {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.site-page .nav-solutions-menu {
        width: 100%;
        min-width: 0;
    }

    body.site-page .menu-toggle {
        position: absolute;
        top: 50%;
        right: 0;
        z-index: 4;
        display: inline-grid !important;
        place-items: center;
        flex: 0 0 42px;
        margin-left: auto;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(147, 197, 253, 0.3);
        transform: translateY(-50%);
    }

    .hero.hero-slider.hero-reference {
        grid-template-columns: minmax(0, 1fr);
        padding: 38px 18px 28px;
    }

    .hero-reference .hero-slider-copy,
    .hero-reference .hero-showcase,
    .hero-reference .showcase-device-stack,
    .hero-reference .showcase-window {
        width: min(100%, 354px);
        max-width: min(100%, 354px);
    }

    .hero-reference .hero-copy-stage {
        min-height: 330px;
    }

    .hero-reference .hero-slide h1 {
        max-width: 100%;
        font-size: 34px;
        overflow-wrap: break-word;
    }

    .hero-reference .hero-slide p {
        max-width: 100%;
    }

    .hero-reference .hero-actions .btn {
        width: 100%;
    }

    .hero-reference .hero-slider-controls {
        width: 100%;
        justify-content: space-between;
    }

    .hero-reference .showcase-device-stack {
        min-height: auto;
        padding: 0;
    }

    .hero-reference .showcase-window {
        transform: none;
    }

    .hero-reference .showcase-phone {
        display: none;
    }

    .hero-reference .showcase-metrics,
    .hero-reference .showcase-panels {
        grid-template-columns: 1fr;
    }

    body.site-page .trust-bar {
        grid-template-columns: 1fr;
    }

    body.site-page .trust-item {
        border-right: 0;
        border-bottom: 1px solid rgba(147, 197, 253, 0.18);
    }

    .contact-card-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        position: static;
    }

    .services-page .service-hero,
    .solution-page .solution-detail-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 42px 18px;
    }

    .service-hero-metrics,
    .service-pro-grid,
    .solution-product-grid,
    .service-process-grid,
    .solution-feature-list,
    .service-public-blocks {
        grid-template-columns: 1fr;
    }

    .service-cta-band,
    .solution-cta-band,
    .solution-product-foot {
        align-items: stretch;
        flex-direction: column;
    }

.service-card-pro {
    min-height: auto;
}
}

body.site-page {
    background: #f8fafc;
}

.btn-gradient-primary,
.btn.btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border-color: transparent;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.18);
}

.btn-gradient-primary:hover,
.btn.btn-primary:hover {
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.24);
}

.btn-soft-outline,
.btn.btn-line,
.btn.btn-soft {
    color: #1d4ed8;
    background: #ffffff;
    border: 1px solid #bfdbfe;
}

.btn-soft-outline:hover,
.btn.btn-line:hover,
.btn.btn-soft:hover {
    color: #ffffff;
    background: #2563eb;
    border-color: #2563eb;
}

body.site-page .main-nav-links .nav-link,
body.site-page .main-nav-control,
body.site-page .nav-actions .btn {
    white-space: nowrap;
    text-transform: uppercase;
}

body.site-page .nav-actions {
    flex-wrap: wrap;
}

body.site-page .nav-cart-link {
    border-color: #bfdbfe;
    background: #ffffff;
}

body.site-page .public-topbar-social span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 999px;
    opacity: 0.72;
}

.nav-corporate-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    font-weight: 800;
}

.service-grid {
    align-items: stretch;
}

.service-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: 16px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card::before,
.store-card::before,
.corporate-content-card::before {
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    content: "";
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}

.service-card:hover,
.store-card:hover,
.corporate-content-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.1);
    transform: translateY(-4px);
}

.service-card .icon-badge,
.corporate-content-card .icon-badge {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border: none;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: auto;
    color: #1d4ed8;
    font-weight: 900;
}

.store-card {
    position: relative;
    overflow: hidden;
    min-height: 100%;
    border-radius: 16px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.store-card-media,
.product-card-image {
    min-height: 0;
    border-radius: 14px;
}

.product-cover {
    min-height: 148px;
    border-radius: 14px;
}

.store-package-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.store-package-choice {
    min-height: 38px;
    color: #0f172a;
    background: #f8fafc;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    font-weight: 900;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.store-package-choice.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
}

.store-price {
    align-items: center;
    margin-top: auto;
}

.store-price strong {
    color: #0f172a;
    line-height: 1.1;
}

.package-pricing-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.package-pricing-card.is-featured {
    border-color: #2563eb;
    box-shadow: 0 22px 46px rgba(37, 99, 235, 0.14);
}

.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 220px;
}

.cart-product-cell img,
.cart-product-cell > span {
    display: grid;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    place-items: center;
    overflow: hidden;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
}

.cart-product-cell img {
    object-fit: fill;
    object-position: center;
    padding: 0;
    background: #ffffff;
}

.cart-product-cell strong,
.cart-product-cell small {
    display: block;
}

.corporate-card-grid {
    align-items: stretch;
}

.corporate-content-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border-radius: 16px;
}

.reference-logo {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
}

.reference-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

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

.premium-reference-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.reference-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.reference-logo-card {
    display: grid;
    gap: 12px;
    align-content: start;
    min-width: 0;
    min-height: 210px;
    padding: 18px;
    text-align: left;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.reference-logo-card:hover {
    transform: translateY(-5px) scale(1.01);
    border-color: #bfdbfe;
    box-shadow: 0 26px 60px rgba(37, 99, 235, 0.16);
}

.reference-logo-frame {
    display: grid;
    height: 82px;
    place-items: center;
    padding: 12px;
    background: linear-gradient(135deg, #f8fafc, #eef6ff);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.reference-logo-frame img {
    width: 100%;
    max-width: 220px;
    height: 58px;
    object-fit: contain;
    filter: grayscale(1) saturate(0.25) opacity(0.68);
    transition: filter 180ms ease, transform 180ms ease;
}

.reference-logo-card:hover .reference-logo-frame img {
    filter: grayscale(0) saturate(1) opacity(1);
    transform: scale(1.03);
}

.reference-logo-card strong {
    color: #0f172a;
    font-size: 15px;
    line-height: 1.3;
}

.reference-logo-card small {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
}

.blog-announcement-section {
    background:
        radial-gradient(circle at 8% 0%, rgba(37, 99, 235, 0.08), transparent 28%),
        #f8fafc;
}

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

.blog-card-pro {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.blog-card-pro:hover {
    transform: translateY(-6px);
    border-color: #bfdbfe;
    box-shadow: 0 28px 66px rgba(37, 99, 235, 0.16);
}

.blog-card-media {
    position: relative;
    display: grid;
    min-height: 168px;
    place-items: center;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.92), rgba(124, 58, 237, 0.92)),
        #1e3a8a;
}

.blog-card-media span {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 10px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.blog-card-media i {
    font-size: 46px;
    opacity: 0.95;
}

.blog-card-body {
    display: grid;
    gap: 12px;
    padding: 20px;
}

.blog-card-body h3 {
    margin: 0;
    color: #0f172a;
    font-size: 20px;
    line-height: 1.28;
}

.blog-card-body p {
    margin: 0;
    color: #64748b;
    line-height: 1.65;
}

.blog-card-link {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
}

.blog-card-link:hover {
    color: #ffffff;
}

@media (max-width: 1199px) {
    .reference-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .domain-search-panel {
        grid-template-columns: minmax(0, 1fr);
    }

    .domain-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .blog-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .reference-logo-grid,
    .blog-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .reference-logo-card {
        min-height: auto;
    }
}

@media (min-width: 768px) {
    body.site-page #urunler .product-card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.cta-band-pro p {
    max-width: 760px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
}

.footer-trust-row a,
.footer-trust-row span {
    text-decoration: none;
}

.footer-trust-row .etbis-badge,
.footer-trust-row a:last-child {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    border-color: transparent;
}

.footer-trust-row .etbis-badge i,
.footer-trust-row a:last-child i {
    color: #ffffff;
}

.admin-sidebar-toggle {
    display: none;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    font-size: 20px;
}

@media (max-width: 991px) {
    .admin-sidebar-toggle {
        display: inline-grid;
    }

    body.admin-page .admin-shell-pro,
    body.admin-page .app-shell.admin-shell-pro {
        margin-left: 0;
    }

    body.admin-page .admin-sidebar {
        position: fixed;
        inset: var(--admin-topbar-height, 58px) auto 0 0;
        width: min(320px, calc(100vw - 36px));
        height: calc(100dvh - var(--admin-topbar-height, 58px));
        max-height: calc(100dvh - var(--admin-topbar-height, 58px));
        margin: 0;
        overflow-y: auto;
        border-right: 1px solid #dbe3ea;
        border-radius: 0;
        transform: translateX(-105%);
        transition: transform 180ms ease;
    }

    body.admin-page .admin-sidebar.is-open {
        transform: translateX(0);
        box-shadow: 18px 0 38px rgba(15, 23, 42, 0.18);
    }

    body.admin-page.admin-sidebar-open::after {
        position: fixed;
        inset: var(--admin-topbar-height, 58px) 0 0;
        z-index: 22;
        content: "";
        background: rgba(15, 23, 42, 0.34);
    }

    body.admin-page .panel-footer {
        margin-left: 0;
    }

    .customer-summary-grid,
    .customer-field-grid,
    body.admin-page .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.admin-page .form-grid .wide-field,
    body.admin-page .form-grid .rich-editor-field,
    body.admin-page .service-editor-grid .wide-field {
        grid-column: 1 / -1;
    }

    body.admin-page .service-editor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .customer-profile-hero,
    .customer-tab-head {
        flex-direction: column;
    }

    .customer-profile-actions {
        width: 100%;
        justify-content: stretch;
    }

    .customer-profile-actions .btn {
        flex: 1 1 100%;
    }

    .customer-summary-grid,
    .customer-field-grid,
    .system-status-grid,
    body.admin-page .form-grid,
    body.admin-page .service-editor-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1199px) {
    body.site-page .main-nav.is-open {
        display: grid;
    }

    body.site-page .main-nav-links,
    body.site-page .nav-actions {
        width: 100%;
    }

    body.site-page .nav-actions .btn,
    body.site-page .nav-actions .dropdown {
        width: 100%;
    }

    body.site-page .nav-actions .btn {
        justify-content: center;
    }

    body.site-page .header-actions,
    body.site-page .header-actions .btn,
    body.site-page .header-actions .dropdown {
        width: auto;
    }
}

@media (max-width: 575px) {
    .store-package-switch {
        grid-template-columns: 1fr;
    }

    .cart-product-cell {
        min-width: 180px;
    }
}

/* Compact storefront typography and overflow guardrails */
body.site-page {
    overflow-x: hidden;
}

body.site-page h1,
.product-hero h1,
.page-hero h1 {
    max-width: 980px;
    font-size: 42px;
    line-height: 1.12;
    letter-spacing: 0;
}

body.site-page h2,
.content-band h2,
.feature-panel h2,
.license-checkout-panel h2 {
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: 0;
}

body.site-page h3,
.store-card h3,
.service-card h3,
.corporate-content-card h3 {
    font-size: 19px;
    line-height: 1.24;
    letter-spacing: 0;
}

.page-hero,
.page-hero.slim {
    min-height: auto;
    padding-top: 46px;
    padding-bottom: 42px;
}

.product-hero {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 48px;
}

.content-band,
.split-section,
.store-grid,
.service-grid,
.corporate-card-grid,
.license-checkout-grid,
.payment-method-grid,
.feature-panel,
.surface-card,
.store-card {
    min-width: 0;
}

.table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-wrap table {
    min-width: 720px;
}

.store-price {
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

.store-price-stack {
    display: grid;
    gap: 3px;
}

.store-package-choice,
.payment-method-option,
.btn {
    min-width: 0;
    white-space: normal;
}

.store-package-choice {
    padding: 7px 8px;
    overflow-wrap: anywhere;
}

.domain-search-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 18px;
    align-items: center;
    margin-bottom: 22px;
    padding: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #dbeafe;
    border-radius: 22px;
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.08);
}

.domain-search-copy h2 {
    margin: 7px 0 8px;
}

.domain-search-copy p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
}

.domain-search-badges,
.domain-extension-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.domain-search-badges span,
.domain-extension-strip span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 10px;
    color: #0f3b62;
    background: rgba(239, 246, 255, 0.9);
    border: 1px solid #dbeafe;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 850;
}

.domain-extension-strip {
    grid-column: 1 / -1;
    margin-top: 0;
}

.domain-extension-strip span {
    color: #334155;
    background: #ffffff;
}

.domain-extension-strip b {
    color: #1d4ed8;
}

.domain-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px auto;
    gap: 10px;
    align-items: end;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
}

.domain-search-form input,
.domain-search-form select {
    min-width: 0;
}

.domain-search-guest {
    display: flex;
    justify-content: flex-start;
}

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

.domain-plan-card,
.server-plan-row,
.domain-tld-grid article {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.domain-plan-card {
    display: grid;
    gap: 13px;
    grid-template-rows: auto auto auto auto 1fr auto;
    height: 100%;
    padding: 18px;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.domain-plan-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.11);
    transform: translateY(-4px);
}

.domain-plan-card h2,
.server-plan-row h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.domain-plan-price,
.server-plan-row > strong {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    color: var(--ink);
    line-height: 1;
}

.domain-plan-price strong,
.server-plan-row > strong {
    font-size: 24px;
}

.domain-plan-price small,
.server-plan-row small {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.billing-cycle-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 5px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.billing-cycle-toggle button {
    min-height: 34px;
    color: #334155;
    background: transparent;
    border: 0;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 900;
    transition: transform 0.16s ease, color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.billing-cycle-toggle button.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.18);
}

.domain-plan-price-meta {
    display: grid;
    gap: 6px;
    padding: 10px;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    font-size: 12px;
}

.domain-plan-price-meta span {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.domain-plan-price-meta b {
    color: #0f172a;
}

.domain-plan-card ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: 14px;
}

.domain-plan-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    min-width: 0;
}

.domain-plan-card li i {
    color: var(--blue);
    line-height: 1.5;
}

.domain-plan-actions,
.server-plan-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 10px;
    margin-top: auto;
}

.domain-plan-card > .btn {
    align-self: end;
    width: fit-content;
}

.domain-plan-actions label {
    display: grid;
    gap: 6px;
    min-width: 128px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.domain-plan-actions select,
.server-plan-actions select {
    min-width: 116px;
}

.server-plan-list {
    display: grid;
    gap: 12px;
}

.server-plan-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 16px;
    align-items: center;
    padding: 16px 18px;
}

.server-plan-row span {
    display: inline-flex;
    margin-bottom: 6px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.server-plan-row p {
    margin: 5px 0 0;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.server-plan-summary {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

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

.domain-tld-grid article {
    display: grid;
    gap: 5px;
    padding: 14px;
}

.domain-tld-grid strong {
    font-size: 18px;
}

.domain-tld-grid span {
    color: var(--muted);
    font-size: 13px;
}

.notice-link {
    display: inline-flex;
    margin-left: 10px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nav-services-menu {
    width: min(720px, calc(100vw - 32px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.nav-services-dropdown .dropdown-menu.show {
    display: grid;
}

body.site-page .main-nav .nav-services-menu .dropdown-item {
    min-height: 52px;
}

.nav-services-overview {
    grid-column: 1 / -1;
}

.service-catalog-hero,
.service-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
    gap: 28px;
    align-items: center;
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 8%, rgba(96, 165, 250, 0.28), transparent 34%),
        linear-gradient(130deg, #020617 0%, #0f2a5f 54%, #312e81 100%);
}

.service-catalog-hero h1,
.service-detail-hero h1,
.service-catalog-hero p,
.service-detail-hero p {
    color: #ffffff;
}

.service-catalog-hero p,
.service-detail-hero p {
    color: #dbeafe;
}

.service-catalog-hero .breadcrumb-line,
.service-detail-hero .breadcrumb-line {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.72);
}

.service-catalog-hero .breadcrumb-line a,
.service-detail-hero .breadcrumb-line a {
    color: #bfdbfe;
    font-weight: 800;
}

.service-catalog-hero-card,
.service-detail-visual,
.service-detail-side {
    border: 1px solid rgba(147, 197, 253, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 28px 70px rgba(2, 6, 23, 0.28);
    backdrop-filter: blur(14px);
}

.service-catalog-hero-card,
.service-detail-visual {
    display: grid;
    gap: 14px;
    padding: 26px;
}

.service-catalog-hero-card span,
.service-detail-visual strong {
    color: #bfdbfe;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.service-catalog-hero-card strong {
    color: #ffffff;
    font-size: 28px;
    line-height: 1.15;
}

.service-detail-visual span {
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    font-size: 38px;
    box-shadow: 0 22px 44px rgba(37, 99, 235, 0.32);
}

.service-detail-visual img {
    width: 100%;
    max-height: 320px;
    object-fit: fill;
    object-position: center;
    border-radius: 14px;
}

.service-showcase-section {
    position: relative;
}

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

.service-catalog-grid-home {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-premium-card {
    position: relative;
    display: grid;
    min-height: 320px;
    gap: 14px;
    align-content: start;
    overflow: hidden;
    padding: 24px;
    color: #ffffff;
    background:
        linear-gradient(145deg, rgba(37, 99, 235, 0.94), rgba(49, 46, 129, 0.96)),
        #0f2a5f;
    border: 1px solid rgba(191, 219, 254, 0.22);
    border-radius: 16px;
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-premium-card::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.16), transparent 38%);
    pointer-events: none;
}

.service-premium-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(191, 219, 254, 0.48);
    box-shadow: 0 28px 70px rgba(37, 99, 235, 0.24);
}

.service-premium-icon,
.service-premium-card h2,
.service-premium-card h3,
.service-premium-card p,
.service-premium-link {
    position: relative;
    z-index: 1;
}

.service-premium-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    font-size: 25px;
}

.service-premium-card h2,
.service-premium-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 21px;
    line-height: 1.24;
    overflow-wrap: anywhere;
}

.service-premium-card p {
    margin: 0;
    color: #dbeafe;
    font-size: 14px;
    line-height: 1.62;
}

.service-premium-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    min-height: 40px;
    margin-top: auto;
    padding: 10px 14px;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 9px;
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.16);
    font-size: 13px;
    font-weight: 900;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-premium-link:hover {
    color: #0f172a;
    transform: translateX(3px);
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.24);
}

.service-section-actions {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.service-detail-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.32fr);
    gap: 24px;
    align-items: start;
}

.service-detail-main {
    display: grid;
    gap: 28px;
}

.service-detail-block {
    display: grid;
    gap: 16px;
}

.service-detail-block h2,
.service-detail-side h2 {
    margin: 0;
    font-size: 24px;
}

.service-detail-list,
.service-advantage-grid,
.service-faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.service-detail-list span,
.service-advantage-grid article,
.service-faq-list article,
.service-timeline article {
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.service-detail-list span {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    color: #0f172a;
    font-weight: 800;
}

.service-detail-list i,
.service-advantage-grid i {
    color: #2563eb;
    font-size: 18px;
}

.service-advantage-grid article,
.service-faq-list article {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.service-advantage-grid p,
.service-faq-list p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.service-faq-list h3 {
    margin: 0;
    font-size: 18px;
}

.service-timeline {
    display: grid;
    gap: 12px;
}

.service-timeline article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
}

.service-timeline span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #312e81);
    border-radius: 10px;
    font-weight: 900;
}

.service-timeline p {
    margin: 0;
    color: #334155;
    font-weight: 800;
}

.service-detail-side {
    position: sticky;
    top: 136px;
    display: grid;
    gap: 12px;
    padding: 22px;
    color: #0f172a;
    background: #ffffff;
    border-color: #dbeafe;
}

.service-detail-side p {
    margin: 0;
    color: #64748b;
}

.service-detail-side .btn {
    justify-content: center;
    width: 100%;
}

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

@media (max-width: 1199px) {
    .service-catalog-grid,
    .service-catalog-grid-home {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .nav-services-menu {
        width: min(460px, calc(100vw - 32px));
        grid-template-columns: minmax(0, 1fr);
    }

    .service-catalog-hero,
    .service-detail-hero,
    .service-detail-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-detail-side {
        position: static;
    }

    .service-catalog-grid,
    .service-catalog-grid-home,
    .service-related-grid,
    .service-detail-list,
    .service-advantage-grid,
    .service-faq-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .domain-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .server-plan-row {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
    }

    .server-plan-actions {
        width: 100%;
    }

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

@media (max-width: 767px) {
    body.site-page h1,
    .product-hero h1,
    .page-hero h1 {
        font-size: 31px;
        line-height: 1.14;
    }

    body.site-page h2,
    .content-band h2,
    .feature-panel h2,
    .license-checkout-panel h2 {
        font-size: 23px;
    }

    body.site-page h3,
    .store-card h3,
    .service-card h3,
    .corporate-content-card h3 {
        font-size: 17px;
    }

    .page-hero,
    .page-hero.slim,
    .product-hero {
        padding-top: 32px;
        padding-bottom: 30px;
    }

    .domain-search-form,
    .domain-plan-grid,
    .domain-tld-grid,
    .service-catalog-grid,
    .service-catalog-grid-home,
    .service-related-grid,
    .service-detail-list,
    .service-advantage-grid,
    .service-faq-list,
    .split-section,
    .payment-method-grid,
    .license-checkout-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-premium-card {
        min-height: auto;
        padding: 20px;
    }

    .service-catalog-hero-card,
    .service-detail-visual {
        padding: 20px;
    }

    .service-timeline article {
        align-items: start;
    }

    .domain-plan-actions,
    .server-plan-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
    }

    .domain-plan-actions label,
    .domain-plan-actions select,
    .server-plan-actions select,
    .domain-plan-actions .btn,
    .server-plan-actions .btn,
    .domain-plan-card > .btn {
        width: 100%;
    }

    .hero-actions {
        align-items: stretch;
    }

    .hero-actions .btn {
        justify-content: center;
        width: 100%;
    }
}

body.site-page .topbar {
    min-height: 80px;
    padding-top: 3px;
    padding-bottom: 3px;
}

body.site-page .topbar .container-fluid,
body.site-page .brand {
    min-height: 74px;
}

body.site-page .brand {
    gap: 12px;
}

body.site-page .brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 12px;
}

body.site-page .brand strong {
    font-size: 18px;
}

body.site-page .brand small {
    font-size: 10px;
    letter-spacing: 0;
}

body.site-page .page-hero:not(.contact-hero),
body.site-page .page-hero.slim,
body.site-page .service-catalog-hero,
body.site-page .service-detail-hero,
body.site-page .product-hero {
    position: relative;
    overflow: hidden;
    min-height: auto;
    padding: clamp(34px, 5vw, 58px) clamp(18px, 5vw, 72px);
    color: #ffffff;
    background:
        radial-gradient(circle at 18% 14%, rgba(56, 189, 248, 0.22), transparent 28%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 34px),
        linear-gradient(115deg, #020617 0%, #0a1f44 48%, #172554 100%);
    border-bottom: 1px solid rgba(191, 219, 254, 0.22);
}

body.site-page .page-hero:not(.contact-hero)::before,
body.site-page .service-catalog-hero::before,
body.site-page .service-detail-hero::before,
body.site-page .product-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    background:
        linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.08) 38% 39%, transparent 39% 100%),
        linear-gradient(25deg, rgba(255, 255, 255, 0.08), transparent 36%);
    opacity: 0.85;
    pointer-events: none;
}

body.site-page .page-hero > *,
body.site-page .service-catalog-hero > *,
body.site-page .service-detail-hero > *,
body.site-page .product-hero > * {
    position: relative;
    z-index: 1;
}

body.site-page .page-hero h1,
body.site-page .service-catalog-hero h1,
body.site-page .service-detail-hero h1,
body.site-page .product-hero h1 {
    max-width: 960px;
    color: #ffffff;
    font-size: clamp(31px, 3.4vw, 44px);
    line-height: 1.12;
}

body.site-page .page-hero p,
body.site-page .service-catalog-hero p,
body.site-page .service-detail-hero p,
body.site-page .product-hero p {
    max-width: 760px;
    color: #dbeafe;
    font-size: 16px;
    line-height: 1.65;
}

.marketplace-page .page-hero.slim {
    padding-top: 34px;
    padding-bottom: 34px;
}

.marketplace-page .content-band {
    padding-top: 28px;
}

.product-card-slogan {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    color: #475569;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-hero-side {
    display: grid;
    gap: 14px;
}

.product-hero-visual {
    display: grid;
    aspect-ratio: 12 / 5;
    min-height: 0;
    overflow: hidden;
    place-items: center;
    background: #ffffff;
    border: 1px solid rgba(191, 219, 254, 0.36);
    border-radius: 18px;
    box-shadow: 0 24px 54px rgba(2, 6, 23, 0.28);
}

.product-hero-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
}

.product-hero-visual span {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 18px;
    font-size: 32px;
    font-weight: 900;
}

.product-hero .order-summary p {
    color: #64748b;
}

body.site-page .product-hero .order-summary p {
    color: #475569;
}

.product-hero-summary {
    max-width: 760px;
}

.product-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.product-badge-row .badge {
    margin: 0;
}

.product-hero .order-summary .product-summary-under-price {
    margin: -2px 0 0;
    color: #1e293b;
    font-weight: 800;
    line-height: 1.55;
}

body.site-page .product-hero .order-summary .product-summary-under-price {
    color: #0f172a;
}

.product-hero .order-summary strong {
    color: #0f172a;
}

.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.product-editor-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.product-detail-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.product-detail-facts article {
    display: grid;
    gap: 8px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.product-detail-facts i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 12px;
}

.product-detail-facts strong {
    color: #0f172a;
    font-size: 16px;
}

.product-detail-facts span {
    color: #64748b;
    line-height: 1.55;
}

.editor-content {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    color: #334155;
    font-size: 16px;
    line-height: 1.75;
}

.detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
}

.editor-content > :first-child {
    margin-top: 0;
}

.editor-content > :last-child {
    margin-bottom: 0;
}

.editor-content h1,
.editor-content h2,
.editor-content h3,
.editor-content h4 {
    margin: 1.2em 0 0.55em;
    color: #0f172a;
    line-height: 1.22;
}

.editor-content p {
    margin: 0 0 14px;
}

.editor-content ul,
.editor-content ol {
    display: grid;
    gap: 8px;
    padding-left: 22px;
    margin: 0 0 16px;
}

.editor-content blockquote {
    margin: 16px 0;
    padding: 14px 18px;
    color: #1e3a8a;
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    border-radius: 12px;
}

.editor-content pre {
    max-width: 100%;
    overflow-x: auto;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    padding: 14px 16px;
    color: #e2e8f0;
    background: #0f172a;
    border-radius: 14px;
}

.editor-content code {
    overflow-wrap: anywhere;
}

.editor-content img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.detail-content iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 260px;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 14px;
}

.editor-content table {
    width: 100%;
    min-width: 620px;
    margin: 18px 0;
    overflow: hidden;
    border-collapse: collapse;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.editor-content th,
.editor-content td {
    padding: 13px 15px;
    border: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}

.editor-content th {
    color: #0f172a;
    background: #f8fafc;
    font-weight: 800;
}

.editor-content tr:hover td {
    background: #f8fbff;
}

.editor-content-compact {
    font-size: 14px;
    line-height: 1.58;
}

.editor-content-compact p,
.editor-content-compact ul,
.editor-content-compact ol {
    margin-bottom: 0;
}

.rich-editor-field {
    grid-column: 1 / -1;
}

.rich-editor-field .ck.ck-editor {
    width: 100%;
    max-width: 100%;
}

.rich-editor-field .ck.ck-editor__editable {
    min-height: 300px;
}

.service-premium-card {
    min-height: 268px;
    gap: 12px;
    padding: 20px;
    border-radius: 14px;
}

.service-premium-card:nth-child(12n + 1) {
    background: linear-gradient(145deg, #172554, #2563eb 58%, #06b6d4);
}

.service-premium-card:nth-child(12n + 2) {
    background: linear-gradient(145deg, #111827, #1d4ed8 55%, #7c3aed);
}

.service-premium-card:nth-child(12n + 3) {
    background: linear-gradient(145deg, #0f172a, #0f766e 54%, #2563eb);
}

.service-premium-card:nth-child(12n + 4) {
    background: linear-gradient(145deg, #1e1b4b, #4338ca 56%, #0ea5e9);
}

.service-premium-card:nth-child(12n + 5) {
    background: linear-gradient(145deg, #082f49, #2563eb 54%, #22c55e);
}

.service-premium-card:nth-child(12n + 6) {
    background: linear-gradient(145deg, #0f172a, #155e75 56%, #6366f1);
}

.service-premium-card:nth-child(12n + 7) {
    background: linear-gradient(145deg, #172554, #7c3aed 58%, #38bdf8);
}

.service-premium-card:nth-child(12n + 8) {
    background: linear-gradient(145deg, #0f172a, #1d4ed8 52%, #14b8a6);
}

.service-premium-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 22px;
}

.service-premium-card h2,
.service-premium-card h3 {
    font-size: 19px;
}

.service-premium-card p {
    display: -webkit-box;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.52;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.service-premium-link {
    min-height: 38px;
    padding: 9px 13px;
}

.service-detail-list article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 14px;
    color: #0f172a;
    font-weight: 800;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.service-detail-list span {
    display: none;
}

.service-editor-content {
    padding: 18px;
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

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

.service-timeline article {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    min-height: 138px;
}

.service-timeline .editor-content {
    font-weight: 800;
}

@media (max-width: 1199.98px) {
    .product-detail-layout,
    .service-detail-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-detail-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    body.site-page .topbar {
        min-height: 80px;
        padding: 3px 18px;
    }

    body.site-page .topbar .container-fluid,
    body.site-page .brand {
        min-height: 74px;
    }

    body.site-page .brand-mark {
        width: 46px;
        height: 46px;
    }

    body.site-page .page-hero:not(.contact-hero),
    body.site-page .page-hero.slim,
    body.site-page .service-catalog-hero,
    body.site-page .service-detail-hero,
    body.site-page .product-hero {
        padding: 30px 18px;
    }

    .product-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-detail-layout,
    .product-detail-facts,
    .service-timeline {
        grid-template-columns: minmax(0, 1fr);
    }

    .editor-content table {
        min-width: 560px;
    }
}

body.site-page .page-hero p,
body.site-page .page-hero-description {
    max-width: min(760px, calc(100vw - 48px)) !important;
    overflow-wrap: anywhere;
    white-space: normal !important;
}

.store-filters {
    max-width: calc(100vw - 48px);
    box-sizing: border-box;
}

@media (max-width: 520px) {
    body.site-page .page-hero-title,
    body.site-page .page-hero h1,
    body.site-page .page-hero-description,
    body.site-page .page-hero p,
    .integration-hero-metrics,
    .integration-filter-bar,
    .store-filters {
        width: min(342px, calc(100vw - 48px)) !important;
        max-width: min(342px, calc(100vw - 48px)) !important;
    }
}

@media (max-width: 575px) {
    body.site-page .topbar {
        min-height: auto;
        padding-right: 12px;
        padding-left: 12px;
    }

    body.site-page .topbar .container-fluid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: center;
        min-height: auto;
        gap: 8px;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.site-page .brand {
        max-width: 100%;
        min-height: auto;
        min-width: 0;
        gap: 10px !important;
    }

    body.site-page .brand > span:not(.brand-mark) {
        min-width: 0;
    }

    body.site-page .brand-mark {
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
    }

    body.site-page .brand strong {
        font-size: 15px;
    }

    body.site-page .brand small {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-size: 8px;
    }

    body.site-page .header-actions {
        position: static;
        flex: 0 0 auto;
        flex-wrap: nowrap;
        gap: 6px;
        justify-content: flex-start;
        margin-left: 0;
        transform: none;
    }

    body.site-page .header-actions .btn {
        display: grid;
        width: 38px;
        min-width: 38px;
        padding: 0;
        place-items: center;
    }
}

/* Final storefront, heading and integration-center guardrails */
body.site-page .page-hero,
body.site-page .page-hero.slim,
body.site-page.contact-page .page-hero.contact-hero {
    min-height: auto !important;
    padding: clamp(34px, 4.2vw, 54px) clamp(18px, 5vw, 72px) !important;
}

body.site-page .page-hero-title,
body.site-page .page-hero h1,
body.site-page.contact-page .page-hero.contact-hero h1 {
    max-width: 960px;
    margin-top: 0;
    color: #ffffff;
    font-size: clamp(30px, 3.1vw, 42px);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0;
    overflow-wrap: anywhere;
}

body.site-page .page-hero-description,
body.site-page .page-hero p,
body.site-page.contact-page .page-hero.contact-hero p {
    max-width: 760px;
    color: #dbeafe;
    font-size: 17px;
    line-height: 1.7;
}

.store-grid,
.plan-grid,
.product-card-grid,
.pricing-grid {
    align-items: stretch;
}

.store-card,
.product-card-pro,
.pricing-card,
.package-pricing-card {
    height: 100%;
    min-width: 0;
}

.store-card {
    display: flex;
    flex-direction: column;
}

.store-card .store-price {
    margin-top: auto;
}

.store-card h2,
.store-card h3,
.product-card-pro h3,
.pricing-card h3,
.package-pricing-card h3 {
    overflow-wrap: anywhere;
}

.product-card-slogan,
.pricing-card-summary,
.package-pricing-card .pricing-card-summary {
    display: -webkit-box;
    min-height: 44px;
    overflow: hidden;
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.store-price-stack strong,
.pricing-price {
    display: block;
    color: #0f172a;
    font-size: clamp(22px, 2.1vw, 28px);
    line-height: 1.08;
    letter-spacing: 0;
}

.store-price-stack small,
.pricing-period-note,
.package-pricing-card small {
    display: block;
    max-width: 100%;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.package-pricing-card {
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    gap: 12px;
    border-color: #dbeafe;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.package-pricing-card.is-featured::after {
    position: absolute;
    top: 14px;
    right: 14px;
    content: "Öne Çıkan";
    padding: 6px 10px;
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 12px 22px rgba(37, 99, 235, 0.22);
}

.package-pricing-card ul {
    align-content: start;
    margin: 0;
}

.integration-center-section {
    padding-top: clamp(28px, 4vw, 46px);
}

.integrations-center-hero {
    display: block;
}

.integration-hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.integration-hero-metrics span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 36px;
    padding: 8px 12px;
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(191, 219, 254, 0.2);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 750;
}

.integration-hero-metrics strong {
    color: #ffffff;
    font-weight: 900;
}

.integration-filter-bar {
    position: sticky;
    top: 94px;
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #dbeafe;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

.integration-filter-bar button {
    min-height: 36px;
    padding: 8px 12px;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 850;
    transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.integration-filter-bar button:hover,
.integration-filter-bar button.is-active {
    color: #ffffff;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border-color: rgba(37, 99, 235, 0.35);
    transform: translateY(-1px);
}

.integration-category-stack {
    display: grid;
    gap: 28px;
}

.integration-category-block {
    display: grid;
    gap: 16px;
}

.integration-category-head {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.integration-category-head > span {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    color: #ffffff;
    background: linear-gradient(135deg, #0f172a, #2563eb);
    border-radius: 15px;
    font-size: 22px;
    box-shadow: 0 16px 34px rgba(37, 99, 235, 0.18);
}

.integration-category-head h2 {
    margin: 0 0 4px;
    color: #0f172a;
    font-size: clamp(22px, 2.3vw, 28px);
    line-height: 1.18;
}

.integration-category-head p {
    max-width: 780px;
    margin: 0;
    color: #64748b;
    line-height: 1.6;
}

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

.integration-card {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
    height: 100%;
    padding: 16px;
    background:
        linear-gradient(180deg, rgba(239, 246, 255, 0.86), rgba(255, 255, 255, 0.98)),
        #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.integration-card:hover {
    border-color: #93c5fd;
    box-shadow: 0 24px 54px rgba(37, 99, 235, 0.13);
    transform: translateY(-4px);
}

.integration-card.is-hidden,
.integration-category-block.is-hidden {
    display: none;
}

.integration-logo {
    position: relative;
    display: grid;
    width: 56px;
    height: 56px;
    place-items: center;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 12px 24px rgba(15, 23, 42, 0.07);
}

.integration-logo img {
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.integration-logo img[src$="placeholder.svg"] {
    opacity: 0.2;
}

.integration-logo em {
    position: absolute;
    inset: 0;
    display: none;
    place-items: center;
    color: #1d4ed8;
    font-style: normal;
    font-size: 20px;
    font-weight: 900;
}

.integration-logo img[src$="placeholder.svg"] + em {
    display: grid;
}

.integration-card-body {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.integration-category {
    color: #2563eb;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.integration-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.integration-card p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.integration-status {
    width: fit-content;
    margin-top: 2px;
    padding: 5px 8px;
    color: #0f766e;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
}

.integration-status-planlaniyor {
    color: #7c2d12;
    background: #fff7ed;
    border-color: #fed7aa;
}

.integration-status-opsiyonel {
    color: #1e3a8a;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.integrations-cta {
    margin-top: 12px;
}

.form-grid .rich-editor-field,
.form-grid .wide-field.rich-editor-field,
.service-editor-grid .rich-editor-field {
    grid-column: 1 / -1;
}

.rich-editor-field textarea.ckeditor-detailed-description {
    min-height: 320px;
}

.rich-editor-field .ck.ck-editor,
.rich-editor-field .ck-editor__main,
.rich-editor-field .ck.ck-editor__editable {
    width: 100%;
    max-width: 100%;
}

.rich-editor-field .ck.ck-editor__editable,
.rich-editor-field .ck-editor__editable_inline {
    min-height: 320px;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.7;
}

.rich-editor-field .ck.ck-toolbar {
    border-radius: 12px 12px 0 0;
}

.rich-editor-field .ck.ck-toolbar__items {
    flex-wrap: wrap;
}

.rich-editor-field .ck.ck-dropdown__panel {
    max-width: calc(100vw - 32px);
}

.rich-editor-field .tox.tox-tinymce {
    width: 100% !important;
    max-width: 100%;
    border-color: #dbeafe;
    border-radius: 12px;
}

.rich-editor-field .tox .tox-toolbar,
.rich-editor-field .tox .tox-toolbar__overflow,
.rich-editor-field .tox .tox-toolbar__primary {
    flex-wrap: wrap;
}

.rich-editor-field .tox .tox-edit-area__iframe {
    background: #ffffff;
}

.rich-editor-fallback {
    min-height: 320px;
    border: 1px solid #f59e0b !important;
    background: #fffaf0 !important;
}

.rich-editor-fallback-note {
    display: block;
    margin-top: 8px;
    color: #92400e;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 1199.98px) {
    .integration-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .integration-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .integration-filter-bar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    body.site-page .main-nav-underbar {
        position: static;
        top: auto;
        right: auto;
        left: auto;
    }

    body.site-page .page-hero,
    body.site-page .page-hero.slim,
    body.site-page.contact-page .page-hero.contact-hero {
        padding: 30px 18px !important;
    }

    body.site-page .page-hero-title,
    body.site-page .page-hero h1,
    body.site-page.contact-page .page-hero.contact-hero h1 {
        font-size: 30px;
    }

    body.site-page .page-hero-description,
    body.site-page .page-hero p,
    body.site-page.contact-page .page-hero.contact-hero p {
        font-size: 15px;
        width: calc(100vw - 48px) !important;
        max-width: calc(100vw - 48px) !important;
        overflow-wrap: anywhere;
        white-space: normal !important;
    }

    body.site-page .page-hero-title,
    body.site-page .page-hero h1,
    body.site-page.contact-page .page-hero.contact-hero h1 {
        width: calc(100vw - 48px) !important;
        max-width: calc(100vw - 48px) !important;
        white-space: normal !important;
    }

    body.site-page main,
    body.site-page .content-band,
    body.site-page .page-hero,
    body.site-page .page-hero.slim,
    .store-filters {
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .marketplace-page .content-band,
    .integrations-page .content-band {
        padding-right: 24px;
        padding-left: 24px;
    }

    .store-filters {
        width: calc(100vw - 48px) !important;
        max-width: calc(100vw - 48px) !important;
    }

    .store-filters,
    .store-filters label,
    .store-filters input,
    .store-filters select,
    .store-filters .btn {
        width: 100%;
        min-width: 0;
    }

    .integration-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .integration-card {
        grid-template-columns: 52px minmax(0, 1fr);
        padding: 14px;
    }

    .integration-logo {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 520px) {
    body.site-page .page-hero-title,
    body.site-page .page-hero h1,
    body.site-page .page-hero-description,
    body.site-page .page-hero p,
    .integration-hero-metrics,
    .integration-filter-bar,
    .store-filters {
        width: min(342px, calc(100vw - 48px)) !important;
        max-width: min(342px, calc(100vw - 48px)) !important;
        white-space: normal !important;
    }
}

/* Professional mobile storefront header */
body.site-page .public-topbar-inner {
    min-height: 38px;
    flex-wrap: nowrap;
}

body.site-page .public-topbar-meta {
    min-width: 0;
    flex-wrap: nowrap;
}

body.site-page .top-mail {
    min-width: 0;
}

body.site-page .top-mail span {
    display: inline-block;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.site-page .public-topbar-social {
    flex-shrink: 0;
    flex-wrap: nowrap;
}

body.site-page .public-topbar-social span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(147, 197, 253, 0.2);
    border-radius: 999px;
}

@media (max-width: 991.98px) {
    body.site-page .public-topbar {
        height: 36px;
        min-height: 36px;
        padding: 0 14px;
        overflow: hidden;
    }

    body.site-page .public-topbar .public-topbar-inner {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 36px;
        height: 36px;
        gap: 10px;
        max-width: 100%;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.site-page .public-topbar-meta {
        display: flex !important;
        align-items: center !important;
        gap: 0;
        min-width: 0;
        max-width: calc(100% - 144px);
    }

    body.site-page .public-topbar-meta .top-phone,
    body.site-page .public-topbar-meta .top-hours,
    body.site-page .top-address,
    body.site-page .currency-box,
    body.site-page .exchange-rate-box,
    body.site-page .current-rate,
    body.site-page .money-unit,
    body.site-page .para-birimi,
    body.site-page .guncel-kur {
        display: none !important;
    }

    body.site-page .top-mail {
        display: inline-flex !important;
        align-items: center;
        gap: 7px;
        min-width: 0;
        max-width: 100%;
        color: inherit;
        text-decoration: none;
        white-space: nowrap;
    }

    body.site-page .top-mail span {
        max-width: calc(100vw - 168px);
    }

    body.site-page .public-topbar-social {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end;
        gap: 7px;
        min-width: 132px;
    }

    body.site-page .public-topbar-social a,
    body.site-page .public-topbar-social span {
        width: 26px;
        height: 26px;
        flex: 0 0 26px;
        font-size: 13px;
    }

    body.site-page .site-header-stack {
        position: sticky;
        top: 0;
        z-index: 1040;
        overflow: visible;
    }

    body.site-page .site-header-stack .topbar {
        min-height: 62px;
        padding: 0 14px;
        background: #02091a !important;
    }

    body.site-page .topbar .container-fluid {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between;
        min-height: 62px !important;
        width: 100%;
        max-width: 100%;
        gap: 10px;
        padding: 0 !important;
    }

    body.site-page .brand {
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100% - 142px);
        min-height: 0 !important;
        gap: 10px !important;
    }

    body.site-page .brand-mark {
        width: 36px !important;
        height: 36px !important;
        flex: 0 0 36px;
    }

    body.site-page .brand > span:not(.brand-mark) {
        min-width: 0;
    }

    body.site-page .brand strong,
    body.site-page .brand small {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.site-page .brand strong {
        font-size: 15px;
    }

    body.site-page .brand small {
        font-size: 8px;
    }

    body.site-page .header-actions {
        display: inline-flex !important;
        align-items: center;
        flex: 0 0 auto;
        flex-wrap: nowrap;
        gap: 8px;
        width: auto !important;
        margin-left: auto;
    }

    body.site-page .header-actions .dropdown {
        width: auto !important;
        flex: 0 0 auto;
    }

    body.site-page .header-actions .btn,
    body.site-page .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        flex: 0 0 38px;
        padding: 0 !important;
        border-radius: 11px;
    }

    body.site-page .header-actions .btn span,
    body.site-page .header-actions .dropdown-toggle::after {
        display: none !important;
    }

    body.site-page .menu-toggle {
        position: static !important;
        margin-left: 0;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(147, 197, 253, 0.34);
        transform: none !important;
    }

    body.site-page .main-nav-underbar {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        right: 0;
        left: 0;
        z-index: 1039;
        width: 100%;
        max-height: calc(100dvh - 98px);
        overflow-y: auto;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    }

    body.site-page .main-nav-underbar.is-open {
        display: block !important;
    }

    body.site-page .main-nav-underbar .container-fluid {
        width: 100%;
        max-width: 100%;
        padding: 0 !important;
    }

    body.site-page .main-nav-links {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        gap: 0;
        padding: 0;
    }

    body.site-page .main-nav-links .nav-link,
    body.site-page .main-nav .main-nav-control {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 46px;
        padding: 12px 20px;
        color: #0f172a;
        background: #ffffff;
        border-bottom: 1px solid #f1f5f9;
        border-radius: 0;
        font-size: 14px;
        font-weight: 800;
        text-shadow: none;
    }

    body.site-page .main-nav .dropdown-menu {
        position: static !important;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
        transform: none !important;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    body.site-page .main-nav .dropdown-menu .dropdown-item {
        min-height: 44px;
        padding: 10px 24px;
        border-bottom: 1px solid #f8fafc;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }
}

@media (max-width: 420px) {
    body.site-page .public-topbar {
        height: 34px;
        min-height: 34px;
        padding-right: 10px;
        padding-left: 10px;
    }

    body.site-page .public-topbar .public-topbar-inner {
        min-height: 34px;
        height: 34px;
    }

    body.site-page .top-mail span {
        max-width: calc(100vw - 150px);
    }

    body.site-page .public-topbar-social {
        gap: 5px;
        min-width: 118px;
    }

    body.site-page .public-topbar-social a,
    body.site-page .public-topbar-social span {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    body.site-page .site-header-stack .topbar {
        min-height: 58px;
        padding-right: 10px;
        padding-left: 10px;
    }

    body.site-page .topbar .container-fluid {
        min-height: 58px !important;
        gap: 7px;
    }

    body.site-page .brand {
        max-width: calc(100% - 132px);
    }

    body.site-page .brand-mark {
        width: 34px !important;
        height: 34px !important;
        flex-basis: 34px;
    }

    body.site-page .header-actions {
        gap: 6px;
    }

    body.site-page .header-actions .btn,
    body.site-page .menu-toggle {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        flex-basis: 36px;
    }
}

/* Product detail pages: full-width banner-only hero */
body.product-detail-page main {
    padding-top: 0 !important;
}

body.product-detail-page .product-hero.product-hero-banner {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
}

body.product-detail-page .product-hero.product-hero-banner::before,
body.product-detail-page .product-hero.product-hero-banner::after {
    display: none !important;
}

body.product-detail-page .product-hero.product-hero-banner .product-hero-visual {
    width: 100% !important;
    max-width: none !important;
    min-height: 0 !important;
    aspect-ratio: 21 / 6 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #0f172a !important;
}

body.product-detail-page .product-hero.product-hero-banner .product-hero-visual img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

body.product-detail-page .product-detail-section {
    padding-top: 22px !important;
}

body.product-detail-page .product-detail-layout {
    display: block !important;
    max-width: none !important;
    width: min(100%, 1180px) !important;
    margin: 0 auto !important;
}

body.product-detail-page .product-editor-card {
    width: 100% !important;
}

body.product-detail-page .product-detail-facts,
body.product-detail-page .product-editor-card .section-heading {
    display: none !important;
}

@media (max-width: 991.98px) {
    body.product-detail-page .product-hero.product-hero-banner {
        padding: 0 !important;
    }

    body.product-detail-page .product-hero.product-hero-banner .product-hero-visual {
        aspect-ratio: 16 / 7 !important;
        max-height: none !important;
    }
}

@media (max-width: 575.98px) {
    body.product-detail-page .product-hero.product-hero-banner {
        padding: 0 !important;
    }

    body.product-detail-page .product-hero.product-hero-banner .product-hero-visual {
        aspect-ratio: 4 / 3 !important;
    }
}

/* Compact responsive hero guardrails */
body.site-page .hero,
body.site-page .hero.hero-slider,
body.site-page .hero.hero-slider.hero-reference,
body.site-page .page-hero,
body.site-page .service-catalog-hero,
body.site-page .service-detail-hero,
body.site-page .product-hero {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body.site-page .hero.hero-slider.hero-reference {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 1199.98px) {
    body.site-page .hero.hero-slider.hero-reference {
        padding: 46px 28px 32px;
    }
}

@media (max-width: 991.98px) {
    body.site-page .hero.hero-slider.hero-reference {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        min-height: auto !important;
        padding: 42px 20px 30px;
    }

    body.site-page .hero-reference .hero-slider-copy,
    body.site-page .hero-reference .hero-showcase,
    body.site-page .hero-reference .showcase-device-stack,
    body.site-page .hero-reference .showcase-window {
        width: 100%;
        max-width: 100%;
    }

    body.site-page .hero-reference .hero-copy-stage {
        min-height: auto !important;
    }

    body.site-page .hero-reference .hero-slide h1 {
        max-width: 680px;
        margin: 14px 0 12px;
        font-size: 32px;
        line-height: 1.16;
    }

    body.site-page .hero-reference .hero-slide p {
        max-width: 620px;
        font-size: 15px;
        line-height: 1.58;
    }

    body.site-page .hero-reference .hero-actions {
        margin-top: 18px;
    }

    body.site-page .hero-reference .hero-showcase {
        margin-top: 4px;
    }

    body.site-page .hero-reference .showcase-device-stack {
        min-height: auto !important;
        padding: 0;
    }

    body.site-page .hero-reference .showcase-window {
        transform: none;
    }

    body.site-page .hero-reference .showcase-phone {
        display: none !important;
    }

    body.site-page .page-hero,
    body.site-page .page-hero.slim,
    body.site-page .service-catalog-hero,
    body.site-page .service-detail-hero,
    body.site-page .product-hero {
        min-height: auto !important;
        padding: 46px 20px !important;
    }
}

@media (max-width: 767.98px) {
    body.site-page .hero.hero-slider.hero-reference {
        display: grid;
        min-height: auto !important;
        padding: 30px 16px 26px !important;
        background-position: center top;
    }

    body.site-page .hero.hero-slider.hero-reference::after {
        display: none;
    }

    body.site-page .hero-reference .eyebrow {
        min-height: 24px;
        padding: 4px 8px;
        font-size: 10px;
    }

    body.site-page .hero-reference .hero-slide h1 {
        margin: 12px 0 10px;
        font-size: 28px;
        line-height: 1.18;
    }

    body.site-page .hero-reference .hero-slide p {
        font-size: 14.5px;
        line-height: 1.52;
    }

    body.site-page .hero-reference .hero-actions {
        gap: 10px;
        margin-top: 16px;
    }

    body.site-page .hero-reference .hero-actions .btn {
        width: 100%;
        min-height: 42px;
        justify-content: center;
    }

    body.site-page .hero-reference .hero-slider-controls {
        width: 100%;
        margin-top: 12px;
        padding: 5px;
    }

    body.site-page .hero-reference .hero-showcase,
    body.site-page .hero-reference .showcase-phone,
    body.site-page .hero-reference .showcase-panels {
        display: none !important;
    }

    body.site-page .page-hero,
    body.site-page .page-hero.slim,
    body.site-page .service-catalog-hero,
    body.site-page .service-detail-hero,
    body.site-page .product-hero {
        min-height: auto !important;
        padding: 34px 16px !important;
    }

    body.site-page .page-hero-title,
    body.site-page .page-hero h1,
    body.site-page.contact-page .page-hero.contact-hero h1 {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 28px;
        line-height: 1.18;
    }

    body.site-page .page-hero-description,
    body.site-page .page-hero p,
    body.site-page.contact-page .page-hero.contact-hero p {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 15px;
        line-height: 1.55;
    }

    body.site-page .hero-shape,
    body.site-page .hero-blur,
    body.site-page .hero-decoration,
    body.site-page .floating-card {
        display: none !important;
    }
}

@media (max-width: 420px) {
    body.site-page .hero.hero-slider.hero-reference {
        padding: 24px 12px 22px !important;
    }

    body.site-page .hero-reference .hero-slide h1 {
        font-size: 25px;
    }

    body.site-page .hero-reference .hero-slide p {
        font-size: 14px;
    }

    body.site-page .page-hero,
    body.site-page .page-hero.slim,
    body.site-page .service-catalog-hero,
    body.site-page .service-detail-hero,
    body.site-page .product-hero {
        padding: 28px 12px !important;
    }
}

/* Mobile logo sizing without breaking the one-line header */
@media (max-width: 991.98px) {
    body.site-page .site-header-stack .topbar {
        min-height: 66px;
    }

    body.site-page .topbar .container-fluid {
        flex-wrap: nowrap !important;
        min-height: 66px !important;
    }

    body.site-page .brand,
    body.site-page .site-logo {
        display: inline-flex;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
        max-width: calc(100vw - 162px);
        overflow: hidden;
        text-decoration: none;
    }

    body.site-page .brand-mark {
        width: 42px !important;
        height: 42px !important;
        flex: 0 0 42px;
    }

    body.site-page .brand img,
    body.site-page .site-logo img {
        display: block;
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 46px;
        object-fit: contain;
    }

    body.site-page .brand strong {
        font-size: 16px;
        line-height: 1;
    }

    body.site-page .brand small {
        font-size: 9px;
        line-height: 1.2;
    }

    body.site-page .header-actions {
        flex: 0 0 auto;
        flex-shrink: 0;
        white-space: nowrap;
    }

    body.site-page .header-actions .btn,
    body.site-page .menu-toggle {
        flex-shrink: 0;
    }
}

@media (max-width: 575.98px) {
    body.site-page .site-header-stack .topbar {
        min-height: 62px;
    }

    body.site-page .topbar .container-fluid {
        min-height: 62px !important;
        gap: 8px;
    }

    body.site-page .brand,
    body.site-page .site-logo {
        max-width: calc(100vw - 150px);
    }

    body.site-page .brand-mark {
        width: 40px !important;
        height: 40px !important;
        flex-basis: 40px;
    }

    body.site-page .brand img,
    body.site-page .site-logo img {
        max-height: 44px;
    }

    body.site-page .brand strong {
        font-size: 15.5px;
    }
}

@media (max-width: 390px) {
    body.site-page .site-header-stack .topbar {
        min-height: 58px;
    }

    body.site-page .topbar .container-fluid {
        min-height: 58px !important;
        gap: 7px;
    }

    body.site-page .brand,
    body.site-page .site-logo {
        max-width: calc(100vw - 142px);
    }

    body.site-page .brand-mark {
        width: 38px !important;
        height: 38px !important;
        flex-basis: 38px;
    }

    body.site-page .brand img,
    body.site-page .site-logo img {
        max-height: 40px;
    }

    body.site-page .brand strong {
        font-size: 14.5px;
    }

    body.site-page .brand small {
        font-size: 8px;
    }
}

/* Desktop/tablet header menu must stay on a single professional row */
@media (min-width: 992px) {
    body.site-page .site-header-stack {
        position: sticky;
        top: 0;
        z-index: 1040;
        overflow: visible;
    }

    body.site-page .site-header-stack .topbar {
        min-height: 68px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    body.site-page .topbar .container-fluid {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        min-height: 52px;
        gap: 18px;
    }

    body.site-page .brand {
        flex: 0 1 230px;
        min-width: 172px;
        max-width: 230px;
        overflow: hidden;
    }

    body.site-page .brand-mark {
        flex: 0 0 38px;
        width: 38px;
        height: 38px;
    }

    body.site-page .brand strong,
    body.site-page .brand small {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.site-page .header-actions {
        display: inline-flex !important;
        align-items: center;
        justify-content: flex-end;
        flex: 0 0 auto;
        flex-wrap: nowrap !important;
        gap: 10px;
        width: auto !important;
        margin-left: auto;
        white-space: nowrap;
    }

    body.site-page .header-actions .btn,
    body.site-page .header-actions .dropdown {
        width: auto !important;
        flex: 0 0 auto;
    }

    body.site-page .menu-toggle {
        display: none !important;
    }

    body.site-page .main-nav-underbar {
        display: block !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        width: 100%;
        overflow: visible;
    }

    body.site-page .main-nav-underbar .container-fluid {
        display: flex !important;
        align-items: center;
        justify-content: center;
        max-width: 1280px;
        margin: 0 auto;
        padding-right: clamp(14px, 3vw, 40px) !important;
        padding-left: clamp(14px, 3vw, 40px) !important;
    }

    body.site-page .main-nav-links {
        display: flex !important;
        align-items: center !important;
        justify-content: center;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 6px;
        width: auto !important;
        max-width: 100%;
        min-width: 0;
        padding: 7px 0;
        overflow: visible;
    }

    body.site-page .main-nav-links > .nav-link,
    body.site-page .main-nav-links > .nav-dropdown,
    body.site-page .main-nav .main-nav-control {
        display: inline-flex !important;
        align-items: center;
        width: auto !important;
        min-width: 0;
        flex: 0 0 auto;
        margin: 0;
    }

    body.site-page .main-nav-links .nav-link,
    body.site-page .main-nav .main-nav-control {
        min-height: 36px;
        width: auto !important;
        padding: 9px 10px;
        white-space: nowrap !important;
        line-height: 1;
        border-radius: 7px;
    }

    body.site-page .main-nav a.is-active,
    body.site-page .main-nav .main-nav-control.is-active,
    body.site-page .main-nav .main-nav-control.show {
        width: auto !important;
    }

    body.site-page .main-nav .dropdown {
        position: relative;
    }

    body.site-page .main-nav .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: auto;
        min-width: 220px;
        margin-top: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    body.site-page .brand {
        flex-basis: 190px;
        max-width: 190px;
    }

    body.site-page .brand strong {
        font-size: 15px;
    }

    body.site-page .brand small {
        font-size: 8px;
    }

    body.site-page .main-nav-underbar .container-fluid {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    body.site-page .main-nav-links {
        gap: 3px;
    }

    body.site-page .main-nav-links .nav-link,
    body.site-page .main-nav .main-nav-control {
        min-height: 34px;
        padding: 8px 7px;
        font-size: 11px;
        letter-spacing: 0;
    }

    body.site-page .header-actions {
        gap: 7px;
    }

    body.site-page .header-actions .btn {
        min-height: 32px;
        padding: 7px 9px;
        font-size: 11px;
    }
}

/* Desktop/tablet hero must stay as a two-column row */
@media (min-width: 992px) {
    body.site-page .hero.hero-slider.hero-reference {
        display: grid !important;
        grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr) !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: clamp(24px, 3vw, 44px) !important;
        min-height: 500px !important;
        padding: 46px clamp(18px, 4vw, 64px) 34px !important;
    }

    body.site-page .hero-reference .hero-slider-copy {
        align-self: center;
        width: 100%;
        max-width: 620px !important;
        min-width: 0;
    }

    body.site-page .hero-reference .hero-copy-stage {
        min-height: auto !important;
    }

    body.site-page .hero-reference .hero-slide h1 {
        max-width: 620px;
        margin: 14px 0 12px;
        font-size: clamp(32px, 3.2vw, 52px);
        line-height: 1.1;
    }

    body.site-page .hero-reference .hero-slide p {
        max-width: 560px;
        font-size: 15px;
        line-height: 1.62;
    }

    body.site-page .hero-reference .hero-actions {
        margin-top: 20px;
    }

    body.site-page .hero-reference .hero-showcase {
        display: grid !important;
        align-self: center !important;
        justify-self: end;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-top: 0 !important;
    }

    body.site-page .hero-reference .showcase-device-stack {
        width: 100%;
        max-width: min(100%, 640px) !important;
        min-height: 0 !important;
        margin-left: auto;
        padding: 0 22px 26px 0;
    }

    body.site-page .hero-reference .showcase-window {
        width: min(100%, 610px);
        max-width: 100%;
    }

    body.site-page .hero-reference .showcase-phone {
        display: block;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    body.site-page .hero.hero-slider.hero-reference {
        grid-template-columns: minmax(0, 0.47fr) minmax(0, 0.53fr) !important;
        gap: 22px !important;
        min-height: 430px !important;
        padding: 34px 18px 28px !important;
    }

    body.site-page .hero-reference .hero-slider-copy {
        max-width: 500px !important;
    }

    body.site-page .hero-reference .eyebrow {
        min-height: 24px;
        padding: 4px 8px;
        font-size: 10px;
    }

    body.site-page .hero-reference .hero-slide h1 {
        max-width: 500px;
        margin: 12px 0 10px;
        font-size: 30px;
        line-height: 1.14;
    }

    body.site-page .hero-reference .hero-slide p {
        max-width: 470px;
        font-size: 13px;
        line-height: 1.52;
    }

    body.site-page .hero-reference .hero-actions {
        gap: 9px;
        margin-top: 14px;
    }

    body.site-page .hero-reference .hero-actions .btn {
        min-height: 34px;
        padding: 8px 12px;
        font-size: 11px;
    }

    body.site-page .hero-reference .hero-slider-controls {
        margin-top: 12px;
        padding: 5px;
    }

    body.site-page .hero-reference .hero-slider-nav {
        width: 28px;
        height: 28px;
    }

    body.site-page .hero-reference .showcase-device-stack {
        max-width: min(100%, 500px) !important;
        padding: 0 16px 20px 0;
    }

    body.site-page .hero-reference .showcase-window {
        width: min(100%, 480px);
        transform: perspective(1000px) rotateY(-4deg) rotateX(1deg);
    }

    body.site-page .hero-reference .showcase-body {
        gap: 8px;
        padding: 10px;
    }

    body.site-page .hero-reference .showcase-visual-copy,
    body.site-page .hero-reference .showcase-chart,
    body.site-page .hero-reference .showcase-metrics article,
    body.site-page .hero-reference .status-mini {
        padding: 9px;
    }

    body.site-page .hero-reference .showcase-metrics {
        gap: 7px;
    }

    body.site-page .hero-reference .showcase-metrics strong,
    body.site-page .hero-reference .status-mini strong {
        font-size: 14px;
    }

    body.site-page .hero-reference .showcase-panels {
        grid-template-columns: minmax(0, 1fr) 104px;
        gap: 8px;
    }

    body.site-page .hero-reference .showcase-line-chart {
        height: 66px;
    }

    body.site-page .hero-reference .showcase-phone {
        right: 0;
        bottom: 4px;
        width: 96px;
        height: 176px;
        padding: 8px;
    }

    body.site-page .hero-reference .showcase-phone-screen {
        min-height: 146px;
        padding: 10px 8px;
    }

    body.site-page .hero-reference .showcase-phone-screen strong {
        font-size: 20px;
    }
}

/* Professional header dropdown and mega menu behavior */
@media (min-width: 992px) {
    body.site-page .site-header-stack,
    body.site-page .topbar,
    body.site-page .topbar .container-fluid,
    body.site-page .main-nav-underbar,
    body.site-page .main-nav-underbar .container-fluid,
    body.site-page .main-nav,
    body.site-page .main-nav-links,
    body.site-page .main-nav .nav-dropdown {
        overflow: visible !important;
    }

    body.site-page .main-nav .nav-dropdown {
        position: relative;
    }

    body.site-page .main-nav-links {
        position: relative;
    }

    body.site-page .main-nav .nav-dropdown > .dropdown-menu {
        position: absolute !important;
        inset: auto auto auto 0 !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        z-index: 2500;
        display: none;
        width: auto !important;
        min-width: 280px;
        max-width: 360px;
        padding: 10px;
        margin: 0;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
        transform: none !important;
        overflow: visible;
    }

    body.site-page .main-nav .nav-dropdown:hover > .dropdown-menu,
    body.site-page .main-nav .nav-dropdown:focus-within > .dropdown-menu,
    body.site-page .main-nav .nav-dropdown.show > .dropdown-menu,
    body.site-page .main-nav .nav-dropdown > .dropdown-menu.show {
        display: block;
    }

    body.site-page .main-nav .dropdown-menu > li {
        min-width: 0;
    }

    body.site-page .main-nav .dropdown-menu .dropdown-item {
        display: flex !important;
        align-items: flex-start;
        gap: 10px;
        width: 100% !important;
        min-height: 44px;
        padding: 11px 12px;
        color: #0f172a !important;
        background: transparent;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.35;
        text-decoration: none;
        text-shadow: none;
        white-space: normal !important;
        word-break: normal;
        overflow-wrap: break-word;
    }

    body.site-page .main-nav .dropdown-menu .dropdown-item:hover,
    body.site-page .main-nav .dropdown-menu .dropdown-item:focus {
        color: #2563eb !important;
        background: #f1f5f9;
    }

    body.site-page .main-nav .dropdown-menu .dropdown-item i {
        display: grid;
        flex: 0 0 30px;
        width: 30px;
        min-width: 30px;
        height: 30px;
        margin-top: 0;
        place-items: center;
        color: #2563eb;
        background: #eff6ff;
        border-radius: 9px;
        font-size: 14px;
        line-height: 1;
    }

    body.site-page .main-nav .dropdown-menu .dropdown-item span {
        display: block;
        min-width: 0;
        overflow-wrap: break-word;
    }

    body.site-page .main-nav .nav-services-dropdown,
    body.site-page .main-nav .nav-solutions-dropdown {
        position: static;
    }

    body.site-page .main-nav .nav-services-dropdown > .dropdown-menu,
    body.site-page .main-nav .nav-solutions-dropdown > .dropdown-menu {
        left: 50% !important;
        right: auto !important;
        width: min(920px, calc(100vw - 48px)) !important;
        max-width: 920px;
        min-width: 0;
        padding: 16px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        transform: translateX(-50%) !important;
    }

    body.site-page .main-nav .nav-services-dropdown:hover > .dropdown-menu,
    body.site-page .main-nav .nav-services-dropdown:focus-within > .dropdown-menu,
    body.site-page .main-nav .nav-services-dropdown.show > .dropdown-menu,
    body.site-page .main-nav .nav-services-dropdown > .dropdown-menu.show,
    body.site-page .main-nav .nav-solutions-dropdown:hover > .dropdown-menu,
    body.site-page .main-nav .nav-solutions-dropdown:focus-within > .dropdown-menu,
    body.site-page .main-nav .nav-solutions-dropdown.show > .dropdown-menu,
    body.site-page .main-nav .nav-solutions-dropdown > .dropdown-menu.show {
        display: grid;
    }

    body.site-page .main-nav .nav-services-menu > li,
    body.site-page .main-nav .nav-solutions-menu > li {
        display: flex;
        min-width: 0;
    }

    body.site-page .main-nav .nav-services-menu .dropdown-item,
    body.site-page .main-nav .nav-solutions-menu .dropdown-item {
        min-height: 58px;
        height: 100%;
        padding: 13px;
        background: #f8fafc;
        border: 1px solid #eef2f7;
    }

    body.site-page .main-nav .nav-services-menu .dropdown-item:hover,
    body.site-page .main-nav .nav-services-menu .dropdown-item:focus,
    body.site-page .main-nav .nav-solutions-menu .dropdown-item:hover,
    body.site-page .main-nav .nav-solutions-menu .dropdown-item:focus {
        background: #eef6ff;
        border-color: #bfdbfe;
    }

    body.site-page .main-nav .nav-services-overview {
        grid-column: 1 / -1;
    }

    body.site-page .main-nav .nav-corporate-menu {
        min-width: 280px;
    }

    body.site-page .hero-section,
    body.site-page .hero,
    body.site-page main {
        position: relative;
        z-index: 1;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    body.site-page .main-nav .nav-services-dropdown > .dropdown-menu,
    body.site-page .main-nav .nav-solutions-dropdown > .dropdown-menu {
        width: min(720px, calc(100vw - 32px)) !important;
        padding: 12px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    body.site-page .main-nav .dropdown-menu .dropdown-item {
        min-height: 42px;
        padding: 10px 11px;
        font-size: 12px;
    }

    body.site-page .main-nav .nav-services-menu .dropdown-item,
    body.site-page .main-nav .nav-solutions-menu .dropdown-item {
        min-height: 54px;
        padding: 11px;
    }
}

@media (max-width: 991.98px) {
    body.site-page .main-nav .nav-dropdown > .dropdown-menu {
        position: static !important;
        inset: auto !important;
        display: none;
        width: 100% !important;
        max-width: 100%;
        min-width: 0;
        padding: 6px 0 6px 14px;
        margin: 0;
        background: #f8fafc;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        transform: none !important;
    }

    body.site-page .main-nav .nav-dropdown.show > .dropdown-menu,
    body.site-page .main-nav .nav-dropdown > .dropdown-menu.show {
        display: block !important;
    }

    body.site-page .main-nav .dropdown-menu .dropdown-item {
        min-height: 42px;
        padding: 10px 14px;
        white-space: normal !important;
    }
}

/* Header action dropdowns, mini cart and stable menu hover */
body.site-page .site-header-stack {
    z-index: 2500 !important;
    overflow: visible !important;
}

body.site-page .topbar,
body.site-page .topbar .container-fluid,
body.site-page .header-actions,
body.site-page .main-nav-underbar,
body.site-page .main-nav-underbar .container-fluid,
body.site-page .main-nav,
body.site-page .main-nav-links {
    overflow: visible !important;
}

body.site-page .header-cart-wrapper,
body.site-page .account-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

body.site-page .nav-cart-link,
body.site-page .account-toggle {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

body.site-page .account-chevron {
    font-size: 11px;
    line-height: 1;
}

body.site-page .cart-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    z-index: 2;
    display: inline-grid !important;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    place-items: center;
    color: #ffffff;
    background: #ef4444;
    border: 2px solid #ffffff;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

body.site-page .mini-cart-dropdown,
body.site-page .account-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 3200;
    display: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

body.site-page .header-cart-wrapper.is-open .mini-cart-dropdown,
body.site-page .account-wrapper.is-open .account-dropdown {
    display: block;
}

body.site-page .mini-cart-dropdown {
    width: 360px;
    max-width: calc(100vw - 24px);
    overflow: hidden;
    border-radius: 18px;
}

body.site-page .mini-cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f7;
}

body.site-page .mini-cart-head strong {
    color: #0f172a;
    font-size: 15px;
}

body.site-page .mini-cart-head span,
body.site-page .mini-cart-total span {
    color: #64748b;
    font-size: 13px;
}

body.site-page .mini-cart-list {
    max-height: 280px;
    padding: 8px;
    overflow-y: auto;
}

body.site-page .mini-cart-item {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
}

body.site-page .mini-cart-item:hover {
    background: #f8fafc;
}

body.site-page .mini-cart-image {
    display: grid;
    width: 52px;
    height: 52px;
    overflow: hidden;
    place-items: center;
    color: #2563eb;
    background: #f1f5f9;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}

body.site-page .mini-cart-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.site-page .mini-cart-title {
    display: -webkit-box;
    overflow: hidden;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.site-page .mini-cart-meta {
    margin-top: 3px;
    overflow: hidden;
    color: #64748b;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.site-page .mini-cart-price {
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

body.site-page .mini-cart-footer {
    padding: 14px 18px 18px;
    background: #ffffff;
    border-top: 1px solid #eef2f7;
}

body.site-page .mini-cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

body.site-page .mini-cart-total strong {
    color: #0f172a;
    font-size: 17px;
}

body.site-page .mini-cart-actions,
body.site-page .mini-cart-empty-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.site-page .mini-cart-actions .btn,
body.site-page .mini-cart-empty-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    font-weight: 900;
}

body.site-page .mini-cart-empty {
    padding: 28px 20px;
    text-align: center;
}

body.site-page .mini-cart-empty > i {
    display: block;
    margin-bottom: 10px;
    color: #94a3b8;
    font-size: 28px;
}

body.site-page .mini-cart-empty strong {
    display: block;
    margin-bottom: 6px;
    color: #0f172a;
}

body.site-page .mini-cart-empty span {
    display: block;
    margin-bottom: 16px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

body.site-page .account-dropdown {
    width: 238px;
    max-width: calc(100vw - 24px);
    padding: 8px;
    border-radius: 16px;
}

body.site-page .account-dropdown a,
body.site-page .account-dropdown button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    color: #0f172a;
    background: transparent;
    border: 0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    text-decoration: none;
    white-space: nowrap;
}

body.site-page .account-dropdown a:hover,
body.site-page .account-dropdown button:hover {
    color: #2563eb;
    background: #f1f5f9;
}

body.site-page .account-dropdown i {
    flex: 0 0 18px;
    color: #2563eb;
}

@media (min-width: 992px) {
    body.site-page .main-nav .nav-dropdown::after {
        position: absolute;
        right: -6px;
        left: -6px;
        top: 100%;
        height: 14px;
        content: "";
    }

    body.site-page .main-nav .nav-dropdown.is-open > .dropdown-menu {
        display: block;
    }

    body.site-page .main-nav .nav-services-dropdown.is-open > .dropdown-menu,
    body.site-page .main-nav .nav-solutions-dropdown.is-open > .dropdown-menu {
        display: grid;
    }
}

@media (max-width: 991.98px) {
    body.site-page .mini-cart-dropdown,
    body.site-page .account-dropdown {
        top: calc(100% + 10px);
    }

    body.site-page .header-actions .btn .cart-badge {
        display: inline-grid !important;
    }

    body.site-page .header-actions .account-chevron {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    body.site-page .mini-cart-dropdown {
        position: fixed;
        top: 96px;
        right: 12px;
        left: 12px;
        width: auto;
        max-width: none;
    }

    body.site-page .mini-cart-list {
        max-height: 340px;
    }

    body.site-page .mini-cart-actions,
    body.site-page .mini-cart-empty-actions {
        grid-template-columns: minmax(0, 1fr);
    }

    body.site-page .account-dropdown {
        width: 220px;
    }
}

/* Product detail hero and spacing polish */
body.product-detail-page .product-hero {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr) !important;
    gap: clamp(28px, 4vw, 56px) !important;
    align-items: center !important;
    min-height: 430px !important;
    padding: clamp(48px, 6vw, 76px) clamp(20px, 5vw, 72px) !important;
}

body.product-detail-page .product-hero-content {
    max-width: 680px;
}

body.product-detail-page .product-hero h1 {
    max-width: 680px;
    margin: 14px 0 14px;
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.08;
    letter-spacing: 0;
}

body.product-detail-page .product-hero-summary {
    max-width: 570px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.7;
}

body.product-detail-page .product-hero-side {
    width: 100%;
    max-width: 390px;
    margin-left: auto;
}

body.product-detail-page .product-hero-visual {
    aspect-ratio: 16 / 7;
    min-height: 0;
    border-radius: 18px;
}

body.product-detail-page .product-hero-visual img {
    object-fit: cover;
}

body.product-detail-page .product-hero .order-summary {
    padding: 20px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

body.product-detail-page .product-hero .order-summary strong {
    font-size: clamp(25px, 2.4vw, 34px);
    line-height: 1.1;
}

body.product-detail-page .product-hero .order-summary p {
    margin-bottom: 0;
    font-size: 13px;
    line-height: 1.6;
}

body.product-detail-page .product-detail-section {
    padding: 44px clamp(18px, 5vw, 72px) 58px;
    background: #f8fafc;
}

body.product-detail-page .product-detail-layout {
    max-width: 1120px;
    margin: 0 auto;
    gap: 18px;
}

body.product-detail-page .product-editor-card,
body.product-detail-page .product-detail-facts article {
    border-radius: 18px;
}

@media (max-width: 991.98px) {
    body.product-detail-page .product-hero {
        grid-template-columns: minmax(0, 1fr) !important;
        min-height: auto !important;
        padding: 42px 18px !important;
    }

    body.product-detail-page .product-hero-side {
        max-width: 100%;
        margin-left: 0;
    }

    body.product-detail-page .product-hero-visual {
        max-height: 260px;
    }
}

@media (max-width: 575.98px) {
    body.product-detail-page .product-hero {
        padding: 32px 16px !important;
    }

    body.product-detail-page .product-hero h1 {
        font-size: 28px;
        line-height: 1.16;
    }

    body.product-detail-page .product-hero-summary {
        font-size: 15px;
        line-height: 1.55;
    }

    body.product-detail-page .product-hero .hero-actions .btn {
        width: 100%;
        min-height: 44px;
    }

    body.product-detail-page .product-detail-section {
        padding: 32px 16px 40px;
    }
}

/* Final controlled header menus and compact commerce pages */
@media (min-width: 992px) {
    body.site-page .main-nav .nav-dropdown:not(.is-open) > .dropdown-menu,
    body.site-page .main-nav .nav-dropdown:not(.is-open):hover > .dropdown-menu,
    body.site-page .main-nav .nav-dropdown:not(.is-open):focus-within > .dropdown-menu,
    body.site-page .main-nav .nav-dropdown:not(.is-open).show > .dropdown-menu,
    body.site-page .main-nav .nav-dropdown:not(.is-open) > .dropdown-menu.show {
        display: none !important;
        pointer-events: none;
    }

    body.site-page .main-nav .nav-dropdown.is-open > .dropdown-menu {
        display: block !important;
        pointer-events: auto;
    }

    body.site-page .main-nav .nav-services-dropdown.is-open > .dropdown-menu,
    body.site-page .main-nav .nav-solutions-dropdown.is-open > .dropdown-menu {
        display: grid !important;
    }

    body.site-page .main-nav .nav-services-dropdown > .dropdown-menu,
    body.site-page .main-nav .nav-solutions-dropdown > .dropdown-menu {
        width: min(760px, calc(100vw - 48px)) !important;
        max-width: 760px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    body.site-page .main-nav .nav-dropdown.is-open > .main-nav-control {
        color: #ffffff !important;
        background: #173b8f;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    body.site-page .main-nav .nav-services-dropdown > .dropdown-menu,
    body.site-page .main-nav .nav-solutions-dropdown > .dropdown-menu {
        width: min(680px, calc(100vw - 32px)) !important;
    }

    body.site-page .main-nav .nav-services-menu .dropdown-item,
    body.site-page .main-nav .nav-solutions-menu .dropdown-item {
        min-height: 48px;
        padding: 10px;
        font-size: 11.5px;
    }
}

@media (max-width: 991.98px) {
    body.site-page .main-nav .nav-dropdown.is-open > .dropdown-menu {
        display: block !important;
    }
}

body.cart-page .page-hero.slim,
body.checkout-page .page-hero.slim {
    padding-top: 30px;
    padding-bottom: 30px;
}

body.cart-page .cart-section,
body.checkout-page .checkout-section,
body.product-detail-page .product-detail-section {
    padding-top: 38px;
    padding-bottom: 46px;
}

body.cart-page .cart-layout,
body.checkout-page .checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: start;
}

body.cart-page .cart-card,
body.checkout-page .checkout-card,
body.cart-page .cart-empty-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

body.cart-page .cart-items-panel {
    min-width: 0;
    overflow-x: auto;
}

body.cart-page .cart-clear-form {
    margin-top: 18px;
}

body.cart-page .cart-summary,
body.checkout-page .checkout-summary {
    position: sticky;
    top: 112px;
}

body.checkout-page .checkout-main {
    min-width: 0;
}

body.checkout-page .license-checkout-panel {
    margin-top: 18px !important;
}

body.checkout-page .payment-method-grid {
    gap: 10px;
    margin-bottom: 14px;
}

body.checkout-page .checkout-summary textarea {
    min-height: 104px;
}

body.product-detail-page .product-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.78fr) !important;
    min-height: 360px !important;
    padding: clamp(36px, 4.5vw, 58px) clamp(20px, 5vw, 72px) !important;
}

body.product-detail-page .product-hero h1 {
    font-size: clamp(32px, 3.4vw, 48px);
    margin-bottom: 12px;
}

body.product-detail-page .product-hero-summary {
    margin-bottom: 20px;
    font-size: 15.5px;
    line-height: 1.62;
}

body.product-detail-page .product-hero-side {
    max-width: 350px;
}

body.product-detail-page .product-hero .order-summary {
    gap: 10px;
    padding: 16px;
    border-radius: 18px;
}

body.product-detail-page .product-hero .order-summary strong {
    font-size: clamp(24px, 2.1vw, 30px);
}

body.product-detail-page .product-hero-visual {
    border-radius: 16px;
}

@media (max-width: 991.98px) {
    body.cart-page .cart-layout,
    body.checkout-page .checkout-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    body.cart-page .cart-summary,
    body.checkout-page .checkout-summary {
        position: static;
    }

    body.cart-page .cart-section,
    body.checkout-page .checkout-section,
    body.product-detail-page .product-detail-section {
        padding-top: 32px;
        padding-bottom: 38px;
    }

    body.product-detail-page .product-hero {
        min-height: auto !important;
        padding: 36px 18px !important;
    }
}

@media (max-width: 575.98px) {
    body.cart-page .page-hero.slim,
    body.checkout-page .page-hero.slim {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    body.cart-page .cart-card,
    body.checkout-page .checkout-card,
    body.cart-page .cart-empty-card {
        padding: 18px;
        border-radius: 18px;
    }

    body.cart-page .cart-section,
    body.checkout-page .checkout-section,
    body.product-detail-page .product-detail-section {
        padding-top: 26px;
        padding-bottom: 32px;
    }

    body.product-detail-page .product-hero {
        padding: 28px 16px !important;
    }
}

/* Keep header action dropdowns clear of the secondary nav bar */
@media (min-width: 992px) {
    body.site-page .site-header-stack .topbar {
        position: relative;
        z-index: 2520;
    }

    body.site-page .main-nav-underbar {
        position: relative;
        z-index: 2510;
    }

    body.site-page .header-actions {
        position: relative;
        z-index: 2530;
    }

    body.site-page .header-cart-wrapper .mini-cart-dropdown,
    body.site-page .account-wrapper .account-dropdown {
        top: calc(100% + 48px);
        z-index: 3300;
    }
}

/* Marketplace purchase actions */
body.site-page .store-card .store-price {
    display: grid;
    align-items: stretch;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
}

body.site-page .store-price-stack {
    display: grid;
    gap: 4px;
}

body.site-page .store-card .marketplace-actions {
    order: -1;
}

body.site-page .store-card {
    gap: 11px;
    padding: 18px;
}

body.site-page .store-card h2 {
    font-size: 21px;
    line-height: 1.18;
}

body.site-page .product-card-slogan {
    display: -webkit-box;
    min-height: 38px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.site-page .store-package-switch {
    gap: 7px;
}

body.site-page .store-package-choice {
    min-height: 34px;
    padding: 8px 10px;
}

body.site-page .marketplace-actions,
body.site-page .package-actions {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    align-items: stretch;
}

body.site-page .marketplace-cart-form {
    display: grid;
    grid-column: span 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

body.site-page .package-cart-form {
    display: grid;
    gap: 14px;
}

body.site-page .marketplace-action {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    min-height: 44px;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    white-space: normal;
    box-shadow: none;
}

body.site-page .marketplace-action i {
    flex: 0 0 auto;
    font-size: 15px;
}

body.site-page .marketplace-action-cart {
    border-color: #0ea5e9;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #ffffff;
}

body.site-page .marketplace-action-cart:hover,
body.site-page .marketplace-action-cart:focus {
    border-color: #1d4ed8;
    background: linear-gradient(135deg, #0284c7, #1d4ed8);
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.2);
    color: #ffffff;
}

body.site-page .marketplace-action-buy {
    border: 1px solid rgba(15, 23, 42, 0.88);
    background: linear-gradient(135deg, #0f172a, #1e3a8a);
    color: #ffffff;
}

body.site-page .marketplace-action-buy:hover,
body.site-page .marketplace-action-buy:focus {
    background: linear-gradient(135deg, #020617, #1d4ed8);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.18);
    color: #ffffff;
}

body.site-page .marketplace-action-detail {
    border: 1px solid #dbeafe;
    background: #ffffff;
    color: #1e3a8a;
}

body.site-page .marketplace-action-detail:hover,
body.site-page .marketplace-action-detail:focus {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

body.site-page .cart-quantity-input {
    max-width: 90px;
}

body.site-page .marketplace-action.is-loading {
    opacity: 0.72;
    cursor: wait;
}

body.site-page .product-mobile-buybar {
    display: none;
}

body.site-page .toast {
    top: 18px;
    right: 18px;
    bottom: auto;
    z-index: 4200;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: #0f172a;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.22);
    transform: translateY(-10px);
}

body.site-page .toast.is-visible {
    transform: translateY(0);
}

.toast-success {
    background: #065f46;
}

.toast-error {
    background: #991b1b;
}

.brand-upload-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #dbeafe;
    border-radius: 14px;
}

.brand-upload-preview {
    display: grid;
    min-height: 86px;
    place-items: center;
    padding: 10px;
    color: #64748b;
    background: #ffffff;
    border: 1px dashed #bfdbfe;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.brand-upload-preview img {
    display: block;
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
}

.brand-upload-copy {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1038;
    display: none;
    padding: 0;
    background: rgba(2, 6, 23, 0.52);
    border: 0;
    opacity: 0;
    transition: opacity 180ms ease;
}

.mobile-menu-backdrop.is-visible {
    display: block;
    opacity: 1;
}

@media (max-width: 767.98px) {
    body.site-page #urunler .product-card-grid {
        --home-market-gap: clamp(4px, 1.2vw, 8px);
        --home-market-pad: clamp(5px, 1.35vw, 10px);
        --home-market-title: clamp(10px, 2.65vw, 14px);
        --home-market-text: clamp(8px, 2.05vw, 10px);
        --home-market-button: clamp(7px, 1.9vw, 10px);
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    body.site-page #urunler .product-card-grid .store-meta span:nth-child(n+3) {
        display: none;
    }

    body.site-page #urunler .product-card-grid .marketplace-actions,
    body.site-page #urunler .product-card-grid .marketplace-cart-form {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.site-page #urunler .product-card-grid .marketplace-cart-form {
        display: contents;
        grid-column: auto;
    }

    body.site-page #urunler .product-card-grid .marketplace-action {
        width: 100%;
        min-height: clamp(28px, 7.2vw, 34px);
        padding: clamp(5px, 1.45vw, 7px) clamp(3px, 1.2vw, 6px);
    }

    body.site-page #urunler .product-card-grid .marketplace-action i {
        display: none;
    }
}

@media (max-width: 767.98px) {
    body.site-page .marketplace-actions,
    body.site-page .package-actions,
    body.site-page .marketplace-cart-form {
        grid-template-columns: minmax(0, 1fr);
    }

    body.site-page .marketplace-cart-form {
        grid-column: auto;
    }

    body.site-page .marketplace-action {
        width: 100%;
        min-height: 46px;
    }

    body.product-detail-page {
        padding-bottom: 86px;
    }

body.product-detail-page .product-mobile-buybar {
        position: fixed;
        right: 10px;
        bottom: 10px;
        left: 10px;
        z-index: 3350;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 10px;
        background: rgba(255, 255, 255, 0.96);
        border: 1px solid rgba(203, 213, 225, 0.9);
        border-radius: 18px;
        box-shadow: 0 22px 54px rgba(15, 23, 42, 0.22);
        backdrop-filter: blur(14px);
    }

    body.product-detail-page .product-mobile-buybar form {
        display: contents;
    }
}

/* Final responsive navigation and marketplace guards */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body.site-page .main-nav-underbar,
body.site-page .main-nav-links,
body.site-page .nav-dropdown,
body.site-page .dropdown-menu {
    max-width: 100%;
}

body.site-page .nav-dropdown.is-open > .dropdown-menu {
    display: block;
}

body.site-page .nav-dropdown.is-open > .main-nav-control i {
    transform: rotate(180deg);
}

body.site-page #urunler .product-card-grid,
body.site-page.marketplace-page .product-card-grid,
body.site-page.marketplace-page .store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.site-page #urunler .product-card-grid .store-card,
body.site-page.marketplace-page .product-card-grid .store-card,
body.site-page.marketplace-page .store-grid .store-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

body.site-page #urunler .product-card-grid .store-price,
body.site-page.marketplace-page .product-card-grid .store-price,
body.site-page.marketplace-page .store-grid .store-price {
    margin-top: auto;
}

@media (max-width: 1199.98px) {
    body.site-page #urunler .product-card-grid,
    body.site-page.marketplace-page .product-card-grid,
    body.site-page.marketplace-page .store-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    body.site-page .main-nav-underbar {
        right: 10px !important;
        left: 10px !important;
        width: auto !important;
        max-height: calc(100dvh - 86px);
        overscroll-behavior: contain;
        border-radius: 0 0 18px 18px;
        transform: translateY(-8px);
        opacity: 0;
        transition: opacity 180ms ease, transform 180ms ease;
    }

    body.site-page .main-nav-underbar.is-open {
        transform: translateY(0);
        opacity: 1;
    }

    body.site-page .main-nav .dropdown-menu {
        display: none;
        max-height: 48dvh;
        overflow-y: auto;
        background: #f8fafc;
    }

    body.site-page .main-nav .nav-dropdown.is-open > .dropdown-menu {
        display: block !important;
    }

    body.site-page .main-nav .dropdown-menu .dropdown-item {
        gap: 10px;
        min-height: 46px;
        padding: 11px 24px 11px 34px;
        white-space: normal;
    }
}

@media (max-width: 767.98px) {
    body.site-page #urunler .product-card-grid,
    body.site-page.marketplace-page .product-card-grid,
    body.site-page.marketplace-page .store-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    body.site-page #urunler .product-card-grid .store-meta span:nth-child(n+3) {
        display: inline-flex;
    }

    body.site-page #urunler .product-card-grid .marketplace-actions,
    body.site-page #urunler .product-card-grid .marketplace-cart-form {
        grid-template-columns: minmax(0, 1fr);
    }

    body.site-page #urunler .product-card-grid .marketplace-cart-form {
        display: grid;
        grid-column: auto;
    }

    body.site-page #urunler .product-card-grid .marketplace-action i {
        display: inline-block;
    }
}

@media (max-width: 575.98px) {
    body.site-page .toast {
        right: 12px;
        left: 12px;
        max-width: none;
    }
}

/* Premium mobile navigation panel */
body.site-page .mobile-menu-head,
body.site-page .mobile-menu-quick-actions {
    display: none;
}

@media (max-width: 991.98px) {
    body.site-page .site-header-stack {
        z-index: 2600 !important;
        overflow: visible !important;
    }

    body.site-page .main-nav-underbar {
        position: fixed !important;
        top: 96px !important;
        right: 10px !important;
        left: 10px !important;
        z-index: 3400 !important;
        display: block !important;
        max-height: calc(100dvh - 108px);
        overflow: hidden !important;
        background:
            linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(239, 246, 255, 0.98)),
            #ffffff;
        border: 1px solid rgba(191, 219, 254, 0.9);
        border-radius: 20px;
        box-shadow: 0 28px 70px rgba(15, 23, 42, 0.26);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px) scale(0.985);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
        pointer-events: none;
    }

    body.site-page .main-nav-underbar.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    body.site-page .main-nav-underbar .container-fluid {
        width: 100% !important;
        max-width: 100% !important;
        max-height: calc(100dvh - 234px);
        padding: 8px 12px 12px !important;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    body.site-page .mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 14px 12px;
        background: #ffffff;
        border-bottom: 1px solid #e5edf8;
    }

    body.site-page .mobile-menu-head strong,
    body.site-page .mobile-menu-head small {
        display: block;
    }

    body.site-page .mobile-menu-head strong {
        color: #0f172a;
        font-size: 15px;
        font-weight: 900;
    }

    body.site-page .mobile-menu-head small {
        margin-top: 2px;
        color: #64748b;
        font-size: 12px;
        font-weight: 700;
    }

    body.site-page .mobile-menu-close {
        display: inline-grid;
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
        place-items: center;
        color: #0f172a;
        background: #f8fafc;
        border: 1px solid #dbeafe;
        border-radius: 12px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    }

    body.site-page .main-nav-links {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        width: 100%;
        padding: 0 !important;
    }

    body.site-page .main-nav-links > .nav-link,
    body.site-page .main-nav .main-nav-control {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100% !important;
        min-height: 50px;
        padding: 13px 14px !important;
        color: #0f172a !important;
        background: #ffffff;
        border: 1px solid #e5edf8;
        border-radius: 14px;
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045);
        font-size: 12px;
        font-weight: 900;
        line-height: 1.2;
        letter-spacing: 0;
        text-decoration: none;
    }

    body.site-page .main-nav-links > .nav-link.is-active,
    body.site-page .main-nav .main-nav-control.is-active,
    body.site-page .main-nav .nav-dropdown.is-open > .main-nav-control {
        color: #ffffff !important;
        background: linear-gradient(135deg, #173b8f, #2563eb);
        border-color: rgba(37, 99, 235, 0.65);
        box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
    }

    body.site-page .main-nav .main-nav-control i {
        transition: transform 180ms ease;
    }

    body.site-page .main-nav .nav-dropdown.is-open > .main-nav-control i {
        transform: rotate(180deg);
    }

    body.site-page .main-nav .nav-dropdown > .dropdown-menu {
        position: static !important;
        display: grid !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 0;
        min-width: 0;
        padding: 0 8px !important;
        margin: 0 !important;
        overflow: hidden !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0;
        box-shadow: none !important;
        opacity: 0;
        transform: none !important;
        transition: max-height 240ms ease, opacity 180ms ease, padding 180ms ease;
        gap: 7px;
        pointer-events: none;
    }

    body.site-page .main-nav .nav-dropdown.is-open > .dropdown-menu {
        max-height: 70vh;
        padding: 8px 8px 4px !important;
        opacity: 1;
        pointer-events: auto;
    }

    body.site-page .main-nav .dropdown-menu > li {
        min-width: 0;
    }

    body.site-page .main-nav .dropdown-menu .dropdown-item {
        display: flex !important;
        align-items: center;
        gap: 11px;
        min-height: 48px;
        width: 100% !important;
        padding: 12px 12px !important;
        color: #0f172a !important;
        background: #f8fbff;
        border: 1px solid #e7effb;
        border-radius: 13px;
        font-size: 12px;
        font-weight: 850;
        line-height: 1.3;
        white-space: normal !important;
    }

    body.site-page .main-nav .dropdown-menu .dropdown-item:hover,
    body.site-page .main-nav .dropdown-menu .dropdown-item:focus,
    body.site-page .main-nav .dropdown-menu .dropdown-item.is-active {
        color: #1d4ed8 !important;
        background: #eef6ff;
        border-color: #bfdbfe;
    }

    body.site-page .main-nav .dropdown-menu .dropdown-item i {
        display: grid;
        width: 28px;
        height: 28px;
        flex: 0 0 28px;
        place-items: center;
        color: #2563eb;
        background: #eaf3ff;
        border-radius: 9px;
        font-size: 13px;
    }

    body.site-page .main-nav .dropdown-menu .dropdown-item span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    body.site-page .mobile-menu-quick-actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 12px 12px 14px;
        background: #ffffff;
        border-top: 1px solid #e5edf8;
    }

    body.site-page .mobile-menu-quick-actions a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 44px;
        color: #0f172a;
        background: #f8fafc;
        border: 1px solid #dbeafe;
        border-radius: 14px;
        font-size: 12px;
        font-weight: 900;
        text-decoration: none;
    }

    body.site-page .mobile-menu-quick-actions a i {
        color: #2563eb;
        font-size: 15px;
    }

    body.site-page .mobile-menu-quick-actions a.is-whatsapp {
        color: #ffffff;
        background: linear-gradient(135deg, #16a34a, #22c55e);
        border-color: rgba(34, 197, 94, 0.65);
    }

    body.site-page .mobile-menu-quick-actions a.is-whatsapp i {
        color: #ffffff;
    }
}

@media (max-width: 420px) {
    body.site-page .main-nav-underbar {
        top: 92px !important;
        right: 8px !important;
        left: 8px !important;
        max-height: calc(100dvh - 100px);
        border-radius: 18px;
    }

    body.site-page .main-nav-underbar .container-fluid {
        max-height: calc(100dvh - 226px);
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    body.site-page .mobile-menu-quick-actions {
        gap: 6px;
        padding-right: 10px;
        padding-left: 10px;
    }

    body.site-page .mobile-menu-quick-actions a {
        gap: 5px;
        font-size: 11px;
    }
}

/* Final mobile navigation: fixed offcanvas drawer */
.mobile-menu-overlay,
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2590;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgba(2, 6, 23, 0.52);
    border: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 250ms ease, visibility 250ms ease;
}

.mobile-menu-overlay.is-visible,
.mobile-menu-backdrop.is-visible,
body.menu-open .mobile-menu-overlay,
body.mobile-menu-open .mobile-menu-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.menu-open,
body.mobile-menu-open {
    overflow: hidden;
}

@media (max-width: 991.98px) {
    body.site-page .site-header-stack,
    body.site-page .site-header,
    body.site-page .header-main {
        overflow: visible !important;
    }

    body.site-page .main-nav-underbar {
        position: fixed !important;
        top: 0 !important;
        right: auto !important;
        bottom: auto !important;
        left: 0 !important;
        z-index: 2600 !important;
        display: grid !important;
        grid-template-rows: auto minmax(0, 1fr) auto;
        width: min(88vw, 380px) !important;
        min-width: 0 !important;
        max-width: 380px !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
        border: 0 !important;
        border-radius: 0 22px 22px 0 !important;
        box-shadow: 28px 0 70px rgba(15, 23, 42, 0.26) !important;
        opacity: 1 !important;
        visibility: hidden;
        transform: translateX(-105%) !important;
        transition: transform 250ms ease, visibility 250ms ease !important;
        pointer-events: none;
        will-change: transform;
    }

    body.site-page .main-nav-underbar.is-open {
        visibility: visible;
        transform: translateX(0) !important;
        pointer-events: auto;
    }

    body.site-page .mobile-menu-head {
        position: sticky;
        top: 0;
        z-index: 2;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        min-height: 74px;
        padding: 14px 16px;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid #e5edf8;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    }

    body.site-page .mobile-menu-title {
        display: grid;
        min-width: 0;
        gap: 3px;
    }

    body.site-page .mobile-menu-title small {
        display: block;
        color: #64748b;
        font-size: 12px;
        font-weight: 800;
    }

    body.site-page .mobile-menu-brand {
        min-height: 0;
        padding: 0 !important;
        gap: 0;
    }

    body.site-page .mobile-menu-brand .site-logo-img {
        width: auto;
        max-width: 148px;
        height: 34px;
        object-fit: contain;
    }

    body.site-page .mobile-menu-close {
        display: inline-grid;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        flex: 0 0 44px;
        place-items: center;
        color: #0f172a;
        background: #f8fafc;
        border: 1px solid #dbeafe;
        border-radius: 14px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    }

    body.site-page .main-nav-underbar > .container-fluid {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 12px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
    }

    body.site-page .main-nav-links {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        width: 100%;
        padding: 0 !important;
    }

    body.site-page .main-nav-links > .nav-link,
    body.site-page .main-nav .main-nav-control {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 46px;
        padding: 12px 14px !important;
        color: #0f172a !important;
        background: #ffffff;
        border: 1px solid #e5edf8;
        border-radius: 14px;
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045);
        font-size: 12px;
        font-weight: 900;
        line-height: 1.2;
        letter-spacing: 0;
        text-align: left;
        white-space: normal !important;
        text-decoration: none;
    }

    body.site-page .main-nav-links > .nav-link.is-active,
    body.site-page .main-nav-links > .nav-link.active,
    body.site-page .main-nav .main-nav-control.is-active,
    body.site-page .main-nav .nav-dropdown.is-open > .main-nav-control {
        color: #ffffff !important;
        background: linear-gradient(135deg, #173b8f, #2563eb);
        border-color: rgba(37, 99, 235, 0.65);
        box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
    }

    body.site-page .main-nav .main-nav-control i {
        flex: 0 0 auto;
        transition: transform 200ms ease;
    }

    body.site-page .main-nav .nav-dropdown.is-open > .main-nav-control i {
        transform: rotate(180deg);
    }

    body.site-page .main-nav .nav-dropdown > .dropdown-menu {
        position: static !important;
        display: grid !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 0;
        min-width: 0 !important;
        padding: 0 8px !important;
        margin: 0 !important;
        overflow: hidden !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0;
        box-shadow: none !important;
        opacity: 0;
        transform: none !important;
        transition: max-height 240ms ease, opacity 180ms ease, padding 180ms ease;
        gap: 7px;
        pointer-events: none;
    }

    body.site-page .main-nav .nav-dropdown.is-open > .dropdown-menu {
        max-height: 70vh;
        padding: 8px 8px 4px !important;
        opacity: 1;
        pointer-events: auto;
    }

    body.site-page .main-nav .dropdown-menu .dropdown-item {
        display: flex !important;
        align-items: center;
        gap: 11px;
        width: 100% !important;
        min-height: 44px;
        padding: 11px 12px !important;
        color: #0f172a !important;
        background: #f8fbff;
        border: 1px solid #e7effb;
        border-radius: 13px;
        font-size: 12px;
        font-weight: 850;
        line-height: 1.3;
        white-space: normal !important;
    }

    body.site-page .main-nav .dropdown-menu .dropdown-item span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    body.site-page .mobile-menu-quick-actions {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        padding: 12px;
        background: #ffffff;
        border-top: 1px solid #e5edf8;
    }

    body.site-page .mobile-menu-quick-actions a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-width: 0;
        min-height: 44px;
        padding: 8px 6px;
        color: #0f172a;
        background: #f8fafc;
        border: 1px solid #dbeafe;
        border-radius: 14px;
        font-size: 11px;
        font-weight: 900;
        line-height: 1.15;
        text-align: center;
        text-decoration: none;
        overflow-wrap: anywhere;
    }

    body.site-page .mobile-menu-quick-actions a i {
        color: #2563eb;
        font-size: 15px;
    }

    body.site-page .mobile-menu-quick-actions a.is-whatsapp {
        color: #ffffff;
        background: linear-gradient(135deg, #16a34a, #22c55e);
        border-color: rgba(34, 197, 94, 0.65);
    }

    body.site-page .mobile-menu-quick-actions a.is-whatsapp i {
        color: #ffffff;
    }
}

@media (max-width: 420px) {
    body.site-page .main-nav-underbar {
        width: min(92vw, 360px) !important;
        max-width: 360px !important;
        border-radius: 0 18px 18px 0 !important;
    }

    body.site-page .mobile-menu-brand .site-logo-img {
        max-width: 132px;
        height: 31px;
    }
}

@media (min-width: 992px) {
    .mobile-menu-overlay,
    .mobile-menu-backdrop {
        display: none !important;
    }

    body.site-page .main-nav-underbar {
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
    }
}

/* Final detail page and footer responsive polish */
body.product-detail-page,
body.service-detail-page {
    overflow-x: hidden;
}

.detail-page-wrapper,
.marketplace-detail-page-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.detail-page-fluid {
    width: 100%;
    max-width: 100%;
    padding-right: clamp(14px, 3vw, 48px) !important;
    padding-left: clamp(14px, 3vw, 48px) !important;
}

body.product-detail-page main.detail-page-wrapper {
    padding-top: 0 !important;
}

body.product-detail-page .product-hero.product-hero-banner,
body.product-detail-page .marketplace-detail-hero,
body.product-detail-page .detail-hero-full {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #06142f !important;
    border-radius: 0 !important;
    box-sizing: border-box;
}

body.product-detail-page .product-hero.product-hero-banner::before,
body.product-detail-page .product-hero.product-hero-banner::after,
body.product-detail-page .marketplace-detail-hero::before,
body.product-detail-page .marketplace-detail-hero::after {
    display: none !important;
}

body.product-detail-page .product-hero.product-hero-banner .product-hero-visual,
body.product-detail-page .marketplace-detail-hero .product-hero-visual {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 5 !important;
    overflow: hidden !important;
    background: linear-gradient(135deg, #071936, #0f3a77) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    place-items: center;
}

body.product-detail-page .product-hero.product-hero-banner .product-hero-visual img,
body.product-detail-page .marketplace-detail-hero .product-hero-visual img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: 0 !important;
}

body.product-detail-page .product-hero.product-hero-banner .product-hero-visual span {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(72px, 13vw, 180px);
    font-weight: 900;
}

body.product-detail-page .product-detail-section,
body.product-detail-page .content-band {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

body.product-detail-page .product-detail-section {
    padding-top: clamp(18px, 2.6vw, 34px) !important;
    padding-bottom: clamp(34px, 4vw, 58px) !important;
}

body.product-detail-page .product-detail-layout {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

body.product-detail-page .product-editor-card {
    width: 100% !important;
    max-width: 100% !important;
}

body.product-detail-page .detail-content,
body.service-detail-page .detail-content {
    min-width: 0;
    overflow-wrap: anywhere;
}

body.product-detail-page .product-detail-title,
body.product-detail-page .product-hero h1,
body.service-detail-page .service-detail-hero h1 {
    font-size: clamp(24px, 4vw, 48px) !important;
    line-height: 1.1 !important;
    overflow-wrap: anywhere;
}

body.product-detail-page .product-detail-subtitle,
body.product-detail-page .product-hero-summary,
body.service-detail-page .service-detail-hero p {
    font-size: clamp(14px, 1.5vw, 18px) !important;
    line-height: 1.6 !important;
}

body.service-detail-page main {
    padding-top: 0 !important;
}

body.service-detail-page .service-detail-hero {
    margin-top: 0 !important;
    padding-top: clamp(26px, 4vw, 44px) !important;
    padding-bottom: clamp(28px, 4vw, 48px) !important;
}

body.service-detail-page .service-detail-content-compact {
    padding-top: clamp(22px, 3vw, 34px) !important;
}

body.service-detail-page .service-detail-main {
    gap: clamp(18px, 2.4vw, 28px);
}

body.service-detail-page .service-editor-content {
    width: 100%;
    max-width: 100%;
}

body.service-detail-page .service-detail-visual {
    overflow: hidden;
}

body.service-detail-page .service-detail-visual img {
    display: block;
    width: 100%;
    height: auto;
    max-height: clamp(220px, 28vw, 360px);
    object-fit: cover !important;
    object-position: center;
    border-radius: inherit;
}

.footer {
    display: block !important;
    width: 100%;
    max-width: 100%;
    padding: clamp(16px, 2.2vw, 28px) clamp(14px, 4vw, 48px) !important;
    overflow-x: hidden;
}

.footer-brand-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1.2vw, 18px);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 14px 18px;
    color: #e5f2ff;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.footer-brand-strip > * {
    min-width: 0;
}

.footer-brand-name {
    flex: 0 0 auto;
    color: #ffffff;
    font-size: clamp(15px, 1.4vw, 20px);
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
}

.footer-brand-desc {
    flex: 1 1 auto;
    max-width: 720px;
    color: rgba(229, 242, 255, 0.86);
    font-size: clamp(11px, 1vw, 14px);
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.footer-brand-link,
.footer-brand-badge {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
    color: #e5f2ff;
    font-size: clamp(11px, 1vw, 13px);
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    white-space: nowrap;
}

.footer-brand-link {
    max-width: 220px;
    overflow: hidden;
}

.footer-brand-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.footer-brand-badge {
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
}

.footer-brand-link i,
.footer-brand-badge i {
    flex: 0 0 auto;
    color: #38bdf8;
    font-size: 15px;
}

.footer-brand-badge.etbis-badge i {
    color: #22c55e;
}

@media (min-width: 1200px) {
    .detail-page-fluid {
        padding-right: 48px !important;
        padding-left: 48px !important;
    }

    .footer-brand-strip {
        flex-wrap: nowrap;
    }
}

@media (max-width: 1199.98px) {
    .footer-brand-strip {
        justify-content: flex-start;
        gap: 9px;
        padding: 12px 14px;
    }

    .footer-brand-desc {
        max-width: 520px;
    }
}

@media (max-width: 991.98px) {
    body.product-detail-page .product-hero.product-hero-banner .product-hero-visual,
    body.product-detail-page .marketplace-detail-hero .product-hero-visual {
        aspect-ratio: 16 / 8 !important;
    }

    .footer-brand-strip {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-brand-desc {
        flex: 1 1 420px;
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    body.product-detail-page .product-hero.product-hero-banner .product-hero-visual,
    body.product-detail-page .marketplace-detail-hero .product-hero-visual {
        aspect-ratio: 16 / 10 !important;
    }

    body.service-detail-page .service-detail-hero {
        padding-top: 24px !important;
    }

    .footer {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .footer-brand-strip {
        justify-content: flex-start;
        gap: 8px;
        padding: 12px;
        border-radius: 14px;
    }

    .footer-brand-name {
        flex-basis: auto;
    }

    .footer-brand-desc {
        flex: 1 1 100%;
        max-width: 100%;
        white-space: normal;
    }

    .footer-brand-link {
        max-width: 100%;
    }

    .footer-brand-badge {
        min-height: 32px;
        padding: 6px 9px;
    }
}

/* Product detail banner must fill the artwork without vertical gutters */
body.product-detail-page .product-hero.product-hero-banner .product-hero-visual,
body.product-detail-page .marketplace-detail-hero .product-hero-visual {
    aspect-ratio: 16 / 5 !important;
    background: #ffffff !important;
}

body.product-detail-page .product-hero.product-hero-banner .product-hero-visual img,
body.product-detail-page .marketplace-detail-hero .product-hero-visual img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    background: #ffffff !important;
}

@media (max-width: 991.98px) {
    body.product-detail-page .product-hero.product-hero-banner .product-hero-visual,
    body.product-detail-page .marketplace-detail-hero .product-hero-visual {
        aspect-ratio: 16 / 5 !important;
    }
}

@media (max-width: 575.98px) {
    body.product-detail-page .product-hero.product-hero-banner .product-hero-visual,
    body.product-detail-page .marketplace-detail-hero .product-hero-visual {
        aspect-ratio: 16 / 5 !important;
    }
}

/* Desktop header behavior: top info bar scrolls away, header + nav stay pinned */
@media (min-width: 992px) {
    body.site-page {
        padding-top: 0 !important;
    }

    body.site-page .public-topbar {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        z-index: 1 !important;
        min-height: 34px;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    body.site-page .public-topbar .public-topbar-inner {
        min-height: 34px;
    }

    body.site-page .site-header-stack {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        z-index: 2590 !important;
        width: 100% !important;
        background: #02091a;
        box-shadow: 0 18px 42px rgba(2, 6, 23, 0.16);
        will-change: transform;
    }

    body.site-page .site-header-stack .topbar,
    body.site-page .main-nav-underbar {
        position: relative !important;
        top: auto !important;
    }

    body.site-page .main-nav-underbar {
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    body.site-page.desktop-header-pinned .site-header-stack {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 2700 !important;
    }

    body.site-page.desktop-header-pinned main {
        margin-top: var(--desktop-sticky-header-height, 112px) !important;
    }
}

/* Mobile fixed topbar + header; offcanvas still opens above both */
@media (max-width: 991.98px) {
    body.site-page {
        --mobile-public-topbar-height: 34px;
        --mobile-header-stack-height: 66px;
        padding-top: calc(var(--mobile-public-topbar-height) + var(--mobile-header-stack-height)) !important;
    }

    body.site-page .public-topbar {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 2480 !important;
        height: var(--mobile-public-topbar-height) !important;
        min-height: var(--mobile-public-topbar-height) !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        overflow: hidden;
    }

    body.site-page .public-topbar .public-topbar-inner {
        height: var(--mobile-public-topbar-height) !important;
        min-height: var(--mobile-public-topbar-height) !important;
    }

    body.site-page .site-header-stack {
        position: fixed !important;
        top: var(--mobile-public-topbar-height) !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 2470 !important;
        width: 100% !important;
        background: #02091a;
        box-shadow: 0 14px 34px rgba(2, 6, 23, 0.2);
    }

    body.site-page .site-header-stack .topbar {
        min-height: var(--mobile-header-stack-height) !important;
    }

    body.site-page .topbar .container-fluid {
        min-height: var(--mobile-header-stack-height) !important;
    }
}

@media (max-width: 575.98px) {
    body.site-page {
        --mobile-header-stack-height: 62px;
    }
}

@media (max-width: 390px) {
    body.site-page {
        --mobile-header-stack-height: 58px;
    }
}

/* Final marketplace/service detail hero system */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.hero-wrapper,
.detail-page-wrapper,
.marketplace-detail-page-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.hero-full-bleed {
    position: relative;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow: hidden !important;
}

.hero-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 5;
}

.hero-banner {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 5;
    overflow: hidden;
    background: #06142f;
}

.hero-banner img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

body.product-detail-page .product-detail-hero-wrapper,
body.product-detail-page .marketplace-detail-hero-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.product-detail-page .hero-banner.product-hero,
body.product-detail-page .hero-banner.marketplace-detail-hero,
body.product-detail-page .hero-banner.detail-hero-full {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 16 / 5 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.product-detail-page .hero-banner::before,
body.product-detail-page .hero-banner::after {
    display: none !important;
}

body.product-detail-page .hero-banner .product-hero-visual {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: inherit !important;
    overflow: hidden !important;
    background: #06142f !important;
    border: 0 !important;
    border-radius: inherit !important;
    box-shadow: none !important;
}

body.product-detail-page .hero-banner .product-hero-visual img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    border-radius: inherit !important;
}

body.product-detail-page .hero-banner .product-hero-visual span {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #ffffff;
    font-size: clamp(64px, 12vw, 160px);
    font-weight: 900;
}

body.service-detail-page .service-detail-hero-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    box-sizing: border-box;
}

body.service-detail-page .service-detail-visual {
    overflow: hidden !important;
}

body.service-detail-page .service-detail-visual img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 16 / 10;
    height: auto !important;
    object-fit: cover !important;
    object-position: center !important;
}

@media (max-width: 1200px) {
    .hero-inner,
    .hero-banner,
    body.product-detail-page .hero-banner.product-hero,
    body.product-detail-page .hero-banner.marketplace-detail-hero,
    body.product-detail-page .hero-banner.detail-hero-full {
        aspect-ratio: 16 / 6 !important;
    }
}

@media (max-width: 768px) {
    .hero-inner,
    .hero-banner,
    body.product-detail-page .hero-banner.product-hero,
    body.product-detail-page .hero-banner.marketplace-detail-hero,
    body.product-detail-page .hero-banner.detail-hero-full {
        aspect-ratio: 16 / 8 !important;
    }
}

@media (max-width: 480px) {
    .hero-inner,
    .hero-banner,
    body.product-detail-page .hero-banner.product-hero,
    body.product-detail-page .hero-banner.marketplace-detail-hero,
    body.product-detail-page .hero-banner.detail-hero-full {
        aspect-ratio: 16 / 10 !important;
    }
}

/* Admin-managed references, press and career pages */
.reference-logo-card {
    color: inherit;
    text-decoration: none;
}

.reference-logo-frame i {
    color: #2563eb;
    font-size: 34px;
}

.references-showcase-band {
    background:
        linear-gradient(180deg, #f8fbff 0%, #ffffff 48%, #f8fafc 100%);
}

.reference-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.reference-filter-bar a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid rgba(37, 99, 235, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #1e3a8a;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.reference-filter-bar a:hover,
.reference-filter-bar a.is-active {
    transform: translateY(-1px);
    border-color: rgba(37, 99, 235, 0.45);
    background: linear-gradient(135deg, #2563eb, #0f3a77);
    color: #ffffff;
}

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

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

.reference-card {
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.reference-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.22);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
}

.reference-logo-box {
    height: 130px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fbff, #eef5ff);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.reference-logo-box img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 82px;
    object-fit: contain;
}

.reference-logo-placeholder {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: rgba(37, 99, 235, 0.10);
    color: #2563eb;
    font-size: 34px;
}

.reference-card-body {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 22px;
}

.reference-sector {
    width: fit-content;
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 800;
}

.reference-title {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.reference-desc {
    display: -webkit-box;
    margin: 0 0 16px;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.reference-project {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.reference-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}

.reference-tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 9px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    font-size: 12px;
    font-weight: 800;
}

.reference-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #1d4ed8;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.reference-trust-grid,
.press-grid,
.career-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.reference-trust-grid article,
.press-card,
.career-card,
.empty-state {
    min-width: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.reference-trust-grid article {
    padding: 22px;
}

.reference-trust-grid strong {
    display: block;
    margin-bottom: 6px;
    color: #0f172a;
    font-size: 20px;
    font-weight: 900;
}

.reference-trust-grid span {
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}

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

.press-card,
.career-card {
    overflow: hidden;
}

.press-card-media {
    height: 126px;
    display: grid;
    place-items: center;
    padding: 22px;
    background: linear-gradient(135deg, #f8fbff, #eef5ff);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.press-card-media img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 78px;
    object-fit: contain;
}

.press-card-media i {
    color: #2563eb;
    font-size: 38px;
}

.press-card-body,
.career-card {
    padding: 22px;
}

.press-card-body span,
.career-card-head span {
    display: inline-flex;
    width: fit-content;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.10);
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 900;
}

.press-card-body h2,
.career-card h2 {
    margin: 12px 0 8px;
    color: #0f172a;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.25;
}

.press-card-body time,
.career-card-head time {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.press-card-body p,
.career-card p {
    color: #475569;
    font-size: 14px;
    line-height: 1.65;
}

.career-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.career-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    font-weight: 800;
}

.career-content {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.empty-state {
    padding: 34px;
    text-align: center;
}

.empty-state h2 {
    margin: 14px 0 8px;
    color: #0f172a;
    font-size: clamp(22px, 3vw, 30px);
}

.empty-state p {
    max-width: 620px;
    margin: 0 auto 18px;
    color: #475569;
}

@media (max-width: 1200px) {
    .references-grid,
    .reference-trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .press-grid,
    .career-grid,
    .references-grid,
    .reference-trust-grid,
    .references-grid-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .press-grid,
    .career-grid,
    .references-grid,
    .reference-trust-grid,
    .references-grid-compact {
        grid-template-columns: minmax(0, 1fr);
    }

    .reference-logo-box {
        height: 115px;
    }

    .reference-card-body,
    .press-card-body,
    .career-card,
    .empty-state {
        padding: 18px;
    }
}
