/* Enhanced BackendForge Styles */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

/* Enhanced form inputs */
.form-input:focus {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Feature cards selection effect */
.feature-card input:checked + div {
    color: #1e40af;
}

.feature-card:has(input:checked) {
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    border-color: #3b82f6;
    transform: scale(1.02);
}

/* Template cards enhanced hover */
.template-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Button enhancements */
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Loading animation enhancements */
.loading-spinner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite reverse;
}

/* Results section enhancements */
.results-card {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* File structure terminal effect */
#fileStructure {
    font-family: 'Fira Code', 'Monaco', 'Consolas', monospace;
    line-height: 1.8;
    font-size: 14px;
}

#fileStructure .ml-4 {
    margin-left: 1.5rem;
}

#fileStructure .ml-8 {
    margin-left: 3rem;
}

/* Enhanced modal */
.modal-backdrop {
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.6);
}

/* Notification improvements */
.notification {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Hero section particles effect */
.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(30px) rotate(240deg); }
}

/* Stats cards hover effect */
.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

/* Enhanced typography */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.025em;
}

/* Improved focus states */
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Enhanced project info cards */
#projectInfo > div {
    padding: 8px 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

#projectInfo > div:last-child {
    border-bottom: none;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .hero-gradient h1 {
        font-size: 2.5rem;
    }
    
    .stats-card {
        margin-bottom: 1rem;
    }
    
    .notification {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .glass-effect {
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Print styles */
@media print {
    .hero-gradient,
    .notification,
    button {
        display: none !important;
    }
}

/* E
nsure all buttons are visible */
button {
    cursor: pointer;
}

button:not([class*="bg-"]) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: none;
}

/* Fix any white buttons */
button.bg-white {
    color: #1f2937 !important;
    border: 2px solid #e5e7eb !important;
}

/* Template card button visibility */
.template-card button {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Enhanced Button Styles - Override any issues */
#reportBtn {
    background: linear-gradient(135deg, #f97316 0%, #dc2626 100%) !important;
    color: white !important;
    border: none !important;
    font-weight: 600 !important;
}

#reportBtn:hover {
    background: linear-gradient(135deg, #ea580c 0%, #b91c1c 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4) !important;
}

/* Enhanced Action Buttons */
.results-card button {
    font-weight: 600 !important;
    letter-spacing: 0.025em !important;
    border: none !important;
}

/* Enhanced Template Cards */
.template-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.template-card:hover {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    border-color: #667eea;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.template-card button {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.template-card button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4) !important;
}

/* Enhanced Form Inputs */
.form-input {
    background: linear-gradient(145deg, #ffffff, #f8fafc) !important;
    border: 2px solid #e2e8f0 !important;
    transition: all 0.3s ease !important;
    font-size: 16px !important;
}

.form-input:focus {
    background: #ffffff !important;
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1), 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px) !important;
}

/* Enhanced Feature Cards */
.feature-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc) !important;
    border: 2px solid #e2e8f0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.feature-card:hover {
    background: linear-gradient(145deg, #f8fafc, #ffffff) !important;
    border-color: #667eea !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.15) !important;
}

.feature-card:has(input:checked) {
    background: linear-gradient(135deg, #dbeafe, #e0e7ff) !important;
    border-color: #3b82f6 !important;
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.2) !important;
}

/* Enhanced Results Section */
.results-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px) !important;
}

/* Enhanced File Structure */
#fileStructure {
    background: linear-gradient(145deg, #ffffff, #f8fafc) !important;
    border: 2px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

#fileStructure .text-blue-400 {
    color: #3b82f6 !important;
    font-weight: 600 !important;
}

/* Enhanced Generation Report */
#generationReport {
    background: linear-gradient(135deg, #dbeafe, #e0f2fe) !important;
    border: 2px solid rgba(59, 130, 246, 0.2) !important;
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.1) !important;
}

#reportContent > div {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95)) !important;
    border-radius: 12px !important;
    padding: 24px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

#reportContent > div:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Enhanced Project Info */
#projectInfo > div {
    padding: 16px 0 !important;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1) !important;
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
    margin-bottom: 4px !important;
}

#projectInfo > div:hover {
    background: rgba(59, 130, 246, 0.05) !important;
    padding-left: 12px !important;
    transform: translateX(4px) !important;
}

/* Enhanced Loading Animation */
.loading-spinner {
    border: 4px solid rgba(102, 126, 234, 0.2) !important;
    border-radius: 50% !important;
    border-top: 4px solid #667eea !important;
    width: 60px !important;
    height: 60px !important;
    animation: spin 1s linear infinite !important;
}

/* Enhanced Stats Cards */
.stats-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95)) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.stats-card:hover {
    transform: translateY(-8px) scale(1.05) !important;
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2) !important;
}

/* Enhanced Notifications */
.notification {
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15) !important;
}

/* Enhanced Primary Buttons */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3) !important;
    border: none !important;
    font-weight: 600 !important;
    letter-spacing: 0.025em !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4) !important;
}

.btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
    box-shadow: 0 8px 25px rgba(240, 147, 251, 0.3) !important;
    border: none !important;
    font-weight: 600 !important;
    letter-spacing: 0.025em !important;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ed64a6 0%, #e53e3e 100%) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(240, 147, 251, 0.4) !important;
}/* Beau
tiful Animations and Micro-interactions */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.8);
    }
}

/* Apply animations to different sections */
.template-card:nth-child(1) {
    animation: slideInFromLeft 0.6s ease-out;
}

.template-card:nth-child(2) {
    animation: slideInFromRight 0.6s ease-out 0.1s both;
}

.feature-card:nth-child(odd) {
    animation: slideInFromLeft 0.5s ease-out;
}

.feature-card:nth-child(even) {
    animation: slideInFromRight 0.5s ease-out 0.1s both;
}

.results-card {
    animation: slideInFromBottom 0.8s ease-out;
}

/* Enhanced hover effects */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

/* Enhanced button press effects */
button:active {
    transform: translateY(1px) scale(0.98);
}

/* Enhanced focus states */
*:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* Beautiful scrollbar for file structure */
#fileStructure::-webkit-scrollbar {
    width: 8px;
}

#fileStructure::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

#fileStructure::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 4px;
}

#fileStructure::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

/* Enhanced text selection */
::selection {
    background: rgba(102, 126, 234, 0.2);
    color: #1f2937;
}

/* Enhanced placeholder text */
::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.form-input::placeholder {
    color: #6b7280;
    font-style: italic;
}

/* Enhanced disabled states */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Enhanced loading states */
.loading-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Enhanced success states */
.success-glow {
    animation: successGlow 2s ease-in-out;
}

@keyframes successGlow {
    0% {
        box-shadow: 0 0 0 rgba(34, 197, 94, 0);
    }
    50% {
        box-shadow: 0 0 30px rgba(34, 197, 94, 0.6);
    }
    100% {
        box-shadow: 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Enhanced error states */
.error-shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}/* 
Beautiful Enhancements */

/* Enhanced Hero Section */
.hero-gradient {
    position: relative;
    overflow: hidden;
}

.hero-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
    pointer-events: none;
}

/* Enhanced Glass Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(15px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

/* Enhanced Floating Animation */
.floating-animation {
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    25% { 
        transform: translateY(-15px) rotate(1deg); 
    }
    50% { 
        transform: translateY(-25px) rotate(0deg); 
    }
    75% { 
        transform: translateY(-15px) rotate(-1deg); 
    }
}

/* Enhanced Pulse Glow */
.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite alternate;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.6);
}

@keyframes pulseGlow {
    from { 
        box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
        transform: scale(1);
    }
    to { 
        box-shadow: 0 0 40px rgba(102, 126, 234, 0.8);
        transform: scale(1.05);
    }
}

/* Enhanced Section Backgrounds */
#features {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 50%, #dbeafe 100%);
    position: relative;
}

#features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23667eea" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.025em;
    font-weight: 700;
}

.hero-gradient h1 {
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Enhanced Interactive Elements */
.interactive-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-hover:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Enhanced Form Container */
.form-container {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* Enhanced Success States */
.success-state {
    animation: successPulse 2s ease-in-out;
}

@keyframes successPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-gradient h1 {
        font-size: 3rem;
        line-height: 1.1;
    }
    
    .stats-card {
        margin-bottom: 1rem;
        padding: 1.5rem;
    }
    
    .template-card {
        padding: 1.5rem;
    }
    
    .results-card {
        padding: 1.5rem;
    }
    
    .notification {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
    
    .btn-primary, .btn-secondary {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Enhanced Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .glass-effect {
        background: rgba(0, 0, 0, 0.3) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .form-input {
        background: linear-gradient(145deg, #1f2937, #374151) !important;
        color: white !important;
        border-color: #4b5563 !important;
    }
    
    .template-card, .results-card {
        background: linear-gradient(145deg, #1f2937, #374151) !important;
        color: white !important;
        border-color: #4b5563 !important;
    }
}

/* Enhanced Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enhanced Print Styles */
@media print {
    .hero-gradient,
    .notification,
    button,
    .floating-animation {
        display: none !important;
    }
    
    .results-card {
        box-shadow: none !important;
        border: 2px solid #000 !important;
    }
}

/* Beautiful Focus Indicators */
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(102, 126, 234, 0.5);
    outline-offset: 2px;
}

/* Enhanced Loading States */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}/* N
avigation Styles */
.nav-link {
    @apply text-gray-600 hover:text-blue-600 transition-colors duration-200 font-medium;
}

.nav-link.active {
    @apply text-blue-600 font-semibold;
}

.mobile-nav-link {
    @apply block px-4 py-2 text-gray-600 hover:text-blue-600 hover:bg-gray-50 transition-colors duration-200;
}

.mobile-nav-link.active {
    @apply text-blue-600 bg-blue-50 font-semibold;
}

/* Enhanced animations and effects */
* {
    font-family: "Inter", sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-gradient {
    background: linear-gradient(
        135deg,
        #1e3a8a 0%,
        #3730a3 25%,
        #7c3aed 50%,
        #db2777 75%,
        #dc2626 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    from {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    }
    to {
        box-shadow: 0 0 30px rgba(99, 102, 241, 0.8);
    }
}

.feature-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #ed64a6 0%, #e53e3e 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(240, 147, 251, 0.4);
}

.form-input {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.form-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.loading-spinner {
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 3px solid #ffffff;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.slide-in {
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.template-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.template-card:hover {
    background: linear-gradient(145deg, #f8fafc, #ffffff);
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.results-card {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stats-card {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.9),
        rgba(248, 250, 252, 0.9)
    );
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.notification {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Success glow effect for results */
.success-glow {
    animation: successGlow 2s ease-in-out;
}

@keyframes successGlow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 20px 60px rgba(34, 197, 94, 0.3);
    }
}