/* Theme System CSS */

/* Default Theme Variables - Inspired by Tech/AI Banner */
:root {
    --primary-color: #2DC8E8;
    --secondary-color: #FF6B6B;
    --accent-color: #1fa3c7;
    --dark-bg: #0A1628;
    --dark-bg-alt: #1a2332;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --bg-dark: #2C3E50;
    --white: #FFFFFF;
    --border-color: #E9ECEF;
    --border-radius: 8px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-glow-cyan: 0 8px 30px rgba(45, 200, 232, 0.3);
    --shadow-glow-orange: 0 8px 30px rgba(255, 107, 107, 0.3);
    --transition: all 0.3s ease;
}

/* Green Theme */
body[data-theme="green"] {
    --primary-color: #00B894;
    --secondary-color: #00A085;
    --accent-color: #55A3FF;
    --text-dark: #2D3436;
    --text-light: #636E72;
}

/* Purple Theme */
body[data-theme="purple"] {
    --primary-color: #A29BFE;
    --secondary-color: #6C5CE7;
    --accent-color: #FD79A8;
    --text-dark: #2D3436;
    --text-light: #636E72;
}

/* Pink/Orange Theme */
body[data-theme="orange"] {
    --primary-color: #FD79A8;
    --secondary-color: #E84393;
    --accent-color: #FDCB6E;
    --text-dark: #2D3436;
    --text-light: #636E72;
}

/* Dark Theme */
body[data-theme="dark"] {
    --primary-color: #FF7675;
    --secondary-color: #636E72;
    --accent-color: #74B9FF;
    --text-dark: #DDD6FE;
    --text-light: #A0A9C0;
    --bg-light: #2D3436;
    --white: #1A1A1A;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Theme Picker Styles */
.theme-picker {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    opacity: 1;
    visibility: visible;
}

.theme-toggle {
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    outline: none;
    font-size: 20px;
    font-family: Arial, sans-serif;
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.theme-options {
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    padding: 15px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.theme-picker.active .theme-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 8px;
}

.theme-option:last-child {
    margin-bottom: 0;
}

.theme-option:hover {
    background: var(--bg-light);
}

.theme-option.active {
    background: var(--primary-color);
    color: var(--white);
}

.theme-preview {
    display: flex;
    gap: 4px;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.theme-name {
    font-size: 14px;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .theme-picker {
        top: 15px;
        right: 15px;
    }
    
    .theme-toggle {
        width: 45px;
        height: 45px;
    }
    
    .theme-options {
        right: -10px;
        min-width: 180px;
    }
}

/* Animation for theme transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Dark theme specific overrides */
body[data-theme="dark"] {
    background: var(--white);
    color: var(--text-dark);
}

body[data-theme="dark"] .header {
    background: var(--white);
    border-bottom: 1px solid #3A3A3A;
}

body[data-theme="dark"] .footer {
    background: #1A1A1A;
    border-top: 1px solid #3A3A3A;
}

body[data-theme="dark"] .benefit-card {
    background: #2A2A2A;
    border: 1px solid #3A3A3A;
}

body[data-theme="dark"] .solution-card {
    background: #2A2A2A;
    border: 1px solid #3A3A3A;
}

body[data-theme="dark"] .platform-demo {
    background: #2A2A2A;
}

body[data-theme="dark"] .cta-section {
    background: #1A1A1A;
}

body[data-theme="dark"] input,
body[data-theme="dark"] textarea {
    background: #2A2A2A;
    border: 1px solid #3A3A3A;
    color: var(--text-dark);
}

body[data-theme="dark"] input:focus,
body[data-theme="dark"] textarea:focus {
    border-color: var(--primary-color);
}

/* Button styles for all themes */
.btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 12px;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Smooth theme transition class */
.theme-transitioning * {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease !important;
}