/* ==========================================================================
   ALTIPEAK™ Premium About Page Stylesheet
   ========================================================================== */

html, body.premium-dark-bg {
    height: auto !important;
    background-color: #02025E;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    overflow-x: hidden;
    overflow-y: auto !important;
}

/* Nav bar spacing override for subpage */
.navbar {
    background: rgba(2, 2, 94, 0.75) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* --------------------------------------------------------
   SECTION 01: HERO
   -------------------------------------------------------- */
.about-hero-section {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.about-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

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

.about-hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-hero-eyebrow {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.35rem;
    color: var(--logo-blue);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
}

.about-hero-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 7.5vw, 5.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 30%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(30px);
}

.about-hero-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 720px;
    margin: 0 auto;
    font-weight: 300;
    opacity: 0;
    transform: translateY(30px);
}

.about-hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.about-hero-scroll:hover {
    opacity: 1;
}

.scroll-arrow-text {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2rem;
    color: rgba(255, 255, 255, 0.5);
}

.scroll-arrow-icon {
    font-size: 1.2rem;
    color: var(--logo-blue);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* --------------------------------------------------------
   SECTION 02: OUR STORY (Timeline)
   -------------------------------------------------------- */
.our-story-section {
    padding: 140px 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.story-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 100px;
}

.story-left {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.story-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25rem;
    color: var(--logo-blue);
    margin-bottom: 16px;
    display: inline-block;
}

.story-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 30px;
    letter-spacing: -0.01em;
}

.story-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    font-weight: 400;
}

.story-paragraph {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
    font-weight: 300;
}

.story-right {
    position: relative;
}

.timeline-wrapper {
    position: relative;
    padding-left: 45px;
}

.timeline-track {
    position: absolute;
    left: 15px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom, transparent, var(--logo-blue));
    box-shadow: 0 0 12px var(--logo-blue);
}

.timeline-events {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.timeline-event {
    position: relative;
    opacity: 0.25;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.timeline-event.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot {
    position: absolute;
    left: -42px;
    top: 12px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #02025E;
    border: 3px solid rgba(255, 255, 255, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.timeline-event.active .timeline-dot {
    border-color: var(--logo-blue);
    background: var(--logo-blue);
    box-shadow: 0 0 12px var(--logo-blue);
}

.timeline-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(12px);
    padding: 32px;
    border-radius: 16px;
    transition: border-color 0.4s, background 0.4s, transform 0.4s;
}

.timeline-event.active .timeline-card {
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(56, 129, 252, 0.15);
}

.timeline-year {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--logo-blue);
    margin-bottom: 8px;
    display: block;
    letter-spacing: 0.05em;
}

.timeline-milestone {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.timeline-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

/* --------------------------------------------------------
   SECTION 03: WHAT MAKES US DIFFERENT (Feature Cards)
   -------------------------------------------------------- */
.different-section {
    padding: 140px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.diff-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.diff-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 80px auto;
}

.diff-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25rem;
    color: var(--logo-blue);
    margin-bottom: 16px;
    display: inline-block;
}

.diff-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.diff-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.diff-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(12px);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(35px);
}

.diff-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.025);
    border-color: rgba(56, 129, 252, 0.2);
    box-shadow: 0 15px 40px rgba(56, 129, 252, 0.05);
}

.diff-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(56, 129, 252, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    border: 1px solid rgba(56, 129, 252, 0.12);
    transition: background 0.3s;
}

.diff-card:hover .diff-icon-box {
    background: rgba(56, 129, 252, 0.15);
}

.diff-icon-box svg {
    width: 26px;
    height: 26px;
}

.diff-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.diff-card-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

/* --------------------------------------------------------
   SECTION 04: HOW IT WORKS (Horizontal Journey)
   -------------------------------------------------------- */
.how-it-works-section {
    padding: 140px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.how-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.how-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 80px auto;
}

.how-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25rem;
    color: var(--logo-blue);
    margin-bottom: 16px;
    display: inline-block;
}

.how-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.how-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
}

.journey-wrapper {
    position: relative;
    margin-top: 80px;
    padding: 20px 0;
}

.journey-connecting-line {
    position: absolute;
    top: 48px;
    left: 5%;
    right: 5%;
    height: 4px;
    z-index: 0;
    pointer-events: none;
}

.connecting-line-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.connecting-line-glow {
    transition: stroke-dashoffset 0.1s linear;
}

.journey-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    gap: 20px;
}

.journey-step-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(12px);
    padding: 30px 24px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
}

.journey-step-card:hover, .journey-step-card.active {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(56, 129, 252, 0.25);
    transform: translateY(-6px);
}

.step-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #02025E;
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    transition: all 0.4s;
}

.journey-step-card:hover .step-icon-wrap, .journey-step-card.active .step-icon-wrap {
    border-color: var(--logo-blue);
    box-shadow: 0 0 15px rgba(56, 129, 252, 0.4);
    background: var(--logo-blue);
}

.step-num {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s;
}

.journey-step-card:hover .step-num, .journey-step-card.active .step-num {
    color: #ffffff;
}

.step-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.step-detail-content {
    max-height: 120px;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.step-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
}

/* --------------------------------------------------------
   SECTION 05: TRUSTED BY
   -------------------------------------------------------- */
.trusted-section {
    padding: 140px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.trusted-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.trusted-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 80px auto;
}

.trusted-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25rem;
    color: var(--logo-blue);
    margin-bottom: 16px;
    display: inline-block;
}

.trusted-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.trusted-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
}

.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 90px;
}

.stat-counter-card {
    background: rgba(255, 255, 255, 0.012);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(30px);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-suffix {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    color: var(--logo-blue);
    line-height: 1;
}

.stat-label {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 14px;
    display: block;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logo-wall-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 80px;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    align-items: center;
}

.logo-item {
    text-align: center;
    opacity: 0.18;
    transition: opacity 0.3s;
    cursor: default;
}

.logo-item:hover {
    opacity: 0.6;
}

.logo-item span {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #ffffff;
    white-space: nowrap;
}

/* --------------------------------------------------------
   SECTION 06: ALTITUDE SCIENCE (Infographic)
   -------------------------------------------------------- */
.science-section {
    padding: 140px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.science-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.science-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 85px auto;
}

.science-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.25rem;
    color: var(--logo-blue);
    margin-bottom: 16px;
    display: inline-block;
}

.science-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.science-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
}

.science-infographic {
    position: relative;
    margin-top: 70px;
}

.infographic-connections {
    position: absolute;
    top: 55px;
    left: 10%;
    right: 10%;
    height: 120px;
    z-index: 0;
    pointer-events: none;
}

.info-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.info-path-pulse {
    transition: stroke-dashoffset 0.1s linear;
}

.infographic-nodes {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    gap: 15px;
}

.info-node {
    width: 18%;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.info-node-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(56, 129, 252, 0.05);
    border: 2px solid rgba(56, 129, 252, 0.15);
    box-shadow: inset 0 0 15px rgba(56, 129, 252, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px auto;
    transition: all 0.4s;
}

.info-node:hover .info-node-circle {
    border-color: var(--logo-blue);
    box-shadow: 0 0 20px rgba(56, 129, 252, 0.35), inset 0 0 10px rgba(56, 129, 252, 0.2);
    transform: scale(1.06);
}

.info-node-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--logo-blue);
}

.info-node-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.info-node-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 300;
}

.mobile-info-arrow {
    display: none;
    font-size: 1.5rem;
    color: var(--logo-blue);
    margin: 15px 0;
}

/* --------------------------------------------------------
   SECTION 07: CALL TO ACTION
   -------------------------------------------------------- */
.about-cta-section {
    padding: 160px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
    position: relative;
}

.about-cta-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-cta-heading {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.about-cta-subtitle {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 48px auto;
    font-weight: 300;
}

.btn-cta-book {
    padding: 20px 42px;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 12px;
}

.arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.btn-cta-book:hover .arrow-icon {
    transform: translateX(6px);
}

/* --------------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
   -------------------------------------------------------- */
@media (max-width: 1100px) {
    .story-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .story-left {
        position: relative;
        top: 0;
    }
    
    .diff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .journey-connecting-line, .infographic-connections {
        display: none;
    }

    .journey-steps {
        flex-direction: column;
        gap: 25px;
    }

    .journey-step-card {
        width: 100%;
        text-align: left;
        display: flex;
        align-items: flex-start;
        gap: 24px;
        padding: 30px;
    }

    .step-icon-wrap {
        margin: 0;
        flex-shrink: 0;
    }

    .step-title {
        margin-top: 14px;
    }

    .infographic-nodes {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .info-node {
        width: 100%;
        max-width: 400px;
    }

    .mobile-info-arrow {
        display: block;
    }
}

@media (max-width: 768px) {
    .stats-counter-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .our-story-section, .different-section, .how-it-works-section, .trusted-section, .science-section, .about-cta-section {
        padding: 100px 0;
    }
}

@media (max-width: 480px) {
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
