:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #93c5fd;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --accent: #8b5cf6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: var(--light);
    color: var(--dark);
    background-image: 
        radial-gradient(var(--primary-light) 1px, transparent 1px),
        radial-gradient(var(--primary-light) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    background-attachment: fixed;
}

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

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

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo h1 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 2.8rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 2.5rem;
    animation: pulse 2s infinite;
}

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

.subtitle {
    color: var(--gray);
    font-size: 1.2rem;
    margin-top: 0;
    font-weight: 400;
}

.content {
    background-color: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--light-gray);
}

h2 {
    color: var(--primary-dark);
    margin-top: 0;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
}

.features {
    margin-bottom: 2rem;
    background: var(--light);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

.features h3 {
    color: var(--secondary-dark);
    margin-top: 0;
}

.feature-item {
    margin-bottom: 0.8rem;
    padding-left: 1.8rem;
    position: relative;
}

.feature-item:before {
    content: "✓";
    color: var(--secondary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.generate-btn {
    background: linear-gradient(to right, var(--primary), var(--accent));
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    display: block;
    margin: 2.5rem auto 1.5rem;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
    font-weight: 600;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(37, 99, 235, 0.25);
}

.generate-btn:active {
    transform: translateY(0);
}

.proof-output {
    margin-top: 2rem;
    transition: all 0.3s ease;
}

.proof-result {
    background: linear-gradient(to right, #f0f9ff, #f0fdf4);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
    animation: fadeIn 0.5s ease;
}

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

.proof-result h3 {
    color: var(--secondary-dark);
    margin-top: 0;
}

.proof-code {
    font-family: 'Courier New', monospace;
    background-color: var(--dark);
    color: var(--light);
    padding: 1rem;
    border-radius: 4px;
    overflow-x: auto;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.proof-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.proof-button:hover {
    background-color: #45a049;
}

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

.extension-status {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

/* Адаптивность */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .content {
        padding: 1.5rem;
    }
    
    .logo h1 {
        font-size: 2.2rem;
    }
    
    .logo-icon {
        font-size: 2rem;
    }
}