/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: rgb(17 24 39);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: #fff;
    text-decoration: none;
}

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

/* Background Effects */
.bg-gradient {
    position: fixed;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-30px, -30px) rotate(1deg); }
    66% { transform: translate(30px, -20px) rotate(-1deg); }
}

/* Header Styles */
header {
    padding: 20px 0;
    background: rgba(17, 24, 39, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.company-logo {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

/* Navigation */
.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #3b82f6;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 120px 0 80px;
    background: transparent;
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 0%, #3b82f6 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

.company-info {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 48px;
    font-weight: 400;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #ffffff;
    border-radius: 100px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.6);
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 80px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.product-card, .job-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.5) 0%, rgba(30, 41, 59, 0.3) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    padding: 48px 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.product-card::before, .job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #6366f1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.product-card:hover::before, .job-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover, .job-card:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.5);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(99, 102, 241, 0.08) 100%);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

/* Product Specific */
.products {
    padding: 120px 0;
    background: transparent;
    position: relative;
}

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

.product-number {
    display: inline-block;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(99, 102, 241, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    color: #3b82f6;
    margin-bottom: 24px;
}

.product-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.product-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 32px;
    font-size: 15px;
}

.product-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.product-features li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.product-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    color: #3b82f6;
    border-radius: 100px;
    border: 2px solid rgba(59, 130, 246, 0.4);
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 15px;
}

.product-link:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3b82f6;
    transform: translateX(4px);
}

/* Recruitment Section */
.recruitment {
    padding: 120px 0 80px;
    background: transparent;
    position: relative;
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.job-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #ffffff;
}

.job-requirements {
    list-style: none;
    margin-top: 24px;
    flex-grow: 1;
}

.job-requirements li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.job-requirements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3b82f6;
}

.job-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    align-items: center;
}

.apply-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #ffffff;
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    height: 44px;
}

.apply-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5);
}

.detail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: transparent;
    color: #3b82f6;
    border: 2px solid rgba(59, 130, 246, 0.4);
    border-radius: 100px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 44px;
}

.detail-button:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #273f6d;
    transform: translateY(-2px);
}

/* Detail Page Styles */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    margin-bottom: 40px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.back-button:hover {
    color: #6366f1;
    transform: translateX(-5px);
}

.job-header {
    text-align: center;
    margin-bottom: 60px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.job-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

.section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.3);
    text-align: left;
}

.section-content {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.8;
}

.section-content ul {
    list-style: none;
    padding: 0;
}

.section-content ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
}

.section-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
}

.highlight-box {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
}

.highlight-box h3 {
    color: #3b82f6;
    margin-bottom: 15px;
}

/* Salary Info */
.salary-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.salary-item {
    background: rgba(59, 130, 246, 0.08);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.salary-amount {
    font-size: 1.3rem;
    font-weight: 700;
    color: #3b82f6;
    margin-bottom: 8px;
}

.salary-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Apply Section */
.apply-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.contact-info {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 20px 0;
}

.skill-item {
    background: rgba(59, 130, 246, 0.08);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    font-weight: 600;
    color: #3b82f6;
    font-size: 14px;
}

/* Subsection */
.subsection {
    margin: 25px 0;
}

.subsection-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2f5aab;
    margin-bottom: 15px;
}

/* Workplace Info */
.workplace-info {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-top: 24px;
}

.workplace-info p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.workplace-info .address {
    color: #3b82f6;
    font-weight: 600;
    margin-top: 8px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #1e293b 0%, rgb(17 24 39) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 24px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 32px 40px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.modal-subtitle {
    color: #3b82f6;
    font-size: 14px;
    margin-top: 8px;
    font-weight: 600;
}

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
    font-size: 24px;
}

.close-modal:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #3b82f6;
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

.job-section {
    margin-bottom: 32px;
}

.job-section h3 {
    color: #3b82f6;
    font-size: 1.2rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.job-section p,
.job-section li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 15px;
}

.job-section ul {
    list-style: none;
    padding: 0;
}

.job-section ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 12px;
}

.job-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #3b82f6;
}

/* Footer */
footer {
    padding: 40px 0 40px;
    background: transparent;
    position: relative;
}

.footer-content {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-content a {
    color: #3b82f6;
    transition: all 0.3s ease;
}

.footer-content a:hover {
    color: #6366f1;
}

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

.contact-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 30px;
}

.offices-simple {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.office-simple {
    text-align: left;
}

.office-simple h3 {
    color: #3b82f6;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.office-simple p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

.hotline {
    margin-top: 30px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.hotline strong {
    color: #3b82f6;
}

.copyright {
    padding-top: 30px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        right: 0;
        background: rgba(17, 24, 39, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        padding: 20px;
        flex-direction: column;
        gap: 20px;
        border-top: 1px solid rgba(59, 130, 246, 0.2);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 16px;
        padding: 10px;
        text-align: center;
    }

    .products-grid,
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .jobs-grid {
        gap: 30px;
    }

    .offices-simple {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .office-simple {
        text-align: center;
    }

    .job-title {
        font-size: 2rem;
    }

    .salary-info {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}