/* ==========================================
   SHARED SECTION STYLES
========================================== */

.section {
    padding: 80px var(--page-padding);
}

.section-eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--purple);

    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.section-title {
    margin: 0 0 16px;

    color: var(--ink);

    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.section-subtitle {
    max-width: 560px;

    margin: 0 0 48px;

    color: var(--ink-soft);

    font-size: 1rem;
    line-height: 1.7;
}


/* ==========================================
   SECTION 2 — WHICH PRODUCT IS FOR ME?
========================================== */

.selector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;

    margin-top: 40px;
}

.selector-card {
    display: flex;
    flex-direction: column;
    gap: 12px;

    padding: 28px 24px;

    background: var(--white);

    border-radius: 20px;
    border: 2px solid transparent;

    box-shadow:
        0 1px 3px rgba(28, 27, 41, 0.05),
        0 8px 24px -8px rgba(28, 27, 41, 0.10);
}

.selector-card.app {
    border-color: rgba(107, 57, 189);
}

.selector-card.gms {
    border-color: rgba(49, 199, 127);
}

.selector-card.both {
    border-color: transparent;
    background: linear-gradient(var(--white), var(--white)) padding-box,
                linear-gradient(135deg, var(--purple), var(--green)) border-box;
    border: 2px solid transparent;
}

.selector-icon {
    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
}

.selector-card.app  .selector-icon { background: rgba(107, 57, 189, 0.1); }
.selector-card.gms  .selector-icon { background: rgba(49, 199, 127, 0.1); }
.selector-card.both .selector-icon { background: linear-gradient(135deg, rgba(107,57,189,0.12), rgba(49,199,127,0.12)); }

.selector-label {
    color: var(--ink);

    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
}

.selector-desc {
    color: var(--ink-soft);

    font-size: 0.9rem;
    line-height: 1.5;
}


/* ==========================================
   SECTION 3 — 2BFLUENT APP
========================================== */

.app-section {
    background: linear-gradient(
        160deg,
        #3D1E78 0%,
        #6B39BD 45%,
        #8A5BDB 75%,
        #A872FF 100%
    );

    border-radius: 28px;

    padding: 64px 56px;

    margin: 0 var(--page-padding);
}

.app-section .section-eyebrow {
    color: rgba(255, 255, 255, 0.65);
}

.app-section .section-title {
    color: var(--white);

    margin-bottom: 12px;
}

.app-section .section-subtitle {
    color: rgba(255, 255, 255, 0.78);

    margin-bottom: 32px;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}


/* Journey — 2x2 zigzag grid */

.app-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.journey {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    width: 100%;
    position: relative;
}

/* Horizontal dotted line — row 1, between node centers */
.journey-row {
    display: contents;
}

.journey-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 16px 40px;
    position: relative;
}

/* Horizontal line connecting the two steps in each row —
   drawn as a right border on the left step and left border on the right step,
   both at node center height (28px = half of 56px node) */

.journey-step.s1::after { display: none; }
.journey-step.s2::after { display: none; }
.journey-step.s3::before { display: none; }
.journey-step.s3::after { display: none; }

.journey-node {
    position: relative;
    z-index: 1;

    width: 56px;
    height: 56px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;

    backdrop-filter: blur(4px);

    margin-bottom: 14px;
}

.s1 .journey-node {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
}

.s1 .journey-node svg {
    stroke: var(--purple);
}


.s3 .journey-node svg {
    stroke: var(--purple);
}

.s2 .journey-node {
    background: var(--purple-light);
    border-color: var(--white);
}

.s3 .journey-node {
    background: var(--green);
    border-color: var(--white);
}

.s4 .journey-node {
    background: #0D9488;
    border-color: var(--white);
}

.journey-step-title {
    color: var(--white);

    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;

    margin-bottom: 4px;
}

.journey-step-desc {
    color: rgba(255, 255, 255, 0.7);

    font-size: 0.82rem;
    line-height: 1.5;
}

.journey-path {
    position: absolute;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: visible;
    z-index: 0;
}


/* ==========================================
   SECTION 4 — GRAMMAR MADE SIMPLE
========================================== */

.gms-section {
    padding: 80px var(--page-padding);
}

.gms-card {
    background: #F5F0FF;
    border-radius: 28px;
    padding: 64px 56px;

    box-shadow:
        0 1px 3px rgba(28, 27, 41, 0.06),
        0 24px 64px -12px rgba(28, 27, 41, 0.22);
}

.gms-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.gms-section .section-eyebrow {
    color: var(--green);
}

.gms-section .section-title {
    color: var(--ink);
}

.gms-section .section-subtitle {
    color: var(--ink-soft);
    margin-bottom: 0;
}

/* Orbit */

.gms-orbit {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 16px;
    width: 100%;
    max-width: 380px;
}

.orbit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.orbit-top    { grid-column: 2; grid-row: 1; }
.orbit-right  { grid-column: 3; grid-row: 2; }
.orbit-bottom { grid-column: 2; grid-row: 3; }
.orbit-left   { grid-column: 1; grid-row: 2; }

.orbit-center {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.orbit-ring { display: none; }

.orbit-label {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--ink-soft);
    margin: 0;
    max-width: 80px;
    line-height: 1.4;
}

.orbit-center-label {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--green);
    margin: 0;
    line-height: 1.4;
    max-width: 100px;
}

.orbit-block {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    flex-shrink: 0;
}

.orbit-block.ss1 { width: 56px; height: 56px; background: #A872FF; }
.orbit-block.ss2 { width: 56px; height: 56px; background: #8B50E8; }
.orbit-block.ss3 { width: 56px; height: 56px; background: #6B39BD; }
.orbit-block.ss4 { width: 56px; height: 56px; background: #3D1E78; }
.orbit-block.solution { width: 56px; height: 56px; background: var(--green); border-radius: 18px; }


/* ==========================================
   SECTION 5 — TESTIMONIALS
========================================== */

.testimonials-section {
    padding: 0 var(--page-padding) 80px;
}

.testimonials-card {
    background: linear-gradient(
        160deg,
        #3D1E78 0%,
        #6B39BD 45%,
        #8A5BDB 75%,
        #A872FF 100%
    );

    border-radius: 28px;
    padding: 64px 56px;

    box-shadow:
        0 30px 70px -24px rgba(107, 57, 189, 0.45);
}

.testimonials-header {
    margin-bottom: 40px;
}

.testimonials-header .section-eyebrow {
    color: rgba(255, 255, 255, 0.65);
}

.testimonials-header .section-title {
    color: var(--white);
}

.testimonials-subtitle {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 720px;
    margin: 0;
}

.testimonial-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.testimonial-group:last-child {
    margin-bottom: 0;
}

.testimonial-product-tag {
    display: inline-flex;
    align-items: center;

    padding: 5px 14px;
    margin-bottom: 4px;

    border-radius: 999px;

    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.testimonial-product-tag.app {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.testimonial-product-tag.gms {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
}

.testimonial-card {
    display: flex;
    align-items: center;
    gap: 16px;

    background: var(--white);
    border-radius: 16px;
    padding: 10px 20px;

    box-shadow:
        0 1px 2px rgba(28, 27, 41, 0.04),
        0 8px 20px -12px rgba(28, 27, 41, 0.14);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;

    color: var(--white);
}

.testimonial-avatar.app {
    background: var(--purple);
}

.testimonial-avatar.gms {
    background: var(--purple);
}

.testimonial-content {
    flex: 1;
    min-width: 0;
}

.testimonial-text {
    color: var(--ink);
    font-size: 0.92rem;
    line-height: 1.7;
    margin: 0 0 10px;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    gap: 4px;
}

.testimonial-name {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink);
}

.testimonial-institution {
    font-size: 0.82rem;
    color: var(--ink-soft);
}

.testimonial-dot {
    color: var(--ink-soft);
    opacity: 0.4;
    font-size: 0.82rem;
}

/* App bottom CTA */

.app-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    margin-top: 40px;
    margin-left: -56px;
    margin-right: -56px;
    padding: 32px 56px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.app-bottom-cta-text {
    flex-shrink: 0;
    max-width: 420px;
}

.app-bottom-cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}

.app-bottom-cta-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.app-bottom-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;

    padding: 14px 26px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);

    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;

    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;

    transition: opacity 0.18s ease, transform 0.18s ease;
}

.app-bottom-cta-button:hover {
    opacity: 0.88;
    transform: translateY(-2px);
}


/* GMS bottom CTA */

.gms-bottom-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    margin-top: 40px;
    margin-left: -56px;
    margin-right: -56px;
    padding: 32px 56px 0;
    border-top: 1px solid rgba(107, 57, 189, 0.15);
}

.gms-bottom-cta-text {
    flex-shrink: 0;
    max-width: 520px;
}

.gms-bottom-cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}

.gms-bottom-cta-subtitle {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.gms-bottom-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;

    padding: 14px 26px;
    background: rgba(107, 57, 189, 0.10);
    border: 1px solid rgba(107, 57, 189, 0.3);
    color: var(--purple);

    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;

    border-radius: 12px;
    text-decoration: none;
    white-space: nowrap;

    transition: background 0.18s ease, transform 0.18s ease;
}

.gms-bottom-cta-button:hover {
    background: rgba(107, 57, 189, 0.18);
    transform: translateY(-2px);
}

.gms-right    {
    justify-items: center;
}




