:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --dark: #1e293b;
    --light: #f8fafc;
    --bg: #1e293b;
    --content-bg: rgba(30, 41, 59, 0.7);
    --text: #f8fafc;
    --text-secondary: #94a3b8;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    --tab-inactive: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] {
    --bg: #f8fafc;
    --content-bg: rgba(248, 250, 252, 0.9);
    --text: #1e293b;
    --text-secondary: #64748b;
    --border: rgba(0, 0, 0, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --tab-inactive: rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(79, 70, 229, 0.1) 0%, transparent 50%);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 800px;
    padding: 2rem;
    position: relative;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

h1 {
    font-size: 3rem;
    margin: 0;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

h1::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 4px;
    bottom: -10px;
    left: 0;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: 2px;
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.content-box {
    background: var(--content-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.language-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tab {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab.active {
    background: var(--primary);
    color: white;
}

.tab:not(.active) {
    background: var(--tab-inactive);
    color: var(--text-secondary);
}

.tab:not(.active):hover {
    background: var(--primary);
    color: white;
    opacity: 0.8;
}

.content {
    display: none;
}

.content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.flint-highlight {
    color: var(--primary);
    font-weight: 700;
}

.footer {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-link {
    color: var(--text-secondary);
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: var(--primary);
}

.theme-toggle {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.theme-toggle i {
    font-size: 1.2rem;
}