:root {
    /* Primary Colors */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    
    /* Secondary Colors */
    --secondary-color: #7c3aed;
    --secondary-dark: #6d28d9;
    --secondary-light: #8b5cf6;
    
    /* Tertiary Colors */
    --tertiary-color: #f3f4f6;
    --tertiary-dark: #e5e7eb;
    --tertiary-light: #f9fafb;
    
    /* Text Colors */
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-light: #6b7280;
    
    /* Background Colors */
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-dark: #111827;
    
    /* Gradient Colors */
    --gradient-start: #2563eb;
    --gradient-end: #7c3aed;
    
    /* Shadow Colors */
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Global Styles */
.hover-up {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.hover-up:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px var(--shadow-hover), 0 2px 4px -1px var(--shadow-hover);
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    transition: all 0.2s ease-in-out;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px var(--shadow-hover);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px -1px var(--shadow-hover);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: all 0.2s ease-in-out;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px var(--shadow-hover);
}

.btn-outline:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px -1px var(--shadow-hover);
}

/* Card Styles */
.card-gradient {
    background: linear-gradient(135deg, var(--bg-white), var(--tertiary-light));
    border: 1px solid var(--tertiary-dark);
    transition: all 0.3s ease-in-out;
}

.card-gradient:hover {
    border-color: var(--primary-light);
    box-shadow: 0 10px 15px -3px var(--shadow-hover);
}

/* FAQ Styles */
.faq-toggle {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.faq-toggle:hover {
    color: var(--primary-color);
}

.faq-toggle:focus {
    outline: none;
}

.faq-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.faq-content {
    max-height: 0;
    transition: max-height 0.3s ease-in-out;
    overflow: hidden;
}

.faq-content:not(.hidden) {
    max-height: 1000px;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradient 5s ease infinite;
}

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, var(--bg-light), var(--tertiary-light));
    position: relative;
    overflow: hidden;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, var(--primary-light) 0%, transparent 60%);
    opacity: 0.1;
    z-index: 0;
}

/* Stats Section */
.stats-item {
    transition: all 0.3s ease-in-out;
}

.stats-item:hover {
    transform: translateY(-2px);
    color: var(--primary-color);
}

/* Process Section Styles */
.process-section {
    position: relative;
    overflow: hidden;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--tertiary-light) 100%);
    opacity: 0.5;
    z-index: 0;
}

.process-container {
    position: relative;
    z-index: 1;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary-light));
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px var(--shadow-hover);
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.step-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.step-details {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 0.5rem;
    margin-top: 1rem;
}

@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid::before {
        display: none;
    }
}

@media (max-width: 640px) {
    .process-grid {
        grid-template-columns: 1fr;
    }
}

/* Features Section Styles */
.features-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--tertiary-light) 100%);
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, var(--primary-light) 0%, transparent 60%);
    opacity: 0.05;
    z-index: 0;
}

.features-container {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--bg-white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px var(--shadow-hover);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.feature-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.feature-list li::before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease-in-out;
}

.cta-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px var(--shadow-hover);
}

/* Animations */
@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .hero-gradient::before {
        opacity: 0.05;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
        animation: none !important;
    }
}

/* Print Styles */
@media print {
    .hero-gradient::before,
    .gradient-text,
    .btn-primary,
    .btn-outline,
    .card-gradient,
    .faq-toggle,
    .faq-content,
    .stats-item,
    .process-step,
    .feature-card,
    .cta-section {
        all: revert;
    }
}

/* FAQ Section Styles */
.faq-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px var(--shadow-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px var(--shadow-hover);
}

.faq-question {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

@media (max-width: 640px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}
