/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: #2c3e50;
    background-color: #f8fafc;
    font-size: 15px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    color: white;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-section {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.brand-text {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.version-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.tagline {
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.9;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
}

.tagline i {
    color: #3b82f6;
}

.highlight {
    color: #10b981;
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.action-btn i {
    font-size: 0.9rem;
}

/* Header Navigation */
.header-nav {
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 0.6rem;
    align-items: center;
    justify-content: center;
}

.nav-link {
    color: #cbd5e1;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    backdrop-filter: blur(10px);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateY(-1px);
}

.nav-link.active {
    background: rgba(59, 130, 246, 0.2);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.nav-indicator {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

.nav-link.active .nav-indicator {
    width: 80%;
}

.nav-meta {
    display: flex;
    align-items: center;
}

.build-info {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Main Layout */
.main-layout {
    display: flex;
    min-height: calc(100vh - 140px);
    gap: 0;
}

/* Filter Sidebar */
.filter-sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #e2e8f0;
    padding: 1.5rem;
    height: calc(100vh - 140px);
    overflow-y: auto;
    position: sticky;
    top: 140px;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.sidebar-header h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.clear-filters-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clear-filters-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

.clear-filters-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

/* Filter Sections */
.filter-section {
    margin-bottom: 1.5rem;
}

.filter-section h4 {
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Search Container */
.search-container {
    position: relative;
}

.search-container input {
    width: 100%;
    padding: 0.6rem 1rem 0.6rem 2.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: #f8fafc;
}

.search-container input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.1);
}

.search-icon {
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.8rem;
}

/* Filter Options */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

.filter-option:hover {
    background: #f1f5f9;
}

.filter-option input[type="checkbox"],
.filter-option input[type="radio"] {
    cursor: pointer;
    transform: scale(1.1);
    accent-color: #667eea;
}

.filter-option input[type="checkbox"]:checked + i,
.filter-option input[type="radio"]:checked + i {
    color: #667eea;
}

.provider-filter-icon {
    width: 18px;
    height: 14px;
    object-fit: contain;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 1.5rem;
    background: #f8fafc;
}

/* Results Summary */
.results-summary {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.results-summary h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.results-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #64748b;
    font-weight: 500;
    font-size: 0.9rem;
}

.stat-item i {
    color: #667eea;
    font-size: 1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.8rem;
}

.service-title {
    flex: 1;
}

.service-title h3 {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.service-subcategory {
    color: #667eea;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-provider {
    flex-shrink: 0;
}

/* Provider badges */
.provider-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    color: white;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.provider-icon {
    width: 16px;
    height: 12px;
    object-fit: contain;
}

.provider-badge.aws {
    background: linear-gradient(135deg, #ff9a00 0%, #ff6a00 100%);
}

.provider-badge.azure {
    background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%);
}

.provider-badge.gcp {
    background: linear-gradient(135deg, #4285f4 0%, #34a853 50%, #ea4335 100%);
}

.provider-badge.oracle-cloud {
    background: linear-gradient(135deg, #f80000 0%, #c62d42 100%);
}

.provider-badge.ibm-cloud {
    background: linear-gradient(135deg, #1261FE 0%, #0f4c75 100%);
}

.provider-badge.alibaba-cloud {
    background: linear-gradient(135deg, #ff6a00 0%, #ff8f00 100%);
}

.service-header .provider-badge img {
    filter: brightness(0) invert(1);
}

/* Service Description */
.service-description {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    min-height: 40px;
}

/* Service Features */
.service-features {
    margin-bottom: 1rem;
}

.feature-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-label {
    font-weight: 500;
    color: #475569;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-value {
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.8rem;
}

.free-tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
}

.free-tier-badge.available {
    background: #d1fae5;
    color: #065f46;
}

.free-tier-badge.unavailable {
    background: #fee2e2;
    color: #991b1b;
}

.region-info {
    color: #64748b;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

/* Service Actions */
.service-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.btn {
    padding: 0.6rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    justify-content: center;
    flex: 1;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.btn-accent {
    background: #10b981;
    color: white;
}

.btn-accent:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    color: #64748b;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e2e8f0;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

/* No Results State */
.no-results-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    color: #64748b;
    text-align: center;
}

.no-results-state i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.no-results-state h3 {
    color: #475569;
    margin-bottom: 0.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 8px 8px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.close {
    color: #64748b;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    padding: 0.2rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close:hover {
    color: #2c3e50;
    background: #e2e8f0;
}

.modal-body {
    padding: 1.2rem;
    max-height: 60vh;
    overflow-y: auto;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #cbd5e1;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section.brand-section {
    grid-column: 1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.footer-logo i {
    color: #3b82f6;
    font-size: 1.5rem;
}

.footer-description {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    max-width: 300px;
}

.footer-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.footer-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.footer-stats .stat i {
    color: #3b82f6;
}

.footer-section h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.2rem 0;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-links a i {
    width: 16px;
    color: #64748b;
    transition: color 0.3s ease;
}

.footer-links a:hover i {
    color: #3b82f6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal span {
    color: #64748b;
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 1rem;
}

.legal-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: white;
}

.footer-tech {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.tech-info,
.version-info {
    font-size: 0.75rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.tech-info i {
    color: #3b82f6;
}

/* Utility Classes */
.text-success {
    color: #10b981 !important;
}

.text-danger {
    color: #ef4444 !important;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* News Page Specific Styles */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.news-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #f1f5f9;
}

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

.news-provider-icon {
    width: 20px;
    height: 16px;
    object-fit: contain;
}

.provider-name {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.news-category {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: #f1f5f9;
    color: #475569;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.news-category i {
    font-size: 0.7rem;
}

.news-content {
    margin-bottom: 1.2rem;
}

.news-title {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 0.6rem;
    font-weight: 600;
    line-height: 1.4;
}

.news-description {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

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

.news-date {
    color: #64748b;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-date i {
    font-size: 0.7rem;
}

.news-link {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.news-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

/* RSS Links Styling */
.rss-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rss-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.4rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.rss-link:hover {
    background: #f1f5f9;
    color: #4f46e5;
}

.rss-link i {
    color: #ff6b35;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .main-layout {
        grid-template-columns: 300px 1fr;
    }

    .filter-sidebar {
        position: fixed;
        left: -300px;
        top: 0;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-section.brand-section {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header-top {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem 0;
    }
    
    .header-actions {
        order: -1;
        justify-content: center;
    }
    
    .action-btn span {
        display: none;
    }
    
    .status-indicator span {
        display: none;
    }

    .logo {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 0.85rem;
        flex-direction: column;
        gap: 0.3rem;
    }

    .nav-links {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0.4rem;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 0.5rem;
    }
    
    .nav-links::-webkit-scrollbar {
        display: none;
    }
    
    .nav-link {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: fit-content;
    }
    
    .nav-meta {
        display: none;
    }

    .main-content {
        padding: 1rem;
    }

    .filter-sidebar {
        padding: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .results-stats {
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .service-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-tech {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .service-card {
        margin-bottom: 1rem;
    }

    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .provider-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }

    .provider-icon {
        width: 16px;
        height: 12px;
    }

    .filter-section h4 {
        font-size: 0.8rem;
    }

    .filter-option {
        font-size: 0.8rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .brand-text {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .footer-stats {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
}

/* Animation for smooth transitions */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Code and technical elements */
.tech-info,
.build-info,
.version-badge,
.version-info {
    font-family: 'JetBrains Mono', 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', 'Consolas', 'Courier New', monospace;
}

.nav-link.disabled {
    background: rgba(255, 255, 255, 0.02);
    color: #64748b;
    cursor: not-allowed;
    opacity: 0.5;
    pointer-events: none;
}

.nav-link.disabled:hover {
    background: rgba(255, 255, 255, 0.02);
    color: #64748b;
    transform: none;
}

/* Full width layout for pages without sidebar */
.main-layout-full {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 140px);
}

.main-layout-full .main-content {
    padding: 1.5rem;
    background: #f8fafc;
    width: 100%;
}

/* Disabled button styling */
.btn.disabled {
    background: #94a3b8 !important;
    color: #64748b !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    transform: none !important;
    box-shadow: none !important;
}

.btn.disabled:hover {
    background: #94a3b8 !important;
    color: #64748b !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Share Button and Modal Styles */
.share-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    border: none;
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.share-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.share-btn i {
    font-size: 0.9rem;
}

.share-modal {
    max-width: 600px;
    width: 90%;
}

.share-description {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.share-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.share-section {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.share-section h4 {
    margin: 0 0 1rem 0;
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-section h4 i {
    color: #3b82f6;
}

.share-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.share-input-group input {
    flex: 1;
    padding: 0.8rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    color: #374151;
}

.share-input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.copy-feedback {
    color: #059669;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 0.3s ease;
}

.social-share-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.twitter-btn {
    background: #1da1f2;
    color: white;
}

.twitter-btn:hover {
    background: #1a91da;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 161, 242, 0.3);
}

.linkedin-btn {
    background: #0077b5;
    color: white;
}

.linkedin-btn:hover {
    background: #006396;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.facebook-btn {
    background: #1877f2;
    color: white;
}

.facebook-btn:hover {
    background: #166fe5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.email-btn {
    background: #6b7280;
    color: white;
}

.email-btn:hover {
    background: #4b5563;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.embed-option textarea {
    width: 100%;
    height: 100px;
    padding: 0.8rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    background: white;
    color: #374151;
    resize: vertical;
    margin-bottom: 0.75rem;
}

.embed-option textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

@media (max-width: 768px) {
    .share-btn span {
        display: none;
    }
    
    .share-btn {
        margin-left: 0.5rem;
        padding: 0.6rem;
    }
    
    .share-modal {
        width: 95%;
        margin: 1rem;
    }
    
    .social-share-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .share-input-group {
        flex-direction: column;
    }
    
    .social-share-buttons {
        grid-template-columns: 1fr;
    }
}

/* Notification styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

.notification.error {
    border-left: 4px solid #ef4444;
}

.notification.info {
    border-left: 4px solid #3b82f6;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-content i {
    font-size: 1.2em;
}

.notification.error i {
    color: #ef4444;
}

.notification.info i {
    color: #3b82f6;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
} 