<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">:root {
    --primary-color: #8338ec;
    --primary-light: #f1e8ff;
    --primary-dark: #6c2bd9;
    --secondary-color: #ff5d8f;
    --text-color: #333;
    --text-light: #777;
    --background-color: #fff;
    --card-bg: #fff;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --error-color: #e63946;
    --success-color: #2a9d8f;
    --info-color: #4cc9f0;
    --warning-color: #f9c74f;
    --transition-speed: 0.3s;
}

.dark-mode {
    --primary-color: #9d4edd;
    --primary-light: #252a41;
    --primary-dark: #b87aee;
    --secondary-color: #ff5d8f;
    --text-color: #e0e0e0;
    --text-light: #aaa;
    --background-color: #121212;
    --card-bg: #1e1e1e;
    --border-color: #333;
    --shadow-color: rgba(0, 0, 0, 0.2);
}

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

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    transition: background-color var(--transition-speed) ease;
    padding-top: var(--nav-height);
}

main{
    margin-top: 40px;
}

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

/* Tool Header */
.tool-header {
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb i {
    margin: 0 0.5rem;
    font-size: 0.75rem;
}

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

.header-image {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 24px;
    padding: 1.5rem;
}

.header-image img {
    max-width: 100%;
    height: auto;
}

.header-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.header-text p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    max-width: 800px;
}

.tool-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

.meta-item i {
    margin-right: 0.5rem;
    font-size: 1rem;
    color: var(--primary-color);
}

/* Main Tool Content */
.tool-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.color-converter-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-color);
    overflow: hidden;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Color Picker Section */
.color-picker-section {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.color-preview-container {
    flex-shrink: 0;
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.color-preview {
    width: 180px;
    height: 180px;
    border-radius: 12px;
    background-color: #4361ee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.color-preview-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
    margin-top: 0.5rem;
}

.color-input-methods {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-method {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.input-method label {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-color);
}

input[type="color"] {
    width: 100%;
    height: 50px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2px;
    cursor: pointer;
    background-color: var(--card-bg);
}

.input-with-buttons {
    position: relative;
    display: flex;
    align-items: center;
}

.input-field {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    background-color: var(--card-bg);
    transition: border-color 0.2s ease;
}

.input-field:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-field::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.input-buttons {
    position: absolute;
    right: 0.5rem;
    display: flex;
    gap: 0.25rem;
}

.input-btn {
    background: none;
    border: none;
    width: 2rem;
    height: 2rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.input-btn:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
}

.input-hint {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Color Formats Section */
.color-formats-section {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.color-formats-section h3, 
.color-tools-section h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--text-color);
}

.color-formats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.format-card {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.2s ease;
}

.format-card:hover {
    border-color: var(--primary-color);
}

.format-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.format-value {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    word-break: break-all;
    user-select: all;
}

.copy-button {
    align-self: flex-start;
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.copy-button i {
    font-size: 1rem;
}

/* Color Tools Section */
.color-tools-section {
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.tool-option {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.tool-option .tool-header {
    background-color: var(--primary-light);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
}

.tool-option .tool-header i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.tool-option .tool-header span {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-color);
}

.tool-option .tool-content {
    padding: 1.25rem;
    gap: 1rem;
}

/* Opacity Slider */
.tool-option label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: var(--text-color);
}

input[type="range"] {
    width: 100%;
    height: 8px;
    background: linear-gradient(to right, var(--primary-color), var(--primary-light));
    border-radius: 4px;
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Shades and Tints */
.shades-container, .tints-container {
    display: flex;
    gap: 0.5rem;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
}

.shade-item, .tint-item {
    flex: 1;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 1px solid transparent;
}

.shade-item:hover, .tint-item:hover {
    transform: scale(1.05);
    border-color: var(--border-color);
}

/* Color Harmony */
.harmony-types {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.harmony-type {
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.harmony-type:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.harmony-type.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.harmony-colors {
    display: flex;
    gap: 1rem;
    height: 40px;
}

.harmony-color {
    flex: 1;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 1px solid var(--border-color);
}

.harmony-color:hover {
    transform: scale(1.05);
}

/* How to Use Section */
.info-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-color);
    padding: 1.5rem;
}

.info-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.info-card h2 i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.step-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: 700;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.step-content p {
    color: var(--text-light);
}

/* Color Formats Explanation */
.format-explanation-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.format-explanation-content &gt; p {
    color: var(--text-light);
}

.format-explanation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.25rem;
}

.format-explanation {
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.format-explanation h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.format-explanation p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.format-explanation code {
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
    cursor: pointer;
    position: relative;
    padding-right: 1.5rem;
}

.faq-question:after {
    content: "\ea4e";
    font-family: "remixicon";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question:after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    color: var(--text-light);
    padding-top: 0.5rem;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Related Tools Section */
.related-tools {
    margin-top: 1rem;
}

.related-tools h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.tool-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 12px var(--shadow-color);
    padding: 1.25rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px var(--shadow-color);
}

.tool-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.tool-card span {
    font-weight: 500;
    color: var(--text-color);
}

/* Success state for copy */
.copy-success {
    background-color: var(--success-color) !important;
    color: white !important;
    border-color: var(--success-color) !important;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .header-text h1 {
        font-size: 1.75rem;
    }
    
    .tool-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .color-picker-section {
        flex-direction: column;
    }
    
    .color-preview-container {
        width: 100%;
    }
    
    .color-preview {
        width: 80%;
        max-width: 180px;
    }
    
    .step {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .harmony-types {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .header-content {
        align-items: center;
    }
    
    .header-image {
        margin: 0 auto;
    }
    
    .header-text {
        text-align: center;
    }
    
    .tool-meta {
        justify-content: center;
    }
    
    .tools-grid, 
    .color-formats-grid, 
    .format-explanation-grid {
        grid-template-columns: 1fr;
    }
    
    .header-image {
        width: 90px;
        height: 90px;
    }
    
    .shades-container, 
    .tints-container {
        height: 40px;
    }
} </pre></body></html>