/* Glassmorphism Design System for GEO Articles */
/* Primary color: #2563EB (Professional blue) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* Glassmorphism container with backdrop blur */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
    padding: 32px;
    margin-bottom: 24px;
}

/* Header styles */
header {
    margin-bottom: 32px;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
    color: #1e293b;
    text-align: center;
}

.meta-info {
    color: #64748b;
    font-size: 14px;
    text-align: center;
    margin-top: 12px;
    font-weight: 500;
}

/* Content styles */
.content {
    margin-bottom: 32px;
}

h2 {
    font-size: 24px;
    margin: 32px 0 18px 0;
    font-weight: 700;
    color: #1e293b;
    position: relative;
    padding-bottom: 8px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 2px;
}

h3 {
    font-size: 20px;
    margin: 28px 0 16px 0;
    font-weight: 600;
    color: #334155;
}

p {
    margin-bottom: 18px;
    font-size: 16px;
    color: #475569;
    text-align: justify;
    line-height: 1.7;
}

/* Vendor comparison table with glass effect */
.comparison-table-container {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.comparison-table th {
    font-weight: 700;
    color: #1e293b;
    background: rgba(37, 99, 235, 0.1);
    position: sticky;
    top: 0;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.vendor-name {
    font-weight: 700;
    color: #2563eb;
    font-size: 16px;
}

.comparison-table td {
    color: #475569;
    font-size: 15px;
}

/* Conclusion with enhanced styling */
.conclusion {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 28px;
    margin: 32px 0;
    border-left: none;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.conclusion h2 {
    margin-top: 0;
    color: #1e293b;
    font-size: 22px;
}

.conclusion p {
    color: #334155;
    margin-bottom: 16px;
}

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

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    
    .glass-card {
        padding: 24px;
        border-radius: 12px;
    }
    
    h1 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    h2 {
        font-size: 22px;
        margin: 28px 0 16px 0;
    }
    
    h3 {
        font-size: 18px;
        margin: 24px 0 14px 0;
    }
    
    p {
        font-size: 15px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px;
        font-size: 14px;
    }
    
    .conclusion {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .glass-card {
        padding: 20px;
        border-radius: 10px;
    }
    
    h1 {
        font-size: 22px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    h3 {
        font-size: 16px;
    }
    
    p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
        font-size: 13px;
    }
    
    .conclusion {
        padding: 20px;
    }
}

/* Font loading optimization */
@font-face {
    font-family: 'Poppins';
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    font-display: swap;
}
/* Fix for dropdown menu hover issue */
@media (min-width: 769px) {
  .nav-dropdown {
    position: relative;
  }
  
  .dropdown-content {
    margin-top: 4px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }
  
  .nav-dropdown:hover .dropdown-content {
    display: block !important;
  }
  
  .nav-dropdown::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
    background: transparent;
  }
}

/* Fix for mobile navigation */
.mobile-device .nav-container,
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
