:root {
    --primary-color: #000;
    --secondary-color: #666;
    --bg-light: #f8f8f8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    padding-top: 60px;
}

/* Navigation */
.navbar {
    border-bottom: 1px solid #e5e5e5;
    padding: 12px 0;
}

.navbar-brand {
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.nav-link {
    font-size: 0.9rem;
    color: #666 !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #000 !important;
}

/* Hero Section */
.hero-section {
    padding: 120px 0 80px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: #000;
}

.hero-mission {
    font-size: 1.25rem;
    color: #666;
    font-weight: 300;
    line-height: 1.6;
    max-width: 700px;
}

/* Section Numbered Style */
.section-numbered {
    padding: 100px 0;
    border-bottom: 1px solid #e5e5e5;
}

.section-header {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 50px;
}

.section-number {
    font-size: 1rem;
    font-weight: 500;
    color: #999;
    font-family: 'Monaco', 'Menlo', 'Courier New', monospace;
    min-width: 40px;
    padding-top: 4px;
}

.section-header-content {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 300;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-item {
    padding: 32px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: #000;
    transform: translateY(-2px);
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.service-header i {
    font-size: 2rem;
    color: #000;
}

.service-badge {
    font-size: 0.75rem;
    background: #f5f5f5;
    padding: 4px 12px;
    border-radius: 12px;
    color: #666;
    font-weight: 500;
}

.service-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000;
}

.service-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Stats Section */
.stats-section {
    background: #000;
    color: white;
}

.stats-section .section-title,
.stats-section .section-subtitle {
    color: white;
}

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

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

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
    color: rgba(255, 255, 255, 0.8);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.project-item {
    padding: 32px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-item:hover {
    border-color: #000;
    transform: translateY(-2px);
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.project-header i {
    font-size: 2rem;
    color: #000;
}

.project-badges {
    display: flex;
    gap: 8px;
}

.project-badges .badge {
    background: #f5f5f5;
    color: #666;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: none;
}

.project-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000;
}

.project-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact-section {
    background: #f8f8f8;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: #000;
    margin-top: 4px;
}

.contact-item h6 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #000;
}

.contact-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.contact-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form .form-control {
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.contact-form .form-control:focus {
    border-color: #000;
    outline: none;
    box-shadow: none;
}

.contact-form .btn {
    margin-top: 8px;
    padding: 12px 24px;
    font-weight: 500;
}

/* Footer */
footer {
    background: #000;
    color: white;
    padding: 60px 0 30px;
}

footer h5 {
    font-size: 1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

footer p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 8px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    margin-bottom: 8px;
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.85rem;
}

footer a:hover {
    color: white;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 40px 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 56px;
    }

    .hero-section {
        padding: 80px 0 60px;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-mission {
        font-size: 1.1rem;
    }

    .section-numbered {
        padding: 60px 0;
    }

    .section-header {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrapper {
        padding: 24px;
    }
}
