/* ===========================
   ABOUT.CSS - Fairlead
   =========================== */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #1a1a2e;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===========================
   CONTAINER
   =========================== */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===========================
   NAVBAR
   =========================== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 48px;
    background: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    color: #444;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #0055ff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Toggle Switch */
.night-mode-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 38px;
    height: 22px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    inset: 0;
    background: #ccc;
    border-radius: 999px;
    transition: background 0.3s;
}

.slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch input:checked + .slider {
    background: #0055ff;
}

.toggle-switch input:checked + .slider::before {
    transform: translateX(16px);
}

/* Buttons */
.btn-primary {
    background: #0055ff;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-block;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
    background: #0044dd;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: #1a1a2e;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 8px;
    border: 1.5px solid #d0d0d0;
    cursor: pointer;
    display: inline-block;
    transition: border-color 0.2s, transform 0.15s;
}

.btn-outline:hover {
    border-color: #0055ff;
    color: #0055ff;
    transform: translateY(-1px);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 8px;
    border: 1.5px solid rgba(255,255,255,0.5);
    cursor: pointer;
    display: inline-block;
    transition: border-color 0.2s;
}

.btn-outline-white:hover {
    border-color: #fff;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero-section {
    background: #eef4ff;
    padding: 64px 48px 72px;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 64px;
}

.hero-left {
    flex: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0,85,255,0.08);
    color: #0055ff;
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.hero-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.18;
    color: #1a1a2e;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    color: #0055ff;
}

.hero-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 460px;
}

.hero-btns {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-tags {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 500;
    color: #444;
}

/* Dashboard Card */
.hero-right {
    flex: 0 0 370px;
}

.dashboard-card {
    background: #1a1f36;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.18);
}

.dash-header {
    background: #252c4a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
}

.dash-label {
    font-size: 12px;
    color: #aab0cc;
    font-weight: 500;
}

.audit-badge {
    background: #00c875;
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
}

.dash-body {
    padding: 18px 18px 20px;
}

.dash-view-label {
    font-size: 11px;
    color: #7a84a8;
    margin-bottom: 5px;
    font-weight: 500;
}

.dash-title-text {
    font-size: 15px;
    color: #fff;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 18px;
    max-width: 200px;
}

.dash-metrics {
    display: flex;
    gap: 32px;
    margin-bottom: 18px;
}

.metric-label {
    font-size: 11px;
    color: #7a84a8;
    margin-bottom: 4px;
    font-weight: 500;
}

.metric-value {
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.metric-value.blue {
    color: #4d9fff;
}

.dash-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
}

.dash-tab {
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 6px;
    color: #7a84a8;
    cursor: pointer;
    font-weight: 500;
    background: rgba(255,255,255,0.05);
}

.dash-tab.active {
    background: #0055ff;
    color: #fff;
}

.dash-bottom-card {
    background: rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 14px;
}

.dash-why {
    font-size: 11px;
    color: #7a84a8;
    margin-bottom: 6px;
    font-weight: 500;
}

.dash-view-mode {
    font-size: 12px;
    color: #b0b8d4;
    line-height: 1.5;
}

.dash-view-mode strong {
    color: #fff;
    font-weight: 600;
}

/* ===========================
   WHO WE ARE
   =========================== */
.who-section {
    padding: 80px 0 60px;
    background: #fff;
}

.who-inner {
    display: flex;
    gap: 64px;
    align-items: flex-start;
    margin-bottom: 60px;
}

.who-left {
    flex: 1;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: #555;
    margin-bottom: 16px;
}

.section-label.centered {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.section-title.centered {
    text-align: center;
}

.section-sub {
    font-size: 14.5px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 48px;
}

.section-sub.centered {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.who-left p {
    font-size: 14.5px;
    color: #555;
    line-height: 1.75;
    margin-bottom: 14px;
}

.who-right {
    flex: 0 0 400px;
}

.who-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
}

.who-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Feature Blocks */
.feature-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    border-top: 1px solid #f0f0f0;
    padding-top: 40px;
}

.feature-block {
    padding-right: 20px;
}

.feature-num {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.feature-block p {
    font-size: 13.5px;
    color: #666;
    line-height: 1.65;
}

/* ===========================
   MISSION & VISION
   =========================== */
.mission-section {
    padding: 80px 0;
    background: #f8f9ff;
}

.mv-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
}

.mv-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #eee;
}

.mv-icon {
    width: 48px;
    height: 48px;
    background: #eef4ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: #0055ff;
}

.mv-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.mv-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ===========================
   WHY THIS PRODUCT
   =========================== */
.why-section {
    padding: 80px 0;
    background: #fff;
}

.pain-solution {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
}

.pain-card,
.solution-card {
    flex: 1;
    background: #f8f9ff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #eee;
}

.solution-card {
    background: #eef4ff;
    border-color: #d0e0ff;
}

.ps-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pain-label {
    background: #fff3e0;
    color: #e07000;
}

.solution-label {
    background: #e0f0ff;
    color: #0055ff;
}

.pain-card h3,
.solution-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.35;
}

.pain-card p,
.solution-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

.arrow-divider {
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===========================
   OUR APPROACH
   =========================== */
.approach-section {
    padding: 80px 0;
    background: #f8f9ff;
}

.approach-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.approach-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #eee;
}

.approach-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.blue-icon {
    background: #0055ff;
}

.approach-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.approach-card p {
    font-size: 13.5px;
    color: #666;
    line-height: 1.7;
}

/* ===========================
   CTA SECTION
   =========================== */
.cta-section {
    background: #0d1226;
    padding: 64px 48px;
}

.cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.cta-left h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
    max-width: 440px;
}

.cta-left p {
    font-size: 14px;
    color: #8892b0;
    line-height: 1.65;
    max-width: 400px;
}

.cta-right {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    padding: 20px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    gap: 28px;
}

.footer-left a {
    font-size: 13.5px;
    color: #555;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-left a:hover {
    color: #0055ff;
}

.footer-right {
    font-size: 13px;
    color: #999;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
    .hero-inner,
    .who-inner {
        flex-direction: column;
    }

    .hero-right,
    .who-right {
        flex: unset;
        width: 100%;
    }

    .dashboard-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .mv-cards,
    .approach-cards,
    .feature-blocks {
        grid-template-columns: 1fr;
    }

    .pain-solution {
        flex-direction: column;
    }

    .arrow-divider {
        transform: rotate(90deg);
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-left h2 {
        max-width: 100%;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 20px;
    }

    .site-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .hero-section,
    .cta-section {
        padding: 48px 20px;
    }

    .hero-title {
        font-size: 30px;
    }

    .section-title {
        font-size: 24px;
    }

    .container {
        padding: 0 20px;
    }

    .nav-links {
        gap: 16px;
        flex-wrap: wrap;
    }
}