/* company.css */
@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-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;
}

.logo-icon-u {
    width: 130px;
    height: 150px;
    background: url('https://file.star-n.online/img/多边形 3.png') center/contain no-repeat;
}

.logo-icon-s {
    width: 80px;
    height: 80px;
    background: url('https://file.star-n.online/img/MORStJPqQk-Y55m7Cru3FA.png') center/contain no-repeat;
}

.logo-icon-c {
    width: 80px;
    height: 80px;
    background: url('https://file.star-n.online/img/星云.png') center/contain no-repeat;
}


.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-content {
    text-align: center;
    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: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* 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);
}

/* Section Header */
.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;
}

/* Overview Section */
.overview-section {
    padding: 100px 0;
    background: var(--primary);
}

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.overview-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    text-align: center;
}

.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.card-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
    transition: all 0.4s ease;
}

.overview-card:hover .card-icon {
    transform: scale(1.1) rotate(10deg);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text);
}

.card-content {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Organizational Structure Section */
.org-structure-section {
    padding: 100px 0;
    background: var(--secondary);
}

.departments-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.department-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.department-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.department-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--border);
}

.dept-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.dept-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text);
}

.dept-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 500;
}

.sub-departments {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sub-dept-item {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    padding: 25px;
    transition: all 0.4s ease;
}

.sub-dept-item:hover {
    border-color: var(--accent);
    transform: translateX(5px);
}

.sub-dept-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-dept-title::before {
    content: '•';
    font-size: 1.5rem;
}

.sub-dept-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sub-dept-tag {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.sub-dept-list {
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 500;
}

/* Timeline Section */
.timeline-section {
    padding: 100px 0;
    background: var(--primary);
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent);
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--accent);
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.left {
    left: 0;
}

.right {
    left: 50%;
}

.left::after {
    right: -12px;
}

.right::after {
    left: -12px;
}

.timeline-item .timeline-date {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 15px;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.timeline-content {
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border);
    transition: all 0.4s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text);
}

.timeline-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Mission Section */
.mission-section {
    padding: 100px 0;
    background: var(--secondary);
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mission-card {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    text-align: center;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.mission-icon {
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 30px;
    display: inline-block;
    transition: all 0.4s ease;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1) rotate(10deg);
}

.mission-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text);
}

.mission-content {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: var(--primary);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.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;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.contact-item {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid var(--border);
}

.contact-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.contact-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: block;
    transition: all 0.4s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(10deg);
}

.contact-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.contact-info p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    color: white;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: var(--glow);
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-button::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;
}

.contact-button:hover::before {
    left: 100%;
}

.contact-button: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;
    margin-top: 80px;
}

.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) {
    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .departments-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .contact-details {
        grid-template-columns: 1fr;
    }
    .timeline-container::before {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item::after {
        left: 18px;
    }
    .left, .right {
        left: 0;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .section-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    .hero {
        padding: 140px 0 80px;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .section-title {
        font-size: 2.3rem;
    }
    .nav-links {
        display: none;
    }
    .dept-title {
        font-size: 1.8rem;
    }
    .timeline-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 120px 0 60px;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .card-title, .mission-title {
        font-size: 1.3rem;
    }
    .dept-title {
        font-size: 1.5rem;
    }
    .timeline-container::before {
        left: 21px;
    }
    .timeline-item {
        padding-left: 50px;
    }
    .timeline-item::after {
        left: 8px;
    }
}