:root {
    --primary: #2a78d2;
    --primary-deep: #4d92df;
    --accent: #6db8f2;
    --ink: #173251;
    --muted: #6d86a3;
    --line: rgba(42, 120, 210, 0.12);
    --shadow: 0 20px 52px rgba(52, 112, 182, 0.12);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Bahnschrift", "Noto Sans SC", "Microsoft YaHei", sans-serif;
    color: var(--ink);
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(109, 184, 242, 0.16), transparent 32%),
        linear-gradient(180deg, #fbfdff 0%, #ffffff 28%, #f5f9fe 100%);
}

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

img,
video {
    display: block;
    width: 100%;
    border-radius: 18px;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(16px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(42, 120, 210, 0.08);
}

.topbar {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(52, 112, 182, 0.18);
    overflow: hidden;
    background: transparent;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-text strong {
    font-size: 1rem;
}

.brand-text small {
    color: var(--muted);
    font-size: 0.82rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.site-nav > a,
.nav-dropdown > a {
    font-weight: 600;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 240px;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid rgba(42, 120, 210, 0.12);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 50px rgba(52, 112, 182, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 20;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-all,
.dropdown-top,
.dropdown-child {
    display: block;
    border-radius: 12px;
    padding: 10px 12px;
}

.dropdown-all,
.dropdown-top {
    font-weight: 700;
}

.dropdown-group + .dropdown-group {
    margin-top: 8px;
}

.dropdown-child {
    padding-left: 24px;
    color: var(--muted);
}

.dropdown-all:hover,
.dropdown-top:hover,
.dropdown-child:hover {
    background: rgba(42, 120, 210, 0.08);
}

.nav-button,
.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-button,
.primary-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
    color: white;
    box-shadow: 0 14px 30px rgba(52, 112, 182, 0.18);
}

.secondary-button {
    border: 1px solid rgba(42, 120, 210, 0.14);
    background: rgba(255, 255, 255, 0.92);
}

.nav-button:hover,
.primary-button:hover,
.secondary-button:hover {
    transform: translateY(-2px);
}

.hero-section,
.inner-hero {
    position: relative;
    overflow: hidden;
    padding: 68px 0 44px;
}

.hero-section--with-image {
    background-image:
        linear-gradient(180deg, rgba(251, 253, 255, 0.48), rgba(245, 249, 254, 0.58)),
        var(--hero-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before,
.inner-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(42, 120, 210, 0.08), transparent 44%),
        radial-gradient(circle at right top, rgba(109, 184, 242, 0.14), transparent 28%);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: 32px;
}

.hero-copy,
.hero-panel-card,
.media-card,
.content-card,
.value-card,
.metric-card,
.detail-card,
.contact-panel,
.contact-form,
.empty-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-copy {
    padding: 28px 44px 44px;
    background: rgba(255, 255, 255, 0.76);
}

.eyebrow {
    display: inline-flex;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(42, 120, 210, 0.08);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-copy h1,
.inner-hero h1 {
    margin: 20px 0 18px;
    font-family: "Aptos Display", "Bahnschrift", "Noto Sans SC", sans-serif;
    font-size: clamp(2.2rem, 4.2vw, 3.8rem);
    line-height: 1.08;
}

.hero-copy h1 {
    margin-top: 14px;
    font-size: clamp(1.9rem, 3.2vw, 3rem);
    line-height: 1.12;
}

.hero-text,
.section-lead,
.inner-hero p,
.section-copy p,
.card-body p,
.contact-panel p,
.detail-main p {
    line-height: 1.8;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-panel,
.value-stack,
.detail-main,
.detail-side {
    display: grid;
    gap: 20px;
}

.hero-panel-card,
.contact-panel,
.contact-form,
.detail-card,
.value-card,
.metric-card,
.empty-card {
    padding: 28px;
}

.panel-label,
.value-card span,
.contact-list span {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-panel-card h2,
.section-copy h2,
.section-head h2,
.contact-panel h2,
.detail-card h3 {
    margin: 14px 0;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.feature-list,
.bullet-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    display: grid;
    gap: 12px;
}

.metrics-grid,
.card-grid,
.footer-grid,
.section-grid,
.contact-grid,
.detail-grid,
.form-grid {
    display: grid;
    gap: 20px;
}

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

.metric-card strong {
    display: block;
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-deep);
}

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

.soft-section {
    background: linear-gradient(180deg, rgba(240, 246, 254, 0.85), rgba(255, 255, 255, 0));
}

.product-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.product-sidebar {
    position: sticky;
    top: 104px;
}

.product-sidebar-card {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.product-sidebar-card h2 {
    margin: 14px 0 18px;
    font-size: 1.5rem;
}

.sidebar-group + .sidebar-group {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(42, 120, 210, 0.08);
}

.sidebar-link,
.sidebar-sublink {
    display: block;
    border-radius: 14px;
    transition: background 0.18s ease, color 0.18s ease;
}

.sidebar-link {
    padding: 11px 14px;
    font-weight: 700;
}

.sidebar-sublink {
    padding: 9px 14px 9px 28px;
    color: var(--muted);
}

.sidebar-link:hover,
.sidebar-sublink:hover,
.sidebar-link.is-active,
.sidebar-sublink.is-active {
    background: rgba(42, 120, 210, 0.08);
    color: var(--primary);
}

.product-main {
    min-width: 0;
}

.category-block + .category-block {
    margin-top: 44px;
}

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

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.category-head {
    align-items: start;
}

.category-summary,
.subcategory-head p {
    max-width: 560px;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.subcategory-block {
    margin-top: 26px;
}

.subcategory-head {
    margin-bottom: 18px;
    padding: 18px 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(245, 250, 255, 0.96), rgba(255, 255, 255, 0.96));
    border: 1px solid rgba(42, 120, 210, 0.1);
}

.subcategory-head h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
}

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

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

.logo-tile {
    min-height: 132px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.logo-tile-image,
.logo-tile-mark {
    width: 100%;
    max-width: 168px;
    max-height: 78px;
}

.logo-tile-image {
    object-fit: contain;
    border-radius: 0;
}

.logo-tile-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(42, 120, 210, 0.14), rgba(109, 184, 242, 0.24));
    color: var(--primary);
    font-weight: 800;
    font-size: 1.18rem;
    letter-spacing: 0.08em;
    min-height: 78px;
    padding: 0 18px;
}

.content-card {
    overflow: hidden;
}

.service-card {
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(255, 255, 255, 0.96));
}

.content-card img {
    height: 220px;
    object-fit: cover;
    border-radius: 0;
}

.card-body {
    padding: 24px;
}

.card-tag,
.text-link {
    color: var(--primary);
    font-weight: 700;
}

.card-tag {
    display: inline-flex;
    margin-bottom: 14px;
}

.card-body h3 {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.contact-list {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.contact-list strong {
    display: block;
    margin-top: 6px;
    font-size: 1.08rem;
}

.form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
}

.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

input,
textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(42, 120, 210, 0.14);
    background: #fdfefe;
    font: inherit;
    color: var(--ink);
}

textarea {
    resize: vertical;
}

.form-error {
    margin-top: 8px;
    color: #b82f2f;
    font-size: 0.92rem;
}

.detail-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: start;
}

.detail-image {
    max-height: 460px;
    object-fit: cover;
}

.flash-stack {
    padding-top: 16px;
}

.flash {
    padding: 14px 18px;
    border-radius: 18px;
    border: 1px solid rgba(42, 120, 210, 0.08);
    background: rgba(255, 255, 255, 0.9);
}

.flash-success {
    color: #0e5f2f;
}

.site-footer {
    margin-top: 30px;
    padding: 44px 0 28px;
    background: linear-gradient(180deg, #4d92df 0%, #2f6fbe 100%);
    color: rgba(255, 255, 255, 0.88);
}

.footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
    margin-bottom: 20px;
}

.site-footer a,
.site-footer p,
.site-footer h3,
.site-footer h4 {
    display: block;
    margin: 0 0 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 1024px) {
    .container {
        width: min(1180px, calc(100% - 32px));
    }

    .site-nav {
        gap: 14px;
        font-size: 0.9rem;
    }

    .hero-grid,
    .section-grid,
    .product-layout,
    .contact-grid,
    .detail-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .product-sidebar {
        position: static;
    }

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

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

@media (max-width: 768px) {
    .container {
        width: calc(100% - 24px);
    }

    .site-header {
        position: static;
    }

    .topbar {
        min-height: 72px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 14px 0;
    }

    .brand {
        width: 100%;
        gap: 12px;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
        border-radius: 14px;
    }

    .brand-mark img {
        border-radius: 14px;
    }

    .brand-text strong {
        font-size: 0.95rem;
    }

    .brand-text small {
        font-size: 0.76rem;
        line-height: 1.45;
    }

    .site-nav {
        width: 100%;
        gap: 10px 18px;
        justify-content: space-between;
        font-size: 0.92rem;
    }

    .nav-dropdown {
        width: auto;
    }

    .nav-dropdown-menu {
        position: static;
        min-width: 0;
        margin-top: 10px;
        padding: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }

    .nav-dropdown:hover .nav-dropdown-menu,
    .nav-dropdown:focus-within .nav-dropdown-menu {
        display: block;
    }

    .hero-section,
    .inner-hero {
        padding: 30px 0 24px;
    }

    .hero-copy,
    .hero-panel-card,
    .contact-panel,
    .contact-form,
    .detail-card,
    .value-card,
    .metric-card,
    .empty-card {
        padding: 22px;
    }

    .hero-copy h1 {
        font-size: 2rem;
        line-height: 1.18;
        margin: 12px 0 14px;
    }

    .hero-panel-card h2,
    .section-copy h2,
    .section-head h2,
    .contact-panel h2,
    .detail-card h3 {
        font-size: 1.7rem;
        line-height: 1.28;
    }

    .hero-text,
    .section-lead,
    .inner-hero p,
    .section-copy p,
    .card-body p,
    .contact-panel p,
    .detail-main p {
        font-size: 0.98rem;
        line-height: 1.75;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        padding: 13px 18px;
    }

    .form-grid,
    .metrics-grid,
    .card-grid,
    .logo-wall {
        grid-template-columns: 1fr;
    }

    .content-card img,
    .detail-image {
        height: auto;
        max-height: 280px;
    }

    .card-body {
        padding: 20px;
    }

    .content-section {
        padding: 28px 0;
    }

    .product-sidebar-card {
        padding: 20px;
    }

    .category-block + .category-block {
        margin-top: 30px;
    }

    .subcategory-block {
        margin-top: 18px;
    }

    .contact-list {
        gap: 14px;
        margin-top: 18px;
    }

    .eyebrow,
    .panel-label,
    .value-card span,
    .contact-list span {
        font-size: 0.76rem;
        letter-spacing: 0.08em;
    }

    .section-head,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer {
        padding: 30px 0 24px;
    }
}

@media (max-width: 480px) {
    .site-nav {
        justify-content: flex-start;
        gap: 10px 16px;
        font-size: 0.88rem;
    }

    .hero-copy h1 {
        font-size: 1.75rem;
    }

    .hero-panel-card h2,
    .section-copy h2,
    .section-head h2,
    .contact-panel h2,
    .detail-card h3 {
        font-size: 1.5rem;
    }

    .footer-bottom {
        font-size: 0.84rem;
    }
}
