/* Custom Styles for localhosted.io Landing Page - English Version */

/* Global Styles */
* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animations */
.animated-bg {
    background: linear-gradient(45deg, 
        rgba(0, 217, 255, 0.1) 0%, 
        rgba(99, 102, 241, 0.1) 50%, 
        rgba(0, 217, 255, 0.1) 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    height: 100%;
    width: 100%;
}

.animated-bg-2 {
    background: linear-gradient(-45deg, 
        rgba(0, 217, 255, 0.05) 0%, 
        rgba(99, 102, 241, 0.05) 25%,
        rgba(168, 85, 247, 0.05) 50%,
        rgba(0, 217, 255, 0.05) 100%);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
    height: 100%;
    width: 100%;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hero Section Enhancements */
.hero-section {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, 
        rgba(0, 217, 255, 0.1) 0%,
        transparent 70%);
    pointer-events: none;
}

/* Terminal Animation */
.terminal-container {
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Feature Cards */
.feature-card {
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(0, 217, 255, 0.05) 0%,
        rgba(99, 102, 241, 0.05) 100%);
    border-radius: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 217, 255, 0.2),
                0 10px 10px -5px rgba(0, 217, 255, 0.1);
}

/* Pricing Cards */
.pricing-card {
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(0, 217, 255, 0.03) 0%,
        rgba(99, 102, 241, 0.03) 100%);
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 217, 255, 0.25);
}

/* Popular Badge Animation */
.pricing-card:nth-child(2) {
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(0, 217, 255, 0.5);
    }
}

/* FAQ Section */
.faq-item {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: rgba(51, 65, 85, 0.8);
    box-shadow: 0 10px 25px -5px rgba(0, 217, 255, 0.1);
}

.faq-question {
    cursor: pointer;
    user-select: none;
}

.faq-question:focus {
    outline: none;
}

.faq-question i {
    transition: transform 0.3s ease;
    transform-origin: center;
}

.faq-question.active i {
    transform: rotate(180deg) !important;
}

.faq-answer {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease, opacity 0.3s ease !important;
    opacity: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.faq-answer.show {
    max-height: 300px !important;
    opacity: 1 !important;
    padding-top: 0 !important;
    padding-bottom: 1.5rem !important;
}

/* Force accordion to work even with Tailwind conflicts */
.faq-item .faq-answer {
    display: block !important;
}

.faq-item .faq-answer.show {
    display: block !important;
}

/* Button Enhancements */
.btn-gradient {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #00D9FF, #6366f1);
    transition: all 0.3s ease;
}

.btn-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    transition: left 0.5s ease;
}

.btn-gradient:hover::before {
    left: 100%;
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation for Buttons */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* English-specific Typography Adjustments */
h1, h2, h3 {
    letter-spacing: -0.02em;
}

/* Adjust for longer English text in buttons */
button, .btn {
    padding-left: 1rem;
    padding-right: 1rem;
    white-space: nowrap;
    word-wrap: break-word;
    hyphens: auto;
}

/* Pricing card buttons specific adjustments */
.pricing-card button {
    font-size: 0.875rem;
    line-height: 1.25rem;
    padding: 0.75rem 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
}

@media (min-width: 768px) {
    .pricing-card button {
        font-size: 1rem;
        line-height: 1.5rem;
        padding: 0.75rem 1.5rem;
    }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-section {
        min-height: 90vh;
        padding-top: 2rem;
    }
    
    .terminal-container {
        margin-top: 2rem;
    }
    
    .pricing-card:nth-child(2) {
        transform: scale(1);
        margin-top: 2rem;
    }
    
    .pricing-card:nth-child(2):hover {
        transform: scale(1.02);
    }
    
    /* Adjust button text size on mobile for English */
    button, .btn {
        font-size: 0.875rem;
        padding: 0.75rem 1.25rem;
    }
    
    /* Adjust pricing badge for mobile */
    .pricing-card span {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1e293b;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00D9FF, #6366f1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #6366f1, #00D9FF);
}

/* Particle Effect for Background */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(0, 217, 255, 0.5);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(odd) {
    background: rgba(99, 102, 241, 0.5);
    animation-duration: 8s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.5;
    }
}

/* Typography Enhancements */
.text-gradient {
    background: linear-gradient(45deg, #00D9FF, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Focus States for Accessibility */
button:focus,
a:focus {
    outline: 2px solid #00D9FF;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-dark { background-color: #000; }
    .bg-dark-light { background-color: #111; }
    .text-gray-300 { color: #fff; }
    .text-gray-400 { color: #ccc; }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* UX & Microcopy Styles */

/* Progressive Disclosure */
.user-journey-selector {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(99, 102, 241, 0.1));
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.journey-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.journey-btn {
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(100, 116, 139, 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.journey-btn:hover,
.journey-btn.active {
    border-color: #00D9FF;
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 217, 255, 0.2);
}

.journey-btn i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #00D9FF;
}

.journey-btn small {
    display: block;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Adaptive Content */
.adaptive-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.adaptive-content.active {
    opacity: 1;
    max-height: 1000px;
}

/* Feature Tabs */
.feature-tabs {
    margin: 3rem 0;
}

.tab-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(100, 116, 139, 0.3);
}

.tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 1rem 1.5rem;
    border-radius: 0.5rem 0.5rem 0 0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.tab-btn:hover,
.tab-btn.active {
    color: #00D9FF;
    background: rgba(0, 217, 255, 0.1);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: #00D9FF;
}

.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.tab-content.active {
    display: block;
}

/* Onboarding Styles */
.onboarding-hint {
    position: fixed;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-width: 300px;
}

.onboarding-hint.show {
    opacity: 1;
    transform: translateY(0);
}

.onboarding-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.onboarding-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: linear-gradient(135deg, #0F172A, #1E293B);
    border: 1px solid rgba(100, 116, 139, 0.3);
    border-radius: 1rem;
    max-width: 800px;
    margin: 2rem auto;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.onboarding-modal.show .modal-content {
    transform: scale(1);
}

.timeline-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-icon.green { background: linear-gradient(135deg, #10B981, #059669); }
.step-icon.blue { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.step-icon.purple { background: linear-gradient(135deg, #8B5CF6, #7C3AED); }
.step-icon.primary { background: linear-gradient(135deg, #00D9FF, #6366f1); }

.step-connector {
    width: 2px;
    height: 3rem;
    background: linear-gradient(to bottom, rgba(0, 217, 255, 0.3), transparent);
}

.timeline-step:last-child .step-connector {
    display: none;
}

.confidence-boosters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 0.75rem;
}

.booster {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Purchase Progress */
.purchase-progress {
    background: rgba(30, 41, 59, 0.5);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1.5rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #00D9FF, #6366f1);
    color: #0F172A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Smart FAQ Styles */
.faq-smart-filters {
    margin-bottom: 3rem;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.faq-filter {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(100, 116, 139, 0.3);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.faq-filter:hover,
.faq-filter.active {
    background: rgba(0, 217, 255, 0.2);
    border-color: #00D9FF;
    color: #00D9FF;
}

.filter-badge {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    background: linear-gradient(135deg, #00D9FF, #6366f1);
    color: #0F172A;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 1rem;
    font-weight: bold;
}

.smart-suggestions {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 217, 255, 0.05);
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.suggestion-label {
    color: #00D9FF;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.suggestion-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.suggestion-btn {
    background: transparent;
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: #00D9FF;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.suggestion-btn:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-1px);
}

/* Microcopy Elements */
.pricing-microcopy {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(100, 116, 139, 0.3);
}

.pricing-microcopy small {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.reassurance {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-reassurance {
    text-align: center;
    margin-top: 1rem;
}

.micro-copy {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.field-help {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Tooltips */
.tooltip-trigger {
    position: relative;
    cursor: help;
    border-bottom: 1px dotted rgba(0, 217, 255, 0.5);
}

.tooltip {
    position: absolute;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: white;
    font-size: 0.85rem;
    max-width: 250px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(15, 23, 42, 0.95);
}

/* Expectation Setters */
.expectation-setter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 217, 255, 0.1);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 2rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #00D9FF;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Preview Onboarding Button */
.preview-onboarding-btn {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: #00D9FF;
    padding: 0.75rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.preview-onboarding-btn:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: #00D9FF;
}

/* FAQ Helpful Voting */
.helpful-btn {
    background: transparent;
    border: 1px solid rgba(100, 116, 139, 0.3);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    cursor: pointer;
}

.helpful-btn:hover {
    border-color: #00D9FF;
    color: #00D9FF;
}

.helpful-btn.voted {
    background: rgba(0, 217, 255, 0.2);
    border-color: #00D9FF;
    color: #00D9FF;
}

.faq-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(100, 116, 139, 0.3);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

/* Scaling Steps */
.scaling-step {
    text-align: center;
    padding: 2rem 1rem;
}

.scaling-step .step-number {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #00D9FF, #6366f1);
    color: #0F172A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}

/* Support Visual Enhancements */
.support-visual .bg-slate-800 {
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease 0.5s both;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .journey-buttons {
        grid-template-columns: 1fr;
    }
    
    .tab-nav {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .progress-steps {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-content {
        margin: 1rem;
        max-height: 95vh;
    }
    
    .scaling-step {
        padding: 1rem 0.5rem;
    }
    
    .support-visual {
        margin-top: 2rem;
    }
}

/* Comparison Table Styles */
.comparison table {
    border-collapse: separate;
    border-spacing: 0;
}

.comparison th,
.comparison td {
    border: none;
    position: relative;
}

.comparison tbody tr {
    transition: background-color 0.3s ease;
}

.comparison tbody tr:hover {
    background-color: rgba(51, 65, 85, 0.5) !important;
}

/* Highlight our column */
.comparison th:nth-child(2),
.comparison td:nth-child(2) {
    background-color: rgba(0, 217, 255, 0.05);
    position: relative;
}

.comparison th:nth-child(2)::before,
.comparison td:nth-child(2)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00D9FF, #6366f1);
}

.comparison th:nth-child(2)::after,
.comparison td:nth-child(2)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00D9FF, #6366f1);
}

/* Mobile comparison cards */
@media (max-width: 1023px) {
    .comparison .lg\\:hidden .bg-slate-800 {
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
    }
    
    .comparison .lg\\:hidden .bg-slate-800:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 217, 255, 0.1);
    }
}

/* Competitor logos styling */
.comparison img {
    filter: invert(1) opacity(0.6);
    transition: opacity 0.3s ease;
}

.comparison img:hover {
    opacity: 0.8;
}

/* Icons in comparison */
.comparison .fas {
    transition: transform 0.2s ease;
}

.comparison .fas:hover {
    transform: scale(1.1);
}

/* Print styles */
@media print {
    .hero-section,
    .animated-bg,
    .animated-bg-2 {
        background: white !important;
        color: black !important;
    }
    
    .bg-dark,
    .bg-dark-light,
    .bg-slate-800 {
        background: white !important;
        color: black !important;
    }
    
    .comparison table {
        border: 1px solid #000;
    }
    
    .comparison th,
    .comparison td {
        border: 1px solid #ccc;
        color: #000 !important;
    }
}

/* Social Proof Section Styles */
.social-proof-section {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.8));
    backdrop-filter: blur(10px);
}

/* Trust Statistics */
.stat-item {
    text-align: center;
    padding: 1rem;
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, transparent, rgba(0, 217, 255, 0.5));
}

.stat-item:first-child::before {
    display: none;
}

/* Featured Testimonial Card */
.testimonial-card-featured {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.testimonial-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 217, 255, 0.05) 0%,
        rgba(99, 102, 241, 0.05) 100%);
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.testimonial-card-featured:hover::before {
    opacity: 1;
}

.testimonial-card-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 217, 255, 0.25),
                0 0 0 1px rgba(0, 217, 255, 0.1);
}

/* Compact Testimonial Cards */
.testimonial-card-compact {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.testimonial-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 217, 255, 0.03) 0%,
        rgba(99, 102, 241, 0.03) 100%);
    border-radius: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.testimonial-card-compact:hover::before {
    opacity: 1;
}

.testimonial-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 217, 255, 0.15),
                0 4px 6px -2px rgba(0, 217, 255, 0.1);
}

/* Testimonial avatars */
.testimonial-card-featured .w-14.h-14,
.testimonial-card-compact .w-10.h-10 {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.testimonial-card-featured:hover .w-14.h-14,
.testimonial-card-compact:hover .w-10.h-10 {
    transform: scale(1.05);
}

/* Stars animation */
.testimonial-card-featured .fa-star,
.testimonial-card-compact .fa-star {
    transition: color 0.3s ease, transform 0.2s ease;
}

.testimonial-card-featured:hover .fa-star,
.testimonial-card-compact:hover .fa-star {
    color: #FCD34D !important;
    animation: starPulse 0.6s ease-in-out;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Text gradient for section title */
.text-gradient {
    background: linear-gradient(135deg, #00D9FF, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Trust badges section */
.trust-badges {
    animation: fadeInUp 1s ease 0.3s both;
}

.trust-badges .font-semibold {
    position: relative;
    transition: all 0.3s ease;
    cursor: default;
}

.trust-badges .font-semibold:hover {
    color: rgba(0, 217, 255, 0.8);
    transform: translateY(-2px);
}

.trust-badges .font-semibold::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #00D9FF, #6366f1);
    transition: width 0.3s ease;
}

.trust-badges .font-semibold:hover::after {
    width: 100%;
}

/* Statistics counter animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item .text-3xl,
.stat-item .text-4xl {
    animation: countUp 0.8s ease-out;
    background: linear-gradient(135deg, #00D9FF, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Responsive adjustments for social proof */
@media (max-width: 768px) {
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .stat-item .text-3xl,
    .stat-item .text-4xl {
        font-size: 2rem;
    }
    
    .trust-badges {
        gap: 1rem;
    }
    
    .trust-badges .font-semibold {
        font-size: 0.9rem;
    }
}

/* Testimonials grid responsive behavior */
@media (min-width: 768px) and (max-width: 1023px) {
    .testimonial-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 66.666667%;
        margin: 0 auto;
    }
}

/* Loading effect for statistics */
.stat-item.loading .text-3xl,
.stat-item.loading .text-4xl {
    background: linear-gradient(90deg, 
        rgba(0, 217, 255, 0.3) 25%, 
        rgba(0, 217, 255, 0.8) 50%, 
        rgba(0, 217, 255, 0.3) 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Social proof accessibility */
.testimonial-card:focus-within {
    outline: 2px solid #00D9FF;
    outline-offset: 2px;
}

.stat-item[role="img"] {
    outline: none;
}

/* High contrast mode for social proof */
@media (prefers-contrast: high) {
    .testimonial-card {
        border: 2px solid #fff;
        background: #000;
    }
    
    .stat-item .text-3xl,
    .stat-item .text-4xl {
        color: #00D9FF;
        -webkit-text-fill-color: #00D9FF;
    }
    
    .trust-badges .font-semibold {
        color: #fff;
    }
}