/**
 * Founders Team V2 - Modern Grid Layout
 * RevBridge AI Official Branding
 */

/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */

/* CSS Variables - Same as revbridge-connect */
.landing-page.revbridge-connect.founders-v2-page,
.founders-v2-page.landing-page.revbridge-connect,
.landing-page.revbridge-connect.founders-page,
.founders-page.landing-page.revbridge-connect {
    /* Cores herdadas do tema */
    --red-primary: var(--primary-color, #e81111);
    --red-dark: var(--primary-color-dark, #cc2d14);
    --green: var(--success-color, #10b981);
}

/* Body background - Same as revbridge-connect */
body.founders-v2-page.revbridge-connect,
body.landing-page.revbridge-connect.founders-v2-page,
body.founders-page.revbridge-connect,
body.landing-page.revbridge-connect.founders-page {
    background: hsl(24, 43%, 98%);
}

.founders-v2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: hsl(24, 43%, 98%);
}

.founders-v2 * {
    box-sizing: border-box;
}

/* ==========================================================================
   Container
   ========================================================================== */

.founders-v2 .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.founders-hero,
.landing-page.revbridge-connect .hero.founders-hero,
.founders-v2 .hero {
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-dark) 100%);
    color: var(--white) !important;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Force white text on all hero elements */
.founders-hero *,
.founders-hero h1,
.founders-hero h2,
.founders-hero h3,
.founders-hero h4,
.founders-hero h5,
.founders-hero h6,
.founders-hero p,
.founders-hero span,
.founders-hero div,
.founders-hero a,
.landing-page.revbridge-connect .hero.founders-hero *,
.landing-page.revbridge-connect .hero.founders-hero h1,
.landing-page.revbridge-connect .hero.founders-hero h2,
.landing-page.revbridge-connect .hero.founders-hero h3,
.landing-page.revbridge-connect .hero.founders-hero h4,
.landing-page.revbridge-connect .hero.founders-hero h5,
.landing-page.revbridge-connect .hero.founders-hero h6,
.landing-page.revbridge-connect .hero.founders-hero p,
.landing-page.revbridge-connect .hero.founders-hero span,
.landing-page.revbridge-connect .hero.founders-hero div,
.landing-page.revbridge-connect .hero.founders-hero a {
    color: var(--white) !important;
}

.founders-hero::before,
.landing-page.revbridge-connect .hero.founders-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
    color: var(--white) !important;
}

.hero-badge span {
    color: var(--white) !important;
}

.hero-badge svg {
    color: var(--green);
}

.hero-title,
.founders-hero .hero-title,
.landing-page.revbridge-connect .hero.founders-hero .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
    color: var(--white) !important;
}

.gradient-text,
.text-red {
    color: var(--white) !important;
    font-weight: 800;
}

.hero-description,
.founders-hero .hero-description,
.landing-page.revbridge-connect .hero.founders-hero .hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 800px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
}

.hero-stats,
.founders-hero .hero-stats,
.landing-page.revbridge-connect .hero.founders-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.stat,
.founders-hero .stat,
.landing-page.revbridge-connect .hero.founders-hero .stat {
    text-align: center;
    position: relative;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 180px;
}

.stat:hover,
.founders-hero .stat:hover,
.landing-page.revbridge-connect .hero.founders-hero .stat:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.stat-number,
.founders-hero .stat-number,
.landing-page.revbridge-connect .hero.founders-hero .stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white) !important;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1;
    display: block;
    position: relative;
}

.stat-number::after,
.founders-hero .stat-number::after,
.landing-page.revbridge-connect .hero.founders-hero .stat-number::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--green);
    border-radius: 2px;
}

.stat-label,
.founders-hero .stat-label,
.landing-page.revbridge-connect .hero.founders-hero .stat-label {
    font-size: 1rem;
    color: var(--white) !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-top: 0.5rem;
    display: block;
}

/* ==========================================================================
   Story Section
   ========================================================================== */

.founders-story {
    padding: 4rem 0;
    background: hsl(24, 43%, 98%);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 2rem;
    text-align: center;
}

.story-text {
    max-width: 900px;
    margin: 0 auto;
}

.story-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 1.5rem;
}

.vision-box {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(232, 17, 17, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 3rem;
    border: 2px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 24px 64px -32px rgba(27, 31, 45, 0.25);
}

.vision-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.vision-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 1rem;
}

.vision-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--gray-500);
    margin: 0;
}

/* ==========================================================================
   Grid Section
   ========================================================================== */

.founders-grid-section {
    padding: 4rem 0;
    background: hsl(24, 43%, 98%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-top: 1rem;
}

/* Grid Layout */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    padding: 0.5rem 0;
    position: relative;
    z-index: 1;
}

/* Founder Card */
.founder-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 24px 64px -32px rgba(27, 31, 45, 0.25);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.founder-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 80px -32px rgba(27, 31, 45, 0.3);
}

/* Header */
.founder-header {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.founder-avatar {
    position: relative;
    flex-shrink: 0;
}

.founder-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gray-100);
}

.avatar-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.avatar-badge.ceo {
    background: var(--red-primary); /* RevBridge Red */
}

.avatar-badge.cto {
    background: var(--green); /* Green */
}

.avatar-badge.cbo {
    background: var(--info-color); /* Blue */
}

.avatar-badge.cmo {
    background: var(--warning-color); /* Orange */
}

.founder-info {
    flex: 1;
}

.founder-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.25rem;
}

.founder-role {
    font-size: 1rem;
    color: var(--gray-500);
    margin: 0 0 1rem;
}

.founder-social {
    display: flex;
    gap: 0.5rem;
}

.founder-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gray-100);
    border-radius: 8px;
    color: var(--gray-500);
    transition: all 0.3s ease;
}

.founder-social a:hover {
    background: var(--gray-900);
    color: var(--white);
}

/* Bio */
.founder-bio {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-500);
}

.founder-bio p {
    margin: 0;
}

/* Expertise */
.founder-expertise h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gray-900);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1rem;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.expertise-tags .tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-500);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.founder-card:nth-child(1) .expertise-tags .tag:hover {
    background: var(--red-primary); /* Juliano (CEO) - Red */
    color: var(--white);
}

.founder-card:nth-child(2) .expertise-tags .tag:hover {
    background: var(--green); /* Luiz (CTO) - Green */
    color: var(--white);
}

.founder-card:nth-child(3) .expertise-tags .tag:hover {
    background: var(--warning-color); /* Bruno (CMO) - Orange */
    color: var(--white);
}

/* Quote */
.founder-quote {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: 1rem;
    border-left: 4px solid var(--green);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    color: rgba(0, 0, 0, 0.1);
}

.founder-quote p {
    font-size: 0.9375rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--gray-500);
    margin: 0;
}

/* ==========================================================================
   Advisors & Investors Section
   ========================================================================== */

.founders-advisors-section {
    padding: 4rem 0;
    background: var(--white);
}

.advisors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.advisor-card {
    background: var(--gray-100);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.advisor-card:hover {
    border-color: var(--red-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(232, 17, 17, 0.1);
}

.advisor-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.advisor-avatar {
    flex-shrink: 0;
}

.advisor-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--white);
}

.advisor-info {
    flex: 1;
}

.advisor-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 0.25rem;
}

.advisor-role {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0 0 0.5rem;
}

.advisor-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--info-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.advisor-linkedin:hover {
    color: var(--red-primary);
}

.advisor-linkedin svg {
    width: 16px;
    height: 16px;
}

.advisor-bio {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--gray-500);
}

.advisor-bio p {
    margin: 0;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.founders-cta {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    padding: 4rem 0;
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    color: var(--white); /* White title */
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9); /* Lighter - 90% opacity */
    margin: 0 0 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Button Styles - Same as revbridge-connect */
.landing-page.revbridge-connect .founders-cta .btn-primary,
.landing-page.revbridge-connect .founders-cta .btn.btn-primary,
.founders-v2-page.revbridge-connect .founders-cta .btn-primary,
.founders-v2-page.revbridge-connect .founders-cta .btn.btn-primary,
.founders-page.revbridge-connect .founders-cta .btn-primary,
.founders-page.revbridge-connect .founders-cta .btn.btn-primary,
.founders-cta .btn-primary,
.founders-cta .btn.btn-primary {
    background: var(--red-primary) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 9999px !important;
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.landing-page.revbridge-connect .founders-cta .btn-primary:hover,
.landing-page.revbridge-connect .founders-cta .btn.btn-primary:hover,
.founders-v2-page.revbridge-connect .founders-cta .btn-primary:hover,
.founders-v2-page.revbridge-connect .founders-cta .btn.btn-primary:hover,
.founders-page.revbridge-connect .founders-cta .btn-primary:hover,
.founders-page.revbridge-connect .founders-cta .btn.btn-primary:hover,
.founders-cta .btn-primary:hover,
.founders-cta .btn.btn-primary:hover {
    background: var(--red-dark) !important;
    color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: none !important;
}

.landing-page.revbridge-connect .founders-cta .btn-secondary,
.landing-page.revbridge-connect .founders-cta .btn.btn-secondary,
.founders-v2-page.revbridge-connect .founders-cta .btn-secondary,
.founders-v2-page.revbridge-connect .founders-cta .btn.btn-secondary,
.founders-page.revbridge-connect .founders-cta .btn-secondary,
.founders-page.revbridge-connect .founders-cta .btn.btn-secondary,
.founders-cta .btn-secondary,
.founders-cta .btn.btn-secondary {
    background: transparent !important;
    color: var(--white) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 9999px !important;
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.landing-page.revbridge-connect .founders-cta .btn-secondary:hover,
.landing-page.revbridge-connect .founders-cta .btn.btn-secondary:hover,
.founders-v2-page.revbridge-connect .founders-cta .btn-secondary:hover,
.founders-v2-page.revbridge-connect .founders-cta .btn.btn-secondary:hover,
.founders-page.revbridge-connect .founders-cta .btn-secondary:hover,
.founders-page.revbridge-connect .founders-cta .btn.btn-secondary:hover,
.founders-cta .btn-secondary:hover,
.founders-cta .btn.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--white) !important;
    transform: translateY(-1px);
}

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

@media (max-width: 1024px) {
    .founders-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .founders-hero .hero-title,
    .landing-page.revbridge-connect .founders-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .founders-hero .hero-stats,
    .landing-page.revbridge-connect .founders-hero .hero-stats {
        flex-direction: column;
        gap: 2rem;
        margin-top: 3rem;
        padding: 1rem 0;
    }
    
    .founders-hero .stat,
    .landing-page.revbridge-connect .founders-hero .stat {
        min-width: 160px;
        padding: 1.25rem;
    }
    
    .founders-hero .stat-number,
    .landing-page.revbridge-connect .founders-hero .stat-number {
        font-size: 3.5rem;
    }
    
    .founders-hero .stat-label,
    .landing-page.revbridge-connect .founders-hero .stat-label {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .founder-header {
        flex-direction: column;
        text-align: center;
    }
    
    .founder-avatar {
        margin: 0 auto;
    }
    
    .founder-social {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .founders-hero .hero-title,
    .landing-page.revbridge-connect .founders-hero .hero-title {
        font-size: 2rem;
    }
    
    .founders-hero .hero-description,
    .landing-page.revbridge-connect .founders-hero .hero-description {
        font-size: 1rem;
    }
    
    .founders-hero .hero-stats,
    .landing-page.revbridge-connect .founders-hero .hero-stats {
        gap: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .founders-hero .stat,
    .landing-page.revbridge-connect .founders-hero .stat {
        min-width: 140px;
        padding: 1rem;
    }
    
    .founders-hero .stat-number,
    .landing-page.revbridge-connect .founders-hero .stat-number {
        font-size: 3rem;
    }
    
    .founders-hero .stat-label,
    .landing-page.revbridge-connect .founders-hero .stat-label {
        font-size: 0.85rem;
    }
    
    .founders-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-card {
        padding: 1.5rem;
    }
}
