/* ============================================================
   Ambassadors page redesign — friendly, modern app-product look,
   matching the Prospective redesign. Scoped under
   .ambassador-redesign (everything below the hero + form), so the
   hero/form and the other pages keep their original styling.
   Loaded after ambassadors.css to win on specificity.
   ============================================================ */

.ambassador-redesign {
    --ink: #16182E;
    --muted: #5C6173;
    --blue: #2559EB;
    --violet: #6F33EA;
    --grad: linear-gradient(120deg, #2559EB 0%, #6F33EA 100%);
    --mint: #CFEFDB;
    --tint: #F3F6FF;
    --card: #ffffff;
    --line: rgba(37, 89, 235, 0.12);
    --shadow: 0 12px 34px rgba(22, 24, 46, 0.06);
    --shadow-hover: 0 22px 50px rgba(37, 89, 235, 0.16);
    --sans: "Roboto", system-ui, sans-serif;
}

/* ---------- Scroll reveal (safe: only hides once JS adds class) ---------- */
.ambassador-redesign.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
}

.ambassador-redesign.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .ambassador-redesign.reveal-ready [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------- Section heading system ---------- */
.ambassador-redesign .section-title {
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(1.85rem, 1.3rem + 2vw, 2.6rem);
    line-height: 1.12;
    letter-spacing: -0.015em;
    color: var(--ink);
    text-align: center;
}

.ambassador-redesign .section-title::before {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    border-radius: 4px;
    background: var(--grad);
    margin: 0 auto 22px;
}

.ambassador-redesign .section-description {
    font-family: var(--sans);
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.7;
    text-align: center;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Reusable soft card ---------- */
.ambassador-redesign .pain-point-card,
.ambassador-redesign .benefit-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    text-align: left;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease, border-color 0.35s ease;
}

.ambassador-redesign .pain-point-card:hover,
.ambassador-redesign .benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(37, 89, 235, 0.25);
    background: var(--card);
}

/* ============================================================
   1. PAIN POINTS — cards with a gradient left edge
   ============================================================ */
.ambassador-redesign .ambassador-pain-points {
    background: #fff;
    padding: clamp(36px, 4.5vw, 64px) 20px;
}

.ambassador-redesign .pain-points-grid {
    gap: 24px;
    margin-top: 36px;
}

.ambassador-redesign .pain-point-card {
    position: relative;
    padding: 34px 30px 30px 36px;
    overflow: hidden;
}

.ambassador-redesign .pain-point-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--grad);
}

.ambassador-redesign .pain-point-title {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.3;
    color: var(--ink);
    margin-bottom: 14px;
}

.ambassador-redesign .pain-point-description {
    font-family: var(--sans);
    color: var(--muted);
    line-height: 1.7;
}

/* ============================================================
   2. BENEFITS — cards with a gradient pill accent
   ============================================================ */
.ambassador-redesign .ambassador-benefits {
    background: #fff;
    padding: clamp(36px, 4.5vw, 64px) 20px;
}

.ambassador-redesign .benefits-grid {
    gap: 24px;
    margin-top: 36px;
}

.ambassador-redesign .benefit-card {
    padding: 36px 30px;
}

.ambassador-redesign .benefit-card-title {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.25;
    color: var(--ink);
    margin-bottom: 12px;
}

.ambassador-redesign .benefit-card-title::before {
    content: "";
    display: block;
    width: 44px;
    height: 6px;
    border-radius: 6px;
    background: var(--grad);
    margin-bottom: 20px;
    transition: width 0.35s ease;
}

.ambassador-redesign .benefit-card:hover .benefit-card-title::before {
    width: 72px;
}

.ambassador-redesign .benefit-card-text {
    font-family: var(--sans);
    color: var(--muted);
    line-height: 1.65;
}

/* ============================================================
   3. HOW IT WORKS — numbered steps (gradient badges kept)
   ============================================================ */
.ambassador-redesign .how-it-works {
    background: #fff;
    padding: clamp(36px, 4.5vw, 64px) 20px;
}

.ambassador-redesign .steps-grid {
    gap: 28px;
    margin-top: 40px;
}

.ambassador-redesign .step-number {
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
    background: var(--grad);
    box-shadow: 0 8px 18px rgba(37, 89, 235, 0.3);
}

.ambassador-redesign .step-title {
    font-family: var(--sans);
    font-weight: 700;
    color: var(--ink);
}

.ambassador-redesign .step-description {
    font-family: var(--sans);
    color: var(--muted);
}

/* ============================================================
   4. WHAT AMBASSADORS DO — list of tinted pills + screenshot
   ============================================================ */
.ambassador-redesign .what-ambassadors-do {
    background: #fff;
    padding: clamp(36px, 4.5vw, 64px) 20px;
}

.ambassador-redesign .ambassadors-do-grid {
    gap: clamp(36px, 5vw, 64px);
}

.ambassador-redesign .ambassadors-do-title {
    font-family: var(--sans);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 28px;
}

.ambassador-redesign .ambassadors-do-list {
    gap: 14px;
}

.ambassador-redesign .ambassadors-do-item {
    position: relative;
    align-items: center;
    gap: 0;
    padding: 20px 24px 20px 46px;
    background: var(--tint);
    border: 1px solid transparent;
    border-radius: 16px;
    box-shadow: none;
}

.ambassador-redesign .ambassadors-do-item::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--grad);
}

.ambassador-redesign .ambassadors-do-item:hover {
    transform: translateX(4px);
    border-color: rgba(37, 89, 235, 0.2);
    box-shadow: 0 10px 24px rgba(37, 89, 235, 0.1);
}

.ambassador-redesign .do-item-text {
    font-family: var(--sans);
    color: var(--ink);
    font-weight: 500;
}

.ambassador-redesign .chat-screenshot {
    border-radius: 24px;
}

/* ============================================================
   5. APP FEATURES — two lists of tinted pills + center screenshot
   ============================================================ */
.ambassador-redesign .app-features-section {
    background: #fff;
    padding: clamp(36px, 4.5vw, 64px) 20px;
}

.ambassador-redesign .features-three-columns {
    gap: clamp(28px, 4vw, 50px);
    margin-top: 40px;
}

.ambassador-redesign .features-column-title {
    font-family: var(--sans);
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 24px;
}

.ambassador-redesign .features-list {
    gap: 14px;
}

.ambassador-redesign .feature-item {
    position: relative;
    padding: 20px 22px 20px 44px;
    background: var(--tint);
    border: 1px solid transparent;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.ambassador-redesign .feature-item::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 26px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--grad);
}

.ambassador-redesign .feature-item:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 89, 235, 0.2);
    box-shadow: 0 10px 24px rgba(37, 89, 235, 0.1);
    background: var(--tint);
}

.ambassador-redesign .app-features-section .feature-title {
    font-family: var(--sans);
    font-weight: 700;
    color: var(--ink);
}

.ambassador-redesign .app-features-section .feature-description {
    font-family: var(--sans);
    color: var(--muted);
}

.ambassador-redesign .feature-screenshot {
}

/* ============================================================
   6. STORY + CTA — brand gradient band (matches hero)
   ============================================================ */
.ambassador-redesign .story-cta-section {
    position: relative;
    overflow: hidden;
    background: var(--grad);
    padding: clamp(40px, 5vw, 72px) 20px;
}

.ambassador-redesign .story-cta-section::before {
    content: "";
    position: absolute;
    width: 560px;
    height: 560px;
    right: -180px;
    top: -240px;
    background: radial-gradient(circle, rgba(207, 239, 219, 0.4), transparent 65%);
    pointer-events: none;
}

.ambassador-redesign .story-cta-content {
    position: relative;
}

.ambassador-redesign .story-cta-title {
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.8rem);
    margin-bottom: 28px;
}

.ambassador-redesign .story-text {
    margin-bottom: 36px;
}

.ambassador-redesign .story-cta-button {
    font-family: var(--sans);
    color: var(--blue);
    border-radius: 30px;
}

/* ============================================================
   7. FAQ — rounded cards with gradient toggle
   ============================================================ */
.ambassador-redesign .faq-section {
    background: #fff;
    padding: clamp(36px, 4.5vw, 64px) 20px;
}

.ambassador-redesign .faq-section .section-description {
    margin-bottom: 40px;
}

.ambassador-redesign .faq-item {
    margin-bottom: 14px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.ambassador-redesign .faq-item:hover,
.ambassador-redesign .faq-item.active {
    border-color: rgba(37, 89, 235, 0.28);
    box-shadow: var(--shadow-hover);
}

.ambassador-redesign .faq-question {
    background: none;
    padding: 24px 26px;
    gap: 20px;
    font-family: var(--sans);
    font-weight: 600;
    font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.2rem);
    line-height: 1.35;
    color: var(--ink);
}

.ambassador-redesign .faq-question:hover {
    background: none;
    color: var(--blue);
}

.ambassador-redesign .faq-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 1.35rem;
    font-weight: 300;
    color: #fff;
    background: var(--grad);
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(37, 89, 235, 0.25);
}

.ambassador-redesign .faq-answer {
    padding: 0 26px;
}

.ambassador-redesign .faq-item.active .faq-answer {
    padding: 0 26px 24px;
}

.ambassador-redesign .faq-answer p {
    font-family: var(--sans);
    color: var(--muted);
    max-width: 70ch;
}

/* ============================================================
   Layout base (structure for the redesigned sections — these used
   to live in ambassadors.css; consolidated here so that file only
   keeps the hero + form).
   ============================================================ */
.ambassador-redesign .pain-points-grid,
.ambassador-redesign .benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.ambassador-redesign .steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.ambassador-redesign .step-item {
    text-align: center;
}

.ambassador-redesign .step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-weight: 700;
    margin: 0 auto 18px;
}

.ambassador-redesign .ambassadors-do-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.ambassador-redesign .ambassadors-do-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.ambassador-redesign .ambassadors-do-item {
    display: flex;
}

.ambassador-redesign .ambassadors-do-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ambassador-redesign .chat-screenshot-container {
    width: 100%;
    max-width: 500px;
}

.ambassador-redesign .chat-screenshot {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.ambassador-redesign .chat-screenshot:hover {
    transform: scale(1.02);
}

.ambassador-redesign .features-three-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
}

.ambassador-redesign .features-column {
    display: flex;
    flex-direction: column;
}

.ambassador-redesign .features-column-title {
    text-align: center;
}

.ambassador-redesign .features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.ambassador-redesign .features-column-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ambassador-redesign .feature-screenshot-container {
    width: 100%;
    position: sticky;
    top: 100px;
}

.ambassador-redesign .feature-screenshot {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.ambassador-redesign .feature-screenshot:hover {
    transform: scale(1.02);
}

.ambassador-redesign .story-cta-section {
    color: #fff;
}

.ambassador-redesign .story-cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.ambassador-redesign .story-text {
    text-align: left;
}

.ambassador-redesign .story-paragraph {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.98);
}

.ambassador-redesign .story-paragraph:last-child {
    margin-bottom: 0;
}

.ambassador-redesign .story-cta-button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ambassador-redesign .story-cta-button {
    display: inline-block;
    background: #fff;
    padding: 18px 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.ambassador-redesign .story-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    background: #f8f9fa;
}

.ambassador-redesign .story-cta-note {
    font-size: 1rem;
    opacity: 0.9;
    font-style: italic;
    margin: 0;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .ambassador-redesign .pain-points-grid,
    .ambassador-redesign .benefits-grid,
    .ambassador-redesign .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .ambassador-redesign .pain-points-grid,
    .ambassador-redesign .benefits-grid,
    .ambassador-redesign .steps-grid,
    .ambassador-redesign .features-three-columns,
    .ambassador-redesign .ambassadors-do-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .ambassador-redesign .features-column-center {
        order: -1;
    }

    .ambassador-redesign .feature-screenshot-container {
        position: relative;
        top: 0;
    }

    .ambassador-redesign .story-text {
        text-align: center;
    }

    .ambassador-redesign .story-cta-button {
        width: 100%;
        padding: 16px 40px;
        font-size: 1.1rem;
    }
}
