        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; padding: 1.5rem; }
        .studio-container { max-width: 1600px; margin: 0 auto; }
        /* Trust line styling - place this in your <style> tag */
.trust-line {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #e8f0fe 0%, #f0e8fe 100%);
    border-radius: 2rem;
    color: #4a5568;
    display: inline-block;
    width: auto;
    letter-spacing: 0.3px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* H2 styling inside seo-hero - place this in your <style> tag */
.seo-hero h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    line-height: 1.3;
}

/* For the second H2 (outside seo-hero but inside seo-content) */
.seo-content > h2 {
    font-size: 1.5rem;
    font-weight: 700;
    background-color: #fafcff;
    margin: 1.5rem 2rem 0.5rem 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
    color: #1a1a2e;
}
        
        /* Header */
        .studio-header { background: rgba(255,255,255,0.98); border-radius: 1.5rem; padding: 1.5rem 2rem; margin-bottom: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
        .header-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 1rem; }
        .logo h1 { font-size: 1.8rem; background: linear-gradient(135deg, #667eea, #764ba2); background-clip: text; -webkit-background-clip: text; color: transparent; }
        .logo-sub { font-size: 0.75rem; color: #6c757d; }
        .mode-selector { display: flex; gap: 0.5rem; flex-wrap: wrap; }
        .mode-btn { padding: 0.5rem 1rem; border: 1px solid #e2e8f0; background: white; border-radius: 2rem; cursor: pointer; transition: all 0.2s; font-size: 0.85rem; font-weight: 500; }
        .mode-btn.active { background: linear-gradient(135deg, #667eea, #764ba2); color: white; border-color: transparent; }
        
        /* Main Grid */
        .main-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 1.5rem; margin-bottom: 1.5rem; }
        @media (max-width: 1000px) { .main-grid { grid-template-columns: 1fr; } }
        
        /* Upload Card */
        .upload-card { background: white; border-radius: 1.5rem; padding: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
        .upload-zone { background: linear-gradient(135deg, #f8f9fa, #f1f3f5); border-radius: 1rem; border: 3px dashed #dee2e6; padding: 2rem; text-align: center; cursor: pointer; transition: all 0.3s; margin-bottom: 1rem; }
        .upload-zone:hover { border-color: #667eea; background: linear-gradient(135deg, #f0f2ff, #e8ebff); }
        .upload-zone.hidden { display: none; }
        .upload-icon { font-size: 3rem; }
        .upload-text { margin-top: 0.5rem; }
        .upload-hint { font-size: 0.7rem; color: #868e96; margin-top: 0.25rem; }
        .upload-subhint { font-size: 0.7rem; color: #667eea; margin-top: 0.5rem; }
        .image-preview-container { position: relative; margin-bottom: 1rem; display: none; }
        .uploaded-image { max-width: 100%; max-height: 250px; border-radius: 0.75rem; cursor: crosshair; display: none; }
        .remove-image-btn { position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,0.7); color: white; border: none; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
        .remove-image-btn:hover { background: #dc3545; }
        
        .section-title { font-weight: 600; margin-bottom: 0.5rem; }
        .extract-modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; margin: 1rem 0; }
        .extract-mode-btn { padding: 0.6rem; border: 1px solid #e2e8f0; background: white; border-radius: 0.75rem; cursor: pointer; transition: all 0.2s; font-size: 0.8rem; text-align: center; }
        .extract-mode-btn.active { background: linear-gradient(135deg, #667eea, #764ba2); color: white; border-color: transparent; }
        
        .color-picker-input { width: 100%; height: 50px; border-radius: 0.5rem; margin-bottom: 1rem; cursor: pointer; border: 1px solid #e2e8f0; }
        .brand-info-box { background: #f0f2ff; padding: 0.75rem; border-radius: 0.75rem; margin-bottom: 1rem; font-size: 0.75rem; }
        .brand-info-text strong { font-weight: 700; }
        .brand-kit-btn { width: 100%; padding: 0.75rem; background: linear-gradient(135deg, #667eea, #764ba2); color: white; border: none; border-radius: 0.75rem; cursor: pointer; font-weight: 600; transition: all 0.2s; }
        .brand-kit-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(102,126,234,0.4); }
        .brand-kit-result { display: none; margin-top: 1rem; padding: 1rem; background: linear-gradient(135deg, #e8f0fe, #f0e8fe); border-radius: 0.75rem; border-left: 4px solid #667eea; }
        .brand-role-badge { display: inline-block; background: #667eea; color: white; font-size: 0.65rem; padding: 0.2rem 0.5rem; border-radius: 1rem; margin-right: 0.5rem; }
        
        /* Color Grid */
        .color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 0.8rem; max-height: 400px; overflow-y: auto; padding-right: 0.5rem; }
        .color-item { background: white; border-radius: 0.75rem; overflow: hidden; border: 1px solid #e9ecef; transition: all 0.2s; box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
        .color-item:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
        .color-swatch-lg { height: 80px; position: relative; }
        .lock-btn { position: absolute; top: 5px; right: 5px; background: rgba(0,0,0,0.5); border: none; color: white; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 12px; backdrop-filter: blur(4px); transition: all 0.2s; }
        .lock-btn:hover { transform: scale(1.1); }
        .lock-btn.locked { background: #f59e0b; }
        .color-details { padding: 0.6rem; }
        .color-hex { font-family: monospace; font-weight: 700; font-size: 0.8rem; margin-bottom: 0.3rem; }
        .color-values { font-size: 0.65rem; color: #6c757d; }
        .copy-btns { display: flex; gap: 0.3rem; margin-top: 0.3rem; }
        .copy-mini { background: #f1f3f5; border: none; padding: 0.2rem 0.4rem; border-radius: 0.3rem; font-size: 0.6rem; cursor: pointer; transition: all 0.2s; }
        .copy-mini:hover { background: #667eea; color: white; }
        
        /* Preview Card */
        .preview-card { background: white; border-radius: 1.5rem; padding: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
        .palette-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
        .palette-title { font-size: 1.2rem; font-weight: 600; }
        .palette-stats { display: flex; gap: 0.5rem; align-items: center; }
        .color-count { font-size: 0.8rem; }
        .reset-btn { background: none; border: none; color: #dc3545; cursor: pointer; font-size: 0.8rem; }
        .preview-section { margin-top: 1.5rem; }
        .preview-section-title { margin-bottom: 0.5rem; font-size: 1rem; font-weight: 600; }
        .preview-examples { display: grid; gap: 1rem; margin-top: 1rem; }
        .preview-button { padding: 0.75rem 1.5rem; border-radius: 0.75rem; font-weight: 600; text-align: center; transition: all 0.3s; border: none; cursor: pointer; }
        .preview-card-demo { padding: 1rem; border-radius: 0.75rem; transition: all 0.3s; }
        .preview-card-demo h4 { margin-bottom: 0.5rem; font-size: 1rem; }
        .preview-card-demo p { font-size: 0.8rem; line-height: 1.4; }
        .preview-text { padding: 0.75rem; border-radius: 0.5rem; font-size: 0.85rem; font-weight: 500; transition: all 0.3s; }
        .gradient-section { margin-top: 1rem; }
        .gradient-label { margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 600; }
        .gradient-preview { height: 60px; border-radius: 0.75rem; margin-top: 0.5rem; }
        .accessibility-card { margin-top: 1rem; padding: 1rem; background: #f8f9fa; border-radius: 0.75rem; border-left: 4px solid #667eea; }
        .accessibility-title { margin-bottom: 0.5rem; font-size: 0.9rem; font-weight: 600; }
        .accessibility-content { font-size: 0.75rem; }
        
        /* Export Card */
        .export-card { background: white; border-radius: 1.5rem; padding: 1.5rem; margin-top: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
        .export-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
        .export-tab { padding: 0.5rem 1rem; background: #f1f3f5; border: none; border-radius: 0.5rem; cursor: pointer; transition: all 0.2s; }
        .export-tab.active { background: linear-gradient(135deg, #667eea, #764ba2); color: white; }
        .export-content { background: #1e1e2e; color: #e2e8f0; padding: 1rem; border-radius: 0.75rem; font-family: monospace; font-size: 0.75rem; overflow-x: auto; white-space: pre-wrap; max-height: 300px; overflow-y: auto; }
        .copy-export-btn { margin-top: 0.5rem; padding: 0.5rem 1rem; background: #667eea; color: white; border: none; border-radius: 0.5rem; cursor: pointer; transition: all 0.2s; }
        .copy-export-btn:hover { background: #5a67d8; }
        
        /* Color Preview Bubble */
        .color-preview-bubble { position: fixed; width: 70px; height: 70px; border-radius: 50%; border: 3px solid white; box-shadow: 0 4px 20px rgba(0,0,0,0.3); pointer-events: none; z-index: 10000; transform: translate(-50%, -50%); display: none; }
        .color-preview-bubble::after { content: attr(data-hex); position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,0.85); color: white; font-family: monospace; font-size: 10px; font-weight: 600; padding: 4px 8px; border-radius: 20px; white-space: nowrap; }
        
        /* SEO Content */
        .seo-content { margin-top: 2rem; background: white; border-radius: 1.5rem; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
        .seo-hero { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: white; padding: 3rem 2rem; text-align: center; }
        .seo-hero h2 { font-size: 2rem; margin-bottom: 1rem; }
        .seo-hero p { font-size: 1.1rem; max-width: 800px; margin: 0 auto; opacity: 0.9; }
        .seo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; padding: 3rem 2rem; background: #fafcff; }
        .seo-card { background: white; border-radius: 1rem; padding: 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.05); border: 1px solid #eef2f6; transition: all 0.3s; }
        .seo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.1); }
        .seo-card h3 { font-size: 1.3rem; margin-bottom: 1rem; color: #1a1a2e; }
        .seo-card p, .seo-card li { color: #4a5568; line-height: 1.6; }
        .seo-card ul, .seo-card ol { margin-left: 1.5rem; margin-top: 0.5rem; }
        .seo-card li { margin: 0.5rem 0; }
        .feature-badge { display: inline-block; background: linear-gradient(135deg, #667eea, #764ba2); color: white; font-size: 0.7rem; padding: 0.2rem 0.6rem; border-radius: 1rem; margin-bottom: 0.75rem; }
        .glossary-term { font-weight: 700; color: #667eea; }
        .faq-q { font-weight: 700; color: #1a1a2e; margin-top: 1rem; }
        .faq-q:first-child { margin-top: 0; }
        
        /* Tools Links */
        .tools-links { background: white; border-radius: 1.5rem; padding: 1.5rem; margin-top: 1.5rem; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
        .tools-title { margin-bottom: 1rem; font-size: 1.1rem; font-weight: 600; }
        .tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.8rem; list-style: none; margin-top: 1rem; }
        .tools-grid li a { color: #4a5568; text-decoration: none; font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem; border-radius: 0.5rem; transition: all 0.2s; }
        .tools-grid li a:hover { background: #f1f3f5; color: #667eea; transform: translateX(4px); }
        
        .footer { text-align: center; margin-top: 1.5rem; color: rgba(255,255,255,0.7); font-size: 0.75rem; }
        .toast-msg { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: rgba(26,26,46,0.95); color: white; padding: 0.8rem 1.8rem; border-radius: 50px; z-index: 1000; opacity: 0; transition: opacity 0.3s; pointer-events: none; font-size: 0.85rem; backdrop-filter: blur(8px); }
        
        .empty-palette { text-align: center; padding: 2rem; color: #adb5bd; }
        .hidden { display: none; }
        
        /* SEO Headers */
        .seo-h2-top { font-size: 1.5rem; margin: 0 0 0.5rem 0; color: #1a1a2e; }