:root {
    --primary-color: #4361ee;
    --secondary-color: #3f37c9;
    --accent-color: #4895ef;
    --light-color: #f8f9fa;
    --dark-color: #212529;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    min-height: 100vh;
    /*padding: 20px;*/
    /*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
}

.header-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 15px;
    padding: 30px 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.card {
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: hidden;
    transition: transform 0.3s ease;
    margin-bottom: 25px;
    background-color: rgba(255, 255, 255, 0.95);
}

/*.card:hover {*/
/*    transform: translateY(-5px);*/
/*}*/

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 10px;
    border-bottom: none;
    font-weight: 600;
    font-size: 1.2rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3a55d5 0%, #3730a3 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(67, 97, 238, 0.3);
}

.btn-outline-secondary {
    background: linear-gradient(135deg, #e6e9f0 0%, #eef1f5 100%);
    border: none;
    padding: 12px 25px;
    font-weight: 600;
}

.btn-outline-secondary:hover {
    background: linear-gradient(135deg, #d8dbe3 0%, #e2e6ee 100%);
}

textarea {
    min-height: 200px;
    resize: vertical;
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #e9ecef;
    transition: border-color 0.3s ease;
    font-size: 1.05rem;
}

textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.15);
    outline: none;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.progress-container {
    margin-top: 25px;
}

.progress {
    height: 12px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.feature-card {
    border-radius: 12px;
    padding: 25px;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

footer {
    text-align: center;
    padding: 30px 0 20px;
    color: #6c757d;
    font-size: 0.9rem;
}

.highlight {
    animation: highlight 1s ease;
}

@keyframes highlight {
    0% {
        background-color: rgba(255, 234, 0, 0.4);
        transform: scale(1.02);
    }
    100% {
        background-color: transparent;
        transform: scale(1);
    }
}

.text-example {
    background: rgba(67, 97, 238, 0.05);
    border-radius: 12px;
    padding: 15px;
    font-size: 0.95rem;
    border-left: 4px solid var(--primary-color);
}

.tool-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.char-percentage {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 5px;
    font-weight: 500;
}
