@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-light: #F8F8F8;
    --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
   =========================== */
.adoption-hero {
    background: url('./images/bg-gradient.svg') no-repeat top center;
    background-size: cover;
    padding: 2rem 0 0;
    position: relative;
    overflow: hidden;
}

.adoption-hero .row {
    align-items: flex-end !important;
}

.adoption-hero .col-lg-7 {
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.adoption-hero img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: -3px;
    margin-left: auto;
}

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

.adoption-hero h1 span {
    color: var(--primary-color);
}

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

/* ===========================
   You Already Know How This Usually Ends
   =========================== */
.usually-ends-section {
    background-color: var(--bg-primary);
    padding: 5rem 0;
}

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

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

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

/* ===========================
   Why It Keeps Happening
   =========================== */
.why-happening-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

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

.why-happening-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #525252;
    margin-bottom: 1rem;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 0;
    max-width: 75%;
    margin-left: auto;
}

.why-card {
    border-radius: 16px;
    padding: 18px 14px;
    border: 1px solid;
    display: flex;
    flex-direction: column;
}

.why-card-mandate {
    background: #FCEAE8;
    border-color: #B81B1B;
}

.why-card-motivation {
    background: #FEF6E0;
    border-color: #FFD224;
}

.why-card-value {
    background: #E5F4EE;
    border-color: #037756;
}

.why-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.why-card-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.why-card h4 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 0;
}

.why-card-mandate h4 {
    color: #B81B1B;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
}

.why-card-motivation h4 {
    color: #FFD224;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
}

.why-card-value h4 {
    color: #037756;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
}

.why-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 11px;
    line-height: 14px;
    color: #6B7280;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    margin-top: 14px;
    margin-bottom: 4px;
}

.why-card-header + .why-label {
    margin-top: 0;
}

.why-quote {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #1F2937;
    margin-bottom: 0;
}

.why-creates {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    margin-bottom: 4px;
}

.why-card-mandate .why-creates {
    color: #DB2626;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
}

.why-card-motivation .why-creates {
    color: #FFD224;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
}

.why-card-value .why-creates {
    color: #037756;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
}

.why-quote,
.why-text {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 18px;
    color: #000000;
    margin-bottom: 0;
}

.why-graph {
    margin-top: auto;
    padding-top: 16px;
}

.why-graph img {
    width: 100%;
    height: auto;
}

/* ===========================
   What We Built Differently
   =========================== */
.built-differently-section {
    background-color: var(--bg-primary);
    padding: 5rem 0;
}

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

.built-differently-section .section-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #525252;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.differently-card {
    background: #D3E9FF;
    border-radius: 16px;
    padding: 32px;
    height: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.differently-card h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    color: #0070C0;
    margin-bottom: 8px;
}

.differently-card .time-label {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #525252;
    margin-bottom: 16px;
}

.differently-card p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #525252;
    margin-bottom: 12px;
}

.differently-card .btn {
    margin-top: auto;
    align-self: center;
}

/* ===========================
   Why It Stays Adopted
   =========================== */
.stays-adopted-section {
    background-color: var(--bg-light);
    padding: 5rem 0;
}

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

.stays-adopted-section h2 span {
    color: var(--primary-color);
}

.stays-adopted-subtitle {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #525252;
    margin-bottom: 3rem;
}

.stays-adopted-row {
    align-items: flex-start;
    gap: 0;
}

.adopted-tabs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: 16px;
}

.adopted-tab {
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    padding: 12px 16px;
    text-align: left;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.adopted-tab i {
    color: var(--primary-color);
    font-size: 14px;
    transition: transform 0.2s ease;
}

.adopted-tab:hover {
    background: rgba(0, 112, 192, 0.05);
}

.adopted-tab.active {
    background: #E8F1F9;
    border-left-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
}

.adopted-table-wrapper {
    background: transparent;
    overflow: hidden;
}

.adopted-table {
    display: none;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.adopted-table.active {
    display: table;
}

.adopted-table thead tr {
    background: #F1F2F4;
}

.adopted-table thead th:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.adopted-table thead th:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.adopted-table th {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 28px;
    color: #000000;
    padding: 18px 20px;
    text-align: left;
    border: none;
}

.adopted-table th:not(:first-child) {
    text-align: left;
}

.adopted-table td {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #000000;
    padding: 16px 20px;
    border-bottom: 1px solid #E5E7EB;
    vertical-align: middle;
}

.adopted-table td:first-child {
    color: #000000;
}

.adopted-table td:not(:first-child) {
    text-align: left;
}

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

.check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #16A34A;
    color: #ffffff;
    font-size: 12px;
}

.dash {
    color: #6B7280;
    font-size: 18px;
    font-weight: 400;
}

/* ===========================
   Teams Form in Seconds
   =========================== */
.teams-form-section {
    background-color: var(--bg-primary);
    padding: 5rem 0;
}

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

.teams-form-section p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #525252;
    margin-bottom: 0;
}

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

.instantly-visible {
    color: var(--primary-color);
    font-weight: 600;
}

.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);
}

/* ===========================
   Questions Serious Buyers Ask
   =========================== */
.buyers-ask-section {
    background-color: rgba(211, 233, 255, 0.28);
    padding: 5rem 0;
}

.buyers-ask-section h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 36px;
    line-height: 48px;
    color: #000000;
    text-align: center;
    margin-bottom: 3rem;
}

.buyers-ask-section h2 span {
    color: var(--primary-color);
}

.faq-group {
    margin-bottom: 1rem;
}

.faq-group-title {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: var(--primary-color);
    margin-top: 24px;
    margin-bottom: 12px;
    padding-bottom: 0;
    border-bottom: none;
}

.faq-group:first-of-type .faq-group-title {
    margin-top: 0;
}

.buyers-ask-section .accordion {
    background: transparent;
}

.buyers-ask-section .accordion-item {
    border: none;
    border-bottom: 1px solid #BDD7EE;
    background: transparent;
    border-radius: 0;
    margin-bottom: 0;
}

.buyers-ask-section .accordion-item:last-child {
    border-bottom: 1px solid #BDD7EE;
}

.buyers-ask-section .accordion-header {
    margin-bottom: 0;
}

.buyers-ask-section .accordion-button {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    background: transparent;
    padding: 18px 40px 12px 0;
    box-shadow: none;
    border: none;
    position: relative;
}

.buyers-ask-section .accordion-button::after {
    content: '+';
    background-image: none;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transition: none;
}

.buyers-ask-section .accordion-button:not(.collapsed) {
    background: transparent;
    color: #000000;
    box-shadow: none;
}

.buyers-ask-section .accordion-button:not(.collapsed)::after {
    content: '−';
    transform: translateY(-50%);
}

.buyers-ask-section .accordion-button:focus {
    box-shadow: none;
    border: none;
}

.buyers-ask-section .accordion-body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #525252;
    padding: 0 40px 18px 0;
}

.buyers-ask-section .accordion-body a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.buyers-ask-section .accordion-body a:hover {
    color: var(--primary-hover);
}

/* ===========================
   CTA Section
   =========================== */
.adoption-cta {
    background: #001B2E;
    color: #ffffff;
    padding: 5rem 0;
    overflow: hidden;
}

.adoption-cta h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 32px;
    line-height: 44px;
    color: #ffffff;
    margin-bottom: 1rem;
}

.adoption-cta p {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #ffffff;
    margin-bottom: 0;
}

.adoption-cta .btn-cta-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
    padding: 12px 28px;
    font-weight: 500;
    font-size: 16px;
    border-radius: 6px;
}

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

.adoption-cta {
    overflow: hidden;
    padding: 5rem 0;
    position: relative;
}

.adoption-cta .container {
    z-index: 2;
}

.adoption-cta .col-lg-6:last-child {
    position: static;
    min-height: 420px;
}

.adoption-cta .col-lg-6:last-child img {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: none !important;
    width: auto;
    height: auto;
    max-height: 460px;
    z-index: 1;
}

@media screen and (max-width: 1400px) {
    .adoption-cta .col-lg-6:last-child img {
        max-height: 400px;
    }
}

@media screen and (max-width: 992px) {
    .adoption-cta .col-lg-6:last-child {
        position: relative;
        min-height: auto;
        text-align: center;
    }

    .adoption-cta .col-lg-6:last-child img {
        position: static;
        transform: none;
        max-width: 100% !important;
        max-height: none;
        margin: 0 auto;
    }
}

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

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

    .usually-ends-section,
    .why-happening-section,
    .built-differently-section,
    .stays-adopted-section,
    .teams-form-section,
    .buyers-ask-section,
    .adoption-cta {
        padding: 4rem 0;
    }

    .usually-ends-section h2,
    .why-happening-section h2,
    .built-differently-section h2,
    .stays-adopted-section h2,
    .teams-form-section h2,
    .buyers-ask-section h2 {
        font-size: 28px;
        line-height: 38px;
    }

    .adoption-cta h2 {
        font-size: 28px;
        line-height: 38px;
    }

    .why-cards {
        grid-template-columns: repeat(2, 1fr);
        margin-top: 2rem;
    }

    .why-card:nth-child(3) {
        grid-column: span 2;
    }

    .adopted-tabs {
        flex-direction: row;
        margin-bottom: 1.5rem;
        padding-right: 0;
        gap: 8px;
        flex-wrap: wrap;
    }

    .adopted-tab {
        flex: 1;
        min-width: 160px;
    }
}

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

    .adoption-hero h1 {
        font-size: 28px;
        line-height: 38px;
    }

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

    .usually-ends-section,
    .why-happening-section,
    .built-differently-section,
    .stays-adopted-section,
    .teams-form-section,
    .buyers-ask-section,
    .adoption-cta {
        padding: 3rem 0;
    }

    .usually-ends-section h2,
    .why-happening-section h2,
    .built-differently-section h2,
    .stays-adopted-section h2,
    .teams-form-section h2,
    .buyers-ask-section h2 {
        font-size: 24px;
        line-height: 34px;
    }

    .adoption-cta h2 {
        font-size: 24px;
        line-height: 34px;
    }

    .differently-card {
        padding: 24px;
    }

    .adopted-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .adopted-table.active {
        display: block;
    }

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

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

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

    .usually-ends-section h2,
    .why-happening-section h2,
    .built-differently-section h2,
    .stays-adopted-section h2,
    .teams-form-section h2,
    .buyers-ask-section h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .adoption-cta h2 {
        font-size: 22px;
        line-height: 30px;
    }
}
