/* ===== CSS Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --green-50: #e8f5e9;
    --green-100: #c8e6c9;
    --green-200: #a5d6a7;
    --green-500: #4caf50;
    --green-600: #43a047;
    --green-700: #388e3c;
    --green-800: #2e7d32;
    --green-900: #1b5e20;
    --blue-500: #2196f3;
    --blue-600: #1e88e5;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eee;
    --gray-300: #e0e0e0;
    --gray-500: #9e9e9e;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,.08);
    --max-w: 1200px;
}

html { scroll-behavior: smooth; }
body {
    font-family: 'Noto Sans SC', -apple-system, 'PingFang SC', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
}
.header__inner {
    display: flex; align-items: center;
    justify-content: space-between;
    height: 70px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__icon {
    font-size: 28px;
    color: var(--green-600);
}
.logo__text {
    display: flex; flex-direction: column;
    font-size: 18px; line-height: 1.3;
}
.logo__text strong { color: var(--green-700); }
.logo__text small {
    font-size: 10px; font-weight: 400;
    color: var(--gray-500); letter-spacing: .5px;
}
.nav { display: flex; align-items: center; gap: 8px; }
.nav__link {
    padding: 8px 16px; border-radius: 8px;
    font-size: 14px; color: var(--text);
    transition: all .2s; font-weight: 500;
}
.nav__link:hover { background: var(--green-50); color: var(--green-700); }
.nav__link--cta {
    background: var(--green-600); color: var(--white);
    font-weight: 600;
}
.nav__link--cta:hover { background: var(--green-700); color: var(--white); }
.menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--text); }

/* ===== Hero ===== */
.hero {
    position: relative; overflow: hidden;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #f0fdf4 100%);
}
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__particle {
    position: absolute; border-radius: 50%; opacity: .3;
}
.hero__particle--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--green-300), transparent);
    top: -200px; right: -150px;
}
.hero__particle--2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, var(--green-200), transparent);
    bottom: -100px; left: -100px;
}
.hero__particle--3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, var(--blue-200), transparent);
    top: 50%; left: 50%;
}
.hero__inner { display: flex; align-items: center; gap: 60px; position: relative; }
.hero__content { flex: 1; }
.hero__badge {
    display: inline-block;
    padding: 6px 16px; border-radius: 20px;
    background: var(--green-100); color: var(--green-800);
    font-size: 13px; font-weight: 500;
    margin-bottom: 20px;
}
.hero__title {
    font-size: 52px; font-weight: 900;
    line-height: 1.2; color: var(--green-900);
    margin-bottom: 20px;
}
.hero__desc {
    font-size: 18px; color: var(--text-light);
    margin-bottom: 32px; line-height: 1.8;
}
.hero__actions { display: flex; gap: 12px; margin-bottom: 40px; }
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px;
    font-size: 15px; font-weight: 600;
    transition: all .3s; cursor: pointer; border: none;
}
.btn--primary {
    background: var(--green-600); color: var(--white);
    box-shadow: 0 4px 16px rgba(76,175,80,.35);
}
.btn--primary:hover {
    background: var(--green-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(76,175,80,.4);
}
.btn--ghost {
    background: transparent; color: var(--green-700);
    border: 2px solid var(--green-300);
}
.btn--ghost:hover { background: var(--green-50); border-color: var(--green-500); }
.btn--full { width: 100%; justify-content: center; }

.hero__stats { display: flex; gap: 32px; }
.hero__stat { text-align: center; }
.hero__num {
    display: block;
    font-size: 32px; font-weight: 900;
    color: var(--green-700);
}
.hero__label { font-size: 13px; color: var(--gray-500); }

.hero__visual { flex: 1; display: flex; justify-content: center; }
.hero__image-wrapper {
    position: relative; width: 380px; height: 380px;
    display: flex; align-items: center; justify-content: center;
}
.hero__shape {
    position: absolute; border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}
.hero__shape--1 {
    width: 100%; height: 100%;
    border: 3px solid var(--green-200);
}
.hero__shape--2 {
    width: 80%; height: 80%;
    border: 2px dashed var(--green-300);
    animation-delay: -2s;
}
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}
.hero__mascot {
    text-align: center; position: relative; z-index: 2;
}
.hero__mascot-emoji {
    display: block; font-size: 120px;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,.1));
}
.hero__mascot-text {
    display: block; margin-top: 8px;
    font-size: 24px; font-weight: 900;
    color: var(--green-700);
    letter-spacing: 2px;
}

/* ===== Strip ===== */
.strip {
    background: var(--green-800); color: var(--white);
    padding: 20px 0;
}
.strip__inner { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 12px; }
.strip__item { font-size: 15px; font-weight: 500; letter-spacing: .5px; }

/* ===== Section ===== */
.section {
    padding: 96px 0;
}
.section--dark { background: var(--green-900); }
.section__header { text-align: center; margin-bottom: 64px; }
.section__tag {
    display: inline-block; padding: 4px 14px; border-radius: 12px;
    background: var(--green-100); color: var(--green-700);
    font-size: 12px; font-weight: 700; letter-spacing: 1px;
    margin-bottom: 12px;
}
.section__tag--light { background: rgba(255,255,255,.15); color: var(--green-100); }
.section__title {
    font-size: 36px; font-weight: 800; color: var(--green-900);
    margin-bottom: 12px;
}
.section__title--light { color: var(--white); }
.section__desc {
    font-size: 16px; color: var(--text-light);
    max-width: 600px; margin: 0 auto;
}
.section__desc--light { color: rgba(255,255,255,.7); }

/* ===== About ===== */
.about__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.about__card {
    background: var(--white); border-radius: var(--radius);
    padding: 36px 24px; text-align: center;
    box-shadow: var(--shadow);
    transition: all .3s;
    border: 1px solid var(--gray-100);
}
.about__card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.about__icon { font-size: 40px; margin-bottom: 16px; }
.about__card h3 { font-size: 18px; margin-bottom: 8px; color: var(--green-800); }
.about__card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== Service ===== */
.service__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service__card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius); padding: 36px 28px;
    color: var(--white);
    transition: all .3s;
}
.service__card:hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-3px);
}
.service__icon { font-size: 36px; margin-bottom: 16px; }
.service__card h3 { font-size: 18px; margin-bottom: 10px; }
.service__card p { font-size: 14px; line-height: 1.7; opacity: .85; }

/* ===== Advantage ===== */
.advantage__grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.advantage__item {
    padding: 32px; border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--green-500);
    transition: all .3s;
}
.advantage__item:hover { transform: translateX(4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }
.advantage__num {
    font-size: 32px; font-weight: 900;
    color: var(--green-200); line-height: 1;
    margin-bottom: 12px;
}
.advantage__item h3 { font-size: 18px; margin-bottom: 8px; color: var(--green-800); }
.advantage__item p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== Cases / Partners ===== */
.cases__map {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
    margin-bottom: 48px;
}
.cases__region {
    background: rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 36px; border: 1px solid rgba(255,255,255,.1);
    color: var(--white);
}
.cases__region h3 { font-size: 22px; margin-bottom: 16px; }
.cases__region p {
    font-size: 15px; line-height: 2;
    opacity: .85;
}
.cases__stats {
    display: flex; gap: 20px;
}
.cases__stat {
    flex: 1; text-align: center;
    background: rgba(255,255,255,.08);
    border-radius: var(--radius);
    padding: 28px 16px;
    border: 1px solid rgba(255,255,255,.1);
}
.cases__number {
    display: block; font-size: 36px; font-weight: 900;
    color: var(--green-200);
}
.cases__label { font-size: 13px; color: rgba(255,255,255,.7); }
.cases__countries {
    display: flex; justify-content: center;
    flex-wrap: wrap; gap: 16px;
    padding: 24px;
    background: rgba(255,255,255,.05);
    border-radius: var(--radius);
}
.cases__countries span {
    padding: 8px 16px;
    background: rgba(255,255,255,.1);
    border-radius: 20px;
    font-size: 14px; color: var(--white);
}

/* ===== Contact ===== */
.contact__grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    align-items: start;
}
.contact__info { display: flex; flex-direction: column; gap: 28px; }
.contact__item {
    display: flex; align-items: center; gap: 16px;
    padding: 20px; border-radius: var(--radius);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
}
.contact__emoji { font-size: 32px; }
.contact__item h4 { font-size: 15px; margin-bottom: 4px; color: var(--green-800); }
.contact__item p, .contact__item a { font-size: 14px; color: var(--text-light); }
.contact__item a { color: var(--green-600); font-weight: 600; }

.contact__form {
    display: flex; flex-direction: column; gap: 16px;
    padding: 36px; border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}
.contact__input {
    padding: 14px 18px; border: 2px solid var(--gray-200);
    border-radius: 8px; font-size: 14px;
    font-family: inherit; outline: none;
    transition: border .2s;
}
.contact__input:focus { border-color: var(--green-500); }
.contact__input::placeholder { color: var(--gray-500); }
.contact__textarea { resize: vertical; min-height: 100px; }

/* ===== Footer ===== */
.footer {
    background: var(--gray-900); color: var(--white);
    padding: 48px 0 24px;
}
.footer__inner { display: flex; flex-direction: column; gap: 24px; }
.footer__logo { font-size: 18px; font-weight: 700; color: var(--green-300); margin-bottom: 8px; display: inline-block; }
.footer__brand p { font-size: 13px; opacity: .6; line-height: 1.8; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__links a {
    font-size: 13px; opacity: .7;
    transition: opacity .2s;
}
.footer__links a:hover { opacity: 1; color: var(--green-300); }
.footer__copyright { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; }
.footer__copyright p { font-size: 12px; opacity: .5; }
.footer__tagline { color: var(--green-300); opacity: .8 !important; margin-top: 4px; }
.footer__icp { margin-top: 8px; }
.footer__icp a { font-size: 12px; opacity: .5; color: var(--white); transition: opacity .2s; }
.footer__icp a:hover { opacity: .8; }

/* ===== Products ===== */
.products__filter {
    display: flex; justify-content: center;
    flex-wrap: wrap; gap: 8px;
    margin-bottom: 40px;
}

.filter__btn {
    padding: 8px 22px; border-radius: 24px;
    border: 1.5px solid var(--gray-200);
    background: var(--white); color: var(--text);
    font-size: 14px; font-family: inherit;
    cursor: pointer; transition: all .2s;
}

.filter__btn:hover {
    border-color: var(--green-500);
    color: var(--green-700);
}

.filter__btn.active {
    background: var(--green-600); color: var(--white);
    border-color: var(--green-600);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.products__loading {
    grid-column: 1 / -1;
    text-align: center; padding: 60px 20px;
    color: var(--gray-500); font-size: 16px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    cursor: pointer;
    transition: all .3s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.14);
}

.product-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--gray-100);
}

.product-card__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

.product-card:hover .product-card__image img {
    transform: scale(1.06);
}

.product-card__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.5) 0%, transparent 50%);
    opacity: 0; transition: opacity .3s;
    display: flex; align-items: flex-end;
    padding: 16px;
}

.product-card:hover .product-card__overlay {
    opacity: 1;
}

.product-card__overlay-text {
    color: var(--white); font-size: 13px;
    font-weight: 500;
}

.product-card__body {
    padding: 16px;
}

.product-card__title {
    font-size: 15px; font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    overflow: hidden; text-overflow: ellipsis;
    white-space: nowrap;
}

.product-card__category {
    font-size: 11px; color: var(--green-600);
    font-weight: 500;
}

/* ===== Product Detail Modal ===== */
.product-modal-overlay {
    display: none;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.7);
    z-index: 2000;
    align-items: center; justify-content: center;
    padding: 24px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.product-modal-overlay.active { display: flex; }

.product-modal {
    background: var(--white);
    border-radius: 16px;
    width: 100%; max-width: 840px;
    max-height: 90vh; overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,.3);
    animation: modalIn .35s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(30px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.product-modal__close {
    position: absolute; top: 12px; right: 16px;
    background: rgba(0,0,0,.4); color: var(--white);
    border: none; font-size: 18px; cursor: pointer;
    width: 36px; height: 36px; border-radius: 50%;
    z-index: 10; display: flex; align-items: center;
    justify-content: center; transition: background .2s;
}

.product-modal__close:hover { background: rgba(0,0,0,.6); }

.product-modal__body {
    display: grid; grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.product-modal__image {
    background: var(--gray-100);
    display: flex; align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-modal__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.product-modal__info {
    padding: 40px 36px;
    display: flex; flex-direction: column;
}

.product-modal__category {
    display: inline-block; padding: 4px 14px;
    border-radius: 12px;
    background: var(--green-100); color: var(--green-700);
    font-size: 12px; font-weight: 600;
    align-self: flex-start; margin-bottom: 12px;
}

.product-modal__title {
    font-size: 26px; font-weight: 800;
    color: var(--green-900);
    margin-bottom: 16px;
    line-height: 1.3;
}

.product-modal__desc {
    font-size: 15px; color: var(--text-light);
    line-height: 1.8; flex: 1;
}

.product-modal__meta {
    margin: 20px 0; padding: 16px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    font-size: 13px; color: var(--gray-500);
}

.product-modal__cta { align-self: flex-start; margin-top: 8px; }

/* ===== Contact (dynamic) ===== */
.contact__info--loading {
    text-align: center; padding: 40px;
    color: var(--gray-500);
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .nav {
        display: none;
        position: absolute; top: 70px; left: 0; right: 0;
        background: var(--white); padding: 16px;
        flex-direction: column;
        box-shadow: 0 8px 32px rgba(0,0,0,.12);
        border-bottom: 1px solid var(--gray-200);
    }
    .nav.open { display: flex; }

    .hero { padding: 120px 0 60px; }
    .hero__inner { flex-direction: column; gap: 40px; }
    .hero__title { font-size: 36px; }
    .hero__desc { font-size: 15px; }
    .hero__stats { gap: 16px; }
    .hero__num { font-size: 24px; }
    .hero__image-wrapper { width: 260px; height: 260px; }
    .hero__mascot-emoji { font-size: 80px; }
    .hide-mobile { display: none; }

    .section { padding: 64px 0; }
    .section__title { font-size: 28px; }

    .about__grid { grid-template-columns: 1fr 1fr; }
    .service__grid { grid-template-columns: 1fr 1fr; }
    .advantage__grid { grid-template-columns: 1fr; }
    .cases__map { grid-template-columns: 1fr; }
    .contact__grid { grid-template-columns: 1fr; }

    .products__grid { grid-template-columns: 1fr 1fr; }
    .product-modal__body { grid-template-columns: 1fr; }
    .product-modal__image img { min-height: 250px; }
    .product-modal__info { padding: 24px; }
    .product-modal__title { font-size: 20px; }
}

@media (max-width: 480px) {
    .about__grid { grid-template-columns: 1fr; }
    .service__grid { grid-template-columns: 1fr; }
    .hero__actions { flex-direction: column; }
    .btn { width: 100%; justify-content: center; }
    .products__grid { grid-template-columns: 1fr; }
}
