:root {
    /* @tweakable color scheme */
    --primary: #6e4ff6;
    --secondary: #f64fc1;
    --gradient-start: #7928ca;
    --gradient-end: #ff0080;
    --dark: #121212;
    --light: #f8f8f8;
    --gray: #777;
    --card-bg: rgba(255, 255, 255, 0.05);
    --accent: #00eeff;
    --font-main: 'Poppins', system-ui, sans-serif;
    
    /* New AI platform specific colors */
    --info: #4cc9f0;
    --success: #4eaf59;
    --warning: #ffd166;
    --error: #ef476f;
    --neutral: #8f90a6;
    --panel-bg: rgba(30, 30, 40, 0.7);
    --border-color: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: var(--font-main);
    color: var(--light);
    background-color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header styles */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(18, 18, 18, 0.8);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo h1 {
    font-size: 1.5rem;
    background: linear-gradient(to right, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-icon {
    width: 35px;
    height: 35px;
    fill: url(#logo-gradient);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

.btn {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 0, 128, 0.2);
}

/* Hero section */
.hero {
    padding-top: 10rem;
    padding-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(121, 40, 202, 0.15), transparent 60%);
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 3rem;
    color: var(--gray);
}

.hero-animation {
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 2rem 0 4rem;
    position: relative;
}

/* Features section */
.features {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--light);
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.feature-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(110, 79, 246, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--light);
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--gray);
}

/* How it works section */
.how-it-works {
    padding: 6rem 0;
    background-color: rgba(18, 18, 24, 0.8);
}

.modules {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
}

.module {
    position: relative;
    padding: 2rem;
    border-radius: 15px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.module-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.module h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.3rem;
}

.module-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.module-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.check-icon {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* Demo section */
.demo {
    padding: 6rem 0;
    background: linear-gradient(to bottom, rgba(18, 18, 24, 0.8), rgba(18, 18, 24, 0.5));
}

.demo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.demo-input {
    width: 100%;
    margin-bottom: 3rem;
}

.prompt-input {
    width: 100%;
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--light);
    font-size: 1rem;
    font-family: var(--font-main);
    margin-bottom: 1rem;
}

.prompt-input:focus {
    outline: none;
    border-color: var(--accent);
}

.demo-outputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.output-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.output-header {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.output-type {
    font-weight: 600;
    font-size: 0.9rem;
}

.output-content {
    padding: 1rem;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.output-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    color: var(--gray);
}

.output-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.output-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.audio-player {
    width: 100%;
    padding: 1rem;
    opacity: 0;
    transition: opacity 1s ease;
}

/* Benefits section */
.benefits {
    padding: 6rem 0;
}

.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.benefit {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.benefit:nth-child(even) {
    flex-direction: row-reverse;
}

.benefit-content {
    flex: 1;
}

.benefit-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.benefit-icon {
    width: 80%;
    max-width: 300px;
}

.benefit h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.benefit p {
    color: var(--gray);
    margin-bottom: 1rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    text-align: center;
    background: linear-gradient(to bottom, rgba(18, 18, 24, 0.8), rgba(18, 18, 24, 0.5));
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--accent), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--gray);
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

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

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Footer */
footer {
    padding: 3rem 0;
    background-color: rgba(10, 10, 15, 0.8);
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .benefit {
        flex-direction: column !important;
        text-align: center;
    }
    
    .benefit-image {
        order: -1;
    }
    
    .hero-animation {
        height: 300px;
    }
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes shine {
    0% { background-position: -100%; }
    100% { background-position: 200%; }
}

.float {
    animation: float 6s ease-in-out infinite;
}

.pulse {
    animation: pulse 3s ease-in-out infinite;
}

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.hidden {
    display: none;
}

.ai-processing {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    gap: 1rem;
    z-index: 5;
}

.progress-bar {
    width: 80%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    border-radius: 3px;
}

/* Component Loading Styles */
.component-loading {
    padding: 2rem;
    text-align: center;
    color: var(--gray);
}

.component-error {
    padding: 2rem;
    text-align: center;
    color: #ff5555;
    background-color: rgba(255, 85, 85, 0.1);
    border-radius: 10px;
    margin: 1rem 0;
}

/* Loading Indicator */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 1rem;
}

.loading-indicator .spinner {
    width: 40px;
    height: 40px;
}

.loading-indicator p {
    color: var(--gray);
}

/* Print styles - hide certain elements when printing */
@media print {
    header, footer, .cta {
        display: none;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    /* @tweakable print specific adjustments */
    .feature-card, .module, .benefit {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* New Platform Styles */

/* Common Platform Component Styles */
.prompt-engineering, .model-selection, .style-system, .parameter-control,
.image-refinement, .variation-engine, .integration, .ethical-ai {
    padding: 5rem 0;
    background-color: rgba(18, 18, 24, 0.7);
    border-top: 1px solid var(--border-color);
}

.prompt-engineering-container, .model-selection-container, .style-system-container,
.parameter-control-container, .image-refinement-container, .variation-engine-container,
.integration-container, .ethical-ai-container {
    background: var(--panel-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.section-description {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2rem;
}

/* Prompt Engineering Styles */
.prompt-engineering-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.prompt-card {
    flex: 1 1 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.prompt-input-container {
    position: relative;
    margin: 1rem 0;
}

.prompt-input {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--light);
    font-size: 1rem;
    resize: vertical;
}

.prompt-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.prompt-dropdown {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.template-selector {
    padding: 0.5rem;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--light);
}

.template-placeholders {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.placeholder-btn {
    background-color: rgba(0, 238, 255, 0.2);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
}

.advanced-techniques {
    flex: 1 1 45%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
}

.technique-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.technique-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.toggle-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.technique-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.weighted-inputs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.weighted-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.concept-input {
    flex: 1;
    padding: 0.5rem;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--light);
}

.weight-input {
    width: 100px;
}

.weighted-tags, .style-modifier-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.weighted-tag, .style-tag {
    background-color: rgba(110, 79, 246, 0.2);
    border: 1px solid var(--primary);
    color: var(--light);
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.tag-remove {
    cursor: pointer;
    font-weight: bold;
}

.negative-input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--light);
    margin-bottom: 0.5rem;
}

.negative-strength {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.concept-blend {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.concept-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blend-plus {
    font-size: 1.5rem;
    color: var(--accent);
}

.blend-ratio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prompt-history-section {
    flex: 1 1 25%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
}

.prompt-history {
    max-height: 300px;
    overflow-y: auto;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.history-prompt {
    flex: 1;
    color: var(--gray);
}

.history-actions {
    display: flex;
    gap: 0.3rem;
}

.history-action {
    background: none;
    border: none;
    color: var(--accent);
    cursor: pointer;
    padding: 0.2rem;
}

.prompt-suggestions {
    flex: 1 1 25%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
}

.suggestions {
    list-style-type: none;
    padding: 0;
}

.suggestions li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--accent);
}

/* Model Selection Styles */
.model-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tab {
    padding: 0.8rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    color: var(--gray);
    border-bottom: 2px solid transparent;
}

.tab.active {
    background: rgba(0, 0, 0, 0.5);
    color: var(--light);
    border-bottom-color: var(--accent);
}

.model-panel {
    display: none;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 0 0 8px 8px;
    margin-bottom: 1.5rem;
}

.model-panel.active {
    display: block;
}

.model-selector-container {
    margin-bottom: 1.5rem;
}

.model-selector {
    width: 100%;
    padding: 0.8rem;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--light);
}

.model-details-container {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1rem;
}

.model-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.stat-label {
    width: 80px;
    color: var(--gray);
}

.stat-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: linear-gradient(to right, var(--accent), var(--primary));
    border-radius: 4px;
}

.stat-value {
    width: 50px;
    text-align: right;
}

.model-specialties {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
}

.specialty-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.specialty-tag {
    background-color: rgba(0, 238, 255, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.2rem 0.5rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.model-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.custom-model-toggle-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.custom-model-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
}

.custom-model-upload-container {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.upload-status {
    color: var(--info);
    margin: 0.5rem 0;
}

.model-auto-select {
    padding: 0.5rem;
}

.model-weights {
    margin: 1rem 0;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal.hidden {
    opacity: 0;
    visibility: hidden;
}

.modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    background-color: var(--dark);
    border-radius: 15px;
    overflow: hidden;
    z-index: 1001;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border-color);
}

.close-modal {
    background: none;
    border: none;
    color: var(--gray);
    font-size: 1.5rem;
    cursor: pointer;
}

.modal-content {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: calc(80vh - 60px);
}

.comparison-section {
    margin-bottom: 2rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.comparison-table th, .comparison-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--light);
}

.stat-bar.small {
    height: 6px;
    width: 100px;
}

/* Style System Styles */
.style-system-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.style-library, .style-mixing, .custom-styles-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
}

.style-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.style-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s, border-color 0.2s;
}

.style-card:hover {
    transform: translateY(-5px);
}

.style-card.selected {
    border-color: var(--accent);
}

.style-preview {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.style-preview svg {
    width: 100%;
    height: 100%;
}

.style-name {
    font-size: 0.9rem;
    color: var(--gray);
    text-align: center;
}

.style-intensity-container {
    margin: 1.5rem 0;
}

.style-intensity {
    width: 100%;
    margin-top: 0.5rem;
}

.style-preview-container {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    min-height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.empty-preview {
    color: var(--gray);
    text-align: center;
}

.style-mix-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mix-toggle-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.style-mix-list {
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.style-mix-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem;
    border-radius: 8px;
}

.mix-style-name {
    width: 100px;
    font-size: 0.9rem;
}

.style-weight {
    flex: 1;
}

.style-weight-value {
    width: 50px;
    text-align: right;
    font-size: 0.9rem;
}

.remove-style {
    background: none;
    border: none;
    color: var(--error);
    font-size: 1.2rem;
    cursor: pointer;
}

.style-mix-preview {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 1.5rem 0;
    min-height: 200px;
}

.style-mix-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.custom-styles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.custom-styles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.custom-style-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.custom-style-preview {
    width: 100%;
    height: 80px;
    margin: 0.5rem 0;
}

.custom-style-tag {
    background-color: rgba(110, 79, 246, 0.2);
    border: 1px solid var(--primary);
    color: var(--light);
    padding: 0.2rem 0.4rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: inline-block;
    margin: 0.2rem;
}

.custom-style-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.apply-custom-style, .delete-custom-style {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
}

.delete-custom-style {
    background-color: rgba(239, 71, 111, 0.2);
    color: var(--error);
    border: 1px solid var(--error);
}

/* Button Styles */
.btn-secondary {
    background: linear-gradient(to right, var(--accent), var(--info));
    color: var(--dark);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 238, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--gray);
    color: var(--gray);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light);
}

/* Model Notification */
.model-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--light);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transform: translateX(120%);
    transition: transform 0.3s ease-out;
}

.model-notification.show {
    transform: translateX(0);
}

/* Additional responsive styles */
@media (max-width: 768px) {
    .prompt-engineering-container, .style-system-container {
        flex-direction: column;
    }
    
    .model-tabs {
        flex-direction: column;
    }
    
    .tab {
        border-radius: 0;
    }
    
    .tab:first-child {
        border-radius: 8px 8px 0 0;
    }
    
    .style-system-container {
        grid-template-columns: 1fr;
    }
    
    .model-stat {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .stat-bar {
        width: 100%;
    }
    
    .style-mix-item {
        flex-wrap: wrap;
    }
    
    .custom-style-card {
        min-width: 140px;
    }
}