/* ===== COMMON STYLES FOR PT VIDOOLABS GLOBAL JAYA ===== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #374151;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Container */
.vidoolabs-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Company Logo */
.company-logo {
    width: 60px;
    height: 60px;
    background-image: url('img/company-logo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

/* Header Styles */
.vidoolabs-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.vidoolabs-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.vidoolabs-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vidoolabs-company-name {
    display: flex;
    flex-direction: column;
}

.vidoolabs-company-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1E3A8A;
    margin: 0;
    line-height: 1.2;
}

.vidoolabs-company-tagline {
    font-size: 0.875rem;
    color: #6B7280;
    margin: 0;
    font-weight: 500;
}

.vidoolabs-menu {
    display: flex;
    gap: 2rem;
}

.vidoolabs-menu-item {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.vidoolabs-menu-item:hover,
.vidoolabs-menu-item.active {
    color: #1E3A8A;
    background: rgba(30, 58, 138, 0.1);
}

.vidoolabs-mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.vidoolabs-hamburger {
    width: 25px;
    height: 3px;
    background: #374151;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Button Styles */
.vidoolabs-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.vidoolabs-btn-primary {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
}

.vidoolabs-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(30, 58, 138, 0.4);
}

.vidoolabs-btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #374151;
    border: 2px solid rgba(30, 58, 138, 0.2);
    backdrop-filter: blur(10px);
}

.vidoolabs-btn-secondary:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(30, 58, 138, 0.4);
    color: #1E3A8A;
    transform: translateY(-2px);
}

.vidoolabs-btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.vidoolabs-btn-full {
    width: 100%;
}

/* Section Styles */
.vidoolabs-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.vidoolabs-section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 1rem;
}

.vidoolabs-section-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Card Styles */
.vidoolabs-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(30, 58, 138, 0.1);
}

.vidoolabs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Grid Layouts */
.vidoolabs-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vidoolabs-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.vidoolabs-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* Form Styles */
.vidoolabs-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vidoolabs-form-group {
    position: relative;
}

.vidoolabs-form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.vidoolabs-form-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.vidoolabs-form-input:focus {
    outline: none;
    border-color: #F97316;
    background: rgba(255, 255, 255, 0.15);
}

.vidoolabs-form-input option {
    background: #1F2937;
    color: white;
    padding: 0.5rem;
}

.vidoolabs-form-input option:hover {
    background: #374151;
}

.vidoolabs-form-input option:checked {
    background: #1E3A8A;
    color: white;
}

/* 针对不同浏览器的select样式优化 */
.vidoolabs-form-input[type="select-one"],
.vidoolabs-form-input select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

.vidoolabs-form-input[type="select-one"]:focus,
.vidoolabs-form-input select:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

.vidoolabs-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.vidoolabs-form-input.error {
    border-color: #EF4444;
}

.field-error {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10B981;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    color: #10B981;
}

/* Footer Styles */
.vidoolabs-footer {
    background: #1F2937;
    color: white;
    padding: 4rem 0 2rem;
}

.vidoolabs-footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.vidoolabs-footer-logo {
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.vidoolabs-footer-company-name {
    display: flex;
    flex-direction: column;
}

.vidoolabs-footer-company-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.vidoolabs-footer-desc {
    color: #9CA3AF;
    margin-top: 1rem;
    line-height: 1.6;
}

.vidoolabs-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.vidoolabs-footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.vidoolabs-footer-link {
    display: block;
    color: #9CA3AF;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.vidoolabs-footer-link:hover {
    color: #F97316;
}

.vidoolabs-footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

.vidoolabs-footer-copyright {
    color: #9CA3AF;
}

/* Cookies Consent */
.vidoolabs-cookies {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    z-index: 1000;
    transform: translateY(120%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(30, 58, 138, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

.vidoolabs-cookies.show {
    transform: translateY(0);
}

.vidoolabs-cookies-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.vidoolabs-cookies-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.vidoolabs-cookies-text {
    flex: 1;
    margin-bottom: 1rem;
}

.vidoolabs-cookies-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1E3A8A;
    margin: 0 0 0.5rem 0;
}

.vidoolabs-cookies-desc {
    color: #6B7280;
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0;
}

.vidoolabs-cookies-buttons .vidoolabs-btn-secondary {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.vidoolabs-cookies-buttons .vidoolabs-btn-secondary:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #B91C1C;
}

/* Font Awesome Icon Styles */
.vidoolabs-icon {
    display: inline-block;
    font-size: 1.5rem;
    color: #1E3A8A;
    transition: all 0.3s ease;
}

.vidoolabs-icon:hover {
    color: #F97316;
    transform: scale(1.1);
}

.vidoolabs-icon-large {
    font-size: 3rem;
}

.vidoolabs-icon-medium {
    font-size: 2rem;
}

.vidoolabs-icon-small {
    font-size: 1rem;
}

.vidoolabs-icon-primary {
    color: #1E3A8A;
}

.vidoolabs-icon-secondary {
    color: #F97316;
}

.vidoolabs-icon-success {
    color: #10B981;
}

.vidoolabs-icon-white {
    color: white;
}

/* Utility Classes */
.vidoolabs-text-center {
    text-align: center;
}

.vidoolabs-text-left {
    text-align: left;
}

.vidoolabs-text-right {
    text-align: right;
}

.vidoolabs-mb-1 {
    margin-bottom: 1rem;
}

.vidoolabs-mb-2 {
    margin-bottom: 2rem;
}

.vidoolabs-mb-3 {
    margin-bottom: 3rem;
}

.vidoolabs-mb-4 {
    margin-bottom: 4rem;
}

.vidoolabs-mt-1 {
    margin-top: 1rem;
}

.vidoolabs-mt-2 {
    margin-top: 2rem;
}

.vidoolabs-mt-3 {
    margin-top: 3rem;
}

.vidoolabs-mt-4 {
    margin-top: 4rem;
}

.vidoolabs-p-1 {
    padding: 1rem;
}

.vidoolabs-p-2 {
    padding: 2rem;
}

.vidoolabs-p-3 {
    padding: 3rem;
}

.vidoolabs-p-4 {
    padding: 4rem;
}

/* Animation Classes */
.vidoolabs-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.vidoolabs-fade-in.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.vidoolabs-slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.vidoolabs-slide-in-left.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.vidoolabs-slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.vidoolabs-slide-in-right.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .vidoolabs-container {
        padding: 0 1.5rem;
    }
    
    .vidoolabs-section-title {
        font-size: 2rem;
    }
    
    .vidoolabs-footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vidoolabs-footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .vidoolabs-menu {
        display: none;
    }
    
    .vidoolabs-mobile-menu {
        display: flex;
    }
    
    .vidoolabs-logo {
        gap: 0.75rem;
    }
    
    .vidoolabs-company-title {
        font-size: 1.125rem;
    }
    
    .vidoolabs-company-tagline {
        font-size: 0.75rem;
    }
    
    .vidoolabs-section-title {
        font-size: 1.75rem;
    }
    
    .vidoolabs-grid-2,
    .vidoolabs-grid-3,
    .vidoolabs-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .vidoolabs-footer-links {
        grid-template-columns: 1fr;
    }
    
    .vidoolabs-cookies {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        padding: 1rem;
    }
    
    .vidoolabs-cookies-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .vidoolabs-cookies-text {
        margin-bottom: 0;
    }
    
    .vidoolabs-cookies-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .vidoolabs-cookies-buttons .vidoolabs-btn {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .vidoolabs-container {
        padding: 0 1rem;
    }
    
    .vidoolabs-section-title {
        font-size: 1.5rem;
    }
    
    .vidoolabs-card {
        padding: 1.5rem;
    }
}
