body {
    font-family: "Inter", sans-serif;
    -webkit-font-smoothing: antialiased;
}

html[lang="zh-CN"],
html[lang="zh"] {
    font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
}

html[lang="hi"] {
    font-family: "Inter", "Noto Sans Devanagari", "Mangal", "Nirmala UI", sans-serif;
}

h1,
h2,
h3,
h4,
.font-headline {
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.02em;
}

.glass-header {
    background: rgba(255, 255, 255, 0.82);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
}

.nav-link,
.mobile-link {
    transition: color 200ms ease;
    position: relative;
}

.nav-link::after {
    background: linear-gradient(90deg, #163b18, #2d522d);
    bottom: -4px;
    content: "";
    height: 1.5px;
    left: 0;
    position: absolute;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 280ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link:hover,
.mobile-link:hover {
    opacity: 0.8;
}

.nav-link-accent {
    background: linear-gradient(135deg, #163b18, #2d522d);
    border-radius: 2px;
    color: #fff !important;
    padding: 0.5rem 1rem;
}

.nav-link-accent::after {
    display: none;
}

.nav-link-accent:hover {
    opacity: 0.9;
    color: #fff !important;
}

.language-switcher {
    align-items: center;
    background: #e7e8e9;
    display: flex;
    gap: 0.2rem;
    padding: 0.2rem;
}

.lang-btn {
    background: transparent;
    color: #545e76;
    font-family: "Manrope", sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    min-height: 2.2rem;
    padding: 0 0.65rem;
    text-transform: uppercase;
    transition: background-color 180ms ease, color 180ms ease;
    white-space: nowrap;
}

.lang-btn:hover,
.lang-btn.active {
    background: #fff;
    color: #163b18;
}

.btn-primary,
.btn-secondary,
.btn-light {
    align-items: center;
    border-radius: 0.125rem;
    display: inline-flex;
    font-family: "Manrope", sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0.16em;
    line-height: 1;
    min-height: 2.75rem;
    padding: 0.9rem 1.25rem;
    text-transform: uppercase;
    transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.btn-primary {
    background: linear-gradient(135deg, #163b18 0%, #2d522d 100%);
    box-shadow: 0 20px 36px rgba(22, 59, 24, 0.14);
    color: #fff;
}

.btn-primary:hover,
.btn-light:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.btn-secondary {
    background: #e7e8e9;
    color: #191c1d;
}

.btn-secondary:hover {
    background: #dde0e1;
}

.btn-light {
    background: #ffdea5;
    color: #163b18;
}

.btn-large {
    min-height: 3.25rem;
    padding-left: 1.75rem;
    padding-right: 1.75rem;
}

.section-space {
    padding-bottom: 7rem;
    padding-top: 7rem;
}

.eyebrow {
    color: #545e76;
    font-family: "Manrope", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title {
    color: #163b18;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.section-title-light {
    color: #fff;
}

#samples .section-title {
    color: #fff;
}

.section-copy {
    color: #545e76;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-top: 1.5rem;
}

.proof-pill {
    background: #fff;
    color: #163b18;
    display: grid;
    gap: 0.2rem;
    min-height: 5rem;
    padding: 1rem;
}

.proof-pill b,
.spec-grid b,
.term-card b {
    font-weight: 800;
}

.proof-pill span {
    color: #545e76;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.product-card {
    background: #fff;
    box-shadow: 0 40px 40px rgba(25, 28, 29, 0.04);
    overflow: hidden;
}

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

.spec-grid div {
    background: #f3f4f5;
    color: #163b18;
    font-size: 0.86rem;
    font-weight: 800;
    min-height: 5.5rem;
    padding: 1rem;
}

.spec-grid span {
    color: #545e76;
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    margin-bottom: 0.45rem;
    text-transform: uppercase;
}

.info-panel {
    background: #fff;
    min-height: 15rem;
    padding: 2rem;
}

.info-panel .material-symbols-outlined {
    color: #163b18;
    font-size: 2rem;
}

.info-panel h3 {
    color: #163b18;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 800;
    margin-top: 1.5rem;
}

.info-panel p {
    color: #545e76;
    line-height: 1.65;
    margin-top: 0.85rem;
}

.about-story {
    max-width: 58rem;
}

.about-story .section-copy {
    max-width: 48rem;
}

.about-story blockquote {
    color: #163b18;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.75rem, 3vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin-top: 2.5rem;
    max-width: 44rem;
}

.about-standard {
    background: #f3f4f5;
    padding: 1.5rem;
}

.about-standard-header {
    align-items: start;
    background: #fff;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 1.25rem;
}

.about-standard-header .material-symbols-outlined {
    align-items: center;
    background: #163b18;
    color: #fff;
    display: inline-flex;
    font-size: 1.3rem;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
}

.about-standard-header p {
    color: #545e76;
    font-family: "Manrope", sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-standard-header h3 {
    color: #163b18;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 0.45rem;
}

.about-principles {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.about-principles div {
    background: #fff;
    padding: 1.25rem;
}

.about-principles span {
    color: #545e76;
    font-family: "Manrope", sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.about-principles h4 {
    color: #163b18;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 800;
    margin-top: 0.55rem;
}

.about-principles p {
    color: #545e76;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.document-list {
    background: #f3f4f5;
    padding: 2rem;
}

.document-list div {
    align-items: center;
    background: #fff;
    color: #163b18;
    display: flex;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    gap: 1rem;
    margin-bottom: 0.75rem;
    min-height: 4rem;
    padding: 1rem;
}

.document-list div:last-child {
    margin-bottom: 0;
}

.document-list span {
    color: #545e76;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
}

.terms-intro {
    color: #545e76;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-top: 1.25rem;
    max-width: 34rem;
}

.terms-wrap {
    margin-left: auto;
    margin-right: auto;
    max-width: 88rem;
}

.terms-layout {
    align-items: start;
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.terms-copy {
    max-width: 38rem;
}

.terms-grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.term-card {
    background: #f3f4f5;
    color: #163b18;
    column-gap: 1rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 10.5rem;
    padding: 1.15rem;
    row-gap: 0.35rem;
}

.term-card span {
    color: #545e76;
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.term-card .term-icon {
    align-items: center;
    background: #fff;
    color: #163b18;
    display: inline-flex;
    font-size: 1rem;
    height: 2rem;
    justify-content: center;
    grid-row: span 3;
    width: 2rem;
}

.term-card b {
    color: #163b18;
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.3;
}

.term-card p {
    color: #545e76;
    font-size: 0.86rem;
    line-height: 1.55;
}

.workflow {
    display: grid;
    gap: 1rem;
}

.workflow div {
    background: #fff;
    display: grid;
    gap: 0.55rem;
    grid-template-columns: auto 1fr;
    padding: 1.5rem;
}

.workflow span {
    align-items: center;
    background: #163b18;
    color: #fff;
    display: inline-flex;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    height: 2.25rem;
    justify-content: center;
    width: 2.25rem;
}

.workflow h3 {
    color: #163b18;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 800;
}

.workflow p {
    color: #545e76;
    grid-column: 2;
    line-height: 1.6;
}

.sample-badge {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.9rem 1rem;
}

.inquiry-form {
    background: #f3f4f5;
    box-shadow: 0 40px 40px rgba(25, 28, 29, 0.04);
    padding: 2rem;
}

.inquiry-form label {
    color: #545e76;
    display: grid;
    font-size: 0.72rem;
    font-weight: 800;
    gap: 0.55rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
    background: #fff;
    border: 0;
    border-bottom: 2px solid rgba(114, 121, 111, 0.22);
    color: #191c1d;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0;
    min-height: 3.25rem;
    outline: none;
    padding: 0.85rem 1rem;
    text-transform: none;
    transition: border-color 180ms ease, background-color 180ms ease;
    width: 100%;
}

.inquiry-form textarea {
    min-height: 9rem;
    resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
    border-bottom-color: #163b18;
}

.sample-form {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 32px 48px rgba(7, 20, 11, 0.22);
    padding: 1.5rem;
}

.sample-form-head {
    display: grid;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.sample-form-head .text-primary,
.sample-form-head .text-secondary {
    color: #fff;
}

.sample-form label {
    color: rgba(255, 255, 255, 0.8);
    display: grid;
    font-size: 0.72rem;
    font-weight: 800;
    gap: 0.5rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sample-form input,
.sample-form select,
.sample-form textarea {
    background: rgba(255, 255, 255, 0.92);
    border: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.12);
    color: #191c1d;
    font-size: 0.95rem;
    font-weight: 500;
    min-height: 3.2rem;
    outline: none;
    padding: 0.82rem 1rem;
    width: 100%;
}

.sample-form textarea {
    min-height: 8rem;
    resize: vertical;
}

.sample-form input:focus,
.sample-form select:focus,
.sample-form textarea:focus {
    border-bottom-color: #9dd9a6;
}

.sample-form .btn-light {
    background: #fff;
    color: #163b18;
}

.sample-form .btn-light:hover {
    background: #f0f6f1;
}

#sample-form-status {
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   DARK PREMIUM FOOTER
   ============================================ */

.footer-dark {
    background: #0c1f0e;
    color: #e8ede9;
    padding-top: 4.5rem;
}

.footer-dark-inner {
    display: grid;
    gap: 3rem;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-brand {}

.footer-col {}

.footer-dark-tagline {
    color: rgba(232, 237, 233, 0.6);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 24rem;
}

/* Trust Badges */
.footer-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.75rem;
}

.footer-badge {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: rgba(255, 222, 165, 0.9);
    font-family: "Manrope", sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 0.3rem 0.75rem;
    text-transform: uppercase;
}

/* Column Titles */
.footer-dark-title {
    color: rgba(255, 255, 255, 0.35);
    font-family: "Manrope", sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

/* Links */
.footer-dark-link {
    color: rgba(232, 237, 233, 0.72);
    display: block;
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0.7rem;
    transition: color 200ms ease;
    text-decoration: none;
}

.footer-dark-link:hover {
    color: #ffffff;
}

/* Contact links with icons */
.footer-dark-contact {
    align-items: center;
    display: flex;
    gap: 0.5rem;
}

/* Logistics Facts */
.footer-dark-fact {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.85rem;
}

.footer-dark-fact-label {
    color: rgba(255, 255, 255, 0.35);
    font-family: "Manrope", sans-serif;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.footer-dark-fact span:last-child {
    color: rgba(232, 237, 233, 0.85);
    font-size: 0.88rem;
    margin-top: 0.1rem;
}

/* CTA Buttons */
.footer-cta-primary {
    align-items: center;
    background: #163b18;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    color: #ffffff;
    display: inline-flex;
    font-family: "Manrope", sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0.16em;
    min-height: 2.75rem;
    padding: 0 1.25rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 200ms ease;
}

.footer-cta-primary:hover {
    background: #1e5220;
}

.footer-cta-secondary {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 2px;
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    font-family: "Manrope", sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0.16em;
    min-height: 2.75rem;
    padding: 0 1.25rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 200ms ease, color 200ms ease;
}

.footer-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

/* Bottom Bar */
.footer-dark-bottom {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding-bottom: 2rem;
    padding-top: 1.5rem;
}

.footer-dark-copy {
    color: rgba(255, 255, 255, 0.3);
    font-family: "Manrope", sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.footer-dark-stamp {
    align-items: center;
    color: rgba(255, 222, 165, 0.6);
    display: flex;
    font-family: "Manrope", sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    gap: 0.35rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* Responsive Footer */
@media (max-width: 1023px) {
    .footer-dark-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 639px) {
    .footer-dark-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-dark-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Keep old .footer-bottom used for transition (can be removed later) */
.footer-bottom {
    border-top: 1px solid rgba(22, 59, 24, 0.12);
    margin-top: 1.75rem;
    padding-top: 1rem;
}

@media (max-width: 767px) {
    .section-space {
        padding-bottom: 5rem;
        padding-top: 5rem;
    }

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

    .inquiry-form {
        padding: 1.25rem;
    }

    .sample-form {
        padding: 1.15rem;
    }

    .term-card {
        grid-template-columns: auto minmax(0, 1fr);
        min-height: unset;
    }

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

@media (max-width: 1023px) {
    .terms-layout {
        gap: 1.75rem;
        grid-template-columns: 1fr;
    }

    .footer-top {
        align-items: flex-start;
        flex-direction: column;
    }

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

@media (max-width: 420px) {
    .lang-btn {
        font-size: 0.6rem;
        min-height: 2rem;
        padding: 0 0.42rem;
    }

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

/* Magazine-style blog index */
.magazine-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 2rem;
}

.post-card {
    background: #fff;
    border: 1px solid #e7e8e9;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    box-shadow: 0 40px 40px rgba(25, 28, 29, 0.06);
    transform: translateY(-2px);
}

/* First article spans full width with large image */
.post-card--featured {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .post-card--featured {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .post-card--featured .post-thumbnail {
        height: 100%;
    }

    .post-card--featured .post-card-content h2 {
        font-size: 1.75rem;
    }
}

.post-card-image-link {
    display: block;
    line-height: 0;
    overflow: hidden;
    flex-shrink: 0;
}

.post-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.post-card:hover .post-thumbnail {
    transform: scale(1.04);
}

.post-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-card-content .meta {
    font-family: "Manrope", sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #545e76;
    margin-bottom: 0.5rem;
}

.post-card-content h2 {
    margin: 0 0 0.65rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.post-card-content h2 a {
    color: #163b18;
    text-decoration: none;
}

.post-card-content h2 a:hover {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.post-card-content p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    color: #545e76;
    line-height: 1.6;
}

.post-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: "Manrope", sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #163b18;
    text-decoration: none;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.post-card-readmore:hover {
    gap: 0.6rem;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

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

    .post-thumbnail {
        height: 220px;
    }

    .post-card-content {
        padding: 1.25rem;
    }

    .post-card-content h2 {
        font-size: 1.2rem;
    }
}
