/* ========================================
   COMPANY PAGES - SHARED STYLES
   About, Team, Contact, Careers
   ======================================== */

/* ========================================
   COMPANY HERO
   ======================================== */
.company-hero {
    text-align: center;
    padding: 80px 5% 60px;
    background: white;
}

.company-hero-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #5B7BFF;
    margin-bottom: 16px;
}

.company-hero h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.15;
}

.company-hero h1 span {
    background: linear-gradient(135deg, #5B7BFF, #4361ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.company-hero .hero-subtitle {
    font-size: 18px;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   SECTION BLOCKS
   ======================================== */
.company-section-white {
    padding: 80px 5%;
    background: white;
}

.company-section-gray {
    padding: 80px 5%;
    background: #f9fafb;
}

.company-section-header {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
}

.company-section-header .section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #5B7BFF, #4361ee);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 16px;
}

.company-section-header h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.company-section-header p {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
}

.company-section-content {
    max-width: 900px;
    margin: 0 auto;
}

.company-section-content p {
    font-size: 17px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ========================================
   ABOUT - STATS ROW
   ======================================== */
.company-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 48px auto 0;
}

.company-stat {
    text-align: center;
    padding: 32px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.company-stat .stat-number {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(135deg, #5B7BFF, #4361ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.company-stat .stat-label {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

/* ========================================
   ABOUT - VALUE CARDS
   ======================================== */
.company-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.company-value-card {
    background: white;
    border-radius: 16px;
    padding: 36px 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(91, 123, 255, 0.12);
}

.company-value-card .value-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #5B7BFF, #4361ee);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
}

.company-value-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.company-value-card p {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
}

/* ========================================
   ABOUT - HOW AI WORKS (Steps)
   ======================================== */
.company-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.company-step-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(91, 123, 255, 0.12);
}

.company-step-number {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #5B7BFF, #4361ee);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.company-step-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.company-step-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* ========================================
   ABOUT - VISION HIGHLIGHTS
   ======================================== */
.company-vision-content {
    max-width: 900px;
    margin: 0 auto;
}

.company-vision-content p {
    font-size: 17px;
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.company-vision-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.company-vision-item {
    text-align: center;
    padding: 28px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-vision-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(91, 123, 255, 0.12);
}

.company-vision-item .vision-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #5B7BFF, #4361ee);
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 14px;
}

.company-vision-item h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.company-vision-item p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* ========================================
   ABOUT - LEADERSHIP COMPACT GRID
   ======================================== */
.company-leader-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.company-leader-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-leader-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(91, 123, 255, 0.12);
}

.company-leader-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    background: #e5e7eb;
}

.company-leader-card h3 {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.company-leader-card .leader-title {
    font-size: 14px;
    font-weight: 600;
    color: #5B7BFF;
    margin-bottom: 12px;
}

.company-leader-card .leader-bio {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 14px;
}

.company-leader-card .team-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5B7BFF;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.company-leader-card .team-linkedin:hover {
    color: #4361ee;
}

/* ========================================
   TEAM - TEAM CARDS (Horizontal)
   ======================================== */
.company-team-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.company-team-card {
    display: flex;
    gap: 36px;
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-team-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(91, 123, 255, 0.10);
}

.company-team-photo {
    width: 160px;
    height: 160px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
    background: #e5e7eb;
}

.company-team-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.company-team-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.company-team-info .team-title {
    font-size: 14px;
    font-weight: 600;
    color: #5B7BFF;
    margin-bottom: 12px;
}

.company-team-info .team-bio {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 12px;
}

.company-team-info .team-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #5B7BFF;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.company-team-info .team-linkedin:hover {
    color: #4361ee;
}

/* ========================================
   CONTACT - SPLIT LAYOUT
   ======================================== */
.company-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    max-width: 1100px;
    margin: 0 auto;
}

.company-contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.company-info-card {
    background: white;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.company-info-card .info-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #5B7BFF, #4361ee);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
}

.company-info-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.company-info-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

.company-info-card a {
    color: #5B7BFF;
    text-decoration: none;
    font-weight: 500;
}

.company-info-card a:hover {
    color: #4361ee;
}

.company-social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.company-social-links a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.company-social-links a:hover {
    background: #5B7BFF;
    color: white;
}

/* Contact Form */
.company-contact-form-wrapper {
    background: white;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.company-contact-form-wrapper h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.company-form-group {
    margin-bottom: 20px;
}

.company-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.company-form-group input,
.company-form-group textarea,
.company-form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: #1a1a1a;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.company-form-group input:focus,
.company-form-group textarea:focus,
.company-form-group select:focus {
    outline: none;
    border-color: #5B7BFF;
    box-shadow: 0 0 0 3px rgba(91, 123, 255, 0.1);
}

.company-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.company-form-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #5B7BFF, #4361ee);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    justify-content: center;
}

.company-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 123, 255, 0.3);
}

.company-form-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.company-form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    display: none;
}

.company-form-message.success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.company-form-message.error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ========================================
   CAREERS - PERKS GRID
   ======================================== */
.company-perks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.company-perk-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-perk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(91, 123, 255, 0.12);
}

.company-perk-card .perk-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #5B7BFF, #4361ee);
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    margin-bottom: 16px;
}

.company-perk-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.company-perk-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* ========================================
   CAREERS - JOB CARDS (Expandable)
   ======================================== */
.company-jobs-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.company-job-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.company-job-card:hover {
    box-shadow: 0 4px 16px rgba(91, 123, 255, 0.10);
}

.company-job-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    cursor: pointer;
    user-select: none;
}

.company-job-header-info h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.company-job-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #6b7280;
}

.company-job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.company-job-chevron {
    font-size: 16px;
    color: #9ca3af;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.company-job-card.open .company-job-chevron {
    transform: rotate(180deg);
}

.company-job-details {
    display: none;
    padding: 0 28px 28px;
    border-top: 1px solid #e5e7eb;
}

.company-job-card.open .company-job-details {
    display: block;
}

.company-job-details p {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
    margin-top: 20px;
}

.company-job-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    margin-top: 20px;
}

.company-job-details ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.company-job-details ul li {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.8;
}

.company-job-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #5B7BFF, #4361ee);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 8px;
}

.company-job-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 123, 255, 0.3);
    color: white;
}

/* ========================================
   RESPONSIVE - 1024px
   ======================================== */
@media (max-width: 1024px) {
    .company-hero {
        padding: 60px 5% 48px;
    }

    .company-section-white,
    .company-section-gray {
        padding: 60px 5%;
    }

    /* Team cards stack */
    .company-team-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .company-team-photo {
        width: 140px;
        height: 140px;
    }

    .company-team-info {
        align-items: center;
    }

    /* Contact single-col */
    .company-contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Perks 2-col */
    .company-perks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Values 2-col */
    .company-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Steps 2-col */
    .company-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Vision 2-col */
    .company-vision-highlights {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Leaders stack */
    .company-leader-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ========================================
   RESPONSIVE - 768px
   ======================================== */
@media (max-width: 768px) {
    .company-hero {
        padding: 48px 5% 36px;
    }

    .company-hero .hero-subtitle {
        font-size: 16px;
    }

    .company-section-white,
    .company-section-gray {
        padding: 48px 5%;
    }

    .company-section-content p {
        font-size: 15px;
    }

    /* Stats 1-col */
    .company-stats-row {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 320px;
    }

    .company-stat {
        padding: 24px 16px;
    }

    .company-stat .stat-number {
        font-size: 28px;
    }

    /* Values single-col */
    .company-values-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Steps single-col */
    .company-steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Vision single-col */
    .company-vision-highlights {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Team */
    .company-team-photo {
        width: 120px;
        height: 120px;
    }

    .company-team-card {
        padding: 24px;
        gap: 20px;
    }

    /* Contact form */
    .company-contact-form-wrapper {
        padding: 24px;
    }

    /* Perks single-col */
    .company-perks-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Jobs */
    .company-job-header {
        padding: 20px;
    }

    .company-job-details {
        padding: 0 20px 20px;
    }

    .company-job-header-info h3 {
        font-size: 17px;
    }
}

/* ========================================
   RESPONSIVE - 480px
   ======================================== */
@media (max-width: 480px) {
    .company-hero {
        padding: 36px 5% 28px;
    }

    .company-hero .hero-subtitle {
        font-size: 15px;
    }

    .company-section-white,
    .company-section-gray {
        padding: 36px 5%;
    }

    .company-section-header h2 {
        font-size: 24px;
    }

    .company-team-photo {
        width: 100px;
        height: 100px;
    }

    .company-job-meta {
        flex-direction: column;
        gap: 4px;
    }
}
