/* Quantum Company Profile Styles */

/* Design Tokens - 2025 Modern Design System */
:root {
    /* Colors - Professional dark theme with orange accents (OQC-inspired) */
    --primary-cyan: #00c4e8;
    --primary-blue: #0088cc;
    --primary-indigo: #0066aa;
    --accent-orange: #ff8001;
    --accent-orange-glow: rgba(255, 128, 1, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --bg-primary: #0a0a1a;
    --bg-secondary: #1a1a2e;
    --glass-subtle: rgba(255, 255, 255, 0.03);
    --glass-medium: rgba(255, 255, 255, 0.06);
    --border-subtle: rgba(100, 180, 255, 0.2);
    --border-medium: rgba(100, 180, 255, 0.3);

    /* Spacing Scale (8px based) */
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 32px;
    --space-5: 48px;
    --space-6: 64px;
    --space-7: 96px;

    /* Typography Scale */
    --text-xs: 0.875rem;    /* 14px */
    --text-sm: 1rem;        /* 16px */
    --text-base: 1.125rem;  /* 18px */
    --text-lg: 1.25rem;     /* 20px */
    --text-xl: 1.5rem;      /* 24px */
    --text-2xl: 1.75rem;    /* 28px */
    --text-3xl: 2.25rem;    /* 36px */
    --text-4xl: 3rem;       /* 48px */

    /* Shadows - Softer depth */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 24px rgba(0, 196, 232, 0.15);

    /* Border Radius */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: "Bitcount Prop Single Ink", monospace, sans-serif;
}

/* Company Profile Container */
.company-profile-container {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    color: var(--text-primary);
    font-family: "SUSE Mono", monospace, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

/* Company Header */
.company-header {
    background: var(--glass-subtle);
    padding: var(--space-4) 0;
    text-align: center;
    border-bottom: 2px solid var(--primary-cyan);
}

.company-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.company-title {
    font-size: var(--text-4xl);
    margin: 0 0 var(--space-2) 0;
    color: var(--primary-cyan);
    background: linear-gradient(135deg, var(--primary-cyan), var(--accent-orange), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    background-size: 200% 200%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.company-tagline {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-4);
}

.company-breadcrumb {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-2);
}

.company-breadcrumb a {
    color: var(--primary-cyan);
    text-decoration: none;
    position: relative;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.company-breadcrumb a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.company-breadcrumb a:hover {
    color: var(--accent-orange);
}

.company-breadcrumb a:hover::after {
    width: 100%;
}

/* Company Metrics */
.company-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-3);
    margin: var(--space-4) 0;
}

.metric-card {
    background: var(--glass-subtle);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.metric-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px var(--accent-orange-glow);
    background: var(--glass-medium);
    border-color: var(--accent-orange);
}

.metric-card:hover .metric-value {
    background: linear-gradient(45deg, var(--accent-orange), #ff9a33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-value {
    font-size: var(--text-xl);
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-cyan), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Company Content */
.company-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-4);
}

.company-section {
    background: var(--glass-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
    font-size: var(--text-2xl);
    background: linear-gradient(90deg, var(--primary-cyan), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-1);
    border-bottom: 2px solid var(--border-medium);
}

.company-description {
    line-height: 1.6;
    color: var(--text-primary);
    font-size: var(--text-base);
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-4);
    margin: var(--space-4) 0;
}

.info-item {
    display: flex;
    align-items: center;
    padding: var(--space-2);
    background: var(--glass-subtle);
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--primary-cyan);
    transition: all var(--transition-base);
}

.info-item:hover {
    background: var(--glass-medium);
    transform: translateX(4px);
}

.info-icon {
    font-size: var(--text-xl);
    margin-right: var(--space-2);
    color: var(--primary-cyan);
}

.info-content h4 {
    margin: 0 0 var(--space-1) 0;
    color: var(--primary-cyan);
    font-size: var(--text-sm);
}

.info-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.info-content a {
    color: var(--primary-cyan);
    text-decoration: none;
    position: relative;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-content a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-orange);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-content a:hover {
    color: var(--accent-orange);
}

.info-content a:hover::after {
    width: 100%;
}

/* Funding Timeline */
.funding-timeline {
    position: relative;
    padding-left: 2rem;
}

.funding-timeline::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00d4ff, #00ff9f);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    margin-left: 1rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 1.5rem;
    width: 12px;
    height: 12px;
    background: #00d4ff;
    border-radius: 50%;
    border: 3px solid #004e92;
}

.timeline-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #00d4ff;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: #b0c4de;
    line-height: 1.4;
}

/* Related Companies */
.related-companies {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.related-company {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.related-company:hover {
    border-color: var(--accent-orange);
    transform: scale(1.02);
    box-shadow: 0 4px 16px var(--accent-orange-glow);
    color: inherit;
    text-decoration: none;
}

.related-company:hover h4 {
    color: var(--accent-orange);
}

.related-company h4 {
    margin: 0 0 var(--space-1) 0;
    color: var(--primary-cyan);
    font-size: var(--text-sm);
}

.related-company p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* Navigation */
.back-to-directory {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-orange), #ff9a33);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.back-to-directory:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px var(--accent-orange-glow);
    color: white;
    text-decoration: none;
}

/* Taxonomy Links */
.taxonomy-links {
    margin: 1rem 0;
}

.taxonomy-link {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    margin: 0.25rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.taxonomy-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    color: #00d4ff;
    text-decoration: none;
}

/* Quantum Footer */
.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 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;
}

/* 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;
}

/* Footer Actions */
.footer-actions {
    display: flex;
    gap: 10px;
}

/* 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 */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .company-title {
        font-size: 2rem;
    }

    .company-content {
        padding: 1rem;
    }

    .company-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .related-companies {
        grid-template-columns: 1fr;
    }

    .funding-timeline {
        padding-left: 1rem;
    }

    .timeline-item {
        margin-left: 0.5rem;
    }

    .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 {
        padding: 1.5rem 1rem;
    }

    .disclaimer-text {
        font-size: 0.8rem;
        text-align: left;
    }
}

@media (max-width: 480px) {
    .company-metrics {
        grid-template-columns: 1fr;
    }

    .company-title {
        font-size: 1.5rem;
    }

    .footer-disclaimer {
        padding: 1rem;
    }

    .disclaimer-text {
        font-size: 0.75rem;
        line-height: 1.5;
    }
}