@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #f8fafc;
    --secondary: #f1f5f9;
    --accent: #3b82f6;
    --accent-alt: #6366f1;
    --text: #1e293b;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --glow: 0 0 20px rgba(59, 130, 246, 0.1);
    --success: #10b981;
    --warning: #f59e0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--primary);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.03), transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(99, 102, 241, 0.03), transparent 30%);
    z-index: -2;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(248, 250, 252, 0.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}

.logo-icon-n {
    width: 50px;
    height: 50px;
    background: url('https://file.star-n.online/img/图层 809.png') center/contain no-repeat;
}

.logo-icon-o {
    width: 50px;
    height: 50px;
    background: url('https://file.star-n.online/img/00034.png') center/contain no-repeat;
}


.logo-icon-e {
    width: 50px;
    height: 50px;
    background: url('https://file.star-n.online/svg/ENC.svg') center/contain no-repeat;
}


.logo-accent {
    color: var(--accent);
    position: relative;
}

.logo-accent::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.logo:hover .logo-accent::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.nav-link:hover::before {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 180px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text);
    position: relative;
}

.hero-highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(59, 130, 246, 0.3);
    border-radius: 2px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 550px;
    line-height: 1.8;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    color: white;
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: var(--glow);
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.hero-cta:hover::before {
    left: 100%;
}

.hero-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.hero-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
    background: var(--secondary);
    padding: 20px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: transform 0.8s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Section Divider */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
    margin: 80px 0;
    position: relative;
}

.divider-icon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

/* Products Section */
.products-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--accent);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text);
}

.section-description {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

.products-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.product-row {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.product-row:last-child {
    border-bottom: none;
}

.product-row:nth-child(even) {
    flex-direction: row-reverse;
}

.product-content {
    flex: 1;
}

.product-icon {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    transition: all 0.4s ease;
}

.product-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
    position: relative;
    display: inline-block;
}

.product-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.4s ease;
}

.product-content:hover .product-title::after {
    width: 100%;
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.product-features {
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    padding-bottom: 8px;
}

.product-content:hover .feature-item {
    border-left-color: var(--accent);
}

.feature-icon {
    color: var(--accent);
    font-weight: 700;
    min-width: 24px;
    font-size: 1.2rem;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.product-link:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent);
    gap: 15px;
    transform: translateX(5px);
}

.product-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
    background: white;
    padding: 20px;
}

.product-image:hover {
    transform: translateY(-10px);
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: transform 0.8s ease;
}

.product-image:hover img {
    transform: scale(1.05);
}

/* Technology Section */
.tech-section {
    padding: 100px 0;
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

.tech-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tech-row {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 30px 0;
}

.tech-row:nth-child(odd) {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.tech-content {
    flex: 1;
}

.tech-icon {
    width: 70px;
    height: 70px;
    background: rgba(99, 102, 246, 0.1);
    border: 2px solid rgba(99, 102, 246, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-alt);
    transition: all 0.4s ease;
}

.tech-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
    position: relative;
    display: inline-block;
}

.tech-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent-alt);
    transition: width 0.4s ease;
}

.tech-content:hover .tech-title::after {
    width: 100%;
}

.tech-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* Team Section */
.team-section {
    padding: 120px 0;
    position: relative;
}

.team-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.team-content {
    position: relative;
    z-index: 2;
}

.team-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text);
}

.team-description {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 600px;
}

.mission-container {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.mission-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
}

.mission-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.mission-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

.mission-title {
    color: var(--accent);
    font-weight: 600;
    font-size: 1.3rem;
}

.mission-content {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.team-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
    background: white;
    padding: 20px;
}

.team-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    transition: transform 0.8s ease;
}

.team-image:hover img {
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    padding: 120px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    position: relative;
    z-index: 2;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text);
}

.contact-description {
    color: var(--text-secondary);
    margin-bottom: 50px;
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 600px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.contact-item:hover .contact-icon-box {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: var(--glow);
}

.contact-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.contact-text p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.form-label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--text);
    font-size: 1.05rem;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    font-size: 1.05rem;
    transition: all 0.4s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: var(--glow);
    background: white;
}

textarea.form-control {
    min-height: 180px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    color: white;
    border: none;
    padding: 18px 0;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: var(--glow);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

/* Footer */
footer {
    background: var(--secondary);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.footer-column h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text);
    position: relative;
    padding-bottom: 15px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
}

.footer-links {
    list-style: none;
}

.footer-link {
    margin-bottom: 20px;
}

.footer-link a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.05rem;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.footer-link a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-link-icon {
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.4s ease;
}

.footer-link a:hover .footer-link-icon {
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1rem;
}

.copyright {
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.4s ease;
    font-weight: 500;
}

.footer-nav a:hover {
    color: var(--accent);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid, .team-container, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title, .team-title, .contact-title {
        font-size: 2.8rem;
    }
    
    .product-row, .tech-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .product-row:nth-child(even) {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title, .team-title, .contact-title {
        font-size: 2.3rem;
    }
    
    .nav-links {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .section-title, .team-title, .contact-title {
        font-size: 2rem;
    }
    
    .product-icon, .tech-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}