/* ============================
   BevSystem (Henan Grande Machinery Co., Ltd.) - Styles
   ============================ */

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

:root {
    /* Colors — Cool Aqua Palette (fresh water brand) */
    --color-primary: #0EA5E9;
    --color-primary-dark: #0284C7;
    --color-primary-light: #7DD3FC;
    --color-accent: #FF6B35;
    --color-accent-dark: #E55A2B;
    --color-dark: #0C4A6E;
    --color-dark-2: #075985;
    --color-gray: #64748B;
    --color-gray-light: #E2E8F0;
    --color-bg-alt: #F0F9FF;
    --color-white: #FFFFFF;
    --color-success: #10B981;
    --color-error: #EF4444;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;
    --container-padding: 24px;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(12, 74, 110, 0.06);
    --shadow-md: 0 8px 30px rgba(12, 74, 110, 0.1);
    --shadow-lg: 0 20px 60px rgba(12, 74, 110, 0.14);
    --shadow-primary: 0 10px 30px rgba(14, 165, 233, 0.3);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark);
    background: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.3;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

/* ===== Layout ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-padding);
}

.section--alt {
    background: var(--color-bg-alt);
}

.section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section__tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 18px;
    background: rgba(14, 165, 233, 0.08);
    border-radius: 30px;
    margin-bottom: 20px;
}

.section__tag--light {
    color: var(--color-primary-light);
    background: rgba(255, 255, 255, 0.1);
}

.section__title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 16px;
}

.section__title--light {
    color: var(--color-white);
}

.section__subtitle {
    font-size: 17px;
    color: var(--color-gray);
    line-height: 1.7;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-primary);
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(14, 165, 233, 0.4);
}

.btn--outline {
    background: rgba(255, 255, 255, 0.6);
    color: var(--color-primary-dark);
    border: 2px solid var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.btn--white {
    background: var(--color-white);
    color: var(--color-primary);
    box-shadow: var(--shadow-md);
}

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--lg {
    padding: 15px 36px;
    font-size: 16px;
}

.btn--block {
    width: 100%;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar__contact {
    display: flex;
    gap: 24px;
}

.top-bar__contact a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
}

.top-bar__contact a:hover {
    color: var(--color-primary-light);
}

/* ===== Header / Nav ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo__text {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--color-dark);
}

.logo__text--accent {
    color: var(--color-primary);
}

.logo--light .logo__text {
    color: var(--color-white);
}

.logo--light .logo__text--accent {
    color: var(--color-primary-light);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav__link {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-dark);
    position: relative;
    padding: 4px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 100%;
}

.nav__link:hover,
.nav__link.active {
    color: var(--color-primary);
}

.nav__cta {
    color: var(--color-white) !important;
    padding: 10px 24px !important;
    border-radius: 8px;
}

.nav__cta::after {
    display: none;
}

.nav__cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav__toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

.nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #F0F9FF 0%, #E0F2FE 40%, #BAE6FD 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.35) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(186, 230, 253, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary-dark);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(14, 165, 233, 0.25);
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
}

.hero__title {
    font-size: clamp(36px, 5.5vw, 56px);
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero__desc {
    font-size: 18px;
    color: #0F5B8A;
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 640px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero__trust {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-dark-2);
    font-size: 14px;
    font-weight: 500;
}

.hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.hero__wave svg {
    width: 100%;
    height: 60px;
}

.hero__scroll {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary-dark);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 48px;
    transition: all var(--transition);
}

.hero__scroll svg {
    animation: bounceArrow 2s infinite;
}

.hero__scroll:hover {
    color: var(--color-primary);
}

@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ===== Stats ===== */
.stats {
    padding: 60px 0;
    background: var(--color-white);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item__number {
    font-family: var(--font-heading);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-item__number::after {
    content: '+';
    color: var(--color-primary);
}

.stat-item__label {
    font-size: 15px;
    color: var(--color-gray);
    font-weight: 500;
}

/* ===== About ===== */
.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about__media {
    position: relative;
}

.about__image-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image-placeholder {
    height: 420px;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 50%, #0EA5E9 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 500;
}

.about__image-real {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.about__image-badge {
    position: absolute;
    bottom: -24px;
    right: -20px;
    background: var(--color-white);
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.about__badge-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
}

.about__badge-text {
    font-size: 13px;
    color: var(--color-gray);
    font-weight: 500;
    margin-top: 4px;
}

.about__cert {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 8px;
}

.about__cert-item {
    background: var(--color-white);
    padding: 6px 14px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.about__text {
    color: var(--color-gray);
    line-height: 1.8;
    margin-bottom: 24px;
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.about__features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--color-dark);
    line-height: 1.6;
}

.about__features li svg {
    flex-shrink: 0;
    margin-top: 2px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    padding: 3px;
}

/* ===== Factory Showcase ===== */
.factory {
    background: var(--color-white);
}

.factory__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.factory__item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--color-dark);
    aspect-ratio: 4 / 3;
    cursor: pointer;
}

.factory__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform var(--transition-slow);
}

.factory__item:hover img {
    transform: scale(1.08);
}

.factory__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px 24px;
    background: linear-gradient(to top, rgba(7, 89, 133, 0.92) 0%, rgba(12, 74, 110, 0.6) 60%, transparent 100%);
    color: var(--color-white);
    transform: translateY(20%);
    opacity: 0.85;
    transition: transform var(--transition), opacity var(--transition);
}

.factory__item:hover .factory__caption {
    transform: translateY(0);
    opacity: 1;
}

.factory__caption-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.factory__caption-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 6px;
    line-height: 1.3;
}

.factory__caption-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height var(--transition), opacity var(--transition);
}

.factory__item:hover .factory__caption-text {
    max-height: 80px;
    opacity: 1;
}

/* ===== Team ===== */
.team {
    background: linear-gradient(135deg, #F0F9FF 0%, #FFFFFF 100%);
}

.team__photo-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 60px;
}

.team__photo {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-slow);
}

.team__photo-wrap:hover .team__photo {
    transform: scale(1.03);
}

.team__photo-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.team__photo-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--color-white);
    padding: 20px 28px;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    text-align: left;
    border-left: 4px solid var(--color-primary);
}

.team__photo-badge-num {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.team__photo-badge-label {
    font-size: 13px;
    color: var(--color-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.team__stat {
    text-align: center;
    padding: 32px 20px;
    background: var(--color-white);
    border-radius: 16px;
    border: 1px solid var(--color-gray-light);
    transition: all var(--transition);
}

.team__stat:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.team__stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(125,211,252,0.12));
    border-radius: 14px;
    color: var(--color-primary);
    transition: all var(--transition);
}

.team__stat:hover .team__stat-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    transform: rotate(-5deg);
}

.team__stat-num {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
    margin-bottom: 6px;
}

.team__stat-label {
    font-size: 14px;
    color: var(--color-gray);
    font-weight: 500;
}

/* ===== Products ===== */
.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.product-card__image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card__image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, transparent 100%);
}

.product-card__image svg {
    position: relative;
    z-index: 1;
    transition: transform var(--transition);
}

.product-card:hover .product-card__image svg {
    transform: scale(1.15);
}

.product-card__image--1 { background: linear-gradient(135deg, #0EA5E9, #7DD3FC); }
.product-card__image--2 { background: linear-gradient(135deg, #38BDF8, #BAE6FD); }
.product-card__image--3 { background: linear-gradient(135deg, #0284C7, #38BDF8); }
.product-card__image--4 { background: linear-gradient(135deg, #0EA5E9, #A5F3FC); }
.product-card__image--5 { background: linear-gradient(135deg, #0369A1, #38BDF8); }
.product-card__image--6 { background: linear-gradient(135deg, #0284C7, #7DD3FC); }

.product-card__body {
    padding: 24px;
}

.product-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.product-card__desc {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.product-card__specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--color-gray-light);
}

.product-card__specs li {
    font-size: 14px;
    color: var(--color-dark-2);
    padding-left: 20px;
    position: relative;
}

.product-card__specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--color-primary);
    border-radius: 50%;
}

.product-card__link {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    transition: gap var(--transition);
}

.product-card__link:hover {
    color: var(--color-primary-dark);
}

.product-card__data {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--color-gray-light);
}

.product-card__data-item {
    background: var(--color-bg-alt);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
}

.product-card__data-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 2px;
}

.product-card__data-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary-dark);
}

/* ===== Production Line Process ===== */
.process {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 30%;
    left: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.process__flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.process__step {
    flex: 1;
    min-width: 130px;
    max-width: 150px;
    text-align: center;
    padding: 24px 10px;
    position: relative;
}

.process__step-num {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: rgba(14, 165, 233, 0.5);
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.process__step-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(125,211,252,0.15));
    border-radius: 16px;
    color: var(--color-primary);
    transition: all var(--transition);
}

.process__step:hover .process__step-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary);
}

.process__step-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.process__step-desc {
    font-size: 12px;
    color: var(--color-gray);
    line-height: 1.6;
}

.process__arrow {
    display: flex;
    align-items: center;
    padding: 0 2px;
    margin-top: 60px;
    flex-shrink: 0;
}

.process__arrow svg {
    opacity: 0.6;
}

.process__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 48px;
    padding: 20px 28px;
    background: var(--color-bg-alt);
    border-radius: 12px;
    border: 1px solid rgba(14, 165, 233, 0.15);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.process__note svg {
    flex-shrink: 0;
}

.process__note p {
    font-size: 14px;
    color: var(--color-dark);
    line-height: 1.6;
}

.process__note a {
    color: var(--color-primary);
    font-weight: 600;
}

.process__note a:hover {
    color: var(--color-primary-dark);
}

/* ===== Advantages ===== */
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.advantage-card {
    text-align: center;
    padding: 36px 24px;
    border-radius: 16px;
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    transition: all var(--transition);
}

.advantage-card:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.advantage-card__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14,165,233,0.1), rgba(125,211,252,0.12));
    border-radius: 16px;
    color: var(--color-primary);
    transition: all var(--transition);
}

.advantage-card:hover .advantage-card__icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: var(--color-white);
    transform: rotate(-5deg) scale(1.05);
}

.advantage-card__title {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.advantage-card__desc {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.7;
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(186, 230, 253, 0.3) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    position: relative;
    z-index: 1;
}

.cta-banner__title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 8px;
}

.cta-banner__text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
}

/* ===== Customer Cases ===== */
.cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.case-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all var(--transition);
}

.case-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(14, 165, 233, 0.2);
}

.case-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.case-card__icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(14,165,233,0.12), rgba(125,211,252,0.15));
    border-radius: 10px;
    color: var(--color-primary);
}

.case-card__country {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.case-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.case-card__text {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.case-card__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 16px;
    border-top: 1px solid var(--color-gray-light);
}

.case-card__meta-item {
    font-size: 13px;
    color: var(--color-gray);
}

.case-card__meta-item strong {
    color: var(--color-dark);
    font-weight: 600;
}

/* ===== News ===== */
.news__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.news-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.news-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.news-card__image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.news-card__image--1 { background: linear-gradient(135deg, #0284C7, #7DD3FC); }
.news-card__image--2 { background: linear-gradient(135deg, #0EA5E9, #A5F3FC); }
.news-card__image--3 { background: linear-gradient(135deg, #38BDF8, #BAE6FD); }

.news-card__date {
    position: absolute;
    bottom: 16px;
    left: 16px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    padding: 4px 12px;
    border-radius: 6px;
}

.news-card__body {
    padding: 24px;
}

.news-card__tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.news-card__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color var(--transition);
}

.news-card:hover .news-card__title {
    color: var(--color-primary);
}

.news-card__excerpt {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.6;
    margin-bottom: 16px;
}

.news-card__link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
}

.news-card__link:hover {
    color: var(--color-primary-dark);
}

/* ===== Inquiry ===== */
.inquiry {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-dark-2) 100%);
    position: relative;
    overflow: hidden;
}

.inquiry::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.inquiry__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.inquiry__intro {
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 40px;
}

.inquiry__contacts {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.inquiry__contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.inquiry__contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(125, 211, 252, 0.15);
    border-radius: 12px;
    color: var(--color-primary-light);
    flex-shrink: 0;
}

.inquiry__contact-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
}

.inquiry__contact-value {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

a.inquiry__contact-value:hover {
    color: var(--color-primary-light);
}

.inquiry__form-wrap {
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.inquiry-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.inquiry-form__field {
    margin-bottom: 20px;
}

.inquiry-form__field label {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.inquiry-form__field label span {
    color: var(--color-accent);
}

.inquiry-form__field input,
.inquiry-form__field select,
.inquiry-form__field textarea {
    width: 100%;
    font-family: var(--font-body);
    font-size: 15px;
    padding: 12px 16px;
    border: 2px solid var(--color-gray-light);
    border-radius: 8px;
    background: #FAFBFC;
    color: var(--color-dark);
    transition: all var(--transition);
    outline: none;
}

.inquiry-form__field input:focus,
.inquiry-form__field select:focus,
.inquiry-form__field textarea:focus {
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.08);
}

.inquiry-form__field textarea {
    resize: vertical;
    min-height: 100px;
}

.inquiry-form__field input.error,
.inquiry-form__field select.error,
.inquiry-form__field textarea.error {
    border-color: var(--color-error);
    background: #FEF2F2;
}

.inquiry-form__error {
    display: block;
    font-size: 13px;
    color: var(--color-error);
    margin-top: 4px;
    min-height: 0;
    transition: all var(--transition);
}

.inquiry-form__note {
    text-align: center;
    font-size: 13px;
    color: var(--color-gray);
    margin-top: 16px;
}

.inquiry-form__honeypot {
    display: none !important;
}

.inquiry-form__error-note {
    display: none;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-error);
    margin-top: 16px;
}

.inquiry-form__error-note.active {
    display: block;
}

.inquiry-form__error-note a {
    color: var(--color-error);
    text-decoration: underline;
}

.inquiry-form__success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.inquiry-form__success.active {
    display: block;
}

.inquiry-form__success svg {
    margin: 0 auto 16px;
}

.inquiry-form__success h3 {
    font-size: 24px;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.inquiry-form__success p {
    color: var(--color-gray);
    font-size: 15px;
}

.inquiry-form.sent .inquiry-form__row,
.inquiry-form.sent > .inquiry-form__field,
.inquiry-form.sent > .btn,
.inquiry-form.sent > .inquiry-form__note {
    display: none;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.6);
    padding-top: 64px;
}

.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__about {
    font-size: 14px;
    line-height: 1.7;
    margin: 16px 0 20px;
    max-width: 320px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

.footer__social a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.footer__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.footer__links a:hover {
    color: var(--color-primary-light);
}

.footer__links--contact li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.footer__links--contact strong {
    color: rgba(255, 255, 255, 0.9);
}

.footer__bottom {
    padding: 20px 0;
}

.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer__bottom-links {
    display: flex;
    gap: 20px;
}

.footer__bottom-links a:hover {
    color: var(--color-primary-light);
}

/* ===== Back to Top ===== */
.back-top {
    position: fixed;
    bottom: 90px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
    z-index: 999;
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-4px);
}

/* ===== WhatsApp Float ===== */
.wa-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition);
    animation: waPulse 2s infinite;
}

.wa-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes waPulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

/* ===== Reveal Animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .products__grid,
    .advantages__grid,
    .news__grid,
    .cases__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .factory__grid {
        gap: 20px;
    }

    .footer__top {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .about__inner {
        gap: 40px;
    }

    .inquiry__inner {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px 0;
    }

    /* Mobile Nav */
    .nav__toggle {
        display: flex;
    }

    .nav__list {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        padding: 24px;
        gap: 0;
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform var(--transition);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .nav__list.active {
        transform: translateY(0);
    }

    .nav__list li {
        border-bottom: 1px solid var(--color-gray-light);
    }

    .nav__list li:last-child {
        border-bottom: none;
    }

    .nav__link {
        display: block;
        padding: 14px 0;
        font-size: 16px;
    }

    .nav__link::after {
        display: none;
    }

    .nav__cta {
        margin-top: 12px;
        text-align: center;
        padding: 14px !important;
    }

    /* Top Bar */
    .top-bar__hours {
        display: none;
    }

    .top-bar__contact {
        gap: 16px;
    }

    /* Hero */
    .hero {
        padding: 80px 0 60px;
        min-height: auto;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__trust {
        gap: 16px;
    }

    /* Stats */
    .stats__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    /* About */
    .about__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about__image-badge {
        right: 0;
    }

    /* Factory grid (mobile) */
    .factory__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Process flow (mobile) */
    .process__flow {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .process__step {
        max-width: 300px;
        width: 100%;
    }

    .process__arrow {
        transform: rotate(90deg);
        margin: -4px 0;
        padding: 0;
    }

    .process__note {
        flex-direction: column;
        text-align: center;
        padding: 18px 20px;
    }

    .factory__item {
        aspect-ratio: 16 / 10;
    }

    .factory__caption {
        transform: translateY(0);
        opacity: 1;
        padding: 20px 18px;
    }

    .factory__caption-text {
        max-height: 80px;
        opacity: 1;
    }

    /* Team (mobile) */
    .team__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .team__photo-badge {
        bottom: 16px;
        left: 16px;
        padding: 14px 20px;
    }

    .team__photo-badge-num {
        font-size: 24px;
    }

    /* Products, Advantages, News */
    .products__grid,
    .advantages__grid,
    .news__grid,
    .cases__grid {
        grid-template-columns: 1fr;
    }

    /* CTA Banner */
    .cta-banner__inner {
        flex-direction: column;
        text-align: center;
    }

    /* Inquiry */
    .inquiry__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .inquiry__form-wrap {
        padding: 24px;
    }

    .inquiry-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* Footer */
    .footer__top {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

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

    .hero__badge {
        font-size: 12px;
    }

    .hero__title {
        font-size: 30px;
    }

    .hero__desc {
        font-size: 15px;
    }

    .section__title {
        font-size: 24px;
    }

    .inquiry__form-wrap {
        padding: 20px;
    }

    .back-top {
        bottom: 80px;
        right: 16px;
    }

    .wa-float {
        right: 16px;
        bottom: 16px;
    }
}

/* ============================
   Legal / 条款页（privacy.html / terms.html）
   ============================ */
.legal-hero {
    background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary-dark) 100%);
    padding: 76px 0 52px;
    text-align: center;
}

.legal-hero__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary-light);
    margin-bottom: 14px;
}

.legal-hero__title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.25;
}

.legal-hero__meta {
    margin-top: 14px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
}

.legal {
    padding: 64px 0 96px;
}

.legal__inner {
    max-width: 820px;
    margin: 0 auto;
}

.legal__intro {
    font-size: 17px;
    color: var(--color-gray);
    padding-bottom: 28px;
    border-bottom: 1px solid var(--color-gray-light);
    margin-bottom: 40px;
}

.legal h2 {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 600;
    color: var(--color-dark);
    margin: 38px 0 14px;
    padding-left: 14px;
    border-left: 4px solid var(--color-primary);
    line-height: 1.4;
}

.legal h2:first-of-type {
    margin-top: 0;
}

.legal p {
    font-size: 15.5px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 14px;
}

.legal ul {
    margin: 0 0 16px 22px;
    list-style: disc outside;
}

.legal li {
    font-size: 15.5px;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 8px;
    list-style: disc outside;
}

.legal strong {
    color: var(--color-dark);
    font-weight: 600;
}

.legal a {
    color: var(--color-primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal__note {
    margin-top: 44px;
    padding: 22px 26px;
    background: var(--color-bg-alt);
    border-radius: 12px;
    border: 1px solid #DCEFFB;
    font-size: 15px;
    color: var(--color-dark);
    line-height: 1.75;
}

.legal__back {
    margin-top: 40px;
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 56px 0 40px;
    }

    .legal-hero__title {
        font-size: 27px;
    }

    .legal {
        padding: 44px 0 72px;
    }
}

/* 条款页页脚：没有上方栏目，收紧留白 */
.footer--compact {
    padding-top: 10px;
}
