/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #4F46E5; /* Indigo 600 */
    --primary-glow: rgba(79, 70, 229, 0.4);
    --secondary: #ec4899; /* Pink 500 */
    --bg-color: #0f172a; /* Slate 900 (Dark Theme) */
    --card-bg: #1e293b; /* Slate 800 */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: #334155;
    --success: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    color: transparent;
    text-decoration: none;
}

/* Button UI */
.btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Tool Container Styles */
.tool-container {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}

.tool-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.tool-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Input & Controls */
textarea, input, select {
    width: 100%;
    background: #020617;
    border: 2px solid var(--border);
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

textarea:focus, input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.result-box {
    background: #020617;
    border: 1px dashed var(--border);
    padding: 20px;
    border-radius: 8px;
    min-height: 100px;
    margin-top: 20px;
    position: relative;
}

/* Content Area (SEO) */
.content-section {
    max-width: 800px;
    margin: 60px auto;
    color: var(--text-muted);
}

.content-section h2 {
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 15px;
}

.content-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-section li {
    margin-bottom: 10px;
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 40px 0;
    text-align: center;
    margin-top: 80px;
    color: var(--text-muted);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tool-header h1 { font-size: 1.8rem; }
    .container { padding: 0 15px; }
}