/* Quantum Companies Navigator - Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 100%);
    color: #e0e0e0;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Header Styles */
header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 0.5s ease-in;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(45deg, #00d4ff, #0099ff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

h1 a {
    text-decoration: none;
    background: linear-gradient(45deg, #00d4ff, #0099ff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
}

h1 a:hover {
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

h1 a {
    text-decoration: none;
    background: linear-gradient(45deg, #00d4ff, #0099ff, #0066ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
}

h1 a:hover {
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.subtitle {
    font-size: 1.1rem;
    color: #999;
    margin-bottom: 20px;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumb a {
    color: #00d4ff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Search Container */
.search-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    animation: slideDown 0.6s ease-out;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

input[type="text"] {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(100, 200, 255, 0.3);
    border-radius: 30px;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

input[type="text"]:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

input[type="text"]::placeholder {
    color: #888;
}

select {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(100, 200, 255, 0.3);
    border-radius: 30px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 150px;
}

select:hover {
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.08);
}

select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

select option {
    background: #1a1a3a;
    color: #fff;
}

/* Filter Buttons */
.filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(100, 200, 255, 0.3);
    border-radius: 20px;
    color: #aaa;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    font-family: inherit;
    outline: none;
}

.filter-btn:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
    color: #fff;
    transform: translateY(-2px);
}

.filter-btn:active {
    transform: translateY(0);
}

.filter-btn.active {
    background: linear-gradient(45deg, #00d4ff, #0099ff);
    border-color: transparent;
    color: #000;
    font-weight: 600;
}

/* Stats Cards */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(100, 200, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
    border-color: #00d4ff;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, #00d4ff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: #999;
    margin-top: 5px;
}

/* Companies Grid */
.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.company-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(100, 200, 255, 0.2);
    border-radius: 15px;
    padding: 24px;
    transition: all 0.3s;
    cursor: pointer;
    animation: fadeInUp 0.5s ease-out;
}

.company-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.15);
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.06);
}

.company-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #00d4ff;
    line-height: 1.3;
}

.company-category {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    font-size: 0.95rem;
    margin: 0 6px 12px 0;
    color: #00d4ff;
}

.company-info {
    font-size: 1rem;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 12px;
}

.company-country {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.95rem;
    color: #888;
}

.company-website {
    display: inline-block;
    margin-top: 14px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
}

.company-website:hover:not(.no-link) {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.company-website.no-link {
    opacity: 0.5;
    color: #666;
    background: rgba(100, 100, 100, 0.1);
    border-color: rgba(100, 100, 100, 0.3);
    cursor: default;
}

/* Messages */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 1.2rem;
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 1.1rem;
    color: #00d4ff;
}

/* Animations */
@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

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

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

/* Responsive Design */
@media (max-width: 768px) {
    h1 { 
        font-size: 2rem; 
    }
    
    .companies-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        flex-direction: column;
        align-items: center;
    }
    
    .search-box {
        width: 100%;
        max-width: none;
    }
    
    select {
        width: 100%;
    }
    
    .filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
}

/* Footer */
.footer {
    margin-top: 60px;
    padding: 60px 0 40px 0;
    background: rgba(10, 10, 26, 0.8);
    border-top: 1px solid rgba(100, 200, 255, 0.3);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #00d4ff;
    padding-bottom: 8px;
    display: inline-block;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: block;
    padding: 4px 0;
}

.footer-column a:hover {
    color: #00d4ff;
    transform: translateX(5px);
    text-decoration: none;
}

.footer-credit {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(100, 200, 255, 0.2);
}

.footer-credit p {
    margin: 0;
    font-size: 0.85rem;
    color: #888;
}

.footer-credit a {
    color: #00d4ff !important;
    font-weight: 500;
}

.footer-credit a:hover {
    color: #0099ff !important;
    transform: none;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-column h3 {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .footer {
        padding: 40px 0 30px 0;
    }
}

/* =====================================================
   NEW PROFESSIONAL FOOTER STYLES - Complete Redesign
   ===================================================== */

.quantum-footer {
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 100%);
    color: #e0e0e0;
    margin-top: 100px;
    border-top: 2px solid rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.quantum-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        #00d4ff 20%, 
        #0099ff 50%, 
        #00d4ff 80%, 
        transparent);
    animation: footerGlow 3s ease-in-out infinite;
}

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

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Footer Sections */
.footer-section {
    animation: fadeInUp 0.6s ease-out;
}

.footer-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00d4ff, #0099ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-subtitle {
    font-size: 1.2rem;
    color: #00d4ff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #b0b0b0;
}

/* Footer Stats */
.footer-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-stat {
    padding: 8px 12px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: #00d4ff;
    font-weight: 600;
}

/* Footer Links */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-link {
    color: #d0d0d0;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
}

.footer-link:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    transform: translateX(5px);
    cursor: pointer;
}

.footer-link.external::after {
    content: '↗';
    margin-left: 4px;
    font-size: 0.8rem;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(100, 200, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.9rem;
    color: #999;
}

.footer-copyright a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: #0099ff;
}

/* Scroll to Top Button */
.footer-scroll-top {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-scroll-top:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

/* Responsive Design for New Footer */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-stats {
        justify-content: center;
    }
    
    .footer-title {
        font-size: 1.5rem;
    }
    
    .footer-subtitle {
        font-size: 1.1rem;
    }
}

/* Footer Disclaimer */
.footer-disclaimer {
    padding: 2rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    margin-top: 1rem;
}

.disclaimer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer-text {
    color: #b0bec5;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

.disclaimer-text strong {
    color: #00d4ff;
    font-weight: 600;
    font-style: normal;
}

@media (max-width: 768px) {
    .footer-disclaimer {
        padding: 1.5rem 1rem;
    }
    
    .disclaimer-text {
        font-size: 0.8rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .footer-disclaimer {
        padding: 1rem;
    }
    
    .disclaimer-text {
        font-size: 0.75rem;
        line-height: 1.5;
    }
}
