/* Landing Page Styles with Dark Mode Support */

:root {
    --bg-gradient-start: #667eea;
    --bg-gradient-end: #764ba2;
    --card-bg: #ffffff;
    --text-primary: #333333;
    --text-secondary: #555555;
    --text-muted: #666666;
    --text-light: #888888;
    --model-card-bg: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --model-card-hover-shadow: rgba(0, 0, 0, 0.15);
    --feature-bg: transparent;
    --developer-bg: rgba(255, 255, 255, 0.95);
    --border-color: rgba(0, 0, 0, 0.1);
    --button-bg: #ffffff;
    --button-text: #667eea;
    --button-shadow: rgba(0, 0, 0, 0.2);
    --button-hover-shadow: rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] {
    --bg-gradient-start: #1a1a2e;
    --bg-gradient-end: #16213e;
    --card-bg: #0f3460;
    --text-primary: #e4e4e4;
    --text-secondary: #b8b8b8;
    --text-muted: #a0a0a0;
    --text-light: #888888;
    --model-card-bg: linear-gradient(135deg, #1e3a5f 0%, #2a4a6f 100%);
    --model-card-hover-shadow: rgba(255, 255, 255, 0.1);
    --feature-bg: transparent;
    --developer-bg: rgba(15, 52, 96, 0.95);
    --border-color: rgba(255, 255, 255, 0.1);
    --button-bg: #e4e4e4;
    --button-text: #1a1a2e;
    --button-shadow: rgba(0, 0, 0, 0.4);
    --button-hover-shadow: rgba(0, 0, 0, 0.6);
}

* {
    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, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: background 0.3s ease;
}

.container {
    max-width: 1200px;
    width: 100%;
    position: relative;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--button-bg);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--button-shadow);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--button-hover-shadow);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    stroke: var(--button-text);
}

.theme-toggle .sun-icon {
    display: none;
}

.theme-toggle .moon-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

/* Hero Section */
.hero {
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-bg);
    color: var(--button-text);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px var(--button-shadow);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--button-hover-shadow);
}

/* Models Section */
.models-section {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    transition: background 0.3s ease;
}

.models-section h2 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 40px;
    font-size: 2rem;
    transition: color 0.3s ease;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Model Cards */
.model-card {
    background: var(--model-card-bg);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--model-card-hover-shadow);
}

.model-card h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

[data-theme="dark"] .model-card h3 {
    color: #8b9eff;
}

.model-icon {
    width: 30px;
    height: 30px;
    background: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

[data-theme="dark"] .model-icon {
    background: #8b9eff;
}

.model-card > p {
    color: var(--text-muted);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.model-versions {
    list-style: none;
    margin-top: 15px;
}

.model-versions li {
    padding: 8px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    transition: color 0.3s ease, border-color 0.3s ease;
}

.model-versions li:last-child {
    border-bottom: none;
}

.model-versions li:before {
    content: "✓ ";
    color: #667eea;
    font-weight: bold;
    margin-right: 8px;
}

[data-theme="dark"] .model-versions li:before {
    color: #8b9eff;
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    text-align: center;
    padding: 20px;
    background: var(--feature-bg);
    transition: background 0.3s ease;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.feature h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.feature p {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

/* Developer Section */
.developer-section {
    background: var(--developer-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease;
}

.developer-section h3 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

[data-theme="dark"] .developer-section h3 {
    color: #8b9eff;
}

.developer-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.developer-name {
    font-weight: 700;
    color: #764ba2;
    font-size: 1.3rem;
}

[data-theme="dark"] .developer-name {
    color: #a78bfa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .models-grid {
        grid-template-columns: 1fr;
    }

    .models-section {
        padding: 25px;
    }

    .theme-toggle {
        top: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
    }

    .theme-toggle svg {
        width: 20px;
        height: 20px;
    }
}
