/**
 * Movie Review SEO Generator - Stylesheet
 * Professional & Modern Design
 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    line-height: 1.6;
    color: #333;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Header */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.header h1 {
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 800;
}

.subtitle {
    font-size: 18px;
    opacity: 0.95;
    font-weight: 400;
}

/* Main Content */
.main-content {
    padding: 40px;
}

/* Input Section */
.input-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.input-section h2 {
    color: #667eea;
    margin-bottom: 25px;
    font-size: 28px;
}

/* Form Styles */
.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.hint {
    display: block;
    font-size: 13px;
    color: #666;
    font-weight: 400;
    margin-top: 5px;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.input-examples {
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

.input-examples span {
    font-weight: 600;
    color: #333;
}

.input-examples code {
    background: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
    margin: 0 5px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
}

/* Form Options */
.form-options {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    margin: 25px 0;
}

.form-options h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 20px;
}

.option-group {
    margin-bottom: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    color: #333;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: #667eea;
}

/* Generate Button */
.btn-generate {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.btn-generate:active {
    transform: translateY(0);
}

.btn-generate:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Features Section */
.features-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.features-section h2 {
    color: #667eea;
    margin-bottom: 30px;
    font-size: 28px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
}

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

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 20px;
}

.feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.how-it-works h2 {
    color: #667eea;
    margin-bottom: 30px;
    font-size: 28px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: #333;
    margin-bottom: 8px;
    font-size: 20px;
}

.step-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Supported Formats */
.supported-formats {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.supported-formats h2 {
    color: #667eea;
    margin-bottom: 25px;
    font-size: 28px;
}

.formats-list {
    display: grid;
    gap: 15px;
}

.format {
    background: #f8f9fa;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.format strong {
    color: #333;
    display: inline-block;
    min-width: 120px;
}

.format code {
    background: white;
    padding: 5px 12px;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #667eea;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 30px;
    text-align: center;
}

.footer p {
    margin: 5px 0;
}

.footer-note {
    font-size: 13px;
    opacity: 0.8;
    margin-top: 10px;
}

/* Preview Styles */
.preview-section h1 {
    color: #333;
    font-size: 36px;
    margin-bottom: 20px;
    border-bottom: 3px solid #667eea;
    padding-bottom: 15px;
}

.preview-section h2 {
    color: #667eea;
    font-size: 28px;
    margin-top: 35px;
    margin-bottom: 15px;
}

.preview-section h3 {
    color: #555;
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 12px;
}

.preview-section p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 15px;
}

.preview-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.preview-section li {
    color: #444;
    margin-bottom: 8px;
}

.preview-section strong {
    color: #333;
}

.preview-section blockquote {
    border-left: 4px solid #667eea;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #555;
}

.movie-info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.movie-info-table th,
.movie-info-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}

.movie-info-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
}

.movie-info-table tr:last-child td {
    border-bottom: none;
}

.movie-info-table tr:nth-child(even) {
    background: #f8f9fa;
}

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

    .header h1 {
        font-size: 32px;
    }

    .subtitle {
        font-size: 16px;
    }

    .main-content {
        padding: 20px;
    }

    .input-section,
    .features-section,
    .how-it-works,
    .supported-formats {
        padding: 25px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
    }

    .btn-action {
        width: 100%;
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-section,
.features-section,
.how-it-works,
.supported-formats {
    animation: fadeIn 0.5s ease-out;
}

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }

    .action-buttons,
    .section-tabs,
    .footer {
        display: none;
    }
}