/* ================================================================
   ABOUT US PAGE STYLES
   Specific styles for about.html. Reuses style.css variables.
   ================================================================= */

/* ========== HERO SECTION ========== */
.about-hero {
    padding-top: 200px;
    padding-bottom: 140px;
    background-color: var(--bg-primary);
    position: relative;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

#hero-light-rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

#hero-light-rays canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.about-hero-title {
    font-size: clamp(2rem, 6vw, 4.8rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-lg);
}

.about-hero-desc {
    font-size: clamp(14px, 2vw, 1.3rem);
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 720px;
    margin: 0 auto;
}

/* ========== MISSION SECTION ========== */
.mission-section {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
    position: relative;
}

.mission-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 48px;
    box-shadow: inset 0 0 30px rgba(255, 255, 255, 0.01);
}

.mission-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: var(--lh-tight);
}

.mission-body {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    color: var(--text-secondary);
    line-height: 1.7;
}

.mission-body p:last-child {
    margin-bottom: 0;
}

/* ========== WHO IT'S FOR SECTION ========== */
.who-for-section {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.who-for-section .section-title {
    margin-bottom: 0.5rem;
}

.who-for-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 3rem;
}

.who-for-card {
    background-color: rgba(17, 17, 17, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: var(--space-xl);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
    cursor: default;
}

.who-for-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

.who-for-icon-wrap {
    font-size: 2.2rem;
    margin-bottom: var(--space-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
}

.who-for-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.who-for-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .who-for-grid {
        margin-top: 2rem;
        grid-template-columns: 1fr;
    }
}

/* ========== ROADMAP / WHAT'S COMING ========== */
.roadmap-section {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.roadmap-list {
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.roadmap-card {
    background-color: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    height: 100%;
    padding: 36px;
    position: relative;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.roadmap-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.roadmap-header {
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: var(--space-md);
}

.roadmap-badge {
    display: inline-block;
    font-family: var(--font-secondary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 4px 10px;
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.roadmap-badge--live {
    background-color: rgba(52, 211, 153, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.roadmap-badge--soon {
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.roadmap-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
}

.roadmap-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ========== ABOUT CTA SECTION ========== */
.about-cta-section {
    padding: var(--section-padding);
    background-color: var(--bg-primary);
}

.about-cta-card {
    background-color: #111111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 36px;
    padding: 64px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.about-cta-card .primary-btn {
    background-color: #ffffff;
    color: #0a0a0a;
    border-color: #ffffff;
    padding: 16px 36px;
    font-size: 16px;
    border-radius: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
}

.about-cta-card .primary-btn:hover {
    background-color: #e8e8e8;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

/* ========== INTERACTIVE FEATURE TABS (MEGA SWITCHER) ========== */
.feature-tabs-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.feature-tabs-container {
    background-color: #0b0b0b;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Panes */
.tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Feature Sub Cards */
.feature-sub-card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-base);
}

.feature-sub-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.sub-card-icon {
    font-size: 1.5rem;
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
}

.feature-sub-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
}

.feature-sub-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 0;
}

/* Dashboard Placeholder (blank visual with dashboard mockup shadows) */
.dashboard-placeholder {
    width: 100%;
    height: 140px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    margin-top: 16px;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

/* Draw a subtle blank dashboard mockup inside the placeholder using CSS */
.dashboard-placeholder::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 35%;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.dashboard-placeholder::after {
    content: '';
    position: absolute;
    top: 36px;
    left: 12px;
    width: 80%;
    height: 60px;
    background-image: 
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 20%, transparent 20%),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 60%, transparent 60%);
    background-size: 100% 16px;
    background-repeat: repeat-y;
}

/* Footer Banner */
.tab-footer-banner {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 16px 24px;
    text-align: center;
    font-size: 14.5px;
    color: var(--text-secondary);
}

.tab-footer-banner a {
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-base);
}

.tab-footer-banner a:hover {
    text-decoration: underline;
}

/* Divider Line */
.feature-tabs-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.06);
    width: 100%;
}

/* Tab Navigation Bar */
.feature-tabs-nav {
    display: flex;
    justify-content: center;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: rgba(255, 255, 255, 0.01);
    border-radius: 16px;
    overflow: hidden;
}

.feature-tab-btn {
    background: none;
    border: none;
    padding: 18px 24px;
    cursor: pointer;
    flex: 1;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    outline: none;
}

/* Vertical separating bar between tabs (except last one) */
.feature-tab-btn:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 25%;
    right: 0;
    height: 50%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.06);
}

.feature-tab-btn:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.feature-tab-btn.active {
    background-color: rgba(255, 255, 255, 0.04);
}

/* Glow bar at the bottom of the active tab */
.feature-tab-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--text-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.feature-tab-btn.active::before {
    opacity: 1;
}

.tab-btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.tab-title {
    font-size: 14px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.feature-tab-btn.active .tab-title,
.feature-tab-btn:hover .tab-title {
    color: var(--text-primary);
}

.tab-status {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 2px 6px;
    border-radius: 50px;
    text-transform: uppercase;
}

.badge-live {
    background-color: rgba(52, 211, 153, 0.1);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.badge-soon {
    background-color: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 991px) {
    .feature-tabs-nav {
        flex-direction: column;
    }
    .feature-tab-btn {
        width: 100%;
    }
    .feature-tab-btn:not(:last-child)::after {
        display: none;
    }
    .feature-tab-btn:not(:last-child) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* Override problem-card margin-top auto inside who-for-grid to prevent pushing content to the bottom */
.who-for-grid .problem-card .card-text {
    margin-top: 12px;
}

.who-for-grid > div {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.who-for-grid .problem-card {
    height: 100%;
    width: 100%;
    margin: 0;
}