:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-color: #1f2937;
    --light-text: #f3f4f6;
    --background: #0f172a;
    --glass-background: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--light-text);
    background: var(--background);
    overflow-x: hidden;
}

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

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s ease;
    display: none;
}

@media (min-width: 1024px) {
    .cursor {
        display: block;
    }
}

/* Glassmorphism */
.glass-nav, .glass-card, .glass-section {
    background: var(--glass-background);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
}

/* Navigation */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.company-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.language-switch {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 8px 16px;
    border: 1px solid var(--accent-color);
    background: transparent;
    color: var(--light-text);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.lang-btn.active {
    background: var(--accent-color);
    color: white;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--background), var(--primary-color));
    overflow: hidden;
    padding: 100px 0;
}

.cyber-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(var(--accent-color) 1px, transparent 1px),
        radial-gradient(var(--accent-color) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    opacity: 0.1;
    animation: particleFloat 20s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--light-text), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleFloat 3s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-color: var(--accent-color);
    background: transparent;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--background);
}

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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--light-text);
}

.section-line {
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: var(--glass-background);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(45deg, var(--background), var(--primary-color));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(96, 165, 250, 0.3);
}

.service-icon i {
    font-size: 30px;
    color: white;
}

.service-card h3 {
    color: var(--light-text);
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    color: var(--accent-color);
}

.service-card p {
    color: var(--light-text);
    opacity: 0.8;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
}

.service-card:hover p {
    opacity: 1;
}

@media (max-width: 768px) {
    .service-card {
        padding: 30px 20px;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .service-icon i {
        font-size: 24px;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-card p {
        font-size: 1rem;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--background);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--light-text);
}

.company-values {
    padding: 30px;
    background: var(--glass-background);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    margin-top: 40px;
}

.company-values h3 {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.company-values p {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--background) 0%, rgba(37, 99, 235, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.contact-wrapper {
    position: relative;
    z-index: 1;
}

.contact-grid {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.contact-info {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-header-icon i {
    font-size: 24px;
    color: white;
}

.contact-title {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.contact-subtitle {
    color: var(--light-text);
    opacity: 0.8;
    font-size: 1.1rem;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.contact-icon-wrapper {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon-wrapper i {
    font-size: 20px;
    color: white;
}

.contact-text {
    flex-grow: 1;
}

.contact-text h4 {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-text p {
    color: var(--light-text);
    font-size: 1rem;
}

.contact-decoration {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, transparent 70%);
    opacity: 0.1;
    top: -150px;
    right: -150px;
}

.decoration-line {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, var(--accent-color) 25%, transparent 25%),
                      linear-gradient(-45deg, var(--accent-color) 25%, transparent 25%);
    background-size: 60px 60px;
    opacity: 0.05;
}

@media (max-width: 768px) {
    .contact-info {
        padding: 30px 20px;
    }

    .contact-item {
        padding: 15px;
    }

    .contact-icon-wrapper {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }

    .contact-title {
        font-size: 1.5rem;
    }
}

/* Footer */
footer {
    padding: 20px 0;
    margin-top: 50px;
}

.public-security {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.public-security-icon {
    height: 1em;
    width: auto;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .public-security {
        display: flex;
        justify-content: center;
        margin-top: 10px;
    }
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--light-text);
    opacity: 0.8;
}

.separator {
    color: var(--light-text);
    opacity: 0.5;
}

.copyright, .icp-info {
    display: inline-block;
}

.icp-info a {
    color: var(--light-text);
    text-decoration: none;
}

.icp-info a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 5px;
    }
    
    .separator {
        display: none;
    }
}

/* Animations */
@keyframes particleFloat {
    0% {
        background-position: 0 0, 25px 25px;
    }
    100% {
        background-position: 50px 50px, 75px 75px;
    }
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .company-logo {
        height: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* AOS Animation Styles */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}
