/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: #1a1a2e; line-height: 1.7; background: #fff; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: all 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #0052D9;
    --primary-light: #4364F7;
    --primary-dark: #003494;
    --accent: #FF6B35;
    --accent-light: #FF8C5A;
    --dark: #0a0a1a;
    --dark-2: #141432;
    --gray-100: #f8f9fc;
    --gray-200: #eef0f5;
    --gray-300: #d1d5e0;
    --gray-600: #6b7280;
    --gray-800: #1f2937;
    --gradient-primary: linear-gradient(135deg, #0052D9 0%, #4364F7 50%, #6FB1FC 100%);
    --gradient-dark: linear-gradient(135deg, #0a0a1a 0%, #141432 50%, #1a1a3e 100%);
    --gradient-accent: linear-gradient(135deg, #FF6B35 0%, #FF8C5A 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.16);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    padding: 10px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { font-size: 28px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-size: 20px; font-weight: 900; color: #fff; letter-spacing: 2px; }
.navbar.scrolled .logo-name { color: var(--dark); }
.logo-slogan { font-size: 10px; color: rgba(255,255,255,0.7); letter-spacing: 3px; text-transform: uppercase; }
.navbar.scrolled .logo-slogan { color: var(--gray-600); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: rgba(255,255,255,0.85); font-size: 15px; font-weight: 500; position: relative; padding: 4px 0; }
.navbar.scrolled .nav-links a { color: var(--gray-800); }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover { color: #fff; }
.navbar.scrolled .nav-links a:hover { color: var(--primary); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-phone {
    background: var(--gradient-accent); color: #fff; padding: 8px 20px;
    border-radius: 50px; font-weight: 700; font-size: 14px;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}
.nav-phone:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,0.4); }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: #fff; transition: 0.3s; }
.navbar.scrolled .menu-toggle span { background: var(--dark); }

/* ===== HERO ===== */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    background: var(--dark); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-gradient {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,82,217,0.3) 0%, rgba(10,10,26,0.9) 50%, rgba(255,107,53,0.1) 100%);
}
.hero-particles { position: absolute; inset: 0; }
.hero-content { position: relative; z-index: 2; padding: 120px 0 80px; }
.hero-badge {
    display: inline-block; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px);
    padding: 8px 24px; border-radius: 50px; color: rgba(255,255,255,0.9);
    font-size: 14px; font-weight: 500; margin-bottom: 32px;
    border: 1px solid rgba(255,255,255,0.15);
}
.hero-title { margin-bottom: 24px; }
.hero-title-line { display: block; font-size: 56px; font-weight: 900; color: #fff; line-height: 1.2; letter-spacing: -1px; }
.hero-title-highlight {
    background: linear-gradient(135deg, #FF6B35, #FF8C5A, #FFB088);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc { font-size: 18px; color: rgba(255,255,255,0.7); max-width: 640px; margin-bottom: 40px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px; border-radius: 50px; font-weight: 700;
    font-size: 15px; cursor: pointer; border: none;
    transition: var(--transition); position: relative; overflow: hidden;
}
.btn-primary {
    background: var(--gradient-accent); color: #fff;
    box-shadow: 0 4px 20px rgba(255,107,53,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(255,107,53,0.45); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-3px); }
.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn-icon { font-size: 20px; }

/* ===== STATS ===== */
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-item {
    text-align: center; padding: 24px;
    background: rgba(255,255,255,0.05); backdrop-filter: blur(10px);
    border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.1);
}
.stat-number { font-size: 42px; font-weight: 900; color: #fff; }
.stat-unit { font-size: 20px; font-weight: 700; color: var(--accent); }
.stat-label { display: block; font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 4px; }

/* ===== SCROLL INDICATOR ===== */
.hero-scroll {
    position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.4); font-size: 12px; z-index: 2;
}
.scroll-indicator {
    width: 24px; height: 40px; border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.3); position: relative;
}
.scroll-indicator::after {
    content: ''; position: absolute; top: 6px; left: 50%; width: 4px; height: 8px;
    background: rgba(255,255,255,0.6); border-radius: 2px;
    transform: translateX(-50%); animation: scrollDown 1.5s infinite;
}
@keyframes scrollDown { 0%,100% { opacity: 0; transform: translateX(-50%) translateY(0); } 50% { opacity: 1; transform: translateX(-50%) translateY(10px); } }

/* ===== SECTION COMMON ===== */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; font-size: 13px; font-weight: 700;
    color: var(--primary); letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: 12px;
}
.section-title {
    font-size: 40px; font-weight: 900; color: var(--dark);
    margin-bottom: 16px; letter-spacing: -0.5px;
}
.section-subtitle { font-size: 17px; color: var(--gray-600); max-width: 600px; margin: 0 auto; }

/* ===== ABOUT ===== */
.about { background: var(--gray-100); }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 60px; align-items: start; }
.about-text p { margin-bottom: 16px; color: #444; font-size: 16px; }
.about-lead { font-size: 18px !important; color: var(--dark) !important; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.feature-item {
    display: flex; gap: 16px; align-items: flex-start; padding: 20px;
    background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.feature-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { font-size: 32px; flex-shrink: 0; }
.feature-info h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.feature-info p { font-size: 13px; color: var(--gray-600); }
.about-card {
    background: var(--gradient-primary); color: #fff;
    border-radius: var(--radius-lg); padding: 40px;
    position: relative; overflow: hidden;
}
.card-glow {
    position: absolute; top: -50%; right: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}
.card-icon { font-size: 48px; margin-bottom: 16px; }
.card-content h3 { font-size: 24px; font-weight: 700; margin-bottom: 20px; }
.card-list li { padding: 8px 0; font-size: 15px; opacity: 0.9; }
.about-mission {
    margin-top: 24px; padding: 32px; background: #fff;
    border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent);
}
.about-mission h3 { font-size: 20px; margin-bottom: 12px; color: var(--dark); }
.about-mission p { color: #555; font-size: 15px; }

/* ===== SERVICES ===== */
.services { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
    padding: 40px 32px; border-radius: var(--radius-lg);
    background: var(--gray-100); border: 1px solid var(--gray-200);
    transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--gradient-primary); opacity: 0; transition: opacity 0.3s;
}
.service-card:hover {
    transform: translateY(-8px); box-shadow: var(--shadow-lg);
    background: #fff; border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-icon { font-size: 48px; margin-bottom: 20px; }
.service-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--dark); }
.service-card p { font-size: 14px; color: var(--gray-600); margin-bottom: 16px; line-height: 1.8; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.service-tags span {
    padding: 4px 12px; background: rgba(0,82,217,0.08); color: var(--primary);
    border-radius: 50px; font-size: 12px; font-weight: 500;
}
.service-link {
    font-size: 14px; font-weight: 700; color: var(--primary);
    display: inline-flex; align-items: center; gap: 4px;
}
.service-link:hover { gap: 8px; color: var(--accent); }

/* ===== NEWS ===== */
.news { background: var(--gray-100); }
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.news-card {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-featured { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
.news-image {
    position: relative; min-height: 200px; overflow: hidden;
}
.news-placeholder {
    display: flex; align-items: center; justify-content: center;
    height: 100%; min-height: 200px; font-size: 64px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: rgba(255,255,255,0.3);
}
.news-featured .news-placeholder {
    background: linear-gradient(135deg, #0052D9, #4364F7);
}
.news-date {
    position: absolute; top: 16px; left: 16px;
    background: rgba(0,0,0,0.6); color: #fff;
    padding: 4px 12px; border-radius: 50px; font-size: 12px;
}
.news-body { padding: 28px; }
.news-category {
    display: inline-block; background: rgba(0,82,217,0.1); color: var(--primary);
    padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600;
    margin-bottom: 12px;
}
.news-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--dark); line-height: 1.5; }
.news-body p { font-size: 14px; color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; }
.news-link { font-size: 14px; font-weight: 700; color: var(--primary); }
.news-link:hover { color: var(--accent); }

/* ===== IT NEWS ===== */
.it-news { background: #fff; }
.it-news-grid { max-width: 900px; margin: 0 auto; }
.it-news-tabs { display: flex; gap: 12px; margin-bottom: 32px; justify-content: center; flex-wrap: wrap; }
.tab-btn {
    padding: 10px 24px; border-radius: 50px; border: 2px solid var(--gray-200);
    background: #fff; cursor: pointer; font-size: 14px; font-weight: 600;
    color: var(--gray-600); transition: var(--transition);
}
.tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.tab-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.it-news-content { display: flex; flex-direction: column; gap: 16px; }
.it-news-card {
    display: flex; gap: 24px; align-items: flex-start; padding: 24px;
    background: var(--gray-100); border-radius: var(--radius);
    transition: var(--transition); cursor: pointer;
}
.it-news-card:hover { background: #fff; box-shadow: var(--shadow-md); transform: translateX(8px); }
.it-news-card.hidden { display: none; }
.it-news-icon { font-size: 40px; flex-shrink: 0; }
.it-news-info { flex: 1; }
.it-news-tag {
    display: inline-block; font-size: 12px; font-weight: 600;
    color: var(--accent); background: rgba(255,107,53,0.1);
    padding: 2px 10px; border-radius: 50px; margin-bottom: 8px;
}
.it-news-info h4 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.it-news-info p { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 8px; }
.it-news-time { font-size: 12px; color: var(--gray-600); }

/* ===== RECRUITMENT ===== */
.recruitment { background: var(--gray-100); }
.recruitment-content { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.recruitment-intro h3, .job-listings h3 { font-size: 24px; margin-bottom: 24px; color: var(--dark); }
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.benefit-item {
    padding: 24px; background: #fff; border-radius: var(--radius);
    text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition);
}
.benefit-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-icon { font-size: 36px; display: block; margin-bottom: 12px; }
.benefit-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; color: var(--dark); }
.benefit-item p { font-size: 13px; color: var(--gray-600); }
.job-card {
    padding: 28px; background: #fff; border-radius: var(--radius-lg);
    margin-bottom: 20px; box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--primary); transition: var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-md); }
.job-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.job-header h4 { font-size: 18px; font-weight: 700; color: var(--dark); }
.job-salary { font-size: 18px; font-weight: 900; color: var(--accent); }
.job-tags { display: flex; gap: 8px; margin-bottom: 16px; }
.job-tags span {
    padding: 4px 12px; background: var(--gray-100); border-radius: 50px;
    font-size: 12px; color: var(--gray-600);
}
.job-desc { margin-bottom: 20px; }
.job-desc p { font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.job-desc ul { padding-left: 20px; margin-bottom: 12px; }
.job-desc li { font-size: 14px; color: #555; margin-bottom: 4px; list-style: disc; }

/* ===== CONTACT ===== */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
    display: flex; gap: 20px; align-items: flex-start; padding: 24px;
    background: var(--gray-100); border-radius: var(--radius);
    transition: var(--transition);
}
.contact-card:hover { background: #fff; box-shadow: var(--shadow-md); }
.contact-highlight {
    background: var(--gradient-primary) !important; color: #fff;
}
.contact-highlight h3, .contact-highlight p { color: rgba(255,255,255,0.9); }
.contact-icon { font-size: 36px; flex-shrink: 0; }
.contact-card h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.contact-card p { font-size: 14px; color: var(--gray-600); }
.contact-card a { color: var(--primary); font-weight: 600; }
.contact-highlight a { color: #fff; }
.contact-phone { font-size: 28px !important; font-weight: 900 !important; letter-spacing: 2px; display: block; margin: 8px 0; }
.contact-form-wrapper {
    padding: 40px; background: var(--gray-100); border-radius: var(--radius-lg);
}
.contact-form-wrapper h3 { font-size: 24px; margin-bottom: 8px; color: var(--dark); }
.contact-form-wrapper > p { color: var(--gray-600); margin-bottom: 24px; font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px 16px; border: 2px solid var(--gray-200);
    border-radius: var(--radius); font-size: 14px; font-family: inherit;
    transition: border-color 0.3s; background: #fff;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary);
}

/* ===== PARTNERS ===== */
.partners { background: var(--gray-100); padding: 48px 0; }
.partners h3 { text-align: center; font-size: 18px; color: var(--gray-600); margin-bottom: 24px; }
.partners-scroll {
    display: flex; justify-content: center; gap: 32px; flex-wrap: wrap;
}
.partner-item {
    padding: 12px 28px; background: #fff; border-radius: 50px;
    font-size: 14px; font-weight: 700; color: var(--gray-600);
    box-shadow: var(--shadow-sm); transition: var(--transition);
}
.partner-item:hover { color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; margin-bottom: 4px; }
.footer-slogan { color: var(--accent); font-weight: 600; margin-top: 8px !important; }
.footer-links h4, .footer-contact h4 { color: #fff; font-size: 16px; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact p { margin-bottom: 10px; font-size: 14px; }
.footer-contact a { color: rgba(255,255,255,0.8); }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0; text-align: center; font-size: 13px;
}
.footer-bottom a { color: var(--accent); }

/* ===== FLOATING ===== */
.back-to-top {
    position: fixed; bottom: 100px; right: 32px; width: 48px; height: 48px;
    border-radius: 50%; background: var(--primary); color: #fff;
    font-size: 20px; border: none; cursor: pointer; z-index: 999;
    opacity: 0; transform: translateY(20px); transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,82,217,0.3);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); }
.floating-contact {
    position: fixed; right: 32px; bottom: 160px; z-index: 998;
    display: flex; flex-direction: column; gap: 12px;
}
.float-btn {
    width: 52px; height: 52px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 22px;
    box-shadow: var(--shadow-md); transition: var(--transition);
}
.float-phone { background: var(--gradient-accent); }
.float-email { background: var(--gradient-primary); }
.float-btn:hover { transform: scale(1.15); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-title-line { font-size: 42px; }
    .about-grid, .recruitment-content, .contact-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .news-featured { grid-column: span 1; grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .menu-toggle { display: flex; }
    .nav-links.open {
        display: flex; flex-direction: column; position: absolute;
        top: 100%; left: 0; width: 100%; background: #fff;
        padding: 24px; gap: 16px; box-shadow: var(--shadow-lg);
    }
    .nav-links.open a { color: var(--dark); font-size: 16px; }
    .hero-title-line { font-size: 32px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .stat-number { font-size: 32px; }
    section { padding: 64px 0; }
    .section-title { font-size: 28px; }
    .services-grid { grid-template-columns: 1fr; }
    .about-features { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; justify-content: center; }
}
