/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #FAF8F0;
    color: #1a1f3a;
    line-height: 1.6;
}

/* Header */
.header {
    padding: 1.5rem 0;
    background-color: #FAF8F0;
}

.header-container {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 2.6rem;
    width: auto;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #1a1f3a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.3rem;
    transition: opacity 0.2s;
}

.nav-link:hover {
    opacity: 0.7;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.login-link {
    color: #1a1f3a;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.3rem;
    transition: opacity 0.2s;
}

.login-link:hover {
    opacity: 0.7;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: #2C1B6C;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 12rem 2rem 12rem 2rem;
    text-align: center;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
}

.hero-title {
    font-family: Georgia, serif;
    font-size: 7.7rem;
    font-weight: 300;
    color: #2C1B6C;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.typewriter-text {
    color: #2C1B6C;
    white-space: nowrap;
    display: inline-block;
}

.cursor {
    color: #2C1B6C;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #1a1f3a;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Section */
.content-section {
    padding: 8.4rem 2rem;
    background-color: #2C1B6C;
    width: 64%;
    max-width: 64%;
    margin: 0 auto 4rem auto;
    border-radius: 8px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-container {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
}

.content-left {
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-title {
    font-family: Georgia, serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.content-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

/* Figma Animation Container */
.content-right .figma-animation-container {
    margin-right: -2rem;
    margin-top: -8.4rem;
    margin-bottom: -8.4rem;
    border-radius: 0 8px 8px 0;
}

.content-left .figma-animation-container {
    margin-left: -2rem;
    margin-top: -8.4rem;
    margin-bottom: -8.4rem;
    border-radius: 8px 0 0 8px;
}

.figma-animation-container {
    width: calc(100% + 2rem);
    height: calc(100% + 16.8rem);
    min-height: 400px;
    overflow: visible;
    background-color: transparent;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    overflow-y: visible;
}

.figma-animation {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

/* Expert Targeting Animation Styles */
.expert-targeting-card {
    background-color: white;
    border-radius: 0;
    padding: 3rem;
    width: 100%;
    height: 750px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    overflow: visible;
}


.roles-section {
    margin-bottom: 2.5rem;
    overflow: visible;
}

.regions-section {
    margin-bottom: 2.5rem;
    overflow: visible;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.input-section-visible {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.input-section-hidden {
    display: none;
}

.input-section-hidden .region-input-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    pointer-events: auto;
    overflow: visible;
}

.input-section-hidden .suggestions-persistent {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    pointer-events: auto;
    max-height: none;
    overflow: visible;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    min-height: 80px;
    padding: 1.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
}

.role-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    animation: fadeInSlide 0.3s ease;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.role-tag-text {
    font-weight: 500;
}

.tag-remove-btn {
    background: none;
    border: none;
    color: #6366f1;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0.125rem;
    border-radius: 50%;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.tag-remove-btn:hover {
    background-color: rgba(99, 102, 241, 0.2);
}

.role-input-text {
    flex: 1;
    min-width: 200px;
    border: none;
    outline: none;
    font-size: 1.125rem;
    color: #374151;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    background: transparent;
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 20px;
    background-color: #9ca3af;
    animation: blink 1s infinite;
    margin-left: 2px;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.placeholder-text {
    color: #9ca3af;
    font-size: 1.125rem;
}

.region-input-wrapper {
    position: relative;
    overflow: visible;
    width: 100%;
}



.region-input {
    width: 100%;
    padding: 1.25rem 1.75rem;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    font-size: 1.25rem;
    color: #374151;
    outline: none;
    font-weight: 400;
    transition: all 0.2s;
}

.region-input-active {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* Loading Spinner */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    flex: 0 0 auto;
    align-self: center;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(44, 27, 108, 0.1);
    border-top-color: #2C1B6C;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.next-button {
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #2C1B6C;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.next-button:hover {
    opacity: 0.9;
}

.expert-cards-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 0;
    flex: 0 0 auto;
    align-self: center;
    transition: opacity 0.3s ease;
    min-height: 0;
    width: 100%;
    max-width: 800px;
}

.cards-visible {
    opacity: 1;
}

.cards-hidden {
    opacity: 0;
    pointer-events: none;
}

.expert-card-item {
    padding: 1.5rem 1.75rem;
    background-color: white;
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.15);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
    transition: all 0.2s ease, opacity 0.3s ease;
}

.expert-card-item:hover {
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.25);
}

.card-fading-out {
    opacity: 0 !important;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.expert-name {
    font-weight: 600;
    font-size: 1.125rem;
    color: #1a1f3a;
    margin-bottom: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.expert-details {
    display: flex;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #666;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin-bottom: 0.625rem;
    line-height: 1.5;
}

.expert-company {
    font-size: 0.875rem;
    color: #6366f1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    font-weight: 500;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.expert-rate {
    font-size: 0.9375rem;
    color: #1a1f3a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    font-weight: 600;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
}

/* Expert Card */
.expert-card {
    background-color: white;
    border-radius: 8px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1f3a;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.card-label {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.input-container {
    position: relative;
}

.role-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #2C1B6C;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #1a1f3a;
    outline: none;
    transition: border-color 0.2s;
}

.role-input:focus {
    border-color: #2C1B6C;
}

.role-input::placeholder {
    color: #999;
}

.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: visible;
    z-index: 10;
    animation: fadeInSlideDown 0.3s ease;
}

.suggestions-persistent {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

@keyframes fadeInSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.suggestion-item {
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
}

.suggestion-item:hover {
    background-color: #f9fafb;
}

.suggestion-highlighted {
    background-color: rgba(99, 102, 241, 0.05);
    color: #6366f1;
    font-weight: 500;
}

.suggestion-selected {
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-section {
        width: 90%;
        max-width: 90%;
    }

    .content-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-title {
        font-size: 5.74rem;
    }

    .content-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0 2rem;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 1.5rem;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .hero-title {
        font-size: 4.76rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .content-description {
        font-size: 1.1rem;
    }

    .content-section {
        padding: 4rem 1.5rem;
        width: 100%;
        max-width: 100%;
    }

    .content-title {
        font-size: 2rem;
    }

    .expert-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem 0;
    }

    .header-container {
        padding: 0 1.5rem;
    }

    .header-actions {
        gap: 1rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 3.85rem;
    }

    .content-title {
        font-size: 1.75rem;
    }
}

/* Interview Animation Styles */
.interview-animation-card {
    background-color: white;
    border-radius: 0;
    padding: 3rem;
    width: 100%;
    height: 750px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

/* Phase 1: Drag and Drop */
.drag-drop-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
    position: relative;
    min-height: 300px;
}

.file-icon-wrapper {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.file-icon-wrapper.file-dropped {
    top: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
}

.file-icon {
    width: 80px;
    height: 100px;
    background: linear-gradient(135deg, #2C1B6C 0%, #6366f1 100%);
    border-radius: 4px;
    position: relative;
    box-shadow: 0 4px 12px rgba(44, 27, 108, 0.3);
    cursor: grab;
}

.file-icon:active {
    cursor: grabbing;
}

.file-icon-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 20px 20px 0;
    border-color: transparent rgba(255, 255, 255, 0.3) transparent transparent;
}

.file-icon-lines {
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.file-line {
    height: 3px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    width: 100%;
}

.file-line.short {
    width: 60%;
}

.file-icon-extension {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.drag-drop-area {
    border: 2px dashed rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 4rem 3rem;
    text-align: center;
    background-color: rgba(99, 102, 241, 0.02);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 500px;
    position: relative;
    z-index: 1;
}

.drag-drop-area.file-received {
    border-color: rgba(99, 102, 241, 0.5);
    background-color: rgba(99, 102, 241, 0.08);
    border-style: solid;
}

.drag-drop-area:hover {
    border-color: rgba(99, 102, 241, 0.5);
    background-color: rgba(99, 102, 241, 0.05);
}

.drag-drop-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.drag-drop-area.file-received .drag-drop-icon {
    color: #6366f1;
    font-size: 2.5rem;
}

.drag-drop-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1a1f3a;
    margin-bottom: 0.5rem;
}

.drag-drop-hint {
    font-size: 0.9375rem;
    color: #666;
}

/* Phase 2: Interview */
.interview-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    animation: fadeIn 0.3s ease;
    max-width: 600px;
}

.dialog-icon-container {
    display: flex;
    align-items: center;
}

.dialog-icon-small {
    height: 2.5rem;
    width: auto;
}

.interview-bubble {
    background-color: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    padding: 1.5rem 2rem;
    max-width: 100%;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

.interview-text {
    font-size: 1.125rem;
    color: #1a1f3a;
    line-height: 1.6;
}

.typing-cursor-interview {
    color: #6366f1;
    animation: blink 1s infinite;
    margin-left: 2px;
}

/* Phase 3: Transcript */
.transcript-container {
    width: 100%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

.transcript-header {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1f3a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(99, 102, 241, 0.15);
}

.transcript-content {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.transcript-line {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    padding: 1rem;
    background-color: rgba(99, 102, 241, 0.03);
    border-radius: 8px;
    border-left: 3px solid rgba(99, 102, 241, 0.3);
}

.transcript-speaker {
    font-weight: 600;
    color: #6366f1;
    margin-right: 0.5rem;
}

.transcript-text {
    color: #1a1f3a;
    line-height: 1.6;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Insights Animation Styles */
.insights-animation-card {
    background-color: white;
    border-radius: 0;
    padding: 3rem;
    width: 100%;
    height: 750px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', sans-serif;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
}

/* Phase 1: Table */
.insights-table-container {
    width: 100%;
    max-width: 700px;
    animation: fadeIn 0.3s ease;
}

.insights-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}

.table-header-region,
.table-header {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9375rem;
    color: #1a1f3a;
    border-bottom: 2px solid rgba(99, 102, 241, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table-header-region {
    width: 40%;
}

.table-header {
    text-align: center;
    width: 20%;
}

.table-row {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    transition: background-color 0.2s ease;
}

.table-row:hover {
    background-color: rgba(99, 102, 241, 0.05);
}

.table-row.row-selected {
    background-color: rgba(99, 102, 241, 0.1);
    border-left: 3px solid #6366f1;
}

.table-region-cell,
.table-cell {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 1rem;
    color: #1a1f3a;
}

.table-region-cell {
    font-weight: 500;
    color: #6366f1;
}

.table-cell {
    text-align: center;
    font-weight: 600;
    color: #1a1f3a;
}

/* Phase 2: Insights */
.insights-container {
    width: 100%;
    max-width: 700px;
    animation: fadeIn 0.3s ease;
}

.insights-header {
    margin-bottom: 2rem;
}

.insights-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a1f3a;
    margin: 0;
}

.insights-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.insight-item {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
    padding: 1.5rem;
    background-color: rgba(99, 102, 241, 0.03);
    border-radius: 8px;
    border-left: 3px solid #6366f1;
}

.insight-text {
    font-size: 1.125rem;
    color: #1a1f3a;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 500;
}

.insight-citations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.citation-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background-color: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Phase 3: Pie Chart */
.pie-chart-container {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.pie-chart-header {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1a1f3a;
    margin-bottom: 2rem;
    text-align: center;
}

.pie-chart-wrapper {
    margin-bottom: 2rem;
}

.pie-chart {
    width: 200px;
    height: 200px;
}

.pie-segment {
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    transition: opacity 0.3s ease;
}

.pie-chart-legend {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.legend-item:hover {
    background-color: rgba(99, 102, 241, 0.05);
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
}

.legend-label {
    flex: 1;
    font-size: 0.9375rem;
    color: #1a1f3a;
    font-weight: 500;
}

.legend-value {
    font-size: 0.9375rem;
    color: #666;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #2C1B6C;
    padding: 4rem 2rem 4rem;
    margin-top: 10rem;
}

.footer-container {
    width: 64%;
    max-width: 64%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column:last-child {
    align-items: flex-end;
    text-align: right;
}

.footer-heading {
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: white;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    opacity: 0.7;
}

.footer-bottom {
    width: 64%;
    max-width: 64%;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: white;
    font-size: 0.9375rem;
    margin: 0;
    text-align: left;
}

