/* ==========================================================================
   FOUNDER ARCHETYPE CARD LIBRARY
   Premium, conversion-focused identity cards for serious business owners
   ========================================================================== */

/* Section Container */
.founder-archetype-section {
    padding: 100px 0 80px;
    background: #F7F8FA;
    position: relative;
    overflow: hidden;
}

/* Section Header */
.archetype-section-header {
    max-width: 900px;
    margin: 0 auto 64px;
    text-align: center;
    padding: 0 24px;
}

.archetype-section-heading {
    font-size: 3rem;
    font-weight: 700;
    color: #050505;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.archetype-section-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #5F6368;
    margin-bottom: 32px;
}

.archetype-section-description strong {
    color: #111111;
    font-weight: 600;
}

.archetype-section-cta {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0071E3;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding-bottom: 4px;
}

.archetype-section-cta::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0071E3;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.archetype-section-cta:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.archetype-section-cta:hover {
    color: #005BB5;
}

/* Carousel Container */
.archetype-carousel-container {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.archetype-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 24px 0 32px;
    margin: 0 60px;
}

.archetype-carousel-track {
    display: flex;
    gap: 32px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Carousel Navigation */
.archetype-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: #FFFFFF;
    border: 2px solid #E8E8ED;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.archetype-carousel-nav:hover {
    background: #0071E3;
    border-color: #0071E3;
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.2);
}

.archetype-carousel-nav:hover svg {
    stroke: #FFFFFF;
}

.archetype-carousel-nav.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.archetype-carousel-nav-prev {
    left: 0;
}

.archetype-carousel-nav-next {
    right: 0;
}

.archetype-carousel-nav svg {
    width: 24px;
    height: 24px;
    stroke: #050505;
    transition: stroke 0.3s ease;
}

/* Carousel Dots */
.archetype-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.archetype-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #D1D5DB;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.archetype-dot.active {
    background: #0071E3;
    width: 32px;
    border-radius: 6px;
}

.archetype-dot:hover {
    background: #9CA3AF;
}

/* Founder Archetype Card */
.founder-archetype-card {
    flex: 0 0 520px;
    min-width: 520px;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 48px 40px 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    border: 2px solid #F4F5F7;
}

.founder-archetype-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: #E8E8ED;
}

/* Icon Circle */
.archetype-icon-circle {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 3rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.founder-archetype-card:hover .archetype-icon-circle {
    transform: scale(1.05);
}

/* Accent Color Variations */
.archetype-icon-circle.violet {
    background: linear-gradient(135deg, #EDE9FE 0%, #DDD6FE 100%);
}

.archetype-icon-circle.pink {
    background: linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 100%);
}

.archetype-icon-circle.blue {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
}

.archetype-icon-circle.mint {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
}

.archetype-icon-circle.peach {
    background: linear-gradient(135deg, #FED7AA 0%, #FDBA74 100%);
}

.archetype-icon-circle.lavender {
    background: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%);
}

.archetype-icon-circle.teal {
    background: linear-gradient(135deg, #CCFBF1 0%, #99F6E4 100%);
}

.archetype-icon-circle.gold {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
}

.archetype-icon-circle.burgundy {
    background: linear-gradient(135deg, #FECACA 0%, #FCA5A5 100%);
}

.archetype-icon-circle.emergency-blue {
    background: linear-gradient(135deg, #A5F3FC 0%, #67E8F9 100%);
}

/* Badge */
.archetype-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.archetype-badge.violet {
    background: #EDE9FE;
    color: #7C3AED;
}

.archetype-badge.pink {
    background: #FCE7F3;
    color: #DB2777;
}

.archetype-badge.blue {
    background: #DBEAFE;
    color: #0284C7;
}

.archetype-badge.mint {
    background: #D1FAE5;
    color: #059669;
}

.archetype-badge.peach {
    background: #FED7AA;
    color: #C2410C;
}

.archetype-badge.lavender {
    background: #E0E7FF;
    color: #4F46E5;
}

.archetype-badge.teal {
    background: #CCFBF1;
    color: #0D9488;
}

.archetype-badge.gold {
    background: #FEF3C7;
    color: #D97706;
}

.archetype-badge.burgundy {
    background: #FECACA;
    color: #DC2626;
}

.archetype-badge.emergency-blue {
    background: #A5F3FC;
    color: #0891B2;
}

/* Card Title */
.archetype-card-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #050505;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

/* Identity Statement */
.archetype-identity {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #111111;
    margin-bottom: 24px;
    font-weight: 500;
}

/* Bottleneck Section */
.archetype-bottleneck {
    margin-bottom: 20px;
}

.archetype-bottleneck-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #DC2626;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.archetype-bottleneck-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #5F6368;
}

/* Fix Section */
.archetype-fix {
    margin-bottom: 28px;
    padding: 20px;
    background: #F9FAFB;
    border-radius: 12px;
    border-left: 4px solid #0071E3;
}

.archetype-fix-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0071E3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.archetype-fix-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
    text-align: left;
}

/* Card CTA */
.archetype-card-cta {
    font-size: 1rem;
    font-weight: 600;
    color: #0071E3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: auto;
}

.archetype-card-cta::after {
    content: '→';
    font-size: 1.25rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.archetype-card-cta:hover {
    color: #005BB5;
}

.archetype-card-cta:hover::after {
    transform: translateX(4px);
}

/* Bridge Section */
.archetype-bridge-section {
    max-width: 900px;
    margin: 80px auto 0;
    text-align: center;
    padding: 0 24px;
}

.archetype-bridge-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #050505;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.archetype-bridge-content {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #5F6368;
    margin-bottom: 32px;
}

.archetype-bridge-content p {
    margin-bottom: 16px;
}

.archetype-bridge-content strong {
    color: #111111;
    font-weight: 600;
}

.archetype-bridge-cta {
    display: inline-block;
    padding: 16px 40px;
    background: #0071E3;
    color: #FFFFFF;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 113, 227, 0.2);
}

.archetype-bridge-cta:hover {
    background: #005BB5;
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.3);
    transform: translateY(-2px);
}

/* Responsive Design */

/* Tablet: 2 cards per view */
@media (max-width: 1024px) {
    .founder-archetype-card {
        flex: 0 0 420px;
        min-width: 420px;
    }

    .archetype-section-heading {
        font-size: 2.5rem;
    }

    .archetype-card-title {
        font-size: 1.625rem;
    }

    .archetype-carousel-wrapper {
        margin: 0 48px;
    }
}

/* Mobile: 1 card per view */
@media (max-width: 768px) {
    .founder-archetype-section {
        padding: 60px 0 40px;
    }

    .archetype-section-header {
        margin-bottom: 48px;
    }

    .archetype-section-heading {
        font-size: 2rem;
    }

    .archetype-section-description {
        font-size: 1.125rem;
    }

    .founder-archetype-card {
        flex: 0 0 calc(100vw - 120px);
        min-width: calc(100vw - 120px);
        padding: 36px 28px 32px;
    }

    .archetype-icon-circle {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .archetype-card-title {
        font-size: 1.5rem;
    }

    .archetype-identity {
        font-size: 1rem;
    }

    .archetype-fix-text {
        font-size: 0.9375rem;
    }

    .archetype-carousel-wrapper {
        margin: 0 40px;
    }

    .archetype-carousel-nav {
        width: 40px;
        height: 40px;
    }

    .archetype-carousel-nav svg {
        width: 20px;
        height: 20px;
    }

    .archetype-bridge-section {
        margin-top: 60px;
    }

    .archetype-bridge-heading {
        font-size: 2rem;
    }

    .archetype-bridge-content {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .founder-archetype-card {
        flex: 0 0 calc(100vw - 80px);
        min-width: calc(100vw - 80px);
    }

    .archetype-carousel-wrapper {
        margin: 0 32px;
    }

    .archetype-section-heading {
        font-size: 1.75rem;
    }

    .archetype-bridge-heading {
        font-size: 1.75rem;
    }
}

/* Animation for card entrance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.founder-archetype-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Testimonial Badge System (for matching testimonials to archetypes) */
.testimonial-archetype-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.testimonial-archetype-badge.violet {
    background: #EDE9FE;
    color: #7C3AED;
}

.testimonial-archetype-badge.pink {
    background: #FCE7F3;
    color: #DB2777;
}

.testimonial-archetype-badge.blue {
    background: #DBEAFE;
    color: #0284C7;
}

.testimonial-archetype-badge.mint {
    background: #D1FAE5;
    color: #059669;
}

.testimonial-archetype-badge.peach {
    background: #FED7AA;
    color: #C2410C;
}

.testimonial-archetype-badge.lavender {
    background: #E0E7FF;
    color: #4F46E5;
}

.testimonial-archetype-badge.teal {
    background: #CCFBF1;
    color: #0D9488;
}

.testimonial-archetype-badge.gold {
    background: #FEF3C7;
    color: #D97706;
}

.testimonial-archetype-badge.burgundy {
    background: #FECACA;
    color: #DC2626;
}

.testimonial-archetype-badge.emergency-blue {
    background: #A5F3FC;
    color: #0891B2;
}
