* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #1a1a1a;
    color: #ffffff;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* Intro Section */
.intro-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.intro-content {
    max-width: 800px;
    background-color: rgba(42, 42, 42, 0.8);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    animation: pulse 2s infinite;
}

.intro-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #0066cc, #00b894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(0, 102, 204, 0.3);
}

.intro-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #aaa;
}

.intro-description {
    margin-bottom: 30px;
    line-height: 1.6;
}

.intro-button {
    padding: 15px 40px;
    font-size: 1.2rem;
    background: linear-gradient(90deg, #0066cc, #00b894);
    border: none;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.5);
    margin-top: 20px;
}

.intro-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.6);
}

.intro-button:active {
    transform: translateY(1px);
}

/* Main App Layout */
.main-app {
    display: flex;
    min-height: 100vh;
}

.hidden {
    display: none !important;
}

.sidebar {
    width: 240px;
    background-color: #222;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #333;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
}

.sidebar-logo {
    margin-right: 10px;
}

.sidebar-header h2 {
    font-size: 1.2rem;
}

.sidebar-menu {
    list-style: none;
    padding: 10px 0;
    flex-grow: 1;
}

.sidebar-menu li {
    padding: 12px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
}

.sidebar-menu li:hover {
    background-color: #2a2a2a;
}

.sidebar-menu li.active {
    background-color: #0066cc;
    position: relative;
}

.sidebar-menu li.active::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border-style: solid;
    border-width: 8px 8px 8px 0;
    border-color: transparent #1a1a1a transparent transparent;
}

.icon {
    margin-right: 10px;
    font-style: normal;
}

.sidebar-footer {
    padding: 15px 20px;
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #777;
}

.copyright {
    margin-top: 5px;
}

.main-content {
    flex-grow: 1;
    background-color: #1a1a1a;
    position: relative;
    padding: 20px;
}

.tool-container {
    display: none;
}

.tool-container.active {
    display: block;
}

.coming-soon {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    margin: 40px auto;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.coming-soon h2 {
    margin-bottom: 15px;
    color: #0066cc;
}

.coming-soon p {
    margin-bottom: 30px;
    color: #aaa;
}

.progress-bar {
    height: 10px;
    background-color: #333;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #0066cc, #00b894);
    border-radius: 5px;
}

.progress-text {
    font-size: 14px;
    color: #777;
}

/* Settings */
.settings-container {
    background-color: #2a2a2a;
    border-radius: 10px;
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.settings-container h2 {
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.settings-section {
    margin-bottom: 30px;
}

.settings-section h3 {
    margin-bottom: 15px;
    color: #0066cc;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #333;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item label {
    font-size: 14px;
}

.setting-item input, .setting-item select {
    width: 300px;
    padding: 8px 12px;
    background-color: #333;
    border: 1px solid #444;
    border-radius: 4px;
    color: white;
}

.api-key-container {
    display: flex;
    width: 300px;
}

.api-key-container input {
    border-radius: 4px 0 0 4px;
    flex-grow: 1;
}

.show-key-btn {
    background-color: #444;
    border: 1px solid #444;
    border-left: none;
    border-radius: 0 4px 4px 0;
    color: white;
    padding: 0 10px;
    cursor: pointer;
}

.toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #444;
    border-radius: 24px;
    transition: .4s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

input:checked + .toggle-slider {
    background-color: #0066cc;
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/* Original styles */
.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #2a2a2a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.header {
    background-color: #0066cc;
    padding: 20px;
    text-align: center;
}

.header h1 {
    margin-bottom: 5px;
}

.disclaimer {
    font-size: 12px;
    opacity: 0.8;
}

.input-section {
    padding: 20px;
    background-color: #333;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.form-group {
    flex: 1;
    min-width: 200px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

input {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #444;
    color: white;
}

button {
    padding: 10px 20px;
    background-color: #00b894;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #00a383;
}

button:disabled {
    background-color: #777;
    cursor: not-allowed;
}

.console-section {
    padding: 10px 20px;
}

.console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.console-indicators {
    display: flex;
    align-items: center;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #777;
    margin-right: 8px;
}

.indicator.active {
    background-color: #00b894;
    box-shadow: 0 0 8px #00b894;
    animation: pulse 1.5s infinite;
}

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

.console {
    background-color: #222;
    border-radius: 5px;
    padding: 10px;
    height: 250px;
    overflow-y: auto;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
}

.console::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, #00b894, #0066cc);
    border-radius: 5px 5px 0 0;
    animation: loading 2s infinite linear;
    background-size: 200% 100%;
}

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

.console p {
    margin: 5px 0;
    word-break: break-word;
}

.console p::before {
    content: "$ ";
    opacity: 0.6;
}

.success {
    color: #00b894;
}

.success::before {
    content: "✓ " !important;
    color: #00b894;
}

.error {
    color: #ff6b6b;
}

.error::before {
    content: "✗ " !important;
    color: #ff6b6b;
}

.warning {
    color: #ffb142;
}

.warning::before {
    content: "! " !important;
    color: #ffb142;
}

.info {
    color: #5cabff;
}

.stats-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px;
}

.stat-card {
    background-color: #333;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.stat-card h3 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #aaa;
}

.stat-card p {
    font-size: 24px;
    font-weight: bold;
}