/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}



/* Navigation styles removed - using centralized navbar.css */

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* User Info Styles - 使用navbar.css中的全局样式 */

.btn {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: 'JetBrains Mono', monospace;
}

.btn-outline {
    background: transparent;
    color: #374151;
    border: 1px solid transparent;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
}

/* Dropdown menu styles removed - using centralized navbar.css */

/* Login Alert */
.login-alert {
    background: #fef3c7;
    border-bottom: 1px solid #f59e0b;
    padding: 12px 0;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    z-index: 999;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-icon {
    color: #d97706;
}

.alert-message {
    flex: 1;
}

.alert-title {
    font-weight: 600;
    color: #92400e;
    font-size: 14px;
}

.alert-description {
    color: #a16207;
    font-size: 13px;
}

.alert-close-btn {
    background: none;
    border: none;
    color: #92400e;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.alert-close-btn:hover {
    background: rgba(146, 64, 14, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 128px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Sound Wave Animation */
.sound-wave-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
}

.wave-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 200px;
    max-width: 1400px;
}

.wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 60px;
    border-radius: 50px;
    opacity: 0.6;
    animation: waveFlow 4s ease-in-out infinite;
}

.wave-1 {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(16, 185, 129, 0.3) 20%, 
        rgba(16, 185, 129, 0.6) 50%, 
        rgba(16, 185, 129, 0.3) 80%, 
        transparent 100%);
    animation: waveFlow 3.5s ease-in-out infinite;
    animation-delay: 0s;
    width: 80%;
    height: 40px;
}

.wave-2 {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(5, 150, 105, 0.4) 15%, 
        rgba(5, 150, 105, 0.7) 50%, 
        rgba(5, 150, 105, 0.4) 85%, 
        transparent 100%);
    animation: waveFlow 4.5s ease-in-out infinite;
    animation-delay: 0.5s;
    width: 100%;
    height: 50px;
}

.wave-3 {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(34, 197, 94, 0.3) 25%, 
        rgba(34, 197, 94, 0.5) 50%, 
        rgba(34, 197, 94, 0.3) 75%, 
        transparent 100%);
    animation: waveFlow 3.8s ease-in-out infinite;
    animation-delay: 1s;
    width: 120%;
    height: 35px;
}

.wave-4 {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(6, 182, 212, 0.3) 20%, 
        rgba(6, 182, 212, 0.5) 50%, 
        rgba(6, 182, 212, 0.3) 80%, 
        transparent 100%);
    animation: waveFlow 5.2s ease-in-out infinite;
    animation-delay: 1.5s;
    width: 90%;
    height: 55px;
}

.wave-5 {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(14, 165, 233, 0.2) 30%, 
        rgba(14, 165, 233, 0.4) 50%, 
        rgba(14, 165, 233, 0.2) 70%, 
        transparent 100%);
    animation: waveFlow 4.2s ease-in-out infinite;
    animation-delay: 2s;
    width: 110%;
    height: 45px;
}

.wave-6 {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(16, 185, 129, 0.2) 35%, 
        rgba(16, 185, 129, 0.4) 50%, 
        rgba(16, 185, 129, 0.2) 65%, 
        transparent 100%);
    animation: waveFlow 3.2s ease-in-out infinite;
    animation-delay: 2.5s;
    width: 95%;
    height: 38px;
}

.wave-7 {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(8, 145, 178, 0.25) 25%, 
        rgba(8, 145, 178, 0.45) 50%, 
        rgba(8, 145, 178, 0.25) 75%, 
        transparent 100%);
    animation: waveFlow 4.8s ease-in-out infinite;
    animation-delay: 3s;
    width: 105%;
    height: 42px;
}

@keyframes waveFlow {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0px) scaleX(1) scaleY(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(-50%, -50%) translateY(-15px) scaleX(1.1) scaleY(1.8);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) translateY(20px) scaleX(1.2) scaleY(0.3);
        opacity: 0.8;
    }
    75% {
        transform: translate(-50%, -50%) translateY(-8px) scaleX(1.05) scaleY(1.5);
        opacity: 0.5;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    border-radius: 24px;
    padding: 8px 16px;
    margin-bottom: 24px;
}

.badge-text {
    color: #059669;
    font-size: 14px;
    font-weight: 500;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 20px;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Contact Form */
.contact-form-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 36px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-header {
    margin-bottom: 28px;
}

.form-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.3;
}

.form-header p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 单独的表单组（不在form-row中的）*/
.contact-form > .form-group {
    min-height: 94px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start; /* 改为top对齐，因为每个form-group现在都有固定高度 */
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    min-height: 94px; /* 预留错误消息空间: 52px(输入框) + 6px(gap) + 18px(标签) + 18px(错误消息) */
}

.form-group label {
    font-weight: 600;
    color: #374151;
    font-size: 14px;
    line-height: 1.2;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    line-height: 1.4;
    transition: all 0.2s ease;
    background: #ffffff;
    min-height: 52px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    padding: 14px 16px;
    line-height: 1.5;
}

.form-group select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23374151" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6,9 12,15 18,9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

/* 错误消息样式 - 通过JavaScript动态创建 */
.field-error {
    color: #ef4444 !important;
    font-size: 12px !important;
    margin-top: 4px !important;
    line-height: 1.2 !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 16px !important;
    display: flex !important;
    align-items: center !important;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    color: #4b5563;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #10b981;
    border-color: #10b981;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.submit-btn {
    background: #000000;
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    min-height: 52px;
    box-sizing: border-box;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background: #333333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.form-message {
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-top: 16px;
}

.form-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #d1fae5;
}

.form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 16px;
    transition: all 0.2s ease;
}

.info-card:hover {
    border-color: #10b981;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 24px;
    height: 24px;
    color: #10b981;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.info-content p {
    color: #4b5563;
    font-size: 16px;
    margin-bottom: 2px;
}

.info-note {
    font-size: 14px !important;
    color: #9ca3af !important;
}

.enterprise-cta {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
}

.enterprise-cta h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.enterprise-cta p {
    margin-bottom: 20px;
    opacity: 0.9;
}

.enterprise-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.enterprise-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.benefit-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    color: #10b981;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    padding: 12px;
    box-sizing: border-box;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
}

.benefit-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #9ca3af;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #4b5563;
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.modal-subtitle {
    color: #6b7280;
}

/* Enterprise Modal */
.enterprise-modal {
    max-width: 600px;
}

.enterprise-features {
    margin-bottom: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
}

.demo-cta {
    text-align: center;
    padding: 24px;
    background: #f8fafc;
    border-radius: 12px;
}

.demo-btn {
    background: #10b981;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.demo-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-icon {
    width: 16px;
    height: 16px;
}

/* Login Form */
.form-label {
    font-weight: 500;
    color: #374151;
    margin-bottom: 4px;
}

.form-input {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
    margin-bottom: 16px;
}

.form-input:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.login-button {
    background: #10b981;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s ease;
}

.login-button:hover {
    background: #059669;
}

.error-message {
    background: #fef2f2;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 12px;
}

.success-message {
    background: #ecfdf5;
    color: #065f46;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    /* Mobile nav styles removed - using centralized navbar.css */
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .wave-container {
        height: 150px;
        max-width: 100%;
    }
    
    .wave {
        height: 40px;
    }
    
    .wave-1 { height: 25px; width: 90%; }
    .wave-2 { height: 35px; width: 100%; }
    .wave-3 { height: 22px; width: 110%; }
    .wave-4 { height: 38px; width: 95%; }
    .wave-5 { height: 28px; width: 105%; }
    .wave-6 { height: 24px; width: 85%; }
    .wave-7 { height: 26px; width: 100%; }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 24px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .modal-content {
        padding: 24px;
        margin: 16px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 104px 0 60px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .wave-container {
        height: 120px;
    }
    
    .wave {
        height: 30px;
    }
    
    .wave-1 { height: 18px; width: 85%; }
    .wave-2 { height: 25px; width: 95%; }
    .wave-3 { height: 16px; width: 100%; }
    .wave-4 { height: 28px; width: 90%; }
    .wave-5 { height: 20px; width: 95%; }
    .wave-6 { height: 17px; width: 80%; }
    .wave-7 { height: 19px; width: 90%; }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .why-choose-us {
        padding: 60px 0;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 100px;
    right: 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 10001;
    animation: slideInRight 0.3s ease;
    max-width: 350px;
}

.notification.info {
    border-left: 4px solid #3b82f6;
}

.notification.warning {
    border-left: 4px solid #f59e0b;
}

.notification-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.notification-message {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .wave {
        animation: none;
        opacity: 0.3;
    }
    
    .wave-1, .wave-2, .wave-3, .wave-4, .wave-5, .wave-6, .wave-7 {
        transform: translate(-50%, -50%) scaleX(1) scaleY(1);
    }
} 