/* Custom CSS for BrowserVault */

:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
    --gradient-primary: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-secondary: linear-gradient(135deg, #10b981, #3b82f6);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation - Updated for Modern Design */
.navbar {
    padding: 1rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
  color: white !important;
}

.navbar-nav .nav-link:hover {
    color: rgba(235, 222, 222, 0.9) !important;
    transform: translateY(-1px);
}

/* Modern Navigation Styles */
.modern-nav {
    padding: 0.75rem 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-nav.scrolled {
    padding: 0.5rem 0;
    background: rgba(99, 102, 241, 0.95) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* Brand Styling */
.brand-hover {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.brand-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s;
}

.brand-hover:hover::before {
    left: 100%;
}

.brand-hover:hover {
    transform: translateY(-1px);
    color: white !important;
}

.brand-icon {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.brand-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-hover:hover .brand-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Browser Badge in Browser Nav */
.browser-badge {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.browser-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-50%) translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.browser-logo {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.browser-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
}

/* Modern Toggler */
.modern-toggler {
    border: none;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    position: relative;
    overflow: hidden;
}

.modern-toggler:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.2);
    outline: none;
}

.modern-toggler:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.toggler-line {
    width: 20px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    display: block;
    position: relative;
}

/* Default state - hamburger icon (when collapsed) */
.modern-toggler.collapsed .toggler-line {
    transform: none;
    opacity: 1;
}

/* Animated state - X icon (when menu is open) */
.modern-toggler:not(.collapsed) .toggler-line:nth-child(1) {
    transform: rotate(45deg) translate(2px, 2px);
}

.modern-toggler:not(.collapsed) .toggler-line:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.modern-toggler:not(.collapsed) .toggler-line:nth-child(3) {
    transform: rotate(-45deg) translate(2px, -2px);
}

/* Add subtle animation on state change */
.modern-toggler[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.25);
}

/* Ensure proper spacing for lines */
.modern-toggler .toggler-line:nth-child(1) {
    margin-bottom: 4px;
}

.modern-toggler .toggler-line:nth-child(3) {
    margin-top: 4px;
}

/* Mobile menu transition enhancement */
.navbar-collapse {
    transition: all 0.3s ease-in-out;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        margin-top: 10px;
        padding: 15px;
    }
    
    .modern-toggler {
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-primary);
    color: white;
}

.hero-background {
    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 1000 1000"><polygon fill="%23ffffff08" points="0,0 1000,300 1000,1000 0,700"/><polygon fill="%23ffffff04" points="0,300 1000,600 1000,1000 0,1000"/></svg>');
    background-size: cover;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
}

.hero-buttons .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-stats {
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.floating-card .browser-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 1.5rem;
}

/* Browser Cards */
.browser-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e2e8f0;
}

.browser-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Ensure text remains visible on hover */
.browser-card:hover .list-unstyled li {
    color: #475569 !important;
}

.browser-card:hover .text-muted {
    color: #64748b !important;
}

.browser-card:hover .small {
    color: #475569 !important;
}

.browser-header {
    padding: 2rem;
    text-align: center;
    position: relative;
}

.browser-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.browser-body {
    padding: 1.5rem;
    flex-grow: 1;
}

.browser-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.browser-description {
    color: #64748b;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.browser-meta {
    margin-bottom: 1rem;
}

.browser-footer {
    padding: 0 1.5rem 1.5rem;
}

.browser-footer .btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 0.75rem;
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* About Section */
.about-features .about-feature {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid #e2e8f0;
}

/* Service Items in About Section */
.service-item {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.service-item h6 {
    font-weight: 600;
    color: var(--dark-color);
}

.services-overview {
    margin-bottom: 1.5rem;
}

.services-overview h5 {
    font-weight: 600;
}

/* Browser Detail Page Styles */
.browser-hero {
    position: relative;
    padding: 1.2rem 0 1rem;
    color: white;
    overflow: hidden;
}

.browser-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.9;
}

.browser-hero-content {
    position: relative;
    z-index: 2;
}

.browser-icon-large {
    font-size: 4rem;
    opacity: 0.9;
}

.browser-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.browser-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.browser-meta-info {
    margin-top: 2rem;
}

.meta-item {
    text-align: center;
    margin-bottom: 1rem;
}

.meta-item strong {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}

.meta-item span {
    font-size: 1rem;
    font-weight: 600;
}

/* Download Card */
.download-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.download-card-header {
    position: relative;
    background-attachment: fixed;
}

.download-meta .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    border: 1px solid #e9ecef;
}

.download-stats {
    text-align: center;
}

.primary-download {
    transition: all 0.3s ease;
}

.primary-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Enhanced Download Button Hover Effect */
.download-card .btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.alternative-links .btn:hover {
    transform: translateY(-1px);
}

.download-info {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

.download-btn {
    font-weight: 600;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.download-note {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
    border-color: var(--success-color);
}

.feature-item i {
    font-size: 1.25rem;
    margin-right: 1rem;
}

/* Requirements List */
.requirements-list {
    display: grid;
    gap: 1rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.requirement-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.requirement-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Other Browser Cards */
.other-browser-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.other-browser-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.other-browser-header {
    padding: 2rem 1.5rem;
    font-size: 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.other-browser-header::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"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.other-browser-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.other-browser-body h5 {
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--dark-color);
}

.other-browser-body p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.other-browser-body .btn {
    margin-top: auto;
    border-radius: 10px;
    font-weight: 600;
}

/* Enhanced Browser Card Styles */
.browser-logo-small {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.browser-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.browser-logo-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.other-browser-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* OS Selector Styles */
.os-selector {
    margin: 2rem 0;
}

.os-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center; /* Center on mobile by default */
}

/* On medium screens and up, align to start */
@media (min-width: 768px) {
    .os-buttons {
        justify-content: flex-start;
    }
}

/* OS Architecture Dropdown Styles */
.os-buttons .btn-group {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.os-buttons .dropdown-toggle-split {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.os-buttons .dropdown-menu {
    box-shadow: var(--shadow-lg);
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 0;
}

.os-buttons .dropdown-item {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.os-buttons .dropdown-item:hover {
    background-color: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.os-buttons .dropdown-item.active {
    background-color: var(--primary-color);
    color: white;
}

.os-buttons .dropdown-item i {
    width: 16px;
    text-align: center;
}

/* OS Button Styles */
.btn-os {
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    backdrop-filter: blur(5px);
}

.btn-os:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
}

.btn-os.active {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    font-weight: 600;
}

.btn-os i {
    width: 16px;
    text-align: center;
}

/* OS Support Badges */
.os-support {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.os-support .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Browser Screenshot Styles */
.browser-screenshot {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.browser-screenshot img {
    transition: transform 0.3s ease;
}

.browser-screenshot:hover img {
    transform: scale(1.05);
}

.browser-showcase {
    position: relative;
}

/* Enhanced Download Card */
.download-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
}

.download-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.download-card-header {
    position: relative;
    background-attachment: fixed;
}

.download-meta .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    border: 1px solid #e9ecef;
}

.download-stats {
    text-align: center;
}

.primary-download {
    transition: all 0.3s ease;
}

.primary-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Enhanced Download Button Hover Effect */
.download-card .btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.alternative-links .btn:hover {
    transform: translateY(-1px);
}

.download-info {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    padding: 0.5rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateX(5px);
}

.download-btn {
    font-weight: 600;
    padding: 1rem;
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.download-note {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(8px);
    border-color: var(--success-color);
}

.feature-item i {
    font-size: 1.25rem;
    margin-right: 1rem;
}

/* Requirements List */
.requirements-list {
    display: grid;
    gap: 1rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.requirement-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.requirement-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Other Browser Cards */
.other-browser-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.other-browser-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.other-browser-header {
    padding: 2rem 1.5rem;
    font-size: 2.5rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.other-browser-header::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"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>');
    background-size: 50px 50px;
    opacity: 0.3;
}

.other-browser-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.other-browser-body h5 {
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--dark-color);
}

.other-browser-body p {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.other-browser-body .btn {
    margin-top: auto;
    border-radius: 10px;
    font-weight: 600;
}

/* OS Detection and Smart Download Features */
.detected-os {
    box-shadow: 0 0 15px rgba(40, 167, 69, 0.4) !important;
    border: 2px solid #28a745 !important;
    position: relative;
    overflow: hidden;
}

.detected-os::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #28a745, #20c997);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.smart-download-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.smart-download-btn.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    color: white;
}

.smart-download-btn.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    background: linear-gradient(135deg, #218838, #1ca085);
}

.smart-download-btn::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;
}

.smart-download-btn:hover::before {
    left: 100%;
}

/* OS Detection Info Alert */
#os-detection-info .alert {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left: 4px solid #17a2b8;
}

#os-detection-info .alert-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
}

/* Browser Cards Enhanced */
.browser-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}



.browser-card .badge.bg-success {
    background: linear-gradient(135deg, #28a745, #20c997) !important;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px rgba(40, 167, 69, 0.3); }
    to { box-shadow: 0 0 15px rgba(40, 167, 69, 0.6); }
}

/* Quick Download Links */
.quick-download-links {
    padding: 10px;
    background: rgba(0,0,0,0.02);
    border-radius: 8px;
    border: 1px dashed #dee2e6;
}

/* Smart Landing Page Styles */
.bg-gradient {
    position: relative;
    overflow: hidden;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><circle cx="20" cy="20" r="2"/><circle cx="40" cy="40" r="2"/></g></svg>');
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.detection-confidence {
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

/* Download Button Animations */
.download-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.download-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.download-btn:active::after {
    width: 300px;
    height: 300px;
}

/* Compatibility Indicators */
.compatibility-perfect {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.compatibility-partial {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.compatibility-none {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer-loading 1.5s infinite;
}

@keyframes shimmer-loading {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .smart-download-btn {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    #os-detection-info .alert {
        font-size: 0.85rem;
    }
    
    .detection-confidence {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .browser-card {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    
    .quick-download-links {
        background: rgba(255,255,255,0.05);
        border-color: #4a5568;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .other-browser-card {
        display: none;
    }
    
    .browser-hero {
        background: none !important;
        color: black !important;
    }
    
    .download-card {
        border: 2px solid #ccc;
        background: white;
    }
}

/* Recommendation Section Styles */
.recommendation-section {
    position: relative;
    overflow: hidden;
}

.recommendation-section::before {
    content: '💡';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 2rem;
    opacity: 0.1;
}

.recommendation-section .btn-outline-success {
    border-color: #28a745;
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.recommendation-section .btn-outline-success:hover {
    background-color: #28a745;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.primary-download {
    border-left: 4px solid;
    border-left-color: inherit;
    padding-left: 1rem;
}

/* Alternative Downloads Section */
.alternatives-section {
    background: rgba(0,0,0,0.02);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.alternative-download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    background: white;
    transition: all 0.3s ease;
}

.alternative-download-item:hover {
    border-color: #007bff;
    background: rgba(0, 123, 255, 0.05);
    transform: translateX(5px);
}

.alternative-download-item.recommended {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.alternative-download-item .os-info {
    display: flex;
    align-items: center;
}

.alternative-download-item .version-info {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Enhanced Detection Info */
.detection-confidence {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.detection-confidence.high {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.detection-confidence.medium {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.detection-confidence.low {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Smooth scroll behavior for anchor links */
html {
    scroll-behavior: smooth;
}

/* Scroll padding to account for fixed navbar */
body {
    scroll-padding-top: 80px;
}

/* Additional modern enhancements */
.navbar-collapse {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem;
    padding-top: 1rem;
}

@media (min-width: 992px) {
    .navbar-collapse {
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }
}

/* Glassmorphism effect for navbar */
.modern-nav {
    background: rgba(99, 102, 241, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.browser-nav {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Browser Navigation - CSS-Only Gradient Protection */
.browser-nav {
    position: relative;
}

/* Force inline styles to take precedence */
.browser-nav[style*="linear-gradient"] {
    background: inherit !important;
}

/* Prevent any JavaScript from overriding background */
.browser-nav {
    background-color: transparent !important;
}

/* Shadow effect only on scroll */
.browser-nav.shadow-lg {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
}

/* ===== MODERN FOOTER STYLES ===== */
.modern-footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: #e2e8f0;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.modern-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), #10b981, #f59e0b);
    background-size: 300% 100%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Footer Brand */
.footer-brand h4 {
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.3);
}

.brand-icon i {
    font-size: 1.3rem;
    color: white;
}

.footer-description {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer Stats */
.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #64748b;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Headings */
.footer-heading {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 1px;
}

/* Footer Links */
.footer-link {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.4rem 0;
    border-radius: 6px;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateX(6px);
}

.footer-link i {
    transition: all 0.3s ease;
    width: 18px;
}

.footer-link:hover i {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Browser Items */
.browser-item {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.4rem 0;
    border-radius: 6px;
}

.browser-item:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateX(6px);
}

.browser-icon {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.browser-item:hover .browser-icon {
    transform: scale(1.1);
}

/* Newsletter */
.footer-newsletter-text {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-radius: 8px 0 0 8px !important;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
    color: #ffffff;
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.newsletter-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 0 8px 8px 0 !important;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #5856eb, #7c3aed);
    color: white;
}

/* Social Links */
.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    text-decoration: none;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.footer-copyright {
    color: #64748b;
    font-size: 0.9rem;
}

.legal-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.legal-link:hover {
    color: #ffffff;
    text-decoration: none;
}

.legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.legal-link:hover::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-legal-links {
        justify-content: center !important;
        margin-top: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-stats {
        justify-content: center;
    }
}

/* Language Pack Cards */
.language-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: none;
    height: 100%;
}

.language-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.language-header {
    border-bottom: 1px solid #e2e8f0;
}

.flag-icon {
    border-radius: 4px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.language-card h6 {
    font-weight: 600;
    color: var(--dark-color);
}

.language-card .text-muted {
    font-size: 0.75rem;
}

.language-footer .btn {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Version Cards for Language Packs */
.version-card {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.version-card:hover {
    background-color: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
}

.language-body {
    border-bottom: 1px solid #e2e8f0;
}

.language-card .flag-icon {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Antivirus-specific styles */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* Antivirus Features Styles */
.feature-item {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-item .feature-icon {
    margin-top: 0 !important; /* Override mt-1 class */
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 24px; /* Ensure minimum height for proper alignment */
}

.feature-item .feature-content h5 {
    font-weight: 600;
    line-height: 1.3;
}

.feature-item .feature-content p {
    line-height: 1.4;
}