/* Light Theme Variables (default) */
:root, .light-theme {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --background-color: #ffffff;
    --text-color: #333333;
    --border-color: #e9ecef;
    --hover-color: #f8f9fa;
    --header-color: #2c3e50;
    --footer-color: #f8f9fa;
    --footer-text: #333333;
    --card-bg: #ffffff;
    --card-shadow: rgba(0, 0, 0, 0.05);
    --code-bg: #f5f5f5;
    --icon-color: #3498db;
    --button-text: #ffffff;
    --link-color: #3498db;
    --link-hover: #2980b9;
    --table-header: #f2f2f2;
    --table-border: #ddd;
    --table-hover: #f5f5f5;
    --step-number-bg: #3498db;
    --section-alt-bg: #f9f9f9;
}

/* Dark Theme Variables */
.dark-theme {
    --primary-color: #3498db;
    --secondary-color: #34495e;
    --background-color: #121212;
    --text-color: #e0e0e0;
    --border-color: #2d2d2d;
    --hover-color: #1e1e1e;
    --header-color: #1a1a1a;
    --footer-color: #1a1a1a;
    --footer-text: #e0e0e0;
    --card-bg: #1e1e1e;
    --card-shadow: rgba(0, 0, 0, 0.2);
    --code-bg: #2d2d2d;
    --icon-color: #3498db;
    --button-text: #ffffff;
    --link-color: #3498db;
    --link-hover: #2980b9;
    --table-header: #2d2d2d;
    --table-border: #444;
    --table-hover: #2a2a2a;
    --step-number-bg: #3498db;
    --section-alt-bg: #191919;
}

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

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

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--link-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background-color: var(--section-alt-bg);
}

/* Header */
header {
    background-color: var(--header-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 100px;
    height: 100px;
    margin-right: 15px;
}

.theme-toggle {
    display: flex;
    align-items: center;
}

.theme-toggle button {
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, transform 0.3s;
}

.theme-toggle button:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(30deg);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0.5rem;
    text-decoration: none;
}

.btn .mdi {
    margin-right: 0.5rem;
}

.btn.primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn.primary:hover {
    background-color: var(--link-hover);
    border-color: var(--link-hover);
    transform: translateY(-2px);
}

.btn.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Demo Section */
.demo {
    background-color: var(--section-alt-bg);
}

.demo-image {
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.demo-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Features Section */
.features {
    background-color: var(--section-alt-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px var(--card-shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px var(--card-shadow);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Usage Section */
.usage-steps {
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--step-number-bg);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.step-content {
    flex: 1;
}

/* Customization Section */
.customization-section {
    margin-bottom: 2rem;
}

pre {
    background-color: var(--code-bg);
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin: 1rem 0;
}

code {
    font-family: 'Courier New', Courier, monospace;
    color: var(--primary-color);
}

/* File Types Section */
.file-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.file-type-category {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px var(--card-shadow);
}

.file-type-category h3 {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.file-type-category h3 .mdi {
    margin-right: 10px;
}

.file-type-category ul {
    list-style: none;
}

.file-type-category li {
    margin-bottom: 8px;
}

/* Contact Section */
.contact {
    background-color: var(--section-alt-bg);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-right: 1rem;
    margin-bottom: 1rem;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: var(--link-hover);
    color: white;
    text-decoration: none;
}

.social-link .mdi {
    margin-right: 8px;
    font-size: 1.2em;
}

/* Footer */
footer {
    background-color: var(--header-color);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info, .footer-credits, .footer-sponsor {
    margin-bottom: 20px;
}

.btn.sponsor {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn.sponsor:hover {
    background-color: var(--link-hover);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .feature-grid, .file-types-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
} 