:root {
--primary: #7c4dff;
--secondary: #ff4081;
--accent: #18ffff;
--dark: #1a237e;
--light: #f5f5f7;
--gray: #5f6368;
--success: #4caf50;
--warning: #ff9800;
--dark-gradient: linear-gradient(135deg, var(--dark) 0%, #311b92 100%);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
color: #333;
line-height: 1.6;
background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
overflow-x: hidden;
/* position: relative; */
}
a {
color: #333;
text-decoration: none;
}
#particles-js {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: -1;
}
.container {
max-width: 1400px;
margin: 0 auto;
padding: 0 20px;
}
/* Animations */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
0% { transform: translateY(0px) rotate(3deg); }
50% { transform: translateY(-20px) rotate(3deg); }
100% { transform: translateY(0px) rotate(3deg); }
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
/* Header Styles */
header {
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
backdrop-filter: blur(10px);
animation: fadeIn 0.8s ease-out;
}
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
}
.logo {
display: flex;
align-items: center;
}
.logo-icon {
color: var(--primary);
font-size: 28px;
margin-right: 10px;
}
.logo-text {
font-family: 'Montserrat', sans-serif;
font-weight: 800;
font-size: 24px;
background: linear-gradient(45deg, var(--primary), var(--secondary));
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
nav ul {
display: flex;
list-style: none;
}
nav ul li {
margin-left: 25px;
}
nav ul li a {
text-decoration: none;
color: var(--dark);
font-weight: bolder;
font-size: 16px;
transition: all 0.3s ease;
position: relative;
padding: 5px 0;
}
nav ul li a.active {
color: var(--primary);
border-bottom: 3px solid var(--primary);
}
nav ul li a:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: var(--secondary);
transition: width 0.3s ease;
}
nav ul li a:hover:after {
width: 100%;
}
nav ul li a:hover {
color: var(--primary);
}
.cta-button {
background: linear-gradient(45deg, var(--primary), var(--secondary));
color: white;
border: none;
padding: 10px 20px;
border-radius: 30px;
font-weight: 500;
font-size: 16px;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
/* box-shadow: 0 4px 15px rgba(124, 77, 255, 0.4); */
margin: 0 5px;
}
.cta-button:hover {
transform: translateY(-3px);
/* box-shadow: 0 6px 20px rgba(124, 77, 255, 0.6);*/
animation: pulse 1s infinite;
}
/* Mobile Menu - Enhanced for clarity */
.menu-toggle {
display: none;
flex-direction: column;
justify-content: space-between;
width: 30px;
height: 21px;
cursor: pointer;
position: relative;
z-index: 1001;
}
.menu-toggle span {
display: block;
height: 3px;
width: 100%;
background: var(--dark);
border-radius: 3px;
transition: all 0.3s ease;
}
.mobile-nav {
position: fixed;
top: 0;
right: 0;
width: 85%;
max-width: 300px;
z-index: 1000;
background: rgba(26, 35, 126, 0.95);
padding: 25px;
overflow-y: auto;
display: none; /* 初始隐藏 */
transition: opacity 0.3s ease;
opacity: 0;
}
.mobile-nav.active {
display: block;
opacity: 1;
}
.mobile-nav::before {
content: "Menu";
display: block;
color: var(--accent);
font-weight: 700;
font-size: 22px;
margin-bottom: 25px;
padding-bottom: 15px;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.mobile-nav ul {
list-style: none;
}
.mobile-nav ul li {
margin-bottom: 8px;
}
.mobile-nav ul li a {
text-decoration: none;
color: white;
font-size: 18px;
display: block;
padding: 16px 20px;
border-radius: 8px;
transition: all 0.3s ease;
background: rgba(255, 255, 255, 0.08);
}
.mobile-nav ul li a:hover {
background: rgba(255, 255, 255, 0.15);
transform: translateX(5px);
}
.close-menu {
position: absolute;
top: 25px;
right: 25px;
font-size: 24px;
cursor: pointer;
background: rgba(255, 255, 255, 0.15);
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: white;
}
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
z-index: 999;
display: none;
transition: opacity 0.3s ease;
opacity: 0;
}
.overlay.active {
display: block;
opacity: 1;
}





/* CTA Section */
.cta-section {
background: linear-gradient(135deg, var(--primary), var(--dark));
color: white;
padding: 100px 0;
text-align: center;
border-radius: 20px;
margin: 60px 0;
/* position: relative; */
overflow: hidden;
}
.cta-section:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-size: 70%;
background-position: center;
opacity: 0.3;
}
.cta-section h2 {
font-family: 'Montserrat', sans-serif;
font-size: 42px;
margin-bottom: 20px;
position: relative;
z-index: 2;
}
.cta-section p {
font-size: 20px;
max-width: 700px;
margin: 0 auto 30px;
opacity: 0.9;
position: relative;
z-index: 2;
}
.cta-form {
max-width: 500px;
margin: 40px auto 0;
display: flex;
position: relative;
z-index: 2;
}
.cta-form input {
flex: 1;
padding: 15px 20px;
border: none;
border-radius: 50px 0 0 50px;
font-size: 16px;
}
.cta-form button {
background: var(--secondary);
color: white;
border: none;
padding: 15px 30px;
border-radius: 0 50px 50px 0;
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
}
.cta-form button:hover {
background: #f50057;
}

/* Footer */
footer {
background: var(--dark);
color: white;
padding: 100px 0 30px;
}
.footer-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 40px;
margin-bottom: 40px;
}
.footer-logo {
font-family: 'Montserrat', sans-serif;
font-size: 24px;
font-weight: 700;
margin-bottom: 20px;
color: var(--accent);
}
.footer-about p {
opacity: 0.8;
margin-bottom: 20px;
}
.social-icons {
display: flex;
gap: 15px;
}
.social-icons a {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
color: white;
transition: all 0.3s ease;
}
.social-icons a:hover {
background: var(--primary);
transform: translateY(-3px);
}
.footer-links h3 {
font-size: 18px;
margin-bottom: 20px;
color: var(--accent);
}
.footer-links ul {
list-style: none;
}
.footer-links ul li {
margin-bottom: 12px;
}
.footer-links ul li a {
color: rgba(255, 255, 255, 0.8);
text-decoration: none;
transition: all 0.3s ease;
}
.footer-links ul li a:hover {
color: var(--accent);
padding-left: 5px;
}
.footer-contact h3 {
font-size: 18px;
margin-bottom: 20px;
color: var(--accent);
}
.contact-info {
margin-bottom: 20px;
}
.contact-info p {
display: flex;
align-items: center;
margin-bottom: 10px;
opacity: 0.8;
}
.contact-info i {
margin-right: 10px;
color: var(--accent);
}
.copyright {
text-align: center;
padding-top: 30px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
font-size: 14px;
opacity: 0.7;
}
        /* Contact Form */
        .contact-form {
            background: white;
            border-radius: 20px;
            padding: 20px;
            box-shadow: 0 15px 50px rgba(0,0,0,0.08);
			width: 730px;
    margin: 0 auto;
    text-align: left;
        }
        
        .contact-form h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 32px;
            margin-bottom: 30px;
            color: var(--dark);
        }
        
        .form-group {
          margin-bottom: 10px; 
        }
        
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--dark);
        }
        
        .form-group input, 
        .form-group textarea, 
        .form-group select {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 12px;
            font-family: 'Poppins', sans-serif;
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        .form-group input:focus, 
        .form-group textarea:focus, 
        .form-group select:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.1);
        }
        
        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }
        
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }
        
        .submit-btn {
            background: linear-gradient(45deg, var(--primary), var(--secondary));
            color: white;
            border: none;
            padding: 16px 40px;
            border-radius: 30px;
            font-weight: 500;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-block;
            box-shadow: 0 4px 15px rgba(124, 77, 255, 0.4);
            width: 100%;
            font-family: 'Poppins', sans-serif;
        }
        
        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(124, 77, 255, 0.6);
            animation: pulse 1s infinite;
        }
/* Responsive Design */

@media (max-width: 767px) {
nav ul {
display: none;
}
.menu-toggle {
display: flex;
}
.hero {
padding: 100px 0 50px;
}
.hero h1 {
font-size: 32px;
}
.hero-buttons {
flex-direction: column;
gap: 10px;
}
.section-header h2 {
font-size: 28px;
}
.cta-form {
flex-direction: column;
}
.cta-form input {
border-radius: 50px;
margin-bottom: 10px;
}
.cta-form button {
border-radius: 50px;
width: 100%;
}
.stat-item {
min-width: 100%;
}
.faq-grid {
grid-template-columns: 1fr;
}
.applications-grid {
grid-template-columns: 1fr;
}
.news-tabs {
flex-direction: column;
}
.news-list {
grid-template-columns: 1fr;
}
.contact-form {
padding: 5px;
width: 95%;
}
.news-content {
padding: 0px; 
}
}