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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: white;
    color: #000;
    overflow-x: hidden;
}

/* Navigation */
.nav-section {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #0d1f08;
    padding: 20px 50px;
    z-index: 1000;
}

.nav-contents {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-brand {
    color: #f2f2f2;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: -0.39px;
    transition: opacity 0.3s;
}

.nav-brand:hover {
    opacity: 0.8;
}

.back-to-echoo-btn {
    color: #f2f2f2;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: -0.39px;
    padding: 6px 12px;
    border: 1px solid rgba(242, 242, 242, 0.3);
    border-radius: 4px;
    transition: all 0.3s;
    white-space: nowrap;
}

.back-to-echoo-btn:hover {
    background: rgba(242, 242, 242, 0.1);
    border-color: rgba(242, 242, 242, 0.5);
}

.nav-links {
    display: flex;
    gap: 37px;
    align-items: center;
}

.nav-link {
    color: #f2f2f2;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: -0.39px;
    transition: opacity 0.3s;
}

.nav-link:hover,
.nav-link.active {
    opacity: 0.8;
}

/* Header Section */
.header-section {
    position: relative;
    width: 100%;
    height: 750px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px 50px 70px;
    background-size: cover;
    background-position: center;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.header-content {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
}

.header-title {
    font-size: 32px;
    font-weight: 500;
    color: white;
    letter-spacing: -1.6px;
    line-height: 1.09;
    max-width: 734px;
}

/* Services Section */
.services-section {
    background: #0d1f08;
    padding: 114px 150px;
    min-height: 1596px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-content {
    max-width: 1180px;
    width: 100%;
    border-bottom: 0.5px solid white;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 170px;
}

.services-main-title {
    font-size: 120px;
    font-weight: 400;
    color: white;
    letter-spacing: -3.6px;
    line-height: 0.95;
    max-width: 765px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 0;
    border-top: 0.5px solid white;
    color: white;
}

.service-title {
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.36px;
    line-height: 1.35;
    white-space: nowrap;
    flex-shrink: 0;
}

.service-description {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.36px;
    line-height: 1.35;
    max-width: 420px;
    width: 420px;
}

.service-description p {
    margin: 0;
}

/* CTA Section */
.cta-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1180px;
    margin-top: 60px;
    padding: 20px 0;
    border-top: 0.5px solid white;
}

.cta-text {
    font-size: 32px;
    font-weight: 400;
    color: white;
    letter-spacing: -1.6px;
    line-height: 1.09;
    white-space: nowrap;
    flex-shrink: 0;
    /* 与服务标题对齐 */
}

.cta-button-wrapper {
    width: 420px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.btn-schedule {
    background: white;
    color: #000;
    border: none;
    border-radius: 500px;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.36px;
    cursor: pointer;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.btn-schedule:hover {
    opacity: 0.9;
}

/* Image Divider Section */
.image-divider {
    position: relative;
    width: 100%;
    height: 625px;
    background-size: cover;
    background-position: center;
}

/* Footer Section */
.footer-section {
    background: #f7f4eb;
    padding: 68px 152px;
}

.footer-title {
    font-size: 32px;
    font-weight: 500;
    color: #000;
    letter-spacing: -1.6px;
    line-height: 1.09;
    margin-bottom: 57px;
}

.footer-subhead {
    margin-bottom: 57px;
}

.footer-subhead p {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    letter-spacing: -0.36px;
    line-height: 1.35;
}

.footer-contact {
    display: flex;
    gap: 45px;
    margin-bottom: 57px;
}

.contact-column p {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    line-height: 1.4;
}

.footer-copyright p {
    font-size: 14px;
    font-weight: 400;
    color: #000;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-title {
        font-size: 24px;
        letter-spacing: -1.2px;
    }
    
    .services-section {
        padding: 105.5px 64px;
    }
    
    .services-content {
        gap: 100px;
    }
    
    .services-main-title {
        font-size: 80px;
        letter-spacing: -2.4px;
    }
    
    .service-item {
        flex-direction: column;
        gap: 24px;
    }
    
    .service-title {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .nav-section {
        padding: 20px 28px;
    }
    
    .nav-left {
        gap: 12px;
    }
    
    .back-to-echoo-btn {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    .header-section {
        height: 500px;
        padding: 25px 28px 48px;
    }
    
    .header-title {
        font-size: 18px;
        letter-spacing: -0.9px;
    }
    
    .services-section {
        padding: 36.5px 28px;
        min-height: auto;
    }
    
    .services-content {
        gap: 60px;
    }
    
    .services-main-title {
        font-size: 48px;
        letter-spacing: -1.44px;
    }
    
    .service-item {
        padding: 20px 0;
    }
    
    .service-title {
        font-size: 16px;
        letter-spacing: -0.32px;
    }
    
    .service-description {
        font-size: 16px;
        letter-spacing: -0.32px;
        width: 100%;
        max-width: 100%;
    }
    
    .image-divider {
        height: 280px;
    }
    
    .footer-section {
        padding: 48px 28px;
    }
    
    .footer-title {
        font-size: 24px;
        letter-spacing: -1.2px;
        margin-bottom: 40px;
    }
    
    .footer-subhead {
        margin-bottom: 40px;
    }
    
    .footer-subhead p {
        font-size: 16px;
        letter-spacing: -0.32px;
    }
    
    .footer-contact {
        margin-bottom: 40px;
    }
    
    .cta-section {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
        margin-top: 40px;
        border-top: 0.5px solid white;
    }
    
    .cta-text {
        font-size: 24px;
        letter-spacing: -1.2px;
        white-space: normal;
    }
    
    .cta-button-wrapper {
        width: 100%;
    }
    
    .btn-schedule {
        width: 100%;
        padding: 16px 24px;
        font-size: 16px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #f7f4eb;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    position: relative;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: 300;
    color: #000;
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.3s;
}

.modal-close:hover {
    opacity: 0.6;
}

.modal-title {
    font-size: 32px;
    font-weight: 500;
    color: #000;
    letter-spacing: -1.6px;
    margin-bottom: 8px;
}

.modal-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin-bottom: 32px;
    letter-spacing: -0.32px;
}

#consultationForm {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    letter-spacing: -0.28px;
}

.required {
    color: #d32f2f;
}

.form-hint {
    font-size: 12px;
    color: #666;
    margin-top: -4px;
    font-style: italic;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: #000;
    background-color: white;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0d1f08;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 8px;
}

.btn-cancel,
.btn-submit {
    padding: 12px 24px;
    border-radius: 500px;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    letter-spacing: -0.32px;
}

.btn-cancel {
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
}

.btn-cancel:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
}

.btn-submit {
    background-color: #0d1f08;
    color: white;
}

.btn-submit:hover {
    opacity: 0.9;
}

.btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        padding: 32px 24px;
        margin: 10% auto;
    }
    
    .modal-title {
        font-size: 24px;
        letter-spacing: -1.2px;
    }
    
    .modal-subtitle {
        font-size: 14px;
    }
    
    .form-actions {
        flex-direction: column-reverse;
    }
    
    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-brand {
        font-size: 12px;
    }
    
    .back-to-echoo-btn {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .nav-link {
        font-size: 11px;
    }
    
    .header-section {
        height: 400px;
        padding: 20px 16px 36px;
    }
    
    .header-title {
        font-size: 16px;
        letter-spacing: -0.8px;
    }
    
    .services-section {
        padding: 32px 20px;
    }
    
    .services-content {
        gap: 48px;
    }
    
    .services-main-title {
        font-size: 38px;
        letter-spacing: -1.14px;
    }
    
    .service-item {
        padding: 16px 0;
    }
    
    .service-title {
        font-size: 15px;
        letter-spacing: -0.3px;
    }
    
    .service-description {
        font-size: 15px;
        letter-spacing: -0.3px;
    }
    
    .cta-section {
        gap: 32px;
        margin-top: 32px;
    }
    
    .cta-text {
        font-size: 20px;
        letter-spacing: -1px;
    }
    
    .btn-schedule {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .image-divider {
        height: 220px;
    }
    
    .footer-section {
        padding: 36px 20px;
    }
    
    .footer-title {
        font-size: 20px;
        letter-spacing: -1px;
        margin-bottom: 32px;
    }
    
    .footer-subhead {
        margin-bottom: 32px;
    }
    
    .footer-subhead p {
        font-size: 15px;
        letter-spacing: -0.3px;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 32px;
    }
    
    .modal-content {
        padding: 28px 20px;
        margin: 15% auto;
        width: 95%;
    }
    
    .modal-title {
        font-size: 20px;
        letter-spacing: -1px;
    }
    
    .modal-subtitle {
        font-size: 13px;
    }
    
    #consultationForm {
        gap: 20px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 14px;
    }
}

