        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: #0a0a0a;
            color: #e5e5e5;
            line-height: 1.5;
        }

        .container {
            max-width: 1440px;
            margin: 0 auto;
            padding: 2rem;
        }

        .onboarding {
            background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
            border-radius: 1rem;
            padding: 1.25rem 1.5rem;
            margin-bottom: 2rem;
            border: 1px solid #2a2a3a;
            position: relative;
            overflow: hidden;
        }

        .onboarding::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, #3b82f6, #8b5cf6, #3b82f6);
        }

        .steps {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
        }

        .step {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex: 1;
            min-width: 180px;
        }

        .step-number {
            width: 32px;
            height: 32px;
            background: #2a2a3a;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            font-size: 0.875rem;
            color: #3b82f6;
        }

        .step.active .step-number {
            background: #3b82f6;
            color: white;
        }

        .step.completed .step-number {
            background: #10b981;
            color: white;
        }

        .step-text {
            font-size: 0.875rem;
        }

        .step-title {
            font-weight: 600;
            margin-bottom: 0.125rem;
        }

        .step-desc {
            font-size: 0.75rem;
            color: #888;
        }

        .step.active .step-desc {
            color: #3b82f6;
        }

        .header {
            margin-bottom: 2rem;
            border-bottom: 1px solid #2a2a2a;
            padding-bottom: 1rem;
        }

        .header h1 {
            font-size: 1.5rem;
            font-weight: 500;
            letter-spacing: -0.02em;
            margin-bottom: 0.25rem;
        }

        .header h1 span {
            color: #3b82f6;
        }

        .header p {
            color: #888;
            font-size: 0.875rem;
        }

        .studio-layout {
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 2rem;
        }

        .preview-column {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .canvas-area {
            background: #0f0f0f;
            border-radius: 1rem;
            padding: 2rem;
            border: 1px solid #2a2a2a;
        }

        .canvas-wrapper {
            background: #000000;
            border-radius: 0.5rem;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 2rem;
            margin-bottom: 1.5rem;
            position: relative;
        }

        #favicon-canvas {
            display: block;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
            background: transparent;
            cursor: crosshair;
        }

        .image-controls-panel {
            margin-top: 1rem;
            padding: 1rem;
            background: #0a0a0a;
            border-radius: 0.5rem;
            border: 1px solid #2a2a2a;
        }

        .position-controls {
            display: flex;
            gap: 0.5rem;
            align-items: center;
            margin-top: 0.5rem;
            flex-wrap: wrap;
        }

        .position-btn {
            background: #1a1a1a;
            border: 1px solid #2a2a2a;
            padding: 0.5rem 0.75rem;
            border-radius: 0.375rem;
            color: white;
            cursor: pointer;
            font-size: 0.875rem;
            transition: all 0.2s;
        }

        .position-btn:hover {
            background: #2a2a2a;
            border-color: #3b82f6;
        }

        .size-grid {
            display: flex;
            gap: 0.75rem;
            justify-content: center;
            margin-top: 1rem;
            flex-wrap: wrap;
        }

        .size-badge {
            background: #1a1a1a;
            padding: 0.375rem 0.75rem;
            border-radius: 0.375rem;
            font-size: 0.7rem;
            font-family: monospace;
            color: #888;
        }

        .browser-preview {
            background: #0f0f0f;
            border-radius: 1rem;
            padding: 1.5rem;
            border: 1px solid #2a2a2a;
        }

        .browser-bar {
            background: #1a1a1a;
            border-radius: 0.5rem;
            padding: 0.75rem;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .browser-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #2a2a2a;
        }

        .browser-url {
            background: #0a0a0a;
            padding: 0.375rem 0.75rem;
            border-radius: 0.375rem;
            flex: 1;
            font-size: 0.75rem;
            color: #888;
            font-family: monospace;
        }

        .page-preview {
            background: #ffffff;
            border-radius: 0.5rem;
            min-height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            gap: 1rem;
            padding: 2rem;
        }

        .preview-favicon {
            width: 32px;
            height: 32px;
            border-radius: 0.25rem;
        }

        .preview-title {
            color: #1a1a1a;
            font-size: 1rem;
            font-weight: 500;
        }

        .preview-text {
            color: #666;
            font-size: 0.75rem;
        }

        .controls-panel {
            background: #0f0f0f;
            border-radius: 1rem;
            padding: 1.5rem;
            border: 1px solid #2a2a2a;
            height: fit-content;
        }

        .section {
            margin-bottom: 1.5rem;
        }

        .section-title {
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-weight: 600;
            color: #888;
            margin-bottom: 0.75rem;
        }

        .mode-selector {
            display: flex;
            gap: 0.5rem;
            background: #1a1a1a;
            padding: 0.25rem;
            border-radius: 0.5rem;
        }

        .mode-option {
            flex: 1;
            text-align: center;
            padding: 0.625rem;
            background: transparent;
            border: none;
            color: #888;
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            border-radius: 0.375rem;
            transition: all 0.2s;
        }

        .mode-option.active {
            background: #2a2a2a;
            color: #fff;
        }

        .control-group {
            margin-bottom: 1rem;
        }

        .control-label {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            font-weight: 500;
            color: #aaa;
            margin-bottom: 0.5rem;
        }

        .color-picker-wrapper {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }

        .color-swatch {
            width: 40px;
            height: 40px;
            border-radius: 0.375rem;
            border: 1px solid #2a2a2a;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .color-swatch:hover {
            transform: scale(1.05);
        }

        .color-input {
            flex: 1;
            padding: 0.625rem;
            background: #1a1a1a;
            border: 1px solid #2a2a2a;
            border-radius: 0.375rem;
            color: #fff;
            font-size: 0.875rem;
            font-family: monospace;
        }

        .color-presets {
            display: flex;
            gap: 0.5rem;
            margin-top: 0.5rem;
            flex-wrap: wrap;
        }

        .color-preset {
            width: 28px;
            height: 28px;
            border-radius: 0.25rem;
            cursor: pointer;
            border: 1px solid #2a2a2a;
            transition: transform 0.2s;
        }

        .color-preset:hover {
            transform: scale(1.1);
            border-color: #3b82f6;
        }

        .range-input {
            width: 100%;
            padding: 0;
            height: 2px;
            -webkit-appearance: none;
            background: #2a2a2a;
        }

        .range-input::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 12px;
            height: 12px;
            background: #3b82f6;
            border-radius: 50%;
            cursor: pointer;
        }

        .radio-group {
            display: flex;
            gap: 1rem;
            margin-top: 0.5rem;
        }

        .radio-option {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            cursor: pointer;
            font-size: 0.875rem;
        }

        .radio-option input {
            width: auto;
            cursor: pointer;
        }

        .vector-presets {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.5rem;
            margin-top: 0.5rem;
        }

        .vector-preset {
            aspect-ratio: 1;
            background: #1a1a1a;
            border: 1px solid #2a2a2a;
            border-radius: 0.375rem;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            color: #fff;
            font-size: 1rem;
        }

        .vector-preset:hover,
        .vector-preset.active {
            border-color: #3b82f6;
            background: #2a2a2a;
        }

        .export-section {
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid #2a2a2a;
        }

        .btn {
            width: 100%;
            padding: 0.75rem;
            background: #1a1a1a;
            border: 1px solid #2a2a2a;
            border-radius: 0.5rem;
            color: #fff;
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            margin-bottom: 0.75rem;
        }

        .btn-primary {
            background: #3b82f6;
            border-color: #3b82f6;
        }

        .btn-primary:hover {
            background: #2563eb;
        }

        .btn:hover {
            transform: translateY(-1px);
        }

        .integration-section {
            margin-top: 2rem;
            background: #0f0f0f;
            border-radius: 1rem;
            padding: 1.5rem;
            border: 1px solid #2a2a2a;
        }

        .deployment-guide h3 {
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: #e5e5e5;
        }

        .deployment-guide p {
            font-size: 0.875rem;
            color: #aaa;
            margin-bottom: 1rem;
            line-height: 1.6;
        }

        .code-block {
            background: #0a0a0a;
            border-radius: 0.5rem;
            padding: 1rem;
            position: relative;
            margin-bottom: 1rem;
            border: 1px solid #2a2a2a;
        }

        .code-block pre {
            font-family: 'Monaco', 'Menlo', monospace;
            font-size: 0.7rem;
            overflow-x: auto;
            color: #ccc;
        }

        .copy-btn {
            position: absolute;
            top: 0.5rem;
            right: 0.5rem;
            background: #2a2a2a;
            border: none;
            padding: 0.25rem 0.5rem;
            border-radius: 0.25rem;
            color: #fff;
            font-size: 0.625rem;
            cursor: pointer;
            font-family: inherit;
            transition: all 0.2s;
        }

        .copy-btn:hover {
            background: #3b82f6;
        }

        .tools-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
            margin-top: 1rem;
        }

        .tool-card {
            background: #0a0a0a;
            border: 1px solid #2a2a2a;
            border-radius: 0.75rem;
            padding: 1rem;
            text-decoration: none;
            transition: all 0.2s;
            display: block;
        }

        .tool-card:hover {
            border-color: #3b82f6;
            transform: translateY(-2px);
        }

        .tool-card h4 {
            color: #e5e5e5;
            font-size: 0.875rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .tool-card p {
            color: #888;
            font-size: 0.75rem;
        }

        .toast {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            background: #2a2a2a;
            color: #fff;
            padding: 0.75rem 1.25rem;
            border-radius: 0.5rem;
            font-size: 0.875rem;
            z-index: 1000;
            animation: fadeInUp 0.2s ease;
            border-left: 3px solid #3b82f6;
        }

        .toast-error {
            border-left-color: #ef4444;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.75rem;
            color: #888;
            margin-top: 1rem;
        }

        .dot {
            width: 6px;
            height: 6px;
            background: #10b981;
            border-radius: 50%;
        }

        .hidden {
            display: none;
        }

        @media (max-width: 1024px) {
            .studio-layout {
                grid-template-columns: 1fr;
            }
            .container {
                padding: 1.5rem;
            }
            .steps {
                flex-direction: column;
                align-items: stretch;
            }
            .tools-grid {
                grid-template-columns: 1fr;
            }
        }