Copy the CSS below to: Elementor > Site Settings > Custom CSS
/* ============================================
KESIN NEW MATERIALS - BRAND DESIGN SYSTEM
Industrial Coating Enterprise Website
============================================ */
/* === CSS Custom Properties === */
:root {
/* Primary Brand Colors */
--kesin-blue: #1A5FB4;
--kesin-blue-dark: #0D3B6F;
--kesin-blue-light: #3584E4;
--kesin-blue-pale: #E5F0FF;
--kesin-accent: #FF6B35;
/* Neutral Colors */
--text-primary: #1a1a2e;
--text-secondary: #555770;
--text-light: #8e8ea0;
--text-white: #ffffff;
--bg-page: #FAFBFC;
--bg-card: #FFFFFF;
--bg-dark: #0D1B2A;
--border-color: #E8ECF0;
--border-light: #F0F2F5;
/* Effects */
--shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
--shadow-md: 0 4px 16px rgba(0,0,0,0.08);
--shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
--shadow-xl: 0 20px 60px rgba(0,0,0,0.18);
--radius-sm: 6px;
--radius-md: 10px;
--radius-lg: 16px;
--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
/* === Global Typography === */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
color: var(--text-primary);
background: var(--bg-page);
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
line-height: 1.6;
}
h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
h2 { font-size: clamp(24px, 4vw, 40px); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
h3 { font-size: clamp(20px, 3vw, 28px); font-weight: 600; line-height: 1.3; }
h4 { font-size: clamp(16px, 2vw, 22px); font-weight: 600; line-height: 1.4; }
a { color: var(--kesin-blue); transition: var(--transition); text-decoration: none; }
a:hover { color: var(--kesin-blue-dark); }
/* === Navigation === */
.site-header {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 1000;
background: rgba(255,255,255,0.95);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid transparent;
transition: var(--transition);
}
.site-header.scrolled {
background: rgba(255,255,255,0.98);
border-bottom-color: var(--border-color);
box-shadow: var(--shadow-sm);
}
/* === Buttons === */
.kesin-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 14px 36px;
font-weight: 600;
font-size: 15px;
border-radius: var(--radius-sm);
border: none;
cursor: pointer;
transition: var(--transition);
text-decoration: none;
letter-spacing: 0.01em;
}
.kesin-btn-primary {
background: var(--kesin-blue);
color: #fff;
}
.kesin-btn-primary:hover {
background: var(--kesin-blue-dark);
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
color: #fff;
}
.kesin-btn-accent {
background: var(--kesin-accent);
color: #fff;
}
.kesin-btn-accent:hover {
background: #e55a2b;
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
color: #fff;
}
.kesin-btn-outline {
background: transparent;
color: var(--kesin-blue);
border: 2px solid var(--kesin-blue);
}
.kesin-btn-outline:hover {
background: var(--kesin-blue);
color: #fff;
transform: translateY(-2px);
}
.kesin-btn-white {
background: #fff;
color: var(--kesin-blue);
}
.kesin-btn-white:hover {
background: var(--kesin-blue-pale);
transform: translateY(-2px);
box-shadow: var(--shadow-lg);
}
/* === Hero Banner === */
.hero-section {
position: relative;
min-height: 100vh;
display: flex;
align-items: center;
background: linear-gradient(135deg, #0D1B2A 0%, #1A3A5C 40%, #1A5FB4 100%);
overflow: hidden;
}
.hero-section::before {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(ellipse at 30% 50%, rgba(53,132,228,0.3) 0%, transparent 50%),
radial-gradient(ellipse at 70% 80%, rgba(26,95,180,0.2) 0%, transparent 50%);
pointer-events: none;
}
.hero-content {
position: relative;
z-index: 2;
max-width: 650px;
}
.hero-content h1 {
color: #fff;
font-size: clamp(32px, 6vw, 60px);
margin-bottom: 20px;
}
.hero-content p {
color: rgba(255,255,255,0.85);
font-size: clamp(16px, 2vw, 20px);
line-height: 1.8;
margin-bottom: 36px;
}
.hero-cta-group {
display: flex;
gap: 16px;
flex-wrap: wrap;
}
/* === Section Styles === */
.kesin-section {
padding: 100px 0;
}
.kesin-section-dark {
background: var(--bg-dark);
color: #fff;
}
.kesin-section-gray {
background: #F5F7FA;
}
.kesin-container {
max-width: 1280px;
margin: 0 auto;
padding: 0 24px;
}
.section-header {
text-align: center;
margin-bottom: 60px;
}
.section-header h2 {
margin-bottom: 16px;
color: var(--text-primary);
}
.section-header p {
color: var(--text-secondary);
font-size: 17px;
max-width: 650px;
margin: 0 auto;
}
/* === Advantage Cards (Homepage) === */
.advantage-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 24px;
}
.advantage-card {
background: var(--bg-card);
padding: 36px 24px;
border-radius: var(--radius-md);
text-align: center;
box-shadow: var(--shadow-sm);
border: 1px solid var(--border-light);
transition: var(--transition);
}
.advantage-card:hover {
transform: translateY(-6px);
box-shadow: var(--shadow-lg);
border-color: var(--kesin-blue-pale);
}
.advantage-card .icon {
font-size: 40px;
margin-bottom: 16px;
}
.advantage-card .number {
font-size: 36px;
font-weight: 800;
color: var(--kesin-blue);
margin-bottom: 4px;
}
.advantage-card .label {
color: var(--text-secondary);
font-size: 14px;
}
/* === Product Cards === */
.product-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 28px;
}
.product-card {
background: var(--bg-card);
border-radius: var(--radius-lg);
overflow: hidden;
box-shadow: var(--shadow-sm);
border: 1px solid var(--border-light);
transition: var(--transition);
position: relative;
}
.product-card:hover {
transform: translateY(-8px);
box-shadow: var(--shadow-xl);
}
.product-card-img {
width: 100%;
height: 240px;
background: linear-gradient(135deg, #E5F0FF, #F0F5FF);
display: flex;
align-items: center;
justify-content: center;
font-size: 64px;
}
.product-card-body {
padding: 24px;
}
.product-card-body h3 {
margin-bottom: 8px;
}
.product-card-body p {
color: var(--text-secondary);
font-size: 14px;
margin-bottom: 16px;
}
.product-card-body .kesin-btn {
width: 100%;
justify-content: center;
}
/* === Solution Cards === */
.solution-card {
background: var(--bg-card);
border-radius: var(--radius-md);
padding: 32px;
border-left: 4px solid var(--kesin-blue);
box-shadow: var(--shadow-sm);
transition: var(--transition);
}
.solution-card:hover {
box-shadow: var(--shadow-lg);
border-left-color: var(--kesin-accent);
}
/* === News Cards === */
.news-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 28px;
}
.news-card {
background: var(--bg-card);
border-radius: var(--radius-md);
overflow: hidden;
box-shadow: var(--shadow-sm);
transition: var(--transition);
}
.news-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-lg);
}
.news-card-body {
padding: 24px;
}
.news-card .category-tag {
display: inline-block;
background: var(--kesin-blue-pale);
color: var(--kesin-blue);
padding: 4px 12px;
border-radius: 100px;
font-size: 12px;
font-weight: 600;
margin-bottom: 12px;
}
.news-card .date {
color: var(--text-light);
font-size: 13px;
}
/* === Page Hero === */
.page-hero {
background: linear-gradient(135deg, var(--kesin-blue) 0%, var(--kesin-blue-dark) 100%);
color: #fff;
padding: 120px 0 80px;
text-align: center;
position: relative;
overflow: hidden;
}
.page-hero::after {
content: '';
position: absolute;
inset: 0;
background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.08) 0%, transparent 60%);
pointer-events: none;
}
.page-hero h1 {
color: #fff;
margin-bottom: 16px;
}
/* === Contact Cards === */
.contact-card {
background: var(--bg-card);
padding: 32px;
border-radius: var(--radius-md);
text-align: center;
border: 1px solid var(--border-light);
transition: var(--transition);
}
.contact-card:hover {
box-shadow: var(--shadow-md);
}
.contact-card .icon {
font-size: 36px;
margin-bottom: 12px;
}
.contact-card h3 {
margin-bottom: 8px;
}
/* === Footer === */
.site-footer {
background: var(--bg-dark);
color: rgba(255,255,255,0.75);
padding: 70px 0 0;
font-size: 14px;
}
.site-footer h4 {
color: #fff;
margin-bottom: 20px;
font-size: 16px;
}
.site-footer a {
color: rgba(255,255,255,0.6);
transition: var(--transition);
}
.site-footer a:hover {
color: #fff;
}
.site-footer-grid {
display: grid;
grid-template-columns: 2fr 1fr 1fr 1fr;
gap: 40px;
padding-bottom: 50px;
border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom {
padding: 24px 0;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 16px;
}
/* === Breadcrumb === */
.kesin-breadcrumb {
padding: 12px 0;
font-size: 14px;
color: var(--text-light);
}
.kesin-breadcrumb a {
color: var(--text-secondary);
}
.kesin-breadcrumb span {
margin: 0 8px;
}
/* === Table Style (Product Specs) === */
.kesin-table {
width: 100%;
border-collapse: collapse;
margin: 24px 0;
background: #fff;
border-radius: var(--radius-md);
overflow: hidden;
box-shadow: var(--shadow-sm);
}
.kesin-table th, .kesin-table td {
padding: 12px 16px;
text-align: left;
border-bottom: 1px solid var(--border-light);
}
.kesin-table th {
background: #F5F7FA;
font-weight: 600;
color: var(--text-primary);
font-size: 14px;
}
.kesin-table tr:last-child td {
border-bottom: none;
}
/* === FAQ Accordion === */
.kesin-faq {
margin: 30px 0;
}
.kesin-faq-item {
background: var(--bg-card);
border: 1px solid var(--border-light);
border-radius: var(--radius-sm);
margin-bottom: 12px;
overflow: hidden;
}
.kesin-faq-question {
padding: 20px 24px;
font-weight: 600;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
color: var(--text-primary);
}
.kesin-faq-question::after {
content: '+';
font-size: 20px;
color: var(--kesin-blue);
transition: var(--transition);
}
.kesin-faq-item.active .kesin-faq-question::after {
content: '−';
}
.kesin-faq-answer {
padding: 0 24px 20px;
color: var(--text-secondary);
line-height: 1.8;
}
/* === CTA Banner === */
.cta-banner {
background: linear-gradient(135deg, var(--kesin-blue) 0%, var(--kesin-blue-dark) 100%);
color: #fff;
text-align: center;
padding: 80px 0;
position: relative;
overflow: hidden;
}
.cta-banner::before {
content: '';
position: absolute;
width: 600px;
height: 600px;
border-radius: 50%;
background: rgba(255,255,255,0.03);
top: -200px;
right: -100px;
}
.cta-banner h2 {
color: #fff;
margin-bottom: 16px;
}
.cta-banner p {
color: rgba(255,255,255,0.85);
font-size: 18px;
margin-bottom: 30px;
}
/* === Timeline === */
.kesin-timeline {
position: relative;
padding-left: 30px;
}
.kesin-timeline::before {
content: '';
position: absolute;
left: 8px;
top: 0;
bottom: 0;
width: 2px;
background: var(--kesin-blue-pale);
}
.kesin-timeline-item {
position: relative;
margin-bottom: 32px;
padding: 20px 24px;
background: #F5F7FA;
border-radius: var(--radius-md);
border-left: 4px solid var(--kesin-blue);
}
.kesin-timeline-item::before {
content: '';
position: absolute;
left: -37px;
top: 24px;
width: 12px;
height: 12px;
background: var(--kesin-blue);
border-radius: 50%;
border: 3px solid #fff;
box-shadow: 0 0 0 2px var(--kesin-blue);
}
/* === Stats Counter === */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 24px;
}
.stat-card {
text-align: center;
padding: 36px 24px;
background: var(--bg-card);
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
}
.stat-number {
font-size: 48px;
font-weight: 800;
color: var(--kesin-blue);
margin-bottom: 8px;
}
.stat-label {
color: var(--text-secondary);
font-size: 15px;
}
/* === WA Button === */
.wa-float-btn {
position: fixed;
bottom: 32px;
right: 32px;
width: 60px;
height: 60px;
background: #25D366;
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-size: 28px;
box-shadow: 0 4px 20px rgba(37,211,102,0.4);
z-index: 999;
transition: var(--transition);
}
.wa-float-btn:hover {
transform: scale(1.1);
box-shadow: 0 6px 28px rgba(37,211,102,0.5);
color: #fff;
}
/* === Animations === */
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(30px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.animate-fadeInUp {
animation: fadeInUp 0.6s ease-out forwards;
}
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
/* === Image Hover Effects === */
.img-hover-zoom {
overflow: hidden;
}
.img-hover-zoom img {
transition: transform 0.6s ease;
}
.img-hover-zoom:hover img {
transform: scale(1.05);
}
/* === Partner Logo Wall === */
.logo-wall {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 40px;
}
.logo-wall img {
filter: grayscale(100%);
opacity: 0.5;
transition: var(--transition);
max-height: 48px;
}
.logo-wall img:hover {
filter: grayscale(0%);
opacity: 1;
transform: translateY(-3px);
}
/* === WooCommerce Inquiry Mode === */
.woocommerce .price { display: none; }
.woocommerce div.product .summary .price { display: none; }
.woocommerce .product .add_to_cart_button::after { content: ' / 询价'; }
.woocommerce .single_add_to_cart_button { background: var(--kesin-blue) !important; border-radius: var(--radius-sm) !important; }
.woocommerce .single_add_to_cart_button:hover { background: var(--kesin-blue-dark) !important; }
/* === Responsive Design === */
@media (max-width: 1024px) {
.kesin-section { padding: 70px 0; }
.news-grid { grid-template-columns: repeat(2, 1fr); }
.site-footer-grid { grid-template-columns: 1fr 1fr; }
.page-hero { padding: 100px 0 60px; }
}
@media (max-width: 768px) {
.kesin-section { padding: 50px 0; }
.news-grid { grid-template-columns: 1fr; }
.product-grid { grid-template-columns: 1fr; }
.advantage-grid { grid-template-columns: repeat(2, 1fr); }
.site-footer-grid { grid-template-columns: 1fr; gap: 32px; }
.hero-cta-group { flex-direction: column; }
.hero-cta-group .kesin-btn { width: 100%; justify-content: center; }
.page-hero { padding: 80px 0 50px; }
.section-header { margin-bottom: 36px; }
.wa-float-btn { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 24px; }
.footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
.advantage-grid { grid-template-columns: 1fr; }
.stats-grid { grid-template-columns: 1fr 1fr; }
}
