/* ===========================
   GeoVeil V2 Custom Styles
   =========================== */

/* Version Badge Animation */
.version-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
}

.feature-icon i {
    font-size: 28px;
}

/* V2 Highlight Box */
.v2-highlight {
    background: linear-gradient(90deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    border-left: 4px solid #667eea;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

/* Version Switcher Styles */
.version-switcher {
    position: relative;
    display: inline-block;
}

.version-btn {
    background: linear-gradient(135deg, #764ba2 0%, #f67280 100%);
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.version-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(118, 75, 162, 0.4);
}

.version-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: none;
    min-width: 180px;
    z-index: 1000;
}

.version-dropdown.show {
    display: block;
}

.version-option {
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.version-option:hover {
    background: #f5f5f5;
}

.version-option:first-child {
    border-radius: 8px 8px 0 0;
}

.version-option:last-child {
    border-radius: 0 0 8px 8px;
}

.version-option.active {
    background: #fff0f3;
    color: #764ba2;
    font-weight: 600;
}

.version-tag {
    background: #28a745;
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
}

/* Comparison Table */
.comparison-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .v2-col {
    background: rgba(102,126,234,0.05);
    font-weight: 600;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    height: 100%;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
    border: 1px solid rgba(102,126,234,0.2);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    background: white;
    color: #333;
    font-weight: 600;
    padding: 18px 20px;
    border: none;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(90deg, rgba(102,126,234,0.1) 0%, rgba(118,75,162,0.1) 100%);
    color: #764ba2;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
}

.faq-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23764ba2'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
    padding: 20px;
    background: white;
}

/* Section Styling */
.section-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
}

.section-subtitle {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 40px;
}

/* Footer V2 */
.footer-v2 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding-top: 80px;
    padding-bottom: 30px;
}

.footer-v2 h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-v2 .footer-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.footer-v2 .footer-icon i {
    font-size: 24px;
}

.footer-v2 a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-v2 a:hover {
    color: white;
}

.footer-copyright {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    margin-top: 50px;
}

/* Responsive Optimizations */
@media (min-width: 992px) {
    .navbar-nav {
        font-size: 15px;
    }
    
    .navbar-nav a {
        padding: 5px 8px;
        border-radius: 8px;
        transition: background 0.2s;
    }
    
    .navbar-nav a:hover {
        background: rgba(118, 75, 162, 0.1);
    }
}

@media (max-width: 991px) {
    .version-btn {
        font-size: 13px;
        padding: 5px 12px;
    }
    
    .navbar-nav {
        padding: 10px 0;
    }
    
    .navbar-nav li {
        padding: 5px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .comparison-table table {
        min-width: 500px;
    }
}