* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.headshot-container {
    flex-shrink: 0;
}

.headshot {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #1e3c72;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.headshot:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(30, 60, 114, 0.4);
}

.header-content {
    flex: 1;
    min-width: 300px;
}

.header h1 {
    font-size: 2.8em;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.subtitle {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 16px;
    font-weight: 500;
}

.header p {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.9em;
}

.contact-info span {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.3);
    transition: transform 0.2s ease;
}

.contact-info span:hover {
    transform: translateY(-2px);
}

.section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    text-align: center;
}

.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.value-prop {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.1), rgba(42, 82, 152, 0.1));
    padding: 24px;
    border-radius: 15px;
    border: 1px solid rgba(30, 60, 114, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-prop:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30, 60, 114, 0.2);
}

.value-prop h3 {
    font-size: 1.2em;
    margin-bottom: 12px;
    color: #333;
    font-weight: 600;
}

.value-prop p {
    color: #666;
    line-height: 1.6;
}

.project {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.05), rgba(42, 82, 152, 0.05));
    padding: 28px;
    border-radius: 15px;
    margin-bottom: 24px;
    border: 1px solid rgba(30, 60, 114, 0.1);
    transition: transform 0.2s ease;
}

.project:hover {
    transform: translateY(-3px);
}

.project h3 {
    font-size: 1.4em;
    margin-bottom: 6px;
    color: #333;
    font-weight: 600;
}

.project-meta {
    color: #1e3c72;
    font-size: 0.9em;
    margin-bottom: 12px;
    font-weight: 500;
}

.project p {
    color: #666;
    margin-bottom: 16px;
    line-height: 1.6;
}

.project-highlights h4 {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.tech-stack {
    background: rgba(30, 60, 114, 0.1);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    border-left: 4px solid #1e3c72;
    font-size: 0.95em;
}

.metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.metric {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 500;
}

.experience-item {
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.05), rgba(42, 82, 152, 0.05));
    border-radius: 15px;
    border: 1px solid rgba(30, 60, 114, 0.1);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.experience-title {
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.experience-company {
    font-size: 1em;
    color: #1e3c72;
    font-weight: 500;
}

.experience-date {
    color: #888;
    font-weight: 500;
    font-size: 0.95em;
}

.experience-description {
    color: #666;
    line-height: 1.6;
}

.recognition-section {
    margin-top: 24px;
}

.recognition-box {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.1), rgba(42, 82, 152, 0.1));
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid #1e3c72;
    color: #333;
    line-height: 1.6;
}

/* Sample Analysis Section */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.analysis-card {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.05), rgba(42, 82, 152, 0.05));
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(30, 60, 114, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    max-width: 320px;
}

.analysis-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30, 60, 114, 0.15);
}

.analysis-card.coming-soon {
    cursor: default;
    opacity: 0.7;
}

.analysis-card.coming-soon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(30, 60, 114, 0.1);
}

.analysis-thumbnail {
    height: 140px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(30, 60, 114, 0.1);
}

.analysis-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.analysis-card:hover .analysis-thumbnail img {
    transform: scale(1.05);
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.analysis-card:hover .thumbnail-overlay {
    opacity: 1;
}

.view-analysis {
    background: rgba(255, 255, 255, 0.95);
    color: #1e3c72;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95em;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.analysis-card:hover .view-analysis {
    transform: translateY(0);
}

.coming-soon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.1), rgba(42, 82, 152, 0.1));
}

.coming-soon-icon {
    font-size: 2.5em;
    margin-bottom: 8px;
    opacity: 0.6;
}

.coming-soon-text {
    color: #666;
    font-weight: 600;
    font-size: 1em;
}

.analysis-content {
    padding: 18px;
}

.analysis-content h3 {
    font-size: 1.2em;
    margin-bottom: 6px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}

.analysis-meta {
    color: #1e3c72;
    font-size: 0.8em;
    margin-bottom: 12px;
    font-weight: 500;
    opacity: 0.8;
}

.scenario, .outcome {
    font-size: 0.85em;
    line-height: 1.5;
    margin-bottom: 10px;
    color: #666;
}

.scenario strong, .outcome strong {
    color: #333;
}

.analysis-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tag {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7em;
    font-weight: 500;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    margin: 2% auto;
    border-radius: 20px;
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(30, 60, 114, 0.1);
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.05), rgba(42, 82, 152, 0.05));
    border-radius: 20px 20px 0 0;
}

.modal-header h3 {
    font-size: 1.8em;
    color: #333;
    font-weight: 600;
    margin: 0;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close {
    font-size: 2em;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(30, 60, 114, 0.1);
}

.close:hover {
    color: #1e3c72;
    transform: scale(1.1);
    background: rgba(30, 60, 114, 0.2);
}

.modal-body {
    flex: 1;
    padding: 20px;
    overflow: hidden;
}

.analysis-viewer {
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.analysis-viewer iframe {
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .analysis-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .analysis-card {
        max-width: none;
    }
    
    .header {
        padding: 24px;
        gap: 24px;
    }
    
    .section {
        padding: 24px;
    }
    
    .headshot {
        width: 140px;
        height: 140px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }

    .section {
        padding: 20px;
    }

    .headshot {
        width: 120px;
        height: 120px;
    }

    .header h1 {
        font-size: 2em;
        letter-spacing: -1px;
    }

    .subtitle {
        font-size: 1.1em;
    }

    .section h2 {
        font-size: 1.6em;
        margin-bottom: 16px;
    }

    .contact-info {
        justify-content: center;
        gap: 12px;
    }

    .contact-info span {
        padding: 5px 10px;
        font-size: 0.8em;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .value-props {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 20px;
    }

    .value-prop {
        padding: 18px;
    }

    .project {
        padding: 20px;
        margin-bottom: 20px;
    }

    .experience-item {
        padding: 16px;
        margin-bottom: 20px;
    }

    .analysis-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .analysis-card {
        margin: 0 auto;
        max-width: 350px;
    }
    
    .analysis-thumbnail {
        height: 120px;
    }
    
    .analysis-content {
        padding: 16px;
    }
    
    .analysis-content h3 {
        font-size: 1.1em;
    }
    
    .modal-content {
        margin: 1% auto;
        width: 98%;
        height: 95vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h3 {
        font-size: 1.4em;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .analysis-viewer iframe {
        height: 600px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 12px;
    }

    .header {
        padding: 16px;
    }

    .section {
        padding: 16px;
    }

    .header h1 {
        font-size: 1.8em;
    }

    .subtitle {
        font-size: 1em;
    }

    .section h2 {
        font-size: 1.4em;
        margin-bottom: 14px;
    }

    .headshot {
        width: 100px;
        height: 100px;
    }

    .contact-info span {
        padding: 4px 8px;
        font-size: 0.75em;
    }

    .value-prop {
        padding: 16px;
    }

    .project {
        padding: 16px;
    }

    .experience-item {
        padding: 14px;
    }

    .analysis-content {
        padding: 14px;
    }
    
    .analysis-content h3 {
        font-size: 1em;
    }
    
    .analysis-meta {
        font-size: 0.75em;
    }
    
    .scenario, .outcome {
        font-size: 0.8em;
    }
    
    .tag {
        font-size: 0.65em;
        padding: 2px 6px;
    }
    
    .modal-header h3 {
        font-size: 1.2em;
    }
    
    .close {
        font-size: 1.5em;
        width: 35px;
        height: 35px;
    }
}
