@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --primary-color: #0070C0;
    --primary-hover: #005999;
    --text-primary: #000000;
    --text-secondary: #475569;
    --text-light: #525252;
    --bg-primary: #ffffff;
    --bg-secondary: #F5F7FA;
    --bg-dark: #0E4366;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --font-primary: 'Roboto', sans-serif;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-light);
}

img {
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.h1, .h2, .h3, .h4, .h5, .h6,
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-primary);
}

p {
    font-size: 16px;
    line-height: 24px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 10px 24px;
    font-weight: 500;
    font-size: 16px;
    border-radius: 6px;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
    padding: 10px 24px;
    font-weight: 500;
    font-size: 16px;
    border-radius: 6px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

/* ===========================
   Hero Section
   =========================== */
.pillar-hero {
    background: url('./images/herobanner-background-gradient.png') no-repeat;
    background-size: cover;
    background-position: center;
    padding: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

.pillar-hero h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 48px;
    line-height: 60px;
    letter-spacing: 0;
    color: #000000;
    margin-bottom: 1.25rem;
}

.pillar-hero h1 .highlight {
    color: var(--primary-color);
}

.pillar-hero .hero-description {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    color: #525252;
    margin-bottom: 0;
    max-width: 540px;
}

.pillar-hero .hero-image-wrapper {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.pillar-hero .hero-image-wrapper img {
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin-bottom: -3px;
}

/* ===========================
   Capability Section
   =========================== */
.capability-section {
    background-color: var(--bg-primary);
    padding: 5rem 0;
}

.capability-section h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 45px;
    letter-spacing: 0;
    color: #000000;
    margin-bottom: 1rem;
}

.capability-section p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    color: #525252;
    margin-bottom: 1rem;
}

.capability-section img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   Now There Is Section
   =========================== */
.now-there-is {
    background-color: var(--bg-primary);
    padding: 3rem 0 5rem;
}

.now-there-is h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 42px;
    color: #000000;
    margin-bottom: 1rem;
}

.now-there-is p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    color: #525252;
}

.now-there-is img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   Onboarding Section
   =========================== */
.onboarding-section {
    background-color: var(--bg-secondary);
    padding: 5rem 0;
}

.onboarding-section h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 48px;
    color: #000000;
    margin-bottom: 1rem;
}

.onboarding-card {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

a.onboarding-card:hover {
    color: inherit;
}

.onboarding-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.onboarding-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.onboarding-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.onboarding-card h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 28px;
    color: #000000;
    margin-bottom: 8px;
}

.onboarding-card p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    color: #525252;
    margin-bottom: 0;
}

/* ===========================
   The View You've Never Had
   =========================== */
.view-section {
    background-color: var(--bg-primary);
    padding: 5rem 0;
}

.view-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 48px;
    color: #000000;
    margin-bottom: 3rem;
}

.view-row {
    margin-bottom: 4rem;
}

.view-row:last-child {
    margin-bottom: 0;
}

.view-section h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 36px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.view-section p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    color: #525252;
    margin-bottom: 12px;
}

.view-section img {
    max-width: 100%;
    height: auto;
}

.learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    margin-top: 8px;
    transition: gap 0.3s ease;
}

.learn-more-link:hover {
    gap: 12px;
    color: var(--primary-hover);
}

/* ===========================
   Built to Stay Accurate
   =========================== */
.accurate-section {
    background-color: var(--bg-secondary);
    height: 200vh;
    position: relative;
}

.accurate-sticky {
    position: sticky;
    top: 0;
    padding: 5rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.accurate-sidebar {
    position: relative;
}

.accurate-sidebar h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 42px;
    color: #000000;
    margin-bottom: 12px;
}

.accurate-sidebar > p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    color: #525252;
    margin-bottom: 24px;
}

.accurate-nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.accurate-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    text-decoration: none;
    color: #000000;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 15px;
    line-height: 22px;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.accurate-nav-item:hover,
.accurate-nav-item.active {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
    color: #000000;
}

.accurate-nav-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accurate-nav-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.accurate-detail {
    display: none;
}

.accurate-detail.active {
    display: block;
}

.accurate-detail-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.accurate-detail-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.accurate-detail-card h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 22px;
    line-height: 30px;
    color: #000000;
    margin-bottom: 10px;
}

.accurate-detail-card p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    color: #525252;
    margin-bottom: 1rem;
}

.accurate-detail-image {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
}

.accurate-detail-image img {
    width: 100%;
    height: auto;
}

/* ===========================
   What Becomes Possible
   =========================== */
.possible-section {
    background-color: #0E4366;
    color: #ffffff;
    padding: 5rem 0;
}

.possible-section h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 48px;
    letter-spacing: 0;
    color: #ffffff;
    margin-bottom: 1.25rem;
}

.possible-section p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0;
    color: #ffffff;
    margin-bottom: 0;
}

.possible-section .row {
    --bs-gutter-x: 4rem;
}

.possible-section .btn-primary {
    background-color: #ffffff;
    border-color: #ffffff;
    color: var(--primary-color);
}

.possible-section .btn-primary:hover {
    background-color: #f1f5f9;
    border-color: #f1f5f9;
    color: var(--primary-hover);
}

.possible-section img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   Want to Understand the Science
   =========================== */
.science-section {
    background-color: var(--bg-primary);
    padding: 5rem 0;
}

.science-section h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 48px;
    color: #000000;
    margin-bottom: 1rem;
}

.science-card {
    display: block;
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.science-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
    color: inherit;
}

.science-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.science-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.science-card h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.science-card p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0;
    color: #525252;
    margin-bottom: 0;
}

/* ===========================
   CTA Section
   =========================== */
.pillar-cta {
    position: relative;
    overflow: hidden;
    background: url('./images/hero-bg-last.svg') no-repeat center top;
    background-size: cover;
    min-height: 500px;
}

.pillar-cta .cta-overlay {
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.pillar-cta .cta-content {
    max-width: 535px;
    margin: 0 auto;
    position: relative;
    padding: 40px 32px;
}

.pillar-cta .cta-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    filter: blur(24px);
    border-radius: 12px;
    z-index: 0;
}

.pillar-cta .cta-content > * {
    position: relative;
    z-index: 1;
}

.pillar-cta h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 48px;
    color: #000000;
    margin-bottom: 0;
}

.pillar-cta .btn-primary,
.pillar-cta .btn-outline-primary {
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
}

.pillar-cta .btn-outline-primary {
    background-color: transparent;
}

/* ===========================
   Responsive
   =========================== */

/* Tablet */
@media screen and (max-width: 992px) {
    .pillar-hero h1 {
        font-size: 36px;
        line-height: 48px;
    }

    .capability-section,
    .now-there-is,
    .onboarding-section,
    .view-section,
    .accurate-section,
    .possible-section,
    .science-section {
        padding: 4rem 0;
    }

    .capability-section h2,
    .now-there-is h2 {
        font-size: 28px;
        line-height: 38px;
    }

    .onboarding-section h2,
    .view-title,
    .possible-section h2,
    .science-section h2,
    .pillar-cta h2 {
        font-size: 30px;
        line-height: 40px;
    }

    .view-section h3 {
        font-size: 22px;
        line-height: 32px;
    }

    .accurate-section {
        height: auto;
    }

    .accurate-sticky {
        position: relative;
        min-height: auto;
    }

    .accurate-detail {
        display: none;
    }

    .accurate-detail.active {
        display: block;
    }

    .accurate-sidebar {
        position: static;
        margin-bottom: 2rem;
    }

    .accurate-sidebar h3 {
        font-size: 26px;
        line-height: 36px;
    }

    .accurate-nav {
        flex-direction: row;
        overflow-x: auto;
        gap: 12px;
    }

    .accurate-nav-item {
        white-space: nowrap;
        padding: 12px 16px;
        font-size: 14px;
        min-width: max-content;
    }

}

/* Mobile */
@media screen and (max-width: 768px) {
    .pillar-hero {
        padding: 3rem 0 0;
        text-align: center;
    }

    .pillar-hero h1 {
        font-size: 30px;
        line-height: 42px;
    }

    .pillar-hero .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .pillar-hero .d-flex {
        justify-content: center;
    }

    .capability-section,
    .now-there-is,
    .onboarding-section,
    .view-section,
    .accurate-section,
    .possible-section,
    .science-section {
        padding: 3rem 0;
    }

    .capability-section h2,
    .now-there-is h2 {
        font-size: 24px;
        line-height: 34px;
    }

    .onboarding-section h2,
    .view-title,
    .possible-section h2,
    .science-section h2,
    .pillar-cta h2 {
        font-size: 26px;
        line-height: 36px;
    }

    .view-row {
        margin-bottom: 3rem;
    }

    .accurate-detail-card {
        padding: 1.5rem;
    }

    .accurate-detail-card h4 {
        font-size: 20px;
    }

    .pillar-cta {
        text-align: center;
    }

    .pillar-cta .d-flex {
        justify-content: center;
    }

    .pillar-cta .cta-content {
        margin-left: auto;
        margin-right: auto;
    }

    .possible-section {
        text-align: center;
    }

    .possible-section .d-flex {
        justify-content: center;
    }
}

/* Small mobile */
@media screen and (max-width: 480px) {
    .pillar-hero h1 {
        font-size: 26px;
        line-height: 36px;
    }

    .capability-section h2,
    .now-there-is h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .onboarding-section h2,
    .view-title,
    .possible-section h2,
    .science-section h2,
    .pillar-cta h2 {
        font-size: 24px;
        line-height: 32px;
    }

    .accurate-nav-item {
        font-size: 13px;
        padding: 10px 12px;
    }

    .accurate-sidebar h3 {
        font-size: 22px;
        line-height: 30px;
    }
}
