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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    padding-top: 80px;
    color: #333;
    position: relative;
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 30px;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #e60023;
    background: rgba(230, 0, 35, 0.1);
}

.nav-link:active {
    transform: scale(0.95);
}

/* Container */
.container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
    padding: 40px;
    animation: fadeIn 0.5s ease-in;
}

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

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    font-size: 2.5rem;
    color: #e60023;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
}

/* Input Section */
.input-section {
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group label {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.input-group input {
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.input-group input:focus {
    border-color: #e60023;
    box-shadow: 0 0 0 3px rgba(230, 0, 35, 0.1);
}

.input-group input::placeholder {
    color: #999;
}

/* Buttons */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, #e60023 0%, #c41230 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 0, 35, 0.4);
}

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

.btn-download {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 2px solid #e0e0e0;
}

.btn-secondary:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
}

.btn-loader {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Error Message */
.error-message {
    background: #fee;
    border: 2px solid #fcc;
    color: #c33;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Video Section */
.video-section {
    margin-top: 30px;
    animation: slideDown 0.5s ease;
}

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

.video-section h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.5rem;
}

.video-container {
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
}

.video-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.video-actions .btn {
    flex: 1;
    min-width: 150px;
}

/* Instructions */
.instructions {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    border-left: 4px solid #e60023;
}

.instructions h3 {
    margin-bottom: 15px;
    color: #333;
}

.instructions ol {
    margin-left: 20px;
    line-height: 1.8;
    color: #666;
}

.instructions li {
    margin-bottom: 8px;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    color: #999;
}

/* Blog Styles */
.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-post {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #e60023;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.blog-post h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.blog-meta {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-style: italic;
}

.blog-content {
    color: #666;
    line-height: 1.8;
}

.blog-content p {
    margin-bottom: 15px;
}

.blog-content h3 {
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.blog-content ul,
.blog-content ol {
    margin-left: 25px;
    margin-bottom: 15px;
}

.blog-content li {
    margin-bottom: 8px;
}

/* Contact Form Styles */
.contact-section {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e60023;
    box-shadow: 0 0 0 3px rgba(230, 0, 35, 0.1);
}

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

.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.form-message.success {
    background: #d4edda;
    border: 2px solid #c3e6cb;
    color: #155724;
}

.form-message.error {
    background: #fee;
    border: 2px solid #fcc;
    color: #c33;
}

/* Contact Info */
.contact-info {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.contact-info h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 3px solid #e60023;
}

.info-item strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
    font-size: 1rem;
}

.info-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* Back to Home Button */
.back-home {
    text-align: center;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding-top: 70px;
    }

    .navbar {
        padding: 10px 15px;
    }

    .nav-links {
        gap: 15px;
        justify-content: center;
    }

    .nav-link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }

    .container {
        padding: 20px;
    }

    header h1 {
        font-size: 2rem;
    }

    .video-actions {
        flex-direction: column;
    }

    .video-actions .btn {
        width: 100%;
    }

    .blog-post {
        padding: 20px;
    }

    .contact-form {
        padding: 20px;
    }
}

