/* File: assets/css/style.css */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-primary);
    line-height: 1.6;
    transition: var(--transition);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
.navbar {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0 3rem;
    background: var(--primary-gradient);
    color: white;
    border-radius: 0 0 30px 30px;
    margin-bottom: 2rem;
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Feature Cards */
.feature-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1rem;
    text-align: center;
    color: white;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.25);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Usage Card */
.usage-card {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.usage-card h6 {
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* Tool Section */
.tool-section {
    padding: 2rem 0;
}

.tool-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.input-card, .output-card {
    border-radius: 20px;
    border: none;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.card-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Form Elements */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
}

.form-control::placeholder {
    color: #adb5bd;
}

.btn-group .btn {
    border-radius: 8px !important;
    margin: 2px;
}

/* Buttons */
.btn {
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline-primary {
    border: 2px solid #667eea;
    color: #667eea;
}

.btn-outline-primary:hover {
    background: #667eea;
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Output Text */
.output-text {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #28a745;
    font-size: 1.05rem;
    line-height: 1.8;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Info Section */
.info-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.info-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #667eea;
}

.info-card h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.info-card p {
    color: var(--text-secondary);
}

/* Footer */
.footer {
    background: var(--card-bg);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
}

/* Progress Bar */
.progress {
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(255,255,255,0.3);
}

.progress-bar {
    background: var(--secondary-gradient);
    border-radius: 10px;
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Dark Mode Toggle */
#theme-toggle {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
        border-radius: 0 0 20px 20px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        width: 100%;
    }
    
    .feature-card {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        text-align: center;
    }
    
    .feature-card span {
        font-size: 0.9rem;
    }
    
    .btn-group {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .btn-group .btn {
        margin: 0.25rem;
    }
}




/* Add to assets/css/style.css */

/* Human Score Circle */
.human-score {
    text-align: center;
}

.score-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.score-circle.high-score {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.score-circle.medium-score {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
}

.score-circle.low-score {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.score-value {
    font-size: 1.5rem;
    line-height: 1;
}

.score-label {
    font-size: 0.7rem;
    opacity: 0.9;
    margin-top: 2px;
}

/* Tips box */
.bg-light {
    background-color: rgba(0,0,0,0.02) !important;
}

/* Enhance button animation */
.enhance-btn {
    position: relative;
    overflow: hidden;
}

.enhance-btn:hover::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}