/* Corporate R&D theme */

:root {
    --ink: #1f1f1f;
    --ink-2: #3c4043;
    --muted: #5f6368;
    --line: #e8eaed;
    --paper: #f8f9fa;
    --white: #fff;
    --accent: #1a73e8;
    --accent-2: #1557b0;
    --accent-soft: #e8f0fe;
    --on-dark: #eef4ff;
    --on-dark-2: #d2e3fc;
    --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    --mono: "Cascadia Mono", "SFMono-Regular", Consolas, "Courier New", monospace;
}

html {
    scroll-padding-top: 96px;
    --page-banner-min: 460px;
}

html[lang^="en"] {
    --page-banner-min: 480px;
}

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--white);
    letter-spacing: 0.01em;
    line-height: 1.65;
}

h1,
h2,
h3,
h4 {
    font-weight: 650;
    letter-spacing: -0.02em;
    color: var(--ink);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: none;
    border-bottom: 1px solid var(--line);
}

.navbar {
    padding: 1.3rem 0;
}

.nav-logo a {
    align-items: center;
    gap: 0.7rem;
}

.logo {
    width: 40px;
    height: 40px;
    margin-right: 0;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    line-height: 1.25;
}

.nav-link {
    color: var(--ink-2);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.nav-link:hover,
.nav-link.active {
    color: var(--ink);
}

.nav-link.active::after {
    background: var(--accent);
    height: 1px;
    bottom: -10px;
}

.language-toggle {
    border-radius: 2px;
    border: 1px solid var(--line);
    padding: 8px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--ink);
}

.language-toggle:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.bar {
    background: var(--accent);
    height: 2px;
}

/* Buttons */
.btn {
    border-radius: 2px;
    font-weight: 650;
    letter-spacing: 0.06em;
    padding: 12px 22px;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-2);
    transform: none;
    box-shadow: none;
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.btn-secondary:hover {
    background: var(--accent-soft);
    color: var(--accent-2);
}

.btn-outline {
    border: 1px solid var(--accent);
    color: var(--accent);
    border-radius: 2px;
}

.btn-outline:hover {
    background: var(--accent-soft);
    color: var(--accent-2);
}

/* Homepage hero — keep light text over photos */
.hero {
    background-color: var(--ink);
    color: #fff;
}

.hero::before {
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(12, 18, 28, 0.38) 0%, rgba(12, 18, 28, 0.46) 100%);
}

.hero-eyebrow {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0;
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #d2e3fc;
}

.hero .hero-title,
.hero h1 {
    font-size: 2.7rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1.1rem;
    color: #fff;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
    max-width: 16em;
}

.hero .hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.7;
    opacity: 1;
    color: #e8eef3;
    max-width: 36rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero .btn-secondary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero .btn-secondary:hover {
    background: #fff;
    color: var(--ink);
}

.hero-buttons .btn {
    box-shadow: none;
}

.hero-dot {
    border-radius: 0;
    height: 2px;
}

.hero-dot.is-active {
    background: #fff;
    transform: none;
}

/* Delivery process strip */
.eng-process {
    background: var(--paper);
    color: var(--ink);
    padding: 1.4rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.eng-process-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 0;
}

.eng-process-list li {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.eng-process-list li::before {
    content: "—";
    color: var(--accent);
    font-weight: 500;
}

.eng-step-name {
    font-size: 0.95rem;
    font-weight: 600;
}

/* Sections */
.who-we-are,
.our-advantages,
.features,
.values,
.team,
.timeline,
.culture-section,
.benefits-section.bg-light,
.business-section,
.upstream-partners,
.key-clients {
    background: var(--paper);
}

.what-we-provide,
.partners,
.company-story,
.mission-vision,
.why-choose-section,
.downstream-partners,
.partnership-values,
.jobs-section {
    background: var(--white);
}

.section-title {
    text-align: left;
    color: var(--ink);
    font-size: 1.7rem;
    margin-bottom: 1.75rem;
}

.section-title::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    background: var(--accent);
    margin-top: 0.85rem;
}

.partners-subtitle,
.section-subtitle {
    text-align: left;
    color: var(--muted);
}

.who-description,
.story-description,
.service-description,
.advantage-description,
.overview-description,
.team-description,
.card-description,
.value-description,
.culture-description,
.benefit-description,
.channel-description,
.category-description,
.contact-description {
    color: var(--ink-2);
}

/* Cards */
.service-card,
.advantage-card,
.value-card,
.feature-card,
.mission-card,
.vision-card,
.culture-card,
.benefit-item,
.benefit-card,
.business-card,
.job-card,
.job-item,
.channel-type,
.client-category,
.partner-card,
.story-item,
.model-card {
    border-radius: 2px;
    box-shadow: none;
    border: 1px solid var(--line);
    background: var(--white);
}

.service-card,
.advantage-card,
.value-card,
.mission-card,
.vision-card,
.culture-card,
.benefit-item,
.benefit-card,
.advantage-item {
    text-align: left;
}

.service-card:hover,
.advantage-card:hover,
.value-card:hover,
.culture-card:hover,
.business-card:hover,
.feature-card:hover,
.partner-card:hover,
.channel-type:hover,
.client-category:hover,
.story-item:hover,
.benefit-card:hover,
.partnership-values .value-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--accent);
}

.services-grid,
.advantages-grid,
.values-grid,
.culture-grid,
.mission-vision-grid {
    counter-reset: tile;
}

.service-card,
.advantage-card,
.value-card,
.culture-card,
.mission-card,
.vision-card {
    counter-increment: tile;
}

.tile-head {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0 0 0.85rem;
}

.tile-head > h3,
.tile-head .service-title,
.tile-head .advantage-title,
.tile-head .value-title,
.tile-head .card-title,
.tile-head .culture-title,
.tile-head .benefit-title,
.tile-head .contact-title {
    margin: 0;
    font-size: 1.18rem;
    line-height: 1.3;
}

.icon-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.18em;
    height: 1.18em;
    margin-top: 0.12em;
    font-size: 1.18rem;
    color: var(--accent);
    line-height: 1;
}

img.icon-mark {
    object-fit: contain;
}

.icon-mark svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card .service-icon,
.advantage-icon,
.values .value-icon,
.feature-icon,
.card-icon,
.culture-icon,
.benefit-icon,
.partnership-values .value-icon {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: contents;
}

.service-card .service-icon img,
.advantage-icon img,
.values .value-icon img,
.feature-icon img,
.card-icon img,
.culture-icon img {
    display: none;
}

.service-features li:before {
    content: "—";
    color: var(--accent);
    font-weight: 500;
}

.who-image img,
.story-image img,
.team-image img,
.overview-image img {
    border-radius: 2px;
    box-shadow: none;
    border: 1px solid var(--line);
}

.who-image img:hover {
    transform: none;
}

/* Homepage industries — grouped boards, not a flat tile grid */
.industry-board {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 2.25rem 0 0;
}

/* An English row needs about 450px to keep icon, name and keywords on one
   line, so three columns start at 1200px and 992-1199px gets two. */
@media (max-width: 1199px) {
    .industry-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

.industry-cluster {
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 2px;
    padding: 1.25rem 1.3rem 0.45rem;
    min-width: 0;
}

.industry-cluster:nth-child(even) {
    background: var(--paper);
}

.industry-cluster:hover {
    border-color: var(--accent);
}

.industry-cluster-head {
    padding-bottom: 1rem;
    margin-bottom: 0.15rem;
    border-bottom: 1px solid var(--line);
}

.industry-cluster-head h3 {
    margin: 0 0 0.35rem;
    font-size: 1.12rem;
    line-height: 1.3;
    color: var(--ink);
}

.industry-cluster-head h3::before {
    content: "—";
    margin-right: 0.5rem;
    color: var(--accent);
    font-weight: 500;
}

.industry-cluster-head h3 a {
    color: inherit;
    text-decoration: none;
}

.industry-cluster-head h3 a:hover {
    color: var(--accent);
}

.industry-cluster-head p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--muted);
}

.industry-cluster-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.industry-cluster-list li {
    border-bottom: 1px solid var(--line);
}

.industry-cluster-list li:last-child {
    border-bottom: 0;
}

.industry-cluster-list a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.62rem 0;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.industry-cluster-list a:hover h4 {
    color: var(--accent);
}

.industry-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: var(--accent-soft);
    border-radius: 2px;
}

.industry-cluster:nth-child(even) .industry-icon {
    background: var(--white);
    border: 1px solid var(--line);
}

.industry-icon img {
    width: 18px;
    height: 18px;
    display: block;
}

.industry-cluster-list h4 {
    margin: 0;
    flex-shrink: 0;
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.3;
    color: var(--ink);
    white-space: nowrap;
}

/* Descriptor is pushed to the right edge so names and keywords line up
   down the card; keep it on one line with the name and the icon. Below the
   narrowest phone it clips instead of pushing past the card edge. */
.industry-cluster-list p {
    margin: 0 0 0 auto;
    min-width: 0;
    font-size: 0.78rem;
    line-height: 1.3;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.partners .partners-cta {
    text-align: center;
    border-top-color: var(--line);
}

.partners .partners-cta-text {
    max-width: 36em;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.12rem;
    line-height: 1.7;
    color: var(--ink-2);
}

/* About page — mission & vision as a dark identity plate, values as a ledger */
.about-identity {
    background: var(--paper);
    padding: 88px 0 84px;
}

.identity-head {
    margin: 0 0 2.75rem;
    text-align: center;
}

.about-identity-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 0.7rem;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
}

.about-identity-eyebrow::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 1px;
    background: var(--accent);
}

.identity-slogan {
    margin: 0;
    font-size: clamp(1rem, calc((100vw - 4.5rem) / 17.5), 2.35rem);
    line-height: 1.35;
    letter-spacing: 0.03em;
    white-space: nowrap;
    text-align: center;
}

.identity-slogan::after {
    margin-left: auto;
    margin-right: auto;
}

.brand-mark {
    color: #e53935;
}

html[lang^="en"] .identity-slogan {
    white-space: normal;
    max-width: 22em;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.02em;
}

/* Mission, vision, values — three equal pillars on one dark plate.
   Same header pattern (icon + tag + heading) and body-copy treatment
   for all three; only the wording length differs. */
.identity-frame {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 2.25rem;
    background: var(--ink);
    border-radius: 2px;
    padding: 3rem 2.75rem;
    margin: 0 0 3.25rem;
    overflow: hidden;
}

.identity-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 36px 36px;
    pointer-events: none;
}

.identity-frame::after,
.identity-frame-mark {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0.75;
    pointer-events: none;
}

.identity-frame::after {
    top: 14px;
    right: 14px;
    border-top: 1px solid var(--accent);
    border-right: 1px solid var(--accent);
}

.identity-frame-mark {
    bottom: 14px;
    left: 14px;
    border-bottom: 1px solid var(--accent);
    border-left: 1px solid var(--accent);
}

.identity-pillar {
    position: relative;
    z-index: 1;
}

.identity-pillar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 1.15rem;
    background: var(--accent-soft);
    border-radius: 2px;
}

.identity-pillar-icon img {
    display: block;
    width: 20px;
    height: 20px;
}

.identity-pillar-tag {
    margin: 0 0 0.5rem;
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--on-dark-2);
    transition: color 0.2s;
}

.identity-pillar:hover .identity-pillar-tag {
    color: var(--accent);
}

.identity-pillar h3 {
    margin: 0;
    font-size: 1.32rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
    color: #fff;
}

.identity-frame-divider {
    position: relative;
    z-index: 1;
    width: 1px;
    align-self: stretch;
    background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 991px) {
    .identity-slogan {
        font-size: 1.45rem;
        letter-spacing: 0.02em;
    }

    .identity-frame {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 2rem;
    }

    .identity-frame-divider {
        width: 100%;
        height: 1px;
    }

    .identity-pillar h3 {
        font-size: 1.42rem;
    }
}

/* Story (white) now sits before the identity plate; team follows identity
   and shares the same paper background, so give it a hairline to keep the
   two sections visually distinct instead of bleeding together. */
.about-identity + .team {
    border-top: 1px solid var(--line);
}

@media (max-width: 575px) {

    .about-identity {
        padding: 56px 0 48px;
    }

    .identity-frame {
        padding: 2rem 1.5rem;
    }

    .identity-slogan {
        font-size: 1.05rem;
        letter-spacing: 0.01em;
    }

    .identity-pillar h3 {
        font-size: 1.28rem;
    }

    .identity-frame::after {
        display: none;
    }
}

/* Page banners — photo + light veil, keep type readable */
.page-header,
.products-hero,
.news-hero {
    background-color: #1f1f1f;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: left;
    padding: 168px 0 80px;
    position: relative;
}

.page-header.banner-about {
    background-image: url("../images/about-company.jpg");
}

.page-header.banner-partner {
    background-image: url("../images/franchise-overview.jpg");
}

.page-header.banner-careers {
    background-image: url("../images/careers-banner.jpg");
}

.products-hero {
    background-image: url("../images/develop-banner.jpg");
}

.products-hero.develop-hero {
    background-image: url("../images/develop/hub-office.jpg");
}

.products-hero.banner-dev-website {
    background-image: url("../images/banner-dev-website.jpg");
}

.products-hero.banner-dev-business {
    background-image: url("../images/banner-dev-business.jpg");
}

.products-hero.banner-dev-management {
    background-image: url("../images/banner-dev-management.jpg");
}

.products-hero.banner-dev-mobile {
    background-image: url("../images/banner-dev-mobile.jpg");
}

.products-hero.banner-dev-data {
    background-image: url("../images/banner-dev-data.jpg");
}

.products-hero.banner-dev-hardware {
    background-image: url("../images/banner-dev-hardware.jpg");
}

.products-hero.banner-products {
    background-image: url("../images/products-banner.jpg");
}

/* about / partner / careers / products / news: same banner height within each language */
.page-header.banner-about,
.page-header.banner-partner,
.page-header.banner-careers,
.products-hero.banner-products,
.news-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    min-height: var(--page-banner-min);
}

.page-header.banner-about .container,
.page-header.banner-partner .container,
.page-header.banner-careers .container,
.products-hero.banner-products .container,
.news-hero .container {
    width: 100%;
}

.banner-products .business-summary {
    flex-direction: row;
    flex-wrap: nowrap;
}

.news-hero {
    background-image: url("../images/news-banner.jpg");
}

.page-header::after,
.products-hero::after,
.news-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(100deg, rgba(20, 24, 28, 0.58) 0%, rgba(26, 115, 232, 0.36) 52%, rgba(26, 115, 232, 0.18) 100%);
}

.page-header .container,
.products-hero .container,
.news-hero .container {
    position: relative;
    z-index: 1;
}

.page-header,
.page-header h1,
.page-title,
.products-hero,
.products-hero .hero-title,
.products-hero h1,
.products-hero h2,
.news-hero,
.news-hero h1 {
    color: #fff;
}

.page-title {
    font-size: 2.2rem;
    letter-spacing: -0.03em;
    margin-bottom: 0.6rem;
}

.page-subtitle {
    color: #e8eef3;
    max-width: 36rem;
    margin: 0;
}

.banner-about .page-subtitle {
    max-width: 40rem;
    line-height: 1.65;
}

.products-hero .hero-content {
    margin: 0;
    max-width: 760px;
}

.products-hero .hero-title {
    font-size: 2.2rem;
    letter-spacing: -0.03em;
}

.products-hero .hero-subtitle {
    font-size: 1.05rem;
    color: #e8eef3;
    opacity: 1;
    margin-bottom: 2rem;
}

.business-summary {
    justify-content: flex-start;
    gap: 2.5rem;
}

.summary-item {
    text-align: left;
}

.summary-number {
    color: var(--accent);
    font-family: var(--mono);
    font-size: 2rem;
}

.business-header {
    background: var(--white);
}

.business-tag {
    background: var(--paper);
    color: var(--ink);
    border-radius: 2px;
}

.link-btn {
    border-radius: 2px;
}

.link-btn.primary {
    background: var(--accent);
    border-radius: 2px;
}

.link-btn.primary:hover {
    background: var(--accent-2);
    transform: none;
}

.service-item {
    border-radius: 2px;
    background: var(--paper);
    align-items: flex-start;
    gap: 1rem;
}

.service-item:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--accent);
    background: var(--white);
}

.service-item .service-icon {
    width: 48px;
    height: 48px;
    margin: 0.12rem 0 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 2px;
    overflow: hidden;
    display: flex;
}

.service-item .service-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.service-item .service-info h4 {
    font-size: 1.08rem;
    line-height: 1.35;
    margin: 0 0 0.28rem;
}

.app-tag,
.example-tag,
.benefit-tag {
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 2px;
    box-shadow: none;
}

.app-tag:hover,
.example-tag:hover {
    background: var(--accent);
    color: #fff;
    transform: none;
}

.advantage-item {
    padding: 0;
}

.advantage-number {
    font-family: var(--mono);
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.why-choose-section .advantages-grid {
    gap: 2.5rem;
}

.our-advantages .advantages-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.contact-cta {
    background: var(--accent-soft);
    color: var(--ink);
    text-align: left;
}

.contact-cta h2,
.cta-content h2 {
    color: var(--ink);
}

.cta-content p {
    color: var(--muted);
}

.cta-content h2,
.cta-content p {
    max-width: 36rem;
}

.cta-actions {
    justify-content: flex-start;
}

.cta-btn {
    border-radius: 2px;
}

.cta-btn.primary {
    background: var(--accent);
    color: #fff;
}

.cta-btn.primary:hover {
    background: var(--accent-2);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
}

.submit-btn {
    background: var(--accent);
    border-radius: 2px;
}

.submit-btn:hover {
    background: var(--accent-2);
    transform: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent);
}

/* About timeline */
.timeline-item {
    grid-template-columns: 4.25rem 5.5rem minmax(0, 1fr);
    column-gap: 1.5rem;
    padding: 0.95rem 0;
    border-bottom-color: var(--line);
}

.timeline-date {
    font-family: var(--mono);
    font-size: 0.95rem;
    color: var(--accent);
}

.timeline-title {
    color: var(--ink);
}

.timeline-description {
    color: var(--muted);
}

html[lang^="en"] .timeline-item {
    grid-template-columns: 4.25rem minmax(8.5rem, 11.5rem) minmax(0, 1fr);
}

/* Partner page */
.overview-stats .stat-item {
    background: var(--accent-soft);
    border-radius: 2px;
    text-align: left;
    color: var(--ink);
}

.overview-stats .stat-number,
.overview-stats .stat-label {
    color: var(--ink);
}

.stat-number,
.feature-number {
    font-family: var(--mono);
}

.client-stats .stat-item,
.channel-features .feature-item {
    background: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.client-stats .stat-number,
.channel-features .feature-number {
    display: block;
    color: var(--ink);
}

.client-stats .stat-label,
.channel-features .feature-label {
    display: block;
}

.category-header,
.channel-header,
.model-header {
    background: var(--accent-soft);
    text-align: left;
    padding: 1.15rem 1.5rem;
}

.category-header,
.channel-header {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.category-icon,
.channel-icon {
    display: contents;
    font-size: inherit;
    margin: 0;
}

.category-header .icon-mark,
.channel-header .icon-mark {
    color: var(--accent);
    font-size: 1.2rem;
}

.category-header img.icon-mark,
.channel-header img.icon-mark {
    filter: none;
    opacity: 1;
}

.category-title,
.channel-title {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.3;
}

.category-title,
.channel-title,
.model-title {
    color: var(--ink);
}

.partner-card.featured {
    border-left: 2px solid var(--accent);
}

.upstream-partners .partner-logo {
    width: auto;
    height: auto;
    margin: 0;
    background: var(--paper);
    border-radius: 0;
    padding: 1.15rem 1.5rem 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.7rem;
}

.upstream-partners .partner-icon {
    width: 48px !important;
    height: 48px !important;
    max-width: 48px;
    margin: 0 !important;
    flex-shrink: 0;
    object-fit: contain;
    object-position: center;
    border-radius: 4px;
}

.upstream-partners .partner-logo::after {
    content: none;
}

.upstream-partners .partner-name {
    font-size: 1.05rem;
    font-weight: 650;
    line-height: 1.3;
    color: var(--ink);
    margin: 0;
}

.cooperation-list li::before {
    content: "—";
    color: var(--accent);
    font-weight: 500;
}

.highlights-list li {
    background: var(--paper);
    border-left: 2px solid var(--accent);
    border-radius: 2px;
}

.highlights-list li::before {
    color: var(--accent);
}

.story-tag,
.result-item {
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 2px;
    box-shadow: none;
}

.story-item .story-content {
    display: block;
    width: 100%;
    max-width: none;
    grid-template-columns: none;
    gap: 0;
    text-align: left;
    color: var(--muted);
}

.partnership-values .value-icon::after {
    content: none;
}

.stories-title {
    text-align: left;
    color: var(--ink);
}

/* Careers */
.benefit-icon {
    display: contents;
    font-size: inherit;
    margin: 0;
    color: var(--accent);
}

.benefit-item,
.benefit-card {
    border-left: 2px solid var(--accent);
}

.job-type {
    background: var(--accent);
    border-radius: 2px;
}

.job-toggle {
    color: var(--accent-2);
}

.job-item-header:hover {
    background: var(--paper);
}

/* Footer */
.footer {
    background: #303e4e;
    color: #c5cdd6;
}

.footer .footer-title,
.footer h3 {
    color: #fff;
}

.footer-links a:hover {
    color: #fff;
    border-bottom-color: var(--accent);
}

.footer .social-link:hover {
    background-color: rgba(26, 115, 232, 0.22);
    border-color: var(--accent);
}

.footer-bottom {
    border-top-color: #445566;
}

.footer-text,
.footer a,
.footer-links a,
.copyright,
.icp-info,
.social-link {
    color: #c5cdd6;
}

.footer a:hover,
.footer-links a:hover,
.social-link:hover {
    color: #fff;
}

.develop-hero-actions {
    justify-content: flex-start;
}

.develop-hero .cta-btn.primary {
    background: var(--accent);
    color: #fff;
}

.develop-hero .cta-btn.secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.develop-hero .cta-btn.secondary:hover {
    background: #fff;
    color: var(--ink);
}

/* Forms */
input,
textarea,
select {
    border-radius: 2px;
}

.form-submit,
button[type="submit"] {
    background: var(--accent);
    border-radius: 2px;
}

/* 404 */
.error-code {
    color: var(--ink);
    font-family: var(--mono);
}

.service-list li::before {
    content: "—";
    color: var(--accent);
    font-weight: 500;
}

.contact-icon {
    background: none;
    border: 0;
    border-radius: 0;
    color: var(--accent);
}

.contact-card {
    text-align: left;
}

.contact-card .contact-icon {
    background: transparent;
    border: 0;
    color: var(--accent);
    margin: 0;
    width: 1.18rem;
    height: 1.18rem;
    display: inline-flex;
}

.contact-card .contact-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-card .contact-title {
    margin: 0;
}

.application-section {
    background: var(--paper);
}

.email-link {
    border-radius: 2px;
}

.contact-section {
    text-align: left;
}

.contact-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--muted);
    text-transform: uppercase;
}

/* Photo hero keeps light type; other chrome is light-surface */
.hero,
.hero h1,
.hero h2,
.hero p {
    color: #fff;
}

.hero .hero-subtitle {
    color: var(--on-dark);
}

.develop-crumb,
.develop-crumb a {
    color: rgba(255, 255, 255, 0.78);
}

.develop-crumb a:hover {
    color: #fff;
}

.develop-eyebrow {
    color: #d2e3fc;
    border-color: rgba(255, 255, 255, 0.45);
}

.summary-text {
    color: #e8eef3;
    opacity: 1;
}

.news-hero h1 {
    font-size: 2.2rem;
    letter-spacing: -0.03em;
}

.news-hero p {
    color: #e8eef3;
}

.news-filter {
    background: var(--paper);
}

.filter-btn {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    border-radius: 2px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.news-card {
    border-radius: 2px;
    box-shadow: none;
    border: 1px solid var(--line);
}

.news-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--accent);
}

.news-card-title {
    color: var(--ink);
}

.news-card-category {
    border-radius: 2px;
}

.news-card-category.kandiantong {
    background: var(--paper);
    color: var(--accent-2);
}

.news-card-category.simtolink {
    background: var(--paper);
    color: var(--ink);
}

.read-more {
    color: var(--accent-2);
}

.read-more:hover {
    color: var(--ink);
}

.news-detail {
    background: var(--paper);
    padding-top: 136px;
}

.news-article {
    border-radius: 2px;
    box-shadow: none;
    border: 1px solid var(--line);
}

.news-category {
    background: var(--accent);
    color: #fff;
    border-radius: 2px;
}

.news-title {
    color: var(--ink);
}

.news-tags .tag {
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 2px;
}

/* Develop hub */
.section-lead {
    text-align: left;
    color: var(--muted);
    margin-left: 0;
}

.develop-role-card,
.develop-feature-card,
.develop-scene-item,
.develop-related-card,
.develop-step {
    border-radius: 2px;
    border: 1px solid var(--line);
    background: var(--white);
}

.develop-role-card:hover,
.develop-related-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--accent);
}

.develop-role-tag {
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 2px;
}

.develop-guide-groups a {
    color: var(--ink);
}

.develop-guide-groups a:hover {
    color: var(--accent-2);
}

.guide-pager a,
.guide-pager .is-empty {
    border-radius: 2px;
    border-color: var(--line);
}

.guide-pager a:hover {
    border-color: var(--accent);
}

.tl {
    border-left-color: var(--accent);
}

.tl article::before {
    background: var(--accent);
    border-radius: 0;
}

.proc .cta,
.guide-article .cta {
    background: var(--accent-soft);
    color: var(--ink);
    border-radius: 2px;
}

.proc .cta a,
.guide-article .cta a {
    color: var(--accent);
}

/* Landing pages under develop/* /index.html */
body.page-develop {
    --ws-ink: #1f1f1f;
    --ws-ink-soft: #3c4043;
    --ws-muted: #5f6368;
    --ws-line: #e8eaed;
    --ws-line-strong: #dadce0;
    --ws-bg: #f8f9fa;
    --ws-paper: #ffffff;
    --ws-navy: #1f1f1f;
    --ws-navy-2: #3c4043;
    --ws-accent: #1a73e8;
    --ws-accent-deep: #1557b0;
    --ws-hero-text: #1f1f1f;
}

.ws-scenes .ws-head h2,
.ws-scenes .ws-scene-grid h3 {
    color: var(--ink);
}

.ws-scenes .ws-head p,
.ws-scene-grid p {
    color: var(--muted);
}

.ws-kicker,
.ws-cta .ws-kicker {
    color: var(--accent);
}

@media (max-width: 991px) {
    .eng-process-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .our-advantages .advantages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .hero .hero-title {
        font-size: 1.85rem;
    }

    .hero .hero-subtitle {
        font-size: 0.98rem;
    }

    .eng-process-list {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    html[lang^="en"] .timeline-item,
    .timeline-item {
        grid-template-columns: 3.75rem minmax(0, 1fr);
        column-gap: 1rem;
        row-gap: 0.15rem;
    }

    .timeline-title,
    .timeline-description {
        grid-column: 2;
    }

    /* Two industry columns get too narrow below 768px to keep a row on one
       line, so drop to a single column and tighten the icon and type. */
    .industry-board {
        grid-template-columns: 1fr;
    }

    .industry-cluster-list a {
        gap: 0.5rem;
    }

    .industry-icon {
        width: 26px;
        height: 26px;
    }

    .industry-cluster-list h4 {
        font-size: 0.88rem;
    }

    .industry-cluster-list p {
        font-size: 0.72rem;
    }

    .our-advantages .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .navbar {
        padding: 1rem 0;
    }

    .logo {
        width: 36px;
        height: 36px;
    }

    .logo-text {
        font-size: 0.98rem;
    }

    html {
        --page-banner-min: 400px;
    }

    html[lang^="en"] {
        --page-banner-min: 464px;
    }

    .page-header,
    .products-hero,
    .news-hero {
        padding: 128px 0 56px;
    }

    .banner-products .hero-subtitle {
        margin-bottom: 1.25rem;
    }

    .banner-products .business-summary {
        gap: 1.25rem;
    }

    .banner-products .summary-number {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .business-summary {
        flex-wrap: wrap;
        gap: 1.25rem;
    }
}

/* Industry pages — hub, sub-cluster and single industry */
.industry-hero .hero-content {
    max-width: 840px;
}

.industry-eyebrow {
    display: inline-block;
    margin: 0 0 0.9rem;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 2px;
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    color: var(--on-dark-2);
}

.industry-hero-intro {
    max-width: 52em;
    margin: -1rem 0 0;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}

.industry-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 2.25rem;
    margin-top: 1.75rem;
}

.industry-fact {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.industry-fact-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.industry-fact-value {
    font-size: 1rem;
    font-weight: 650;
    color: #fff;
}

.industry-section {
    padding: 72px 0;
    background: var(--white);
}

.industry-section-alt {
    background: var(--paper);
}

.industry-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.industry-card {
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 2px;
    padding: 1.4rem 1.4rem 1.5rem;
    min-width: 0;
}

.industry-card h3 {
    margin: 0 0 0.6rem;
    font-size: 1.05rem;
    line-height: 1.35;
}

.industry-card h3::before {
    content: "—";
    margin-right: 0.5rem;
    color: var(--accent);
    font-weight: 500;
}

.industry-card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--ink-2);
}

.industry-blockers {
    display: grid;
    gap: 1rem;
}

.industry-blocker {
    display: grid;
    gap: 0.7rem;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 2px;
    padding: 1.2rem 1.4rem;
}

.industry-blocker-row {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.industry-blocker-tag {
    flex-shrink: 0;
    min-width: 6.5rem;
    padding-left: 0.6rem;
    border-left: 2px solid var(--line);
    font-family: var(--mono);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.industry-blocker-fix .industry-blocker-tag {
    border-left-color: var(--accent);
    color: var(--accent);
}

.industry-blocker-row p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--ink-2);
}

.industry-blocker-fix p {
    color: var(--ink);
}

.industry-modules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem 1.5rem;
}

.industry-module {
    border-top: 2px solid var(--line);
    padding: 0.95rem 0 0.2rem;
    min-width: 0;
}

.industry-module h3 {
    margin: 0 0 0.35rem;
    font-size: 0.98rem;
}

.industry-module p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--muted);
}

.industry-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.industry-steps li {
    border-top: 2px solid var(--accent);
    padding-top: 1rem;
    min-width: 0;
}

.industry-steps li h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
}

.industry-steps li h3::before {
    content: "—";
    margin-right: 0.5rem;
    color: var(--accent);
    font-weight: 500;
}

.industry-steps li p {
    margin: 0;
    font-size: 0.89rem;
    line-height: 1.65;
    color: var(--ink-2);
}

.industry-related {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.industry-related-card {
    display: block;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 2px;
    padding: 1.35rem 1.4rem;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.industry-related-card:hover {
    border-color: var(--accent);
}

.industry-related-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    color: var(--accent);
}

.industry-related-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--ink-2);
}

.industry-nav-lists {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 2.5rem;
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}

.industry-nav-list h3 {
    margin: 0 0 0.85rem;
    font-size: 0.95rem;
}

.industry-nav-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.industry-nav-list li {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    min-width: 0;
}

.industry-nav-list li::before {
    content: "—";
    flex-shrink: 0;
    color: var(--accent);
}

.industry-nav-list a {
    font-size: 0.94rem;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.industry-nav-list a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.industry-nav-list span {
    font-size: 0.82rem;
    color: var(--muted);
}

.industry-item-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.industry-item-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 2px;
    padding: 1.35rem 1.4rem;
    text-decoration: none;
    transition: border-color 0.2s ease;
    min-width: 0;
}

.industry-item-card:hover {
    border-color: var(--accent);
}

.industry-item-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.02rem;
}

.industry-item-tag {
    margin-left: 0.5rem;
    font-family: var(--mono);
    font-size: 0.74rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--muted);
}

.industry-item-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--ink-2);
}

.industry-hub-body {
    padding: 72px 0 24px;
    background: var(--white);
}

.industry-hub-subs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.industry-hub-sub {
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 2px;
    padding: 1.35rem 1.4rem 1.2rem;
    min-width: 0;
}

.industry-hub-sub:nth-child(even) {
    background: var(--paper);
}

.industry-hub-sub header {
    padding-bottom: 0.9rem;
    margin-bottom: 0.95rem;
    border-bottom: 1px solid var(--line);
}

.industry-hub-sub h2 {
    margin: 0 0 0.3rem;
    font-size: 1.2rem;
}

.industry-hub-sub h2::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    background: var(--accent);
    margin-top: 0.55rem;
}

.industry-hub-sub h2 a {
    color: var(--ink);
    text-decoration: none;
}

.industry-hub-sub h2 a:hover {
    color: var(--accent);
}

.industry-hub-sub header p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--muted);
}

.industry-hub-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.industry-hub-list li {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    min-width: 0;
}

.industry-hub-list li::before {
    content: "—";
    flex-shrink: 0;
    color: var(--accent);
}

.industry-hub-list a {
    font-size: 0.94rem;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    flex-shrink: 0;
}

.industry-hub-list a:hover {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.industry-hub-list span {
    margin-left: auto;
    min-width: 0;
    font-size: 0.8rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* "More industries" link next to the partners subtitle on the homepage */
.industries-more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: 0.6rem;
    font-size: 0.95rem;
    font-weight: 650;
    color: var(--accent);
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
}

.industries-more::after {
    content: "\2192";
    font-family: var(--mono);
}

.industries-more:hover {
    border-bottom-color: var(--accent);
}

@media (max-width: 991px) {
    .industry-section {
        padding: 56px 0;
    }

    .industry-hub-body {
        padding: 56px 0 16px;
    }

    .industry-cards,
    .industry-modules,
    .industry-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .industry-item-grid,
    .industry-hub-subs {
        grid-template-columns: 1fr;
    }

    .industry-facts {
        gap: 1.5rem;
    }
}

@media (max-width: 767px) {
    .industry-section {
        padding: 44px 0;
    }

    .industry-hub-body {
        padding: 44px 0 8px;
    }

    .industry-cards,
    .industry-modules,
    .industry-steps,
    .industry-related,
    .industry-nav-lists {
        grid-template-columns: 1fr;
    }

    .industry-blocker-row {
        flex-direction: column;
        gap: 0.4rem;
    }

    .industry-blocker-tag {
        min-width: 0;
    }

    .industry-facts {
        gap: 1.1rem 1.75rem;
    }

    .industry-fact-value {
        font-size: 0.94rem;
    }

    .industry-hub-list span {
        display: none;
    }

    .industries-more {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}
