/* Main Styles - Based on RW Atelier Original Website */

/* Fonts - Epilogue is used in original site */
@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@300;400;500;600;700;800&display=swap');

/* Root Variables */
:root {
    --primary-color: #0a0f2b;
    --secondary-color: #141b3d;
    --accent-color: #ff6b35;
    --accent-hover: #e85a28;
    --accent-soft: rgba(255, 107, 53, 0.12);
    --text-primary: #1a1a2e;
    --text-secondary: #5c6370;
    --text-light: #9aa0ab;
    --bg-light: #f4f6fb;
    --bg-white: #ffffff;
    --border-color: #e8ecf2;
    --font-family: 'Epilogue', sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(10, 15, 43, 0.06);
    --shadow-md: 0 8px 30px rgba(10, 15, 43, 0.08);
    --shadow-lg: 0 20px 50px rgba(10, 15, 43, 0.12);
    --shadow-accent: 0 12px 32px rgba(255, 107, 53, 0.28);
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 120px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 130px;
}

body {
    font-family: var(--font-family);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* Container */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 32px;
    font-family: var(--font-family);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff8555 100%);
    color: #fff;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(255, 107, 53, 0.35);
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 42px;
    font-size: 14px;
}

/* Header */
.site-header {
    background: rgba(10, 15, 43, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.scrolled {
    background: rgba(10, 15, 43, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.site-header.scrolled .header-main {
    padding: 12px 0;
}

.site-header.scrolled .logo img {
    height: 48px;
}

.site-header.header-overlay:not(.scrolled) {
    background: rgba(10, 15, 43, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.site-header.header-overlay.scrolled {
    background: rgba(10, 15, 43, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.page-home .site-main {
    margin-top: 0;
}

.header-top {
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a {
    color: #fff;
    margin-right: 25px;
    font-weight: 400;
}

.contact-info a:hover {
    opacity: 0.8;
}

.contact-info i {
    margin-right: 8px;
    font-size: 14px;
}

.social-links a {
    color: #fff;
    margin-left: 18px;
    font-size: 15px;
}

.social-links a:hover {
    color: var(--accent-color);
}

.header-main {
    padding: 18px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 55px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.main-navigation {
    flex: 1;
    margin: 0 50px;
}

.main-navigation .menu {
    display: flex;
    justify-content: center;
    list-style: none;
}

.main-navigation .menu > li {
    position: relative;
    margin: 0 18px;
}

.main-navigation .menu > li > a {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    padding: 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.main-navigation .menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.main-navigation .menu > li:hover > a::after {
    width: 100%;
}

.main-navigation .menu > li:hover > a {
    color: var(--accent-color);
}

.main-navigation .menu > li.current-menu-item > a {
    color: var(--accent-color);
}

.main-navigation .menu > li.current-menu-item > a::after {
    width: 100%;
}

/* Submenu */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 260px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 10px 0;
}

.main-navigation .menu > li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu li {
    position: relative;
}

.main-navigation .sub-menu li:last-child {
    border-bottom: none;
}

.main-navigation .sub-menu a {
    display: block;
    padding: 12px 25px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: none;
    transition: all 0.3s ease;
}

.main-navigation .sub-menu a:hover {
    background: var(--bg-light);
    color: var(--accent-color);
    padding-left: 30px;
}

.main-navigation .sub-menu li::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: var(--text-light);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-navigation .sub-menu li:hover::after {
    opacity: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 2.5px;
    background: #ffffff;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--bg-white);
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-header .logo img {
    height: 45px;
}

.mobile-menu-close {
    font-size: 24px;
    color: var(--text-primary);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: var(--accent-color);
}

.mobile-menu-content {
    padding: 20px;
    overflow-y: auto;
    height: calc(100vh - 100px);
}

.mobile-menu-list li {
    margin-bottom: 5px;
}

.mobile-menu-list > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-menu-list > li > a:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}

.mobile-menu-list > li > a i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.mobile-menu-list > li > a.active i {
    transform: rotate(180deg);
}

.mobile-menu-list .sub-menu {
    display: none;
    padding-left: 15px;
    margin-top: 5px;
    background: var(--bg-light);
    border-radius: 5px;
    overflow: hidden;
}

.mobile-menu-list .sub-menu.active {
    display: block;
}

.mobile-menu-list .sub-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
    text-transform: none;
    transition: all 0.3s ease;
}

.mobile-menu-list .sub-menu a:hover {
    color: var(--accent-color);
    padding-left: 25px;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    display: none;
    backdrop-filter: blur(5px);
}

.mobile-menu-overlay.active {
    display: block;
}

/* Preloader */
#royal_preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#royal_preloader .royal_preloader_percentage {
    color: #fff;
    font-size: 14px;
    font-family: var(--font-family);
    font-weight: 400;
    margin-top: 20px;
}

/* Hero Section */
.hero-section {
    padding: 200px 0 130px;
    position: relative;
    overflow: hidden;
    min-height: 88vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(10, 15, 43, 0.92) 0%, rgba(20, 27, 61, 0.85) 50%, rgba(10, 15, 43, 0.9) 100%),
        url('https://rwepoxyresin.com/wp-content/uploads/2024/10/背景.2.webp') center / cover no-repeat;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(255, 107, 53, 0.15);
    top: -100px;
    right: -100px;
    animation: floatGlow 8s ease-in-out infinite;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(69, 123, 255, 0.1);
    bottom: -80px;
    left: -80px;
    animation: floatGlow 10s ease-in-out infinite reverse;
}

@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -20px) scale(1.05); }
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-badge i {
    color: var(--accent-color);
    font-size: 14px;
}

.hero-content .subtitle {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: var(--font-family);
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 32px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-content .hero-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-content .hero-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.92);
    text-align: left;
    width: 100%;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.hero-content .hero-features li:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
}

.hero-content .hero-features li i {
    color: var(--accent-color);
    font-size: 16px;
    flex-shrink: 0;
}

.hero-content .highlight {
    color: var(--accent-color);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    padding: 16px 44px;
}

.hero-buttons .btn-secondary {
    padding: 16px 44px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-full);
}

.hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: var(--bg-white);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-family);
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Features Section */
.features-section {
    padding: 110px 0;
    background: var(--bg-light);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-family: var(--font-family);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    border-radius: var(--radius-full);
    margin: 16px auto 0;
}

.section-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    padding: 44px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), #ff8555);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #fff;
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(10, 15, 43, 0.2);
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.25);
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff8555 100%);
}

.feature-card h3 {
    font-family: var(--font-family);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 14px;
}

/* Products Section */
.products-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-image {
    position: relative;
    overflow: hidden;
    height: 230px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: #fff;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 20px;
}

.product-info {
    padding: 25px;
}

.product-category {
    font-size: 11px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.product-title {
    font-family: var(--font-family);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.product-link:hover {
    color: var(--accent-color);
}

.product-link i {
    transition: transform 0.3s ease;
}

.product-link:hover i {
    transform: translateX(5px);
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.blog-card {
    background: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.blog-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.15);
}

.blog-category-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--accent-color);
    color: #fff;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-info .blog-category,
.blog-category {
    font-size: 11px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.blog-info {
    padding: 25px;
}

.blog-title {
    font-family: var(--font-family);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: var(--accent-color);
}

.blog-excerpt {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-light);
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-link:hover {
    color: var(--accent-color);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-family);
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons .btn-primary {
    padding: 18px 50px;
    font-size: 16px;
}

.cta-buttons .btn-secondary {
    padding: 18px 50px;
    font-size: 16px;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

/* Section Subtitle */
.section-subtitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* Factory Section */
.factory-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.factory-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.factory-info span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.factory-info h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.factory-info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.factory-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.factory-stat-item {
    text-align: center;
    padding: 20px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.factory-stat-item:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-sm);
    transform: translateY(-4px);
}

.factory-stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
}

.factory-stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 5px;
}

.factory-video {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.factory-video::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--radius-lg);
    pointer-events: none;
    z-index: 1;
}

.factory-video video {
    width: 100%;
    height: auto;
    display: block;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.process-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.process-image {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: flex-start;
}

.process-image img:first-child {
    width: 100%;
    max-width: 280px;
    height: auto;
    display: block;
    border-radius: 8px;
}

.process-image img:last-child {
    width: 100%;
    max-width: 165px;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: auto;
}

.process-info {
    padding-top: 10px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.process-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.process-step:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow-sm);
    transform: translateX(6px);
}

.process-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-color), #ff8555);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.process-icon svg {
    width: 25px;
    height: 25px;
    fill: #fff;
}

.process-text h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.process-text p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Solutions Section */
.solutions-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.solutions-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.solutions-info span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.solutions-info h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.solutions-info p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input {
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-family: var(--font-family);
    transition: var(--transition);
    background: var(--bg-light);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px var(--accent-soft);
    background: var(--bg-white);
}

.solutions-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.solution-image {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.solution-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.solution-image:hover img {
    transform: scale(1.05);
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, var(--primary-color) 0%, #060a1a 100%);
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 50px;
}

.footer-column h3 {
    font-family: var(--font-family);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    padding-bottom: 14px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent-color);
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-column p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-contact {
    margin-top: 20px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 16px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.footer .social-links {
    display: flex;
    gap: 15px;
}

.footer .social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

/* Site Main */
.site-main {
    margin-top: 120px;
}

/* Loading */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Fade In Animation */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page Header */
.page-header {
    padding: 120px 0 70px;
    background:
        linear-gradient(135deg, rgba(10, 15, 43, 0.92) 0%, rgba(20, 27, 61, 0.88) 100%),
        url('https://rwepoxyresin.com/wp-content/uploads/2024/10/背景.2.webp') center / cover no-repeat;
    text-align: center;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, var(--bg-white), transparent);
    pointer-events: none;
}

.page-header h1 {
    font-family: var(--font-family);
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 1;
}

/* Products Filter */
.products-filter {
    padding: 30px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.filter-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-category label {
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 10px;
}

.filter-category select {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-white);
    cursor: pointer;
}

.filter-search {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    overflow: hidden;
}

.filter-search input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    font-family: var(--font-family);
    font-size: 14px;
    outline: none;
}

.filter-search button {
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.filter-search button:hover {
    background: var(--accent-color);
}

/* Cases Section */
.cases-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.case-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    height: 280px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.case-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 15, 43, 0.85) 0%, rgba(10, 15, 43, 0.2) 50%, transparent 100%);
    transition: var(--transition);
    z-index: 1;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.case-card:hover::after {
    background: linear-gradient(to top, rgba(10, 15, 43, 0.92) 0%, rgba(255, 107, 53, 0.15) 60%, transparent 100%);
}

.case-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.case-card:hover img {
    transform: scale(1.08);
}

.case-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}

.case-card h3 {
    margin: 0 0 6px;
    font-family: var(--font-family);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    background: none;
    position: static;
    padding: 0;
}

.case-card p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    position: static;
    bottom: auto;
    left: auto;
}

/* About Content */
.about-content {
    padding: 100px 0;
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-family);
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text .lead {
    font-size: 18px;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-text h3 {
    font-family: var(--font-family);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    margin-top: 30px;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Certifications Section */
.certifications-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.certification-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.certification-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

.certification-card h3 {
    font-family: var(--font-family);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.certification-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    padding: 20px 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination a {
    color: var(--text-secondary);
    background: var(--bg-light);
}

.pagination a:hover {
    background: var(--accent-color);
    color: #fff;
}

.pagination span.current {
    background: var(--primary-color);
    color: #fff;
}

.pagination span.dots {
    background: transparent;
    color: var(--text-light);
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 50px;
}

/* No Data Message */
.no-data {
    text-align: center;
    padding: 60px;
    color: var(--text-light);
    font-size: 16px;
}

/* Error Message */
.error-message {
    text-align: center;
    padding: 60px;
    color: #e74c3c;
    font-size: 16px;
}

/* Scroll Reveal Animation — 仅做轻微位移，不隐藏文字 */
.reveal {
    opacity: 1;
    transform: none;
}

html.js-enabled .reveal:not(.revealed) {
    opacity: 1;
    transform: none;
}

html.js-enabled .reveal.revealed {
    opacity: 1;
    transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-color), #ff8555);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: var(--shadow-accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(255, 107, 53, 0.4);
}

/* Blog card polish */
.blog-card {
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.blog-card:hover {
    border-color: transparent;
}

/* CTA section polish */
.cta-section {
    background:
        linear-gradient(135deg, rgba(10, 15, 43, 0.95) 0%, rgba(20, 27, 61, 0.9) 100%),
        url('https://rwepoxyresin.com/wp-content/uploads/2024/10/背景.2.webp') center / cover no-repeat;
}

/* Submenu polish */
.main-navigation .sub-menu {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

/* Mobile menu polish */
.mobile-menu {
    border-left: 3px solid var(--accent-color);
}