/* ========================================
   ELITEWORK - MODERN DESIGN
   ======================================== */

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

:root {
    /* Colors */
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --secondary: #6366f1;
    --accent: #8b5cf6;
    --success: #10b981;
    --warning: #f59e0b;
    
    /* Neutrals */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    --gradient-secondary: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    --gradient-hero: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: white;
    overflow-x: hidden;
    min-width: 320px;
}

/* 移动端优化 */
a, button, input, select, textarea {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    padding: 0 24px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon svg {
    display: block;
}

.brand-name {
    font-size: 24px;
    font-weight: 500;
    color: var(--gray-800);
}

.brand-name strong {
    font-weight: 800;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

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

.btn-nav {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-nav-mobile {
    display: none;
    background: var(--gradient-primary);
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    white-space: nowrap;
}

.btn-nav-mobile:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-nav-mobile:active {
    transform: translateY(0);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    padding: 140px 0 100px;
    background: var(--gradient-hero);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    top: -200px;
    right: -100px;
    animation: float 20s infinite ease-in-out;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--gradient-secondary);
    bottom: -100px;
    left: -50px;
    animation: float 15s infinite ease-in-out reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    top: 50%;
    left: 20%;
    animation: float 25s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(5deg); }
    50% { transform: translate(0, -40px) rotate(-5deg); }
    75% { transform: translate(-20px, -20px) rotate(5deg); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 16px;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-hero.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-hero.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--gray-900);
    display: block;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
}

/* Hero Image with Floating Cards */
.hero-image {
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: floatCard 3s infinite ease-in-out;
}

.card-1 {
    top: 20%;
    left: 0;
    animation-delay: 0s;
}

.card-2 {
    top: 50%;
    right: 0;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20%;
    left: 30%;
    animation-delay: 2s;
}

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

.card-icon {
    font-size: 32px;
}

.card-title {
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 500;
}

.card-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

/* ========================================
   SECTION HEADER
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--gray-900);
    margin-bottom: 16px;
}

/* ========================================
   JOBS SECTION
   ======================================== */
.jobs-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.jobs-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.job-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.job-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.02) 0%, rgba(99, 102, 241, 0.02) 100%);
}

.job-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.job-header {
    text-align: center;
    margin-bottom: 24px;
}

.job-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.job-subtitle {
    font-size: 14px;
    color: var(--gray-500);
}

.job-price {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--gray-100);
}

.currency {
    font-size: 24px;
    color: var(--gray-400);
    font-weight: 600;
}

.amount {
    font-size: 56px;
    font-weight: 900;
    color: var(--gray-900);
}

.period {
    font-size: 16px;
    color: var(--gray-500);
    font-weight: 500;
}

.job-features {
    list-style: none;
    margin-bottom: 32px;
}

.job-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--gray-700);
}

.job-features svg {
    flex-shrink: 0;
    color: var(--success);
}

.btn-job {
    display: block;
    text-align: center;
    width: 100%;
    padding: 14px;
    background: var(--gray-900);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

.btn-job:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
}

.btn-job.primary {
    background: var(--gradient-primary);
}

.btn-job.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   STATS BANNER
   ======================================== */
.stats-banner {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-box {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 8px;
}

.stat-text {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 500;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
    padding: 100px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.testimonial-card {
    background: var(--gray-50);
    padding: 32px;
    border-radius: 20px;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-rating {
    font-size: 20px;
    margin-bottom: 16px;
}

.testimonial-text {
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}

.author-name {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.author-role {
    font-size: 14px;
    color: var(--gray-500);
}

/* ========================================
   FAQ
   ======================================== */
.faq {
    padding: 100px 0;
    background: var(--gray-50);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--gray-100);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 24px;
}

.faq-answer p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========================================
   APPLICATION FORM
   ======================================== */
.application {
    padding: 100px 0;
    background: var(--gradient-hero);
}

/* 新的 CTA 布局 */
.application-cta {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content {
    background: white;
    padding: 60px 48px;
    border-radius: 32px;
    box-shadow: var(--shadow-xl);
    border: 2px solid var(--gray-100);
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content .info-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.cta-content .info-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--gray-700);
    text-align: center;
}

.cta-content .info-feature svg {
    color: var(--success);
    flex-shrink: 0;
}

.btn-apply-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 48px;
    font-size: 20px;
    font-weight: 700;
    color: white;
    background: var(--gradient-primary);
    border: none;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.3);
    transition: var(--transition);
    margin-bottom: 24px;
}

.btn-apply-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.4);
}

.btn-apply-main:active {
    transform: translateY(0);
}

.cta-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gray-50);
    border-radius: 12px;
    color: var(--gray-600);
    font-size: 14px;
}

.cta-note svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* 旧的 wrapper 布局（保留兼容性） */
.application-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.application-info h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.application-info > p {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.6;
}

.info-features {
    display: grid;
    gap: 16px;
}

.info-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gray-700);
}

.info-feature svg {
    flex-shrink: 0;
    color: var(--success);
}

.application-form {
    background: var(--gray-50);
    padding: 40px;
    border-radius: 24px;
    border: 2px solid var(--gray-100);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-row {
    display: grid;
    gap: 16px;
}

.form-row.two-cols {
    grid-template-columns: 1fr 1fr;
}

.phone-input {
    display: flex;
    gap: 12px;
}

.phone-input select {
    flex: 0 0 130px;
    width: 130px !important;
    padding: 12px 8px !important;
    font-size: 14px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    background: white;
    color: var(--gray-700);
    transition: var(--transition);
}

.phone-input select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.phone-input input[type="tel"] {
    flex: 1;
    min-width: 0;
}

.form-notice {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
    padding: 16px;
    border-radius: 10px;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--gradient-primary);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: 80px 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(14, 165, 233, 0.3) 25%, 
        rgba(99, 102, 241, 0.3) 75%, 
        transparent 100%);
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .brand-icon {
    flex-shrink: 0;
}

.footer-logo h3 {
    font-size: 24px;
    color: white;
    margin: 0;
}

.footer-logo h3 strong {
    font-weight: 800;
}

.footer-desc {
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 15px;
}

.footer-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.service-item {
    color: var(--gray-400);
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.5;
}

.footer-col h4 {
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-links svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: var(--gray-500);
    font-size: 14px;
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

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

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

.modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 0 16px 16px 0;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--gray-500);
}

/* ============= SUCCESS MODAL ============= */
.success-modal,
.error-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
}

.success-modal.active,
.error-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.success-modal-content,
.error-modal-content {
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUpFadeIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.success-icon,
.error-icon {
    margin: 0 auto 24px;
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon svg {
    filter: drop-shadow(0 4px 12px rgba(16, 185, 129, 0.3));
}

.error-icon svg {
    filter: drop-shadow(0 4px 12px rgba(239, 68, 68, 0.3));
}

.success-title,
.error-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 12px 0;
    animation: fadeIn 0.6s ease 0.3s both;
}

.success-message,
.error-message {
    font-size: 16px;
    color: var(--gray-600);
    margin: 0 0 24px 0;
    line-height: 1.6;
    animation: fadeIn 0.6s ease 0.4s both;
}

.success-message span {
    font-weight: 700;
    color: var(--primary);
}

/* Progress Bar */
.success-progress {
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
    margin: 24px 0;
}

.success-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10B981 0%, #059669 100%);
    border-radius: 10px;
    width: 0;
    animation: progressFill 3s linear;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

/* Buttons */
.success-btn-now,
.error-btn-close {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease 0.5s both;
}

.success-btn-now {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
}

.success-btn-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

.error-btn-close {
    background: var(--gray-100);
    color: var(--gray-700);
}

.error-btn-close:hover {
    background: var(--gray-200);
}

/* Loading State */
.btn-submit.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 480px) {
    .success-modal-content,
    .error-modal-content {
        padding: 40px 24px;
    }
    
    .success-title,
    .error-title {
        font-size: 24px;
    }
    
    .success-message,
    .error-message {
        font-size: 15px;
    }
    
    .success-icon svg,
    .error-icon svg {
        width: 64px;
        height: 64px;
    }
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    color: white;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 32px;
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px;
}

.modal-body .application-form {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px 24px;
    }
    
    .modal-header h2 {
        font-size: 24px;
    }
    
    .modal-body {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .modal-header {
        padding: 16px 20px;
        border-radius: 0;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
    }
}

/* ========================================
   FLOATING CONTACT BUTTON
   ======================================== */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-contact:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.floating-contact:active {
    transform: scale(0.95);
}

.floating-contact svg {
    width: 32px;
    height: 32px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 110px;
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-image {
        display: none;
    }
    
    .application-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .btn-nav-mobile {
        display: inline-block;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .jobs-comparison,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row.two-cols {
        grid-template-columns: 1fr;
    }
    
    /* CTA 响应式 */
    .cta-content {
        padding: 40px 32px;
    }
    
    .cta-content h2 {
        font-size: 36px;
    }
    
    .cta-content .info-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .btn-apply-main {
        padding: 18px 40px;
        font-size: 18px;
    }
    
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .footer-col:first-child {
        grid-column: 1 / -1;
    }
    
    .footer-services {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        padding: 24px 0;
    }
    
    .floating-contact {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
    
    .floating-contact svg {
        width: 28px;
        height: 28px;
    }
    
    .back-to-top {
        right: 90px;
        bottom: 20px;
        width: 44px;
        height: 44px;
    }
    
    .phone-input select {
        flex: 0 0 120px;
        width: 120px !important;
        font-size: 13px;
        padding: 10px 6px !important;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    /* CTA 小屏幕 */
    .cta-content {
        padding: 32px 24px;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .cta-content p {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .btn-apply-main {
        width: 100%;
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .cta-note {
        font-size: 13px;
    }
    
    .application-form {
        padding: 24px;
    }
    
    .phone-input select {
        flex: 0 0 110px;
        width: 110px !important;
        font-size: 12px;
        padding: 8px 4px !important;
    }
    
    .footer {
        padding: 50px 0 0;
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .footer-col:first-child {
        grid-column: 1 / -1;
    }
    
    .footer-col h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }
    
    .footer-services {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .service-item {
        font-size: 13px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .floating-contact {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
    }
    
    .floating-contact svg {
        width: 26px;
        height: 26px;
    }
    
    .back-to-top {
        right: 80px;
        bottom: 16px;
        width: 40px;
        height: 40px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

