/* About Page - Clerk Replica (Refined Light Theme) */

.about-hero {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: #ffffff;
    overflow: hidden;
    max-height: 81vh;
}

/* Background Visual Wrapper */
.bg-visual {
    position: absolute;
    /* Fixed distance from top to anchor the image */
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 510px;
    height: 510px;
    z-index: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    mix-blend-mode: multiply;
}

/* Content over the visual */
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.275rem;
    /* 
       Image starts at 85px and is 510px tall. Ends at 595px.
       Setting margin to 646px to fully clear the image with breathing room.
    */
    margin-top: 646px;
    margin-bottom: 4.25rem;
}

/* Typography */
.hero-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 3.825rem;
    font-weight: 800;
    line-height: 1;
    color: #111111;
    letter-spacing: -0.03em;
    margin-bottom: 1.275rem;
    white-space: nowrap;
}

.hero-desc {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 0.95625rem;
    line-height: 1.6;
    color: #64748b;
    max-width: 510px;
    margin: 0 auto;
    font-weight: 500;
}

.hero-desc strong {
    color: #111;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.hero-desc strong::after {
    content: '';
    position: absolute;
    bottom: 1.7px;
    left: 0;
    width: 100%;
    height: 0.85px;
    background-color: rgba(0, 0, 0, 0.2);
}

/* Investors Section */
.investors-section {
    background-color: #f8fafc;
    padding: 1rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.investors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    /* Remove gap for border dividers */
}

@media (min-width: 992px) {
    .investors-grid {
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
    }

    .investors-intro {
        padding-right: 3.4rem;
        border-right: 1px solid #cbd5e1;
        /* Slightly darker border for contrast */
    }

    .investor-card {
        padding: 0 1.7rem;
        border-right: 1px solid #cbd5e1;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .investor-card:last-child {
        border-right: none;
    }
}

.investors-intro {
    padding-bottom: 1.7rem;
}

.investors-intro h2 {
    font-size: 1.275rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.85rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.investors-intro p {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.6;
}

.investor-card {
    display: flex;
    flex-direction: column;
    gap: 1.275rem;
    padding-bottom: 1.7rem;
}

.investor-logo {
    height: 34px;
    display: flex;
    align-items: center;
    margin-bottom: 1.7rem;
}

.investor-logo h3 {
    font-size: 0.95625rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.investor-desc p {
    font-size: 0.8075rem;
    color: #334155;
    line-height: 1.5;
    margin-bottom: 0.85rem;
}

.investor-desc strong {
    color: #0f172a;
    display: block;
    margin-bottom: 0.425rem;
}

.investor-meta {
    font-size: 0.7225rem;
    color: #64748b;
    margin-top: auto;
    padding-top: 0.85rem;
}

/* Testimonial Section - Clean White */
.testimonial-section {
    background-color: #ffffff;
    padding: 2.8rem 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.testimonial-content {
    max-width: 765px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-quote {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 1.9125rem;
    font-weight: 600;
    line-height: 1.3;
    color: #111;
    letter-spacing: -0.02em;
    margin-bottom: 2.55rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 4.25rem;
}

.avatar {
    width: 47.6px;
    /* Slightly larger avatar */
    height: 47.6px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 3.4px 5.1px -0.85px rgba(0, 0, 0, 0.1);
}

.author-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.author-name {
    font-size: 0.935rem;
    font-weight: 700;
    color: #0f172a;
}

.author-role {
    font-size: 0.765rem;
    color: #64748b;
}

/* Angel Investors / Logos Grid */
.angel-logos-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3.4rem;
    margin-top: 1.7rem;
    padding-top: 3.4rem;
    border-top: 1px solid #e2e8f0;
    width: 100%;
}

.logo-item {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1475rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.425rem;
    transition: all 0.2s ease;
    cursor: default;
}

.logo-item:hover {
    color: #0f172a;
    transform: translateY(-1.7px);
}

/* Specific Logo Text Styles to mimic brands */
.logo-stripe {
    letter-spacing: -0.02em;
    font-weight: 800;
}

.logo-netlify {
    font-family: system-ui;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo-mango {
    font-family: serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.935rem;
}

.logo-fathom {
    font-family: 'Courier New', monospace;
    letter-spacing: -0.05em;
    font-weight: 600;
}

/* Responsive Scaling */
@media (max-width: 992px) {
    .investors-grid {
        grid-template-columns: 1fr 1fr;
    }

    .investors-intro {
        grid-column: 1 / -1;
        margin-bottom: 1.7rem;
        border-right: none;
        padding-right: 0;
    }

    .investor-card {
        border-right: none;
        padding-left: 0;
        padding-right: 0;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 1.7rem;
        margin-bottom: 1.7rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: auto;
        padding-top: 3.4rem;
        padding-bottom: 3.4rem;
    }

    .bg-visual {
        position: relative;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 255px;
        height: 255px;
        margin-bottom: 1.7rem;
    }

    .hero-content {
        margin-top: 0;
        /* Reset for mobile */
    }

    .hero-title {
        font-size: 2.3375rem;
        white-space: normal;
    }

    .investors-grid {
        grid-template-columns: 1fr;
    }

    .angel-logos-grid {
        gap: 1.7rem;
    }
}

/* Individual Investors Section */
.individual-investors-section {
    background-color: #f8fafc;
    padding: 2.8rem 0;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.individual-investors-header {
    max-width: 595px;
    margin: 0 auto 4.25rem;
}

.individual-investors-header h2 {
    font-size: 1.9125rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.individual-investors-header p {
    font-size: 0.95625rem;
    color: #64748b;
    line-height: 1.6;
}

.individual-investors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3.4rem;
    /* More generous spacing */
    max-width: 935px;
    margin: 0 auto;
}

.ind-investor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.0625rem;
    transition: transform 0.3s ease;
}

.ind-investor-card:hover {
    transform: translateY(-4.25px);
}

.ind-investor-avatar {
    width: 81.6px;
    /* Larger avatars */
    height: 81.6px;
    border-radius: 20.4px;
    /* Squircle shape */
    object-fit: cover;
    background-color: #e2e8f0;
    filter: grayscale(100%);
    /* Elegant B&W look */
    transition: all 0.3s ease;
    box-shadow: 0 3.4px 5.1px -0.85px rgba(0, 0, 0, 0.05);
}

.ind-investor-card:hover .ind-investor-avatar {
    filter: grayscale(0%);
    box-shadow: 0 8.5px 12.75px -2.55px rgba(0, 0, 0, 0.1);
}

.ind-investor-info h3 {
    font-size: 0.935rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.2125rem;
}

.ind-investor-info p {
    font-size: 0.765rem;
    color: #64748b;
    font-weight: 500;
}

@media (max-width: 992px) {
    .individual-investors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .individual-investors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .individual-investors-grid {
        grid-template-columns: 1fr;
    }
}

/* CTA / Careers Section - UPDATED with theme colors and wider cards */
.cta-section {
    background-color: #ffffff;
    padding: 2rem 0 6.8rem;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.cta-card {
    background: linear-gradient(145deg, #ffffff, #f8fcf9);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 1rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #0f172a;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(150, 197, 73, 0.08);
    max-width: 600px !important;
    min-width: 400px !important;
}

.cta-card:hover {
    box-shadow: 0 25px 30px -8px rgba(150, 197, 73, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    transform: translateY(-2px);
    border-color: #96c549;
}

/* Left Card Specifics (Join) - THEME COLOR */
.cta-card.join-card {
    background: radial-gradient(circle at 50% 120%, rgba(150, 197, 73, 0.12), rgba(248, 250, 252, 1) 70%), #f8fafc;
    text-align: center;
    align-items: center;
}

.cta-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #295950;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.04em;
    color: #0f172a;
}

.cta-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #475569;
    max-width: 420px;
    margin-bottom: 2.5rem;
}

.btn-cta-primary {
    background-color: #96c549;
    color: #fff;
    padding: 0.9rem 2.2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 10px -2px rgba(150, 197, 73, 0.4);
}

.btn-cta-primary:hover {
    background-color: #295950;
    transform: translateY(-1px);
    box-shadow: 0 12px 18px -5px rgba(41, 89, 80, 0.4);
}

/* Right Card Specifics (Careers) - THEME COLOR ACCENT */
.cta-card.careers-card {
    background: linear-gradient(135deg, #f8fcf9, #f1f9f2);
    text-align: left;
    align-items: flex-start;
    border-color: #e2e8f0;
}

.careers-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #96c549;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.careers-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.careers-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 1.5rem;
    max-width: 420px;
}

.btn-cta-secondary {
    background-color: #ffffff;
    color: #0f172a;
    border: 1.5px solid #96c549;
    padding: 0.9rem 2.2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-cta-secondary:hover {
    background-color: #f0f9f0;
    border-color: #295950;
    color: #295950;
    box-shadow: 0 6px 12px -4px rgba(150, 197, 73, 0.2);
    transform: translateY(-1px);
}

@media (max-width: 992px) {
    .cta-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
    
    .cta-card {
        padding: 3.5rem 2.5rem;
        min-height: 400px;
    }
}

@media (max-width: 640px) {
    .cta-card {
        padding: 2.5rem 1.5rem;
        min-height: auto;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .careers-title {
        font-size: 1.8rem;
    }
}