/* SongLabAI Lead Contact Splash Page Styles */

/* Reset and Base Styles */
.slai-splash-wrapper * {
    box-sizing: border-box;
}

.slai-splash-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

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

/* Header Section */
.slai-header {
    padding: 60px 0;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.slai-logo-section {
    margin-bottom: 40px;
}

.slai-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.slai-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 300;
}

/* Video Section */
.slai-video-section {
    margin-top: 40px;
}

.slai-video-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: #000;
}

#slai-jingle-video {
    width: 100%;
    height: 400px;
    display: block;
    border: none;
}

@media (max-width: 768px) {
    #slai-jingle-video {
        height: 250px;
    }
}

@media (max-width: 480px) {
    #slai-jingle-video {
        height: 200px;
    }
}

/* YouTube iframe styling - no overlay needed as YouTube provides controls */

/* Contact Section */
.slai-contact-section {
    padding: 80px 0;
    background: #fff;
}

.slai-contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.slai-contact-intro {
    margin-bottom: 50px;
}

.slai-contact-intro h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.slai-contact-intro p {
    font-size: 1.2rem;
    color: #718096;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Styles */
.slai-contact-form {
    background: #f7fafc;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.slai-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.slai-form-group {
    flex: 1;
    margin-bottom: 25px;
}

.slai-form-group.slai-full-width {
    width: 100%;
}

.slai-form-group label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.slai-form-group input,
.slai-form-group textarea {
    width: 100%;
    padding: 15px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    color: #2d3748;
}

.slai-form-group input:focus,
.slai-form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.slai-form-submit {
    text-align: center;
    margin-top: 30px;
}

.slai-submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 180px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.slai-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.slai-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.slai-btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Spinner Animation */
.slai-spinner {
    animation: spin 1s linear infinite;
}

.slai-spinner .path {
    animation: dash 1.5s ease-in-out infinite;
}

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

@keyframes dash {
    0% { stroke-dasharray: 1, 150; stroke-dashoffset: 0; }
    50% { stroke-dasharray: 90, 150; stroke-dashoffset: -35; }
    100% { stroke-dasharray: 90, 150; stroke-dashoffset: -124; }
}

/* Form Messages */
.slai-form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: 500;
    text-align: center;
}

.slai-form-message.success {
    background: #c6f6d5;
    color: #2f855a;
    border: 1px solid #9ae6b4;
}

.slai-form-message.error {
    background: #fed7d7;
    color: #c53030;
    border: 1px solid #feb2b2;
}

/* Features Section */
.slai-features-section {
    padding: 80px 0;
    background: #f7fafc;
}

.slai-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.slai-feature {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slai-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.slai-feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.slai-feature h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 15px 0;
}

.slai-feature p {
    color: #718096;
    margin: 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .slai-container {
        padding: 0 15px;
    }
    
    .slai-title {
        font-size: 2.5rem;
    }
    
    .slai-subtitle {
        font-size: 1.1rem;
    }
    
    .slai-contact-intro h2 {
        font-size: 2rem;
    }
    
    .slai-contact-intro p {
        font-size: 1.1rem;
    }
    
    .slai-contact-form {
        padding: 30px 25px;
    }
    
    .slai-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .slai-header {
        padding: 40px 0;
    }
    
    .slai-contact-section,
    .slai-features-section {
        padding: 60px 0;
    }
    
    .slai-features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .slai-title {
        font-size: 2rem;
    }
    
    .slai-contact-intro h2 {
        font-size: 1.8rem;
    }
    
    .slai-contact-form {
        padding: 25px 20px;
    }
    
    .slai-submit-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Elementor Compatibility */
.elementor-widget-container .slai-splash-wrapper,
.elementor-section .slai-splash-wrapper {
    margin: 0;
}

.elementor-widget .slai-splash-wrapper {
    background: none;
    min-height: auto;
}

/* Ensure proper spacing in Elementor */
.elementor .slai-header,
.elementor .slai-contact-section,
.elementor .slai-features-section {
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Override Elementor default styles if needed */
.elementor-widget-shortcode .slai-splash-wrapper h1,
.elementor-widget-shortcode .slai-splash-wrapper h2,
.elementor-widget-shortcode .slai-splash-wrapper h3 {
    margin: revert;
    padding: revert;
}

.elementor-widget-shortcode .slai-splash-wrapper button {
    background: revert;
    border: revert;
    color: revert;
}