:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --secondary-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --light-bg: #f9fafb;
    --dark-bg: #1f2937;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #1f2937;
    background-color: #ffffff;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
}

.navbar-brand {
    font-size: 1.5rem;
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
}

.hero-section h1 {
    color: white;
}

.hero-section .lead {
    color: rgba(255,255,255,0.95);
}

.feature-badges .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.card {
    border: none;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

.shadow-lg {
    box-shadow: 0 10px 25px rgba(0,0,0,.1) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 24px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79,70,229,.3);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.1rem;
}

.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e5e7eb;
    padding: 12px;
    transition: border-color 0.2s;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(79,70,229,.15);
}

textarea.form-control {
    resize: vertical;
}

.features-section {
    background-color: white;
}

.features-section h2 {
    font-weight: 700;
    color: #1f2937;
}

.feature-card {
    height: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(79,70,229,.15);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
}

.use-cases-section {
    background-color: var(--light-bg);
}

.use-case-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    height: 100%;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.use-case-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    transform: translateY(-4px);
}

.use-case-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.use-case-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.use-case-card p {
    color: #6b7280;
    font-size: 0.9rem;
    margin: 0;
}

.alert {
    border-radius: 8px;
    border: none;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
}

.alert-warning {
    background-color: #fef3c7;
    color: #92400e;
}

.alert-danger {
    background-color: #fee2e2;
    color: #991b1b;
}

.alert-info {
    background-color: #dbeafe;
    color: #1e40af;
}

.accordion-button {
    font-weight: 500;
    background-color: white;
}

.accordion-button:not(.collapsed) {
    background-color: #ede9fe;
    color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

footer {
    margin-top: auto;
}

footer a:hover {
    text-decoration: underline !important;
}

.input-group .btn {
    border-radius: 0 8px 8px 0;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .feature-card, .use-case-card {
        margin-bottom: 1rem;
    }
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}
