/* Jumbck Landing Page - Monochromatic Design */
/* OS 24/Nov - Beautiful landing page styling */

:root {
    --primary: #ffffff;
    --secondary: #fafafa;
    --tertiary: #f5f5f5;
    --quaternary: #e8e8e8;
    --text-primary: #000000;
    --text-secondary: #333333;
    --text-muted: #666666;
    --accent: #000000;
    --border: #e0e0e0;
    --success: #28a745;
    --error: #dc3545;
    --shadow-light: rgba(0, 0, 0, 0.04);
    --shadow-medium: rgba(0, 0, 0, 0.08);
    --shadow-heavy: rgba(0, 0, 0, 0.12);
    --radius: 8px;
}

/* Dark Theme */
[data-theme="dark"] {
    --primary: #1a1a1a;
    --secondary: #242424;
    --tertiary: #2d2d2d;
    --quaternary: #383838;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #a0a0a0;
    --accent: #ffffff;
    --border: #404040;
    --shadow-light: rgba(0, 0, 0, 0.3);
    --shadow-medium: rgba(0, 0, 0, 0.5);
    --shadow-heavy: rgba(0, 0, 0, 0.7);
}

/* Beige Theme (Walk the Dragon style) */
[data-theme="beige"] {
    --primary: #f5f1e8;
    --secondary: #ebe6dc;
    --tertiary: #e3ddd1;
    --quaternary: #d9d3c7;
    --text-primary: #2d2a24;
    --text-secondary: #4a4539;
    --text-muted: #6e6a5e;
    --accent: #8b7355;
    --border: #d0c9ba;
    --shadow-light: rgba(45, 42, 36, 0.06);
    --shadow-medium: rgba(45, 42, 36, 0.1);
    --shadow-heavy: rgba(45, 42, 36, 0.15);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.landing-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* Theme Switcher */
.theme-switcher {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    background: var(--primary);
    padding: 0.75rem;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px var(--shadow-medium);
    border: 1px solid var(--border);
}

.theme-circles {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.theme-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.theme-circle:hover {
    transform: scale(1.2);
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.theme-circle.active {
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 2px var(--primary), 0 2px 8px rgba(0,0,0,0.3);
    transform: scale(1.1);
}

.theme-circle.light {
    background: #ffffff;
    border-color: #e0e0e0;
}

.theme-circle.dark {
    background: #1a1a1a;
}

.theme-circle.beige {
    background: #f5f1e8;
    border: 1px solid #d0c9ba;
}

/* Hero Section */
.hero-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: start;
    min-height: calc(100vh - 200px);
}

.hero-content {
    padding-top: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sheep-icon {
    width: 80px;
    height: 80px;
    color: var(--text-primary);
    opacity: 0.8;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    background: var(--secondary);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: var(--primary);
    box-shadow: 0 4px 16px var(--shadow-medium);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--text-primary);
    opacity: 0.7;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Login Card */
.login-card {
    background: var(--primary);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px var(--shadow-heavy);
    border: 1px solid var(--border);
    position: sticky;
    top: 4rem;
}

.login-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--primary);
    box-shadow: 0 0 0 3px var(--shadow-light);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

/* Buttons */
.btn-primary {
    width: 100%;
    background: var(--text-primary);
    color: var(--primary);
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px var(--shadow-medium);
}

.btn-primary:hover {
    background: #333333;
    box-shadow: 0 4px 16px var(--shadow-heavy);
    transform: translateY(-1px);
}

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

/* Auth Links */
.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.auth-links p {
    margin: 0.5rem 0;
}

.auth-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    font-weight: 500;
}

.auth-links a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    border: 1px solid;
    font-size: 0.95rem;
}

.alert-error {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Models Section */
.models-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: var(--secondary);
    border-top: 1px solid var(--border);
}

.models-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.model-card {
    background: var(--primary);
    padding: 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.model-card:hover {
    box-shadow: 0 4px 16px var(--shadow-medium);
    transform: translateY(-2px);
}

.model-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.model-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Footer */
.landing-footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 1.5rem;
    }
    
    .theme-switcher {
        top: 1rem;
        right: 1rem;
    }
    
    .login-card {
        position: static;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .sheep-icon {
        width: 60px;
        height: 60px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .models-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem;
        padding-top: 4rem;
    }
    
    .theme-switcher {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.5rem;
    }
    
    .theme-circle {
        width: 24px;
        height: 24px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .sheep-icon {
        width: 50px;
        height: 50px;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .login-card {
        padding: 1.5rem;
    }
    
    .models-section {
        padding: 3rem 1rem;
    }
    
    .feature-item {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .model-card {
        padding: 2rem;
    }
}

