body {
    background: #f8fafc;
}

.nav {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    padding: 12px;
    z-index: 50;
}

.nav-item:hover .nav-dropdown {
    display: block;
}

.dropdown-link {
    display: block;
    padding: 9px 10px;
    border-radius: 10px;
    color: #334155;
    text-decoration: none;
}

.dropdown-link:hover,
.dropdown-link.active {
    background: #eff6ff;
    color: #0f172a;
}

.nav-link-accent,
.footer-link-accent {
    color: #dc2626 !important;
    font-weight: 700;
}

.value-card,
.platform-card,
.compliance-card,
.case-card,
.insight-card,
.knowledge-card {
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.compliance-grid,
.platform-grid,
.case-grid,
.insight-grid,
.knowledge-grid {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    gap: 24px;
}

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

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

.platform-card {
    background: #fff;
    border-radius: 20px;
    padding: 26px 16px;
    text-align: center;
}

.platform-card img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 14px;
}

.compliance-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
}

.compliance-card h3 {
    margin-bottom: 12px;
    color: #0f172a;
}

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

.case-card,
.insight-card,
.knowledge-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
}

.case-card a,
.insight-card a,
.knowledge-card a {
    color: inherit;
    text-decoration: none;
}

.case-image,
.insight-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.case-body,
.insight-body,
.knowledge-card {
    padding: 22px;
}

.case-title,
.insight-title,
.knowledge-title {
    color: #0f172a;
    margin: 0 0 12px;
    line-height: 1.5;
}

.case-link,
.insight-date,
.knowledge-date {
    color: #2563eb;
    font-size: 14px;
}

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

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

.knowledge-desc,
.insight-desc {
    color: #64748b;
    line-height: 1.8;
}

.section-actions {
    margin-top: 32px;
    text-align: center;
}

.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #fff;
    padding: 110px 0 60px;
}

.page-hero-inner,
.page-shell {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.page-title {
    font-size: clamp(30px, 4vw, 48px);
    margin-bottom: 12px;
}

.page-subtitle {
    max-width: 720px;
    color: rgba(255,255,255,.82);
    line-height: 1.8;
}

.breadcrumb {
    margin-top: 18px;
    color: rgba(255,255,255,.68);
    font-size: 14px;
}

.page-shell {
    padding: 46px 0 70px;
}

.listing-panel {
    padding: 34px 30px;
}

.listing-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    padding-bottom: 22px;
    margin-bottom: 28px;
    border-bottom: 1px solid #e2e8f0;
}

.listing-intro h2 {
    margin: 0 0 10px;
    color: #0f172a;
}

.listing-intro p {
    margin: 0;
    max-width: 720px;
    color: #64748b;
    line-height: 1.8;
}

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

.content-panel {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.faq-article {
    margin-top: 32px;
    padding: 38px 42px;
    border: 1px solid rgba(37, 99, 235, 0.08);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.faq-article-content > *:first-child {
    margin-top: 0;
}

.faq-article-content > *:last-child {
    margin-bottom: 0;
}

.faq-article-content h2,
.faq-article-content h3,
.faq-article-content h4 {
    color: #0f172a;
    margin: 34px 0 14px;
}

.faq-article-content h2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    font-size: clamp(20px, 2.2vw, 28px);
}

.faq-article-content h2::before {
    content: "Q";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.faq-article-content p,
.faq-article-content li {
    color: #475569;
    line-height: 1.9;
    font-size: 16px;
}

.faq-article-content ul,
.faq-article-content ol {
    padding-left: 22px;
    margin: 16px 0 22px;
}

.faq-article-content p + p {
    margin-top: 12px;
}

.faq-article-content .text_content > h2:first-child {
    margin-top: 0;
}

.faq-article-content .text_content > h2 + p,
.faq-article-content .text_content > h2 + ul,
.faq-article-content .text_content > h2 + ol {
    margin-top: 18px;
}

.faq-article-content .text_content > p,
.faq-article-content .text_content > ul,
.faq-article-content .text_content > ol {
    max-width: 920px;
}

.content-panel img {
    max-width: 100%;
    height: auto;
}

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

.listing-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.listing-card a {
    color: inherit;
    text-decoration: none;
}

.listing-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.listing-card-body {
    padding: 22px;
}

.listing-card-meta {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 10px;
}

.listing-card-title {
    color: #0f172a;
    margin: 0 0 12px;
    line-height: 1.5;
}

.listing-card-desc {
    color: #64748b;
    line-height: 1.8;
}

.banner-container,
.faq-container,
.services-overview,
.compliance-container,
.featured-content,
.cases-showcase {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.page-banner-knowledge,
.page-banner-cases,
.page-banner-services,
.page-banner-contact {
    padding: 96px 0 58px;
    color: #fff;
}

.page-banner-knowledge {
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
}

.page-banner-cases {
    background: linear-gradient(135deg, #111827 0%, #1f2937 55%, #2563eb 100%);
}

.page-banner-services {
    background: linear-gradient(135deg, #0f172a 0%, #1e40af 60%, #0ea5e9 100%);
}

.page-banner-contact {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #2563eb 100%);
}

.banner-content h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.2;
}

.banner-subtitle,
.banner-desc {
    color: rgba(255,255,255,.86);
    line-height: 1.9;
}

.faq-section {
    padding: 56px 0 80px;
    background: #f8fafc;
}

.faq-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 32px;
}

.faq-header .section-title {
    font-size: clamp(32px, 4vw, 46px);
    margin: 0 0 14px;
}

.section-subtitle {
    color: #475569;
    line-height: 1.9;
}

.faq-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.faq-filter-btn {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    cursor: pointer;
}

.faq-filter-btn.active,
.faq-filter-btn:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.faq-list {
    display: grid;
    gap: 16px;
}

.faq-item {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    cursor: pointer;
}

.faq-question-text {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.faq-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #eff6ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.faq-toggle::before {
    content: "+";
    font-size: 28px;
    color: #2563eb;
}

.faq-item.is-open .faq-toggle::before {
    content: "-";
}

.faq-answer {
    display: none;
    padding: 0 24px 24px;
}

.faq-item.is-open .faq-answer {
    display: block;
}

.faq-answer-inner {
    padding: 20px 22px;
    border-radius: 18px;
    background: #f8fafc;
    color: #334155;
    line-height: 1.9;
}

.faq-category {
    display: inline-block;
    margin-bottom: 10px;
    color: #2563eb;
    font-weight: 700;
}

.services-overview {
    padding: 48px 0 80px;
}

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

.service-card,
.service-highlight,
.compliance-block,
.warning-box,
.contact-box,
.article-item,
.showcase-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.service-card {
    padding: 26px;
}

.service-card h3,
.service-highlight h2 {
    color: #0f172a;
    margin: 0 0 12px;
}

.service-card p,
.service-highlight p,
.service-highlight li,
.compliance-block p,
.compliance-block li,
.warning-box p,
.warning-box li,
.contact-box p {
    color: #475569;
    line-height: 1.85;
}

.service-highlight {
    padding: 30px;
}

.service-highlight ul,
.compliance-block ul,
.warning-box ul {
    margin: 0;
    padding-left: 20px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    background: #fff;
    font-weight: 700;
}

.compliance-section {
    padding: 56px 0 84px;
    background: #f8fafc;
}

.compliance-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 26px;
}

.compliance-header h1 {
    margin: 0 0 10px;
    font-size: clamp(30px, 4vw, 46px);
    color: #0f172a;
}

.compliance-header p {
    color: #475569;
}

.compliance-block,
.warning-box,
.contact-box {
    padding: 28px 30px;
    margin-bottom: 20px;
}

.warning-box {
    background: linear-gradient(180deg, #fff7ed, #fff);
    border: 1px solid #fed7aa;
}

.featured-content,
.cases-showcase {
    padding: 48px 0 80px;
}

.knowledge-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.article-list,
.case-list-grid {
    display: grid;
    gap: 22px;
}

.article-item {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    overflow: hidden;
}

.article-image img,
.showcase-image {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.article-content,
.showcase-body {
    padding: 24px 26px;
}

.article-content h3,
.showcase-title {
    margin: 0 0 12px;
    color: #0f172a;
    line-height: 1.45;
}

.article-excerpt,
.showcase-desc {
    color: #64748b;
    line-height: 1.85;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 18px;
    color: #64748b;
    font-size: 14px;
}

.article-category,
.text-primary,
.showcase-link {
    color: #2563eb;
    font-weight: 700;
}

.showcase-card a {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    color: inherit;
    text-decoration: none;
}

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

    .article-item,
    .showcase-card a {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 18px 18px;
    }

    .faq-question-text {
        font-size: 16px;
    }
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 18px;
}

.detail-content {
    line-height: 1.9;
    color: #334155;
}

.detail-nav {
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
}

.detail-nav p {
    margin: 10px 0;
}

.detail-nav a {
    color: #2563eb;
    text-decoration: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
}

.contact-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.contact-card h3 {
    margin-bottom: 14px;
    color: #0f172a;
}

.contact-card p,
.contact-card .footer-contact {
    color: #475569;
    line-height: 1.9;
}

.map-panel {
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.map-panel iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 0;
}

.cms-pagination {
    margin-top: 36px;
}

.cms-pagination a,
.cms-pagination span {
    display: inline-flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #fff;
    margin-right: 8px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
}

.lead-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
}

.lead-modal-dialog {
    position: relative;
    width: min(960px, calc(100% - 32px));
    margin: 6vh auto 0;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.3);
    overflow: hidden;
}

.lead-modal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.lead-modal-main,
.lead-modal-side {
    padding: 34px 30px;
}

.lead-modal-side {
    background: linear-gradient(180deg, #eff6ff, #fff7ed);
    border-left: 1px solid #e2e8f0;
}

.lead-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    font-size: 24px;
    line-height: 1;
}

.lead-modal-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #2563eb;
    margin-bottom: 10px;
}

.lead-modal-title {
    margin: 0 0 10px;
    color: #0f172a;
}

.lead-modal-desc {
    margin: 0 0 22px;
    color: #64748b;
    line-height: 1.8;
}

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

.lead-field {
    display: block;
    margin-bottom: 16px;
}

.lead-field span {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #334155;
}

.lead-field input,
.lead-field textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #dbe4f0;
    border-radius: 14px;
    background: #fff;
    color: #0f172a;
    font: inherit;
}

.lead-field textarea {
    resize: vertical;
    min-height: 110px;
}

.lead-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.lead-form-status {
    min-height: 24px;
    margin-top: 12px;
    font-size: 14px;
    color: #64748b;
}

.lead-form-status.is-success {
    color: #15803d;
}

.lead-form-status.is-error {
    color: #dc2626;
}

.lead-form-status.is-loading {
    color: #2563eb;
}

.lead-qr-card h4 {
    margin: 0 0 12px;
    color: #0f172a;
}

.lead-qr-card p {
    margin: 14px 0 0;
    color: #64748b;
    line-height: 1.8;
}

.lead-qr-image {
    width: 100%;
    max-width: 240px;
    border-radius: 18px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.lead-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 991px) {
    .platform-grid,
    .case-grid,
    .knowledge-grid,
    .listing-grid,
    .contact-grid,
    .compliance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .listing-topbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .lead-modal-layout {
        grid-template-columns: 1fr;
    }

    .lead-modal-side {
        border-left: 0;
        border-top: 1px solid #e2e8f0;
    }
}

@media (max-width: 767px) {
    .platform-grid,
    .case-grid,
    .knowledge-grid,
    .listing-grid,
    .contact-grid,
    .compliance-grid {
        grid-template-columns: 1fr;
    }

    .nav-dropdown {
        position: static;
        display: block;
        border: 0;
        box-shadow: none;
        padding: 6px 0 0 12px;
        background: transparent;
    }
}
