*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --bg-white: #ffffff;
    --bg-subtle: #f8fafc;
    --accent: #A01D26;
    --accent-dark: #8b1920;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-white);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HERO SECTION - NEW ===== */
.hero-section-new {
    background: linear-gradient(135deg, #8B0E1F 0%, #A81327 50%, #C91F37 100%);
    padding: 120px 40px 80px;
    position: relative;
    overflow: hidden;
}

.hero-section-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2070&auto=format&fit=crop') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-left {
    text-align: left;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-badge-new {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 24px;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title-new {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.hero-subtitle-new {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 0;
    max-width: 600px;
}

.hero-stats-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-compact {
    text-align: center;
}

.hero-stat-value-compact {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.hero-stat-label-compact {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* ===== CULTURE SECTION ===== */
.culture-section {
    padding: 80px 0;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
}

.culture-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 64px;
    align-items: start;
}

.culture-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.culture-text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.culture-text p:last-child {
    margin-bottom: 0;
}

.culture-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.culture-value {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-subtle);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.culture-value-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.culture-value-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.culture-value-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* ===== DEPARTMENTS SECTION ===== */
.departments-section {
    padding: 80px 0;
    background: var(--bg-subtle);
}

.section-header {
    margin-bottom: 40px;
}

.section-header.center {
    text-align: center;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

.departments-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.department-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
}

.department-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(160, 29, 38, 0.1);
}

.dept-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
}

.department-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.department-card > p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.department-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.department-card li {
    font-size: 12px;
    color: var(--text-muted);
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.department-card li::before {
    content: '—';
    color: var(--accent);
}

/* ===== MAIN SECTIONS ===== */
.section {
    padding: 80px 0;
    background: var(--bg-white);
}

/* ===== FOUNDER CARD ===== */
.founder-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    padding: 40px;
    background: linear-gradient(135deg, var(--text-primary) 0%, #1e293b 100%);
    border-radius: 16px;
    margin-bottom: 40px;
    align-items: center;
}

.founder-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder-initials {
    font-size: 48px;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

.founder-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.founder-title {
    font-size: 16px;
    color: #f87171;
    font-weight: 500;
    margin-bottom: 20px;
}

.founder-bio p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 12px;
}

.founder-bio p:last-child {
    margin-bottom: 0;
}

.founder-links {
    margin-top: 20px;
}

.founder-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #f87171;
    text-decoration: none;
    transition: color 0.2s ease;
}

.founder-link:hover {
    color: white;
}

/* ===== LEADERSHIP GRID ===== */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.leader-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
}

.leader-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(160, 29, 38, 0.08);
}

.leader-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 16px;
}

.leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-initials {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-muted);
}

.leader-info h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.leader-role {
    font-size: 14px;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 12px;
}

.leader-bio {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.leader-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
}

.leader-link:hover {
    text-decoration: underline;
}

/* ===== TEAM DIRECTORY SECTION ===== */
.team-directory-section {
    padding: 80px 0;
    background: var(--bg-subtle);
}

/* Team Table */
.team-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.team-table thead {
    background: var(--text-primary);
}

.team-table th {
    text-align: left;
    padding: 16px 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.8);
}

.team-table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.team-table tbody tr:last-child td {
    border-bottom: none;
}

.team-table tbody tr:hover {
    background: var(--bg-subtle);
}

/* Member Cell */
.member-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.member-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    flex-shrink: 0;
    overflow: hidden;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-weight: 600;
    color: var(--text-primary);
}

.member-role {
    color: var(--text-secondary);
}

.member-bio {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.dept-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    background: rgba(160, 29, 38, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.table-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
}

.table-link:hover {
    text-decoration: underline;
}

.text-muted {
    color: var(--text-muted);
}

/* ===== WHY JOIN SECTION ===== */
.why-join-section {
    padding: 80px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefit-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.benefit-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(160, 29, 38, 0.1);
}

.benefit-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 20px;
}

.benefit-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--text-primary) 0%, #1e293b 100%);
    padding: 80px 0;
}

.cta-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

.cta-container h2 {
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-container > p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    padding: 14px 28px;
    background: var(--accent);
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    background: var(--bg-white);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--text-muted);
    background: var(--bg-subtle);
}

.btn-outline {
    display: inline-block;
    padding: 14px 28px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== LOADING & EMPTY STATES ===== */
.loading-state {
    text-align: center;
    padding: 64px 24px;
    color: var(--text-muted);
}

.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.empty-state {
    text-align: center;
    padding: 64px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.empty-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-subtle);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-muted);
    margin: 0 auto 20px;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state > p {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto 24px;
}

.empty-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ===== RESPONSIVE ===== */
/* Responsive for New Hero */
@media (max-width: 1000px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-left {
        text-align: center;
    }

    .hero-subtitle-new {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-stats-compact {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .hero-section-new {
        padding: 100px 24px 60px;
    }

    .hero-title-new {
        font-size: 2.2rem;
    }

    .hero-subtitle-new {
        font-size: 1rem;
    }

    .hero-stats-compact {
        padding: 24px;
        gap: 16px;
    }

    .hero-stat-value-compact {
        font-size: 2rem;
    }

    .hero-stat-label-compact {
        font-size: 11px;
    }
}

@media (max-width: 1100px) {
    .departments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .hero-section {
        padding: 100px 24px 48px;
    }

    .hero-section h1 {
        font-size: 36px;
    }

    .hero-stats {
        gap: 32px;
    }

    .hero-stat-value {
        font-size: 28px;
    }

    .culture-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .departments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .founder-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }

    .founder-photo {
        margin: 0 auto;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 600px) {
    .hero-section {
        padding: 90px 16px 40px;
    }

    .hero-section h1 {
        font-size: 28px;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .departments-grid {
        grid-template-columns: 1fr;
    }

    .founder-card {
        padding: 24px;
    }

    .founder-photo {
        width: 120px;
        height: 120px;
    }

    .founder-initials {
        font-size: 36px;
    }

    .founder-content h3 {
        font-size: 24px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .cta-container h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
    }

    .section,
    .culture-section,
    .departments-section,
    .team-directory-section,
    .why-join-section {
        padding: 48px 0;
    }
}
