/* ===== CSS Variables ===== */
:root {
    --primary: #1a1a1a;
    --primary-light: #333333;
    --secondary: #b8952e;
    --secondary-light: #d4af37;
    --secondary-dark: #9a7b1f;
    --accent: #c9a227;
    --dark: #111111;
    --light: #faf8f4;
    --warm-gray: #f5f2ed;
    --gray: #888888;
    --gray-light: #e8e4de;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.1);
    --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-zh: "MiSans", "PingFang SC", "Microsoft YaHei", sans-serif;
    --font-en-heading: "Playfair Display", "Georgia", serif;
    --font-en-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== Premium Background ===== */
.golden-bg {
    display: none;
}

.header,
main,
footer,
.chat-widget {
    position: relative;
    z-index: 1;
}

.hero::after,
.about::before,
.services::before,
.process::before,
.contact::before,
.print-samples::before {
    display: none;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-zh);
    color: var(--primary);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.en {
    font-family: var(--font-en-body);
    letter-spacing: 0.01em;
}

body.en h1,
body.en h2,
body.en h3,
body.en h4 {
    font-family: var(--font-en-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

body.en .section-tag {
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 12px;
}

body.en .hero-content h1 {
    letter-spacing: -0.03em;
    line-height: 1.1;
}

body.en p {
    line-height: 1.75;
}

body.en .btn {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--secondary);
    color: var(--primary);
    padding: 12px 24px;
    z-index: 10000;
    font-weight: 600;
}

.skip-link:focus {
    top: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 22, 16, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 88px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
    transition: var(--transition);
    display: block;
}

.header.scrolled .logo img {
    height: 50px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 36px;
}

.nav-list a {
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    letter-spacing: 0.02em;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--secondary);
    transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switch {
    background: transparent;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    padding: 7px 16px;
    border-radius: 2px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    letter-spacing: 0.05em;
}

.lang-switch:hover {
    background: var(--primary);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 1.5px;
    background: var(--primary);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    max-height: 900px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
    z-index: 1;
}

.hero-slide.active .hero-bg-image {
    transform: scale(1);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: flex;
    width: 100%;
    max-width: 100%;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    color: #ffffff;
    max-width: 700px;
    background: none;
    border: none;
}

.hero-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--secondary-light);
    margin-bottom: 20px;
    padding: 6px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.4);
}

.hero-text h1 {
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.hero-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    margin-bottom: 36px;
    opacity: 0.85;
    font-weight: 300;
    letter-spacing: 0.03em;
    line-height: 1.6;
    color: #ffffff;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 24px;
}

.hero-logo {
    width: 100%;
    max-width: 420px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.hero-slogan-display {
    font-size: clamp(18px, 2.2vw, 26px);
    font-style: italic;
    font-weight: 400;
    color: var(--secondary-light);
    letter-spacing: 0.04em;
    line-height: 1.5;
    max-width: 380px;
}

body.en .hero-slogan-display {
    font-family: var(--font-en-heading);
    letter-spacing: 0.06em;
    font-size: clamp(20px, 2.4vw, 28px);
}

.hero-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--secondary-light);
    margin-bottom: 20px;
    padding: 6px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.4);
}

.hero-content h1 {
    font-size: clamp(36px, 5.5vw, 68px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    margin-bottom: 36px;
    opacity: 0.85;
    font-weight: 300;
    letter-spacing: 0.03em;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 32px;
    height: 3px;
    border-radius: 2px;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--secondary-light);
    width: 48px;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-prev {
    left: 24px;
}

.hero-next {
    right: 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: 1.5px solid transparent;
    text-align: center;
    letter-spacing: 0.04em;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

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

/* ===== Section Styles ===== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--secondary);
}

.section-header h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.section-desc {
    color: var(--gray);
    font-size: 17px;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== About Section ===== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-content p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.about-slogan {
    font-size: 22px;
    color: var(--secondary);
    font-style: italic;
    font-weight: 400;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--gray-light);
    letter-spacing: 0.02em;
    line-height: 1.5;
}

body.en .about-slogan {
    font-family: var(--font-en-heading);
    font-weight: 400;
    font-size: 24px;
    letter-spacing: 0.04em;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-light);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 6px;
    font-family: var(--font-en-body);
}

.stat-label {
    font-size: 13px;
    color: var(--gray);
    letter-spacing: 0.02em;
}

/* ===== Services Section ===== */
.services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border-radius: 4px;
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.service-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--secondary);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    color: var(--secondary);
    transition: var(--transition);
}

.service-card:hover .service-icon svg {
    color: var(--white);
}

.service-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 14px;
    font-weight: 600;
}

.service-card p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== Products Section ===== */
.products {
    background: var(--white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-image {
    height: 260px;
    overflow: hidden;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.product-info p {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ===== Equipment Section ===== */
.equipment {
    background: var(--light);
}

.equipment-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.equipment-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.equipment-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.equipment-image {
    margin: 0;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.equipment-card:hover .equipment-image img {
    transform: scale(1.03);
}

.equipment-info {
    padding: 40px 40px 40px 0;
}

.equipment-info h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.equipment-info p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.equipment-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.equipment-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
    padding: 10px 14px;
    background: var(--light);
    border-radius: 2px;
}

.equipment-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    min-width: 6px;
    background: var(--secondary);
    border-radius: 50%;
}

/* ===== Print Samples Section ===== */
.print-samples {
    background: var(--white);
}

.samples-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.sample-card {
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
    background: var(--light);
    transition: var(--transition);
}

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

.sample-image {
    overflow: hidden;
}

.sample-image img {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: contain;
    transition: var(--transition);
}

.sample-card:hover .sample-image img {
    transform: scale(1.02);
}

.sample-caption {
    padding: 28px 32px;
    text-align: center;
}

.sample-title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;
}

.sample-desc {
    display: block;
    font-size: 14px;
    color: var(--gray);
}

/* ===== Process Section ===== */
.process {
    background: var(--primary);
    color: var(--white);
}

.process .section-tag {
    color: var(--secondary-light);
    border-bottom-color: var(--secondary-light);
}

.process .section-header h2 {
    color: var(--white);
}

.process .section-desc {
    color: rgba(255, 255, 255, 0.6);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: rgba(212, 175, 55, 0.3);
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: transparent;
    border: 1.5px solid var(--secondary-light);
    color: var(--secondary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    font-family: var(--font-en-body);
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--white);
    font-weight: 600;
}

.step-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== Why Choose Us Section ===== */
.why-us {
    background: var(--white);
}

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

.advantage-item {
    text-align: center;
    padding: 40px 24px;
    border-radius: 4px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.advantage-item:hover {
    background: var(--light);
    border-color: var(--gray-light);
}

.advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--secondary);
}

.advantage-icon svg {
    width: 100%;
    height: 100%;
}

.advantage-item h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 600;
}

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

/* ===== Contact Section ===== */
.contact {
    background: var(--light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    color: var(--secondary-light);
}

.contact-item h4 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 4px;
    font-weight: 600;
}

.contact-item a,
.contact-item p {
    color: var(--gray);
    font-size: 15px;
}

.contact-item a:hover {
    color: var(--secondary);
}

.qr-codes {
    display: flex;
    gap: 20px;
    margin-top: 12px;
}

.qr-item {
    text-align: center;
}

.qr-placeholder {
    width: 110px;
    height: 110px;
    background: var(--white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border: 1px solid var(--gray-light);
    overflow: hidden;
}

.qr-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qr-item span {
    font-size: 12px;
    color: var(--gray);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.contact-form-wrapper {
    background: var(--white);
    border-radius: 4px;
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--gray-light);
    border-radius: 2px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: var(--light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(184, 149, 46, 0.1);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Footer ===== */
.footer {
    background: var(--dark);
    background: #111111;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
    align-items: start;
}

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

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 16px;
    object-fit: contain;
    max-width: 320px;
    filter: brightness(0) invert(1) !important;
    display: block;
}

.footer-slogan {
    color: var(--secondary-light);
    font-size: 17px;
    font-style: italic;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.6;
}

body.en .footer-slogan {
    font-family: var(--font-en-heading);
    letter-spacing: 0.03em;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 15px;
    margin-bottom: 20px;
    color: var(--secondary-light);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-links a:hover {
    color: var(--secondary-light);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: var(--secondary-light);
    margin-top: 3px;
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-item a:hover {
    color: var(--secondary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 28px;
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.footer-bottom a {
    color: var(--secondary-light);
}

/* ===== Chat Widget ===== */
.chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.chat-toggle {
    width: 56px;
    height: 56px;
    background: var(--secondary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle:hover {
    transform: scale(1.08);
    background: var(--secondary-dark);
}

.chat-toggle svg {
    width: 26px;
    height: 26px;
    color: var(--white);
}

.chat-window {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 350px;
    height: 460px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.open {
    display: flex;
}

.chat-header {
    background: var(--primary);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-info h4 {
    font-size: 15px;
    margin-bottom: 2px;
    font-weight: 600;
}

.chat-status {
    font-size: 12px;
    color: #4ade80;
}

.chat-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.message {
    margin-bottom: 16px;
}

.message.bot p {
    background: var(--light);
    padding: 12px 16px;
    border-radius: 12px 12px 12px 0;
    display: inline-block;
    max-width: 85%;
    font-size: 14px;
    line-height: 1.5;
}

.message.user p {
    background: var(--primary);
    color: var(--white);
    padding: 12px 16px;
    border-radius: 12px 12px 0 12px;
    display: inline-block;
    margin-left: auto;
    max-width: 85%;
    font-size: 14px;
    line-height: 1.5;
}

.chat-input {
    display: flex;
    padding: 14px;
    border-top: 1px solid var(--gray-light);
    gap: 10px;
}

.chat-input input {
    flex: 1;
    padding: 11px 16px;
    border: 1px solid var(--gray-light);
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}

.chat-input input:focus {
    border-color: var(--secondary);
}

.chat-input button {
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chat-input button:hover {
    background: var(--secondary-dark);
}

.chat-input button svg {
    width: 18px;
    height: 18px;
    color: var(--white);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .services-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

    .process-timeline::before {
        display: none;
    }

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

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

    .about-grid {
        gap: 48px;
    }

    .equipment-card {
        grid-template-columns: 1fr;
    }

    .equipment-info {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 64px;
    }

    .logo img {
        height: 36px;
    }

    .nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        padding: 32px 24px;
        transform: translateX(100%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
        overflow-y: auto;
    }

    .nav.open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

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

    .nav-list a {
        display: block;
        padding: 16px 0;
        font-size: 16px;
        color: var(--primary);
    }

    .mobile-menu-btn {
        display: flex;
    }

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

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

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

    section {
        padding: 64px 0;
    }

    .container {
        padding: 0 20px;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .section-desc {
        font-size: 15px;
    }

    .hero {
        min-height: 550px;
        max-height: 700px;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .hero-text {
        align-items: center;
        text-align: center;
    }

    .hero-visual {
        display: none;
    }

    .hero-tag {
        font-size: 11px;
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
    }

    .btn {
        width: 100%;
    }

    .hero-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .hero-prev {
        left: 12px;
    }

    .hero-next {
        right: 12px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        height: 260px;
    }

    .about-slogan {
        font-size: 18px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-number {
        font-size: 28px;
    }

    .services-grid,
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 32px 24px;
    }

    .product-image {
        height: 220px;
    }

    .process-timeline {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .process-step {
        display: flex;
        gap: 18px;
        text-align: left;
        align-items: flex-start;
    }

    .step-number {
        width: 52px;
        height: 52px;
        min-width: 52px;
        font-size: 18px;
        margin: 0;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .advantage-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 20px;
    }

    .equipment-card {
        grid-template-columns: 1fr;
    }

    .equipment-info {
        padding: 24px;
    }

    .equipment-features {
        grid-template-columns: 1fr;
    }

    .equipment-image img {
        min-height: 240px;
    }

    .sample-image img {
        max-height: 350px;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

    .qr-codes {
        flex-direction: row;
        gap: 16px;
    }

    .qr-placeholder {
        width: 100px;
        height: 100px;
    }

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

    .footer-logo {
        height: 52px;
    }

    .footer-slogan {
        font-size: 15px;
    }

    .chat-widget {
        bottom: 16px;
        right: 16px;
    }

    .chat-toggle {
        width: 50px;
        height: 50px;
    }

    .chat-window {
        width: calc(100vw - 32px);
        right: -8px;
        bottom: 66px;
        height: 420px;
    }
}

@media (max-width: 480px) {
    .header-inner {
        height: 56px;
    }

    .logo img {
        height: 32px;
    }

    .lang-switch {
        padding: 5px 12px;
        font-size: 11px;
    }

    section {
        padding: 48px 0;
    }

    .container {
        padding: 0 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .section-desc {
        font-size: 14px;
    }

    .hero {
        min-height: 480px;
        max-height: 600px;
    }

    .hero-content h1 {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 13px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-icon {
        width: 56px;
        height: 56px;
    }

    .service-icon svg {
        width: 26px;
        height: 26px;
    }

    .product-image {
        height: 180px;
    }

    .contact-form-wrapper {
        padding: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 11px 14px;
        font-size: 14px;
    }

    .qr-placeholder {
        width: 80px;
        height: 80px;
    }

    .footer {
        padding: 48px 0 24px;
    }
}

/* Safe area for notched devices */
@supports (padding: max(0px)) {
    .header {
        padding-left: max(0px, env(safe-area-inset-left));
        padding-right: max(0px, env(safe-area-inset-right));
    }

    .chat-widget {
        bottom: max(24px, env(safe-area-inset-bottom));
        right: max(24px, env(safe-area-inset-right));
    }
}