:root {
    --primary-color: #1e293b; /* Slate blue-gray */
    --secondary-color: #334155; /* Medium slate */
    --accent-color: #3b82f6; /* Modern blue */
    --success-color: #10b981; /* Emerald green */
    --warning-color: #f59e0b; /* Amber */
    --background-color: #f8fafc; /* Light gray */
    --surface-color: #ffffff; /* Pure white */
    --text-color: #1e293b; /* Dark slate */
    --text-muted: #64748b; /* Medium gray */
    --border-color: #e2e8f0; /* Light border */
    --shadow-color: rgba(30, 41, 59, 0.1);
    --border-radius: 16px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--text-color);
    padding: 40px 20px;
    line-height: 1.6;
}

.main-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.header-content h1 {
    font-size: 2.5em !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: -0.025em !important;
}

.header-content p {
    color: var(--text-muted) !important;
    font-size: 1.1em !important;
    font-weight: 400 !important;
    max-width: 600px !important;
    margin: 0 auto !important;
}

.dna-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.modern-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    justify-content: center;
}

.tabs ul li a {
    background: var(--surface-color) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-muted) !important;
    border-radius: var(--border-radius) !important;
    padding: 14px 24px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    box-shadow: var(--shadow) !important;
    position: relative !important;
}

.tabs ul li a:hover {
    background: var(--background-color) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 25px -8px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    border-color: var(--accent-color) !important;
}

.tabs ul li.is-active a {
    background: var(--accent-color) !important;
    color: white !important;
    border-color: var(--accent-color) !important;
    box-shadow: 0 8px 25px -8px var(--accent-color), 0 4px 6px -2px rgba(59, 130, 246, 0.1) !important;
}

.content-box {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    resize: vertical;
    margin-bottom: 20px;
    min-height: 200px;
    transition: all 0.2s ease;
    background: var(--surface-color);
    color: var(--text-color);
}

.textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: var(--surface-color);
}

.button {
    background: var(--accent-color) !important;
    border: none !important;
    color: white !important;
    border-radius: var(--border-radius) !important;
    transition: all 0.2s ease !important;
    font-weight: 600 !important;
    padding: 12px 24px !important;
    box-shadow: var(--shadow) !important;
    position: relative !important;
    overflow: hidden !important;
    font-size: 14px !important;
    letter-spacing: 0.025em !important;
}

.button:hover {
    background: #2563eb !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 25px -8px var(--accent-color), 0 4px 6px -2px rgba(59, 130, 246, 0.1) !important;
}

.button:active {
    transform: translateY(0px) !important;
    box-shadow: var(--shadow) !important;
}

.button.is-info {
    background: var(--success-color) !important;
}

.button.is-info:hover {
    background: #059669 !important;
}

/* Keep existing utility classes */
[x-cloak] { display: none !important; }

.panel {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    box-shadow: inset 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.result:hover {
    background-color: var(--background-color);
    cursor: pointer;
    border-radius: 6px;
}

@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .modern-tabs {
        flex-wrap: wrap;
    }

    .tab-button {
        padding: 10px 20px;
    }
}