/**
 * ConnectHub SIMS — About & Architecture Showcase Stylesheet
 * Brand Colors: Emerald Green (#044E27), Amber (#FAA31B), Slate palette
 */

.about-page {
    background-color: #f8fafc;
    color: #1e293b;
    font-family: 'Plus Jakarta Sans', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.about-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.about-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.about-logo-badge {
    background: #044e27;
    padding: 6px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(4, 78, 39, 0.2);
}

.about-logo-img {
    height: 1.8rem;
    width: auto;
}

.about-logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #044e27;
    letter-spacing: -0.02em;
}

.about-nav-links {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-nav-link {
    color: #475569;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.about-nav-link:hover {
    color: #044e27;
    background: #f1f5f9;
}

.about-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #044e27;
    color: #ffffff !important;
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(4, 78, 39, 0.25);
}

.about-nav-btn:hover {
    background: #033a1d;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(4, 78, 39, 0.3);
}

/* Hero Section */
.about-hero {
    position: relative;
    background: linear-gradient(135deg, #01160b 0%, #044e27 60%, #056633 100%);
    color: #ffffff;
    padding: 4.5rem 1.5rem 5.5rem;
    overflow: hidden;
    text-align: center;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(250, 163, 27, 0.15), transparent 45%),
                radial-gradient(circle at 20% 80%, rgba(30, 115, 190, 0.2), transparent 40%);
    pointer-events: none;
}

.about-hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(250, 163, 27, 0.5);
    backdrop-filter: blur(8px);
    color: #faa31b;
    padding: 0.4rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.about-hero-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.about-hero-title span.accent-highlight {
    background: linear-gradient(90deg, #faa31b, #ffd166);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.about-hero-description {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: #e2e8f0;
    max-width: 760px;
    margin: 0 auto 2.5rem;
}

.about-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.about-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #faa31b;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(250, 163, 27, 0.4);
    transition: all 0.25s ease;
}

.about-cta-primary:hover {
    background: #e68e05;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(250, 163, 27, 0.5);
    color: #ffffff;
}

.about-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.9rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    transition: all 0.25s ease;
}

.about-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Metric Stats Counter */
.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto;
}

.about-stat-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: transform 0.2s ease;
}

.about-stat-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.12);
}

.about-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #faa31b;
    margin-bottom: 0.25rem;
    font-family: 'Poppins', sans-serif;
}

.about-stat-label {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 500;
    line-height: 1.3;
}

/* Main Container */
.about-main-container {
    max-width: 1200px;
    margin: -2.5rem auto 4rem;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

/* Feature Pillars Grid */
.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.about-pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.about-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(4, 78, 39, 0.12);
    border-color: #cbd5e1;
}

.about-pillar-icon {
    width: 54px;
    height: 54px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.about-pillar-icon.green {
    background: #ecfdf5;
    color: #044e27;
}

.about-pillar-icon.amber {
    background: #fffbeb;
    color: #faa31b;
}

.about-pillar-icon.blue {
    background: #eff6ff;
    color: #1e73be;
}

.about-pillar-icon.purple {
    background: #f5f3ff;
    color: #7c3aed;
}

.about-pillar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.about-pillar-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    flex-grow: 1;
    margin-bottom: 1.25rem;
}

.about-pillar-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
}

.about-pillar-list li {
    font-size: 0.88rem;
    color: #334155;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about-pillar-list li i {
    color: #056633;
    font-size: 0.8rem;
}

/* Architecture Showcase Section */
.about-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.about-section-badge {
    display: inline-block;
    color: #044e27;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 0.3rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.about-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.about-section-subtitle {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
}

/* Architecture Box */
.about-arch-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 4rem;
}

.about-arch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.about-arch-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #044e27;
    margin-bottom: 1rem;
}

.about-arch-content p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #475569;
    margin-bottom: 1.5rem;
}

.about-tech-stack-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.about-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #f1f5f9;
    color: #1e293b;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.about-chip i {
    color: #044e27;
}

/* Architecture Visual Graphic */
.about-arch-visual {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-layer-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.about-layer-badge {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #044e27;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-layer-badge.amber {
    background: #faa31b;
}

.about-layer-badge.blue {
    background: #1e73be;
}

.about-layer-info h4 {
    margin: 0 0 0.2rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.about-layer-info p {
    margin: 0;
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.35;
}

/* Comparison Table */
.about-table-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    margin-bottom: 4rem;
}

.about-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.92rem;
}

.about-table th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.about-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}

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

.about-table tr:hover td {
    background: #f8fafc;
}

.badge-sfu {
    background: #ecfdf5;
    color: #044e27;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    display: inline-block;
    font-size: 0.82rem;
}

.badge-dim {
    color: #94a3b8;
    font-size: 0.82rem;
}

/* Call to Action Banner */
.about-cta-banner {
    background: linear-gradient(135deg, #044e27 0%, #033a1d 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 8px 30px rgba(4, 78, 39, 0.25);
    margin-bottom: 3rem;
}

.about-cta-banner h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: #ffffff;
}

.about-cta-banner p {
    font-size: 1.05rem;
    color: #e2e8f0;
    max-width: 600px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.about-cta-banner-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Footer */
.about-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 2.5rem 1.5rem;
    margin-top: auto;
    border-top: 1px solid #1e293b;
}

.about-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.about-footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
}

.about-footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-footer-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.about-footer-links a:hover {
    color: #faa31b;
}

.about-footer-copy {
    font-size: 0.85rem;
    color: #64748b;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-arch-grid {
        grid-template-columns: 1fr;
    }

    .about-nav-links {
        display: none;
    }
}

@media (max-width: 640px) {
    .about-hero {
        padding: 3rem 1rem 4.5rem;
    }

    .about-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .about-cta-primary,
    .about-cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
    }

    .about-arch-box {
        padding: 1.5rem;
    }

    .about-footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .about-footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}
