/* Generic design system */
:root {
    /* Color variables */
    --primary-dark: #003366;
    --primary-blue: #0066cc;
    --primary-light: #4d94ff;
    --gray-dark: #333333;
    --gray-medium: #666666;
    --gray-light: #999999;
    --background-light: #f8f9fa;
    --surface-white: #ffffff;
    --accent-color: #ff6b35;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-tertiary: #6a6a6a;
    
    /* Layout variables */
    --nav-height: 4rem; /* 1rem padding top + 1.5rem font + 1rem padding bottom + border */
    
    /* Animation variables */
    --pulse-duration: 3s;
    --data-receive-duration: 3s;
    --pulse-dot-size: 6px;
    --connection-line-width: 2px;
    --connection-line-height: 3rem;
    --section-connection-height: 2rem;
    --pulse-dot-offset-top: 10px;
    --pulse-dot-offset-right: 15px;
    --section-pulse-dot-offset-top: 8px;
    --section-pulse-dot-offset-right: 12px;
    
    /* Common alpha values for consistency */
    --white-05: rgba(255, 255, 255, 0.05);
    --white-10: rgba(255, 255, 255, 0.1);
    --white-15: rgba(255, 255, 255, 0.15);
    --white-20: rgba(255, 255, 255, 0.2);
    --white-90: rgba(255, 255, 255, 0.9);
    --primary-10: rgba(0, 51, 102, 0.1);
    --primary-blue-05: rgba(0, 102, 204, 0.05);
    --primary-blue-10: rgba(0, 102, 204, 0.1);
    --primary-blue-15: rgba(0, 102, 204, 0.15);
    --primary-blue-20: rgba(0, 102, 204, 0.2);
    --primary-blue-30: rgba(0, 102, 204, 0.3);
    --primary-blue-40: rgba(0, 102, 204, 0.4);
    --primary-blue-50: rgba(0, 102, 204, 0.5);
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--surface-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Source Serif Pro', serif;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Container and layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.content-width {
    max-width: 800px;
    margin: 0 auto;
}

/* Navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: var(--surface-white);
    border-bottom: 1px solid #e5e5e5;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Source Serif Pro', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-decoration: none;
}

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

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s ease;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-blue);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--surface-white);
    padding: 3rem 0 4rem;
    padding-top: calc(3rem + var(--nav-height));
    margin-top: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: stretch;
    background: var(--white-05);
    padding: 2.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    color: var(--surface-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.5;
    color: var(--surface-white);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 0;
}

.metric-item {
    text-align: center;
    padding: 1rem;
    background: var(--white-10);
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.metric-item:hover {
    transform: scale(1.05);
    background: var(--white-15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.metric-logo {
    width: 24px;
    height: 24px;
    margin: 0 auto 0.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--surface-white);
    display: block;
}

.metric-label {
    font-size: 0.875rem;
    opacity: 0.8;
    color: var(--surface-white);
}

/* Executive summary box */
.executive-summary {
    background: var(--surface-white);
    padding: 2rem;
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.executive-summary h3 {
    color: var(--primary-dark);
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
}

.executive-summary ul {
    list-style: none;
    padding: 0;
}

.executive-summary li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.executive-summary li:last-child {
    border-bottom: none;
}

/* Hero Data Source Box - Special styling for hero section */
.hero-data-source-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: var(--white-10);
    backdrop-filter: blur(10px);
    border: 1px solid var(--white-20);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    margin: 0 auto 3rem auto;
    max-width: fit-content;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-height: 44px;
    box-sizing: border-box;
    width: auto;
    flex-shrink: 0;
    position: relative;
}

.hero-data-source-box:hover {
    background: var(--white-15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.hero-data-label {
    color: var(--white-90);
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1;
    display: flex;
    align-items: center;
}

.hero-data-logos {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.hero-data-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    border-radius: 4px;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(0) invert(1);
    opacity: 0.8;
}

.hero-data-logo:hover {
    transform: scale(1.1);
    opacity: 1;
}

.hero-data-emoji {
    font-size: 1rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.hero-data-emoji:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* Section styles */
.content-section {
    padding: 2rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-title {
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards with interactive effects */
.card {
    background: var(--surface-white);
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    transition: left 0.6s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--primary-10);
    border-color: var(--primary-blue-30);
}

.card-title {
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    color: var(--primary-blue);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Modern Skills Visualization */
.skills-container {
    background: var(--surface-white);
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.skills-title {
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-item {
    background: var(--surface-white);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-10);
    border-color: var(--primary-blue-30);
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.skill-title-section {
    flex: 1;
}

.skill-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.skill-details {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.skill-years-badge {
    background: var(--primary-blue);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.skill-progress {
    position: relative;
}

.skill-progress-bar {
    width: 100%;
    height: 6px;
    background-color: #f1f3f4;
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1.2s ease-out;
}



/* Grid layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}



/* Timeline - Clean minimal style */
.timeline {
    position: relative;
    padding-left: 2.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--primary-blue-30));
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.timeline-item:last-child {
    border-bottom: none;
}

/* Company logo styles - no dots, just logos */
.timeline-logo {
    position: absolute;
    left: -1.125rem;
    top: 0.5rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 2;
}

.timeline-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 51, 102, 0.15);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-logo img {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.25);
}

.timeline-metric {
    display: inline-block;
    background: var(--background-light);
    color: var(--primary-blue);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.timeline-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    flex-wrap: wrap;
}

.timeline-title {
    color: var(--primary-dark);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.timeline-company {
    color: var(--text-secondary);
    font-size: 1.125rem;
    font-weight: 400;
    margin: 0;
    position: relative;
}

.timeline-company::before {
    content: "•";
    color: var(--text-tertiary);
    margin-right: 0.5rem;
    font-weight: 400;
}

.timeline-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.timeline-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

.timeline-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--primary-blue);
    color: var(--surface-white);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px var(--primary-blue-20);
}

.action-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 15px rgba(0, 51, 102, 0.4);
}

.action-btn:active {
    transform: translateY(0) scale(0.98);
    transition: transform 0.1s ease;
}

.action-btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid #e5e5e5;
}

.action-btn-secondary:hover {
    background: var(--background-light);
    color: var(--primary-dark);
}

/* Links */
.link {
    color: var(--primary-blue);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.link:hover {
    border-bottom-color: var(--primary-blue);
}

/* Footer */
.footer {
    background: var(--background-light);
    padding: 3rem 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.footer-link:hover {
    color: var(--primary-dark);
}

.footer-text {
    color: var(--text-tertiary);
    font-size: 0.875rem;
}

/* Data Source Boxes - Living/Interactive Design */
.data-source-box {
    background: linear-gradient(135deg, var(--background-light) 0%, rgba(248, 249, 250, 0.8) 100%);
    padding: 1.25rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid transparent;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    overflow: hidden;
}

.data-source-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-blue-10), transparent);
    transition: left 0.6s ease;
}

.data-source-box:hover::before {
    left: 100%;
}

.data-source-box:hover {
    transform: translateY(-2px);
    border-color: var(--primary-blue);
    box-shadow: 
        0 8px 25px var(--primary-blue-15),
        0 0 20px var(--primary-blue-10),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    background: linear-gradient(135deg, var(--primary-blue-05) 0%, rgba(248, 249, 250, 0.95) 100%);
}

.data-source-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 6px;
    padding: 2px;
    background: linear-gradient(45deg, transparent, var(--primary-blue), transparent);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.data-source-box:hover::after {
    opacity: 0.6;
}

.data-source-box p {
    position: relative;
    z-index: 1;
    margin: 0;
    transition: color 0.3s ease;
}

.data-source-box:hover p {
    color: var(--primary-dark);
}

.data-source-box:hover strong {
    color: var(--primary-blue);
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

/* Responsive design */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0 3rem;
        padding-top: calc(2rem + var(--nav-height));
        margin-top: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
        margin: 0 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
        white-space: normal;
        line-height: 1.2;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.125rem;
        margin-bottom: 1.5rem;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .metric-item {
        padding: 0.75rem;
    }

    .metric-value {
        font-size: 1.5rem;
    }

    .metric-label {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .executive-summary {
        padding: 1.5rem;
    }

    .executive-summary h3 {
        font-size: 1.125rem;
    }

    .executive-summary li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }

    .hero-data-source-box {
        gap: 1rem;
        margin: 0 auto 2rem auto;
        max-width: calc(100vw - 2rem);
        padding: 0.75rem 1.75rem;
        justify-content: space-between;
        min-height: 48px;
    }

    .hero-data-label {
        font-size: 0.8rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hero-data-logos {
        gap: 0.75rem;
        flex-wrap: nowrap;
        justify-content: center;
        flex: 1;
    }

    .hero-data-logo {
        width: 18px;
        height: 18px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 1rem;
    }

    .content-section {
        padding: 1.5rem 0;
    }

    .nav-links {
        display: none;
    }

    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .timeline-company::before {
        content: "";
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 1.5rem 0 2.5rem;
        padding-top: calc(1.5rem + var(--nav-height));
        margin-top: 0;
    }

    .hero-title {
        font-size: 1.125rem;
        text-align: center;
    }

    .hero-content {
        padding: 1rem;
        margin: 0 0.5rem;
    }

    .hero-data-source-box {
        margin: 0 auto 1.5rem auto;
        gap: 0.75rem;
        max-width: calc(100vw - 1rem);
        padding: 0.65rem 1.5rem;
        justify-content: space-between;
        min-height: 44px;
    }

    .hero-data-label {
        font-size: 0.75rem;
        flex-shrink: 0;
    }

    .hero-data-logos {
        gap: 0.5rem;
        justify-content: center;
        flex: 1;
    }

    .hero-data-logo {
        width: 16px;
        height: 16px;
    }

    .container {
        padding: 0 0.5rem;
    }

    .content-section {
        padding: 1.25rem 0;
    }
}

@media (max-width: 360px) {
    .hero-section {
        padding: 1.25rem 0 2rem;
        padding-top: calc(1.25rem + var(--nav-height));
        margin-top: 0;
    }

    .hero-title {
        font-size: 1rem;
        text-align: center;
    }

    .hero-content {
        padding: 0.75rem;
    }

    .hero-data-source-box {
        gap: 0.5rem;
        margin: 0 auto 1.5rem auto;
        max-width: calc(100vw - 0.5rem);
        padding: 0.6rem 1.25rem;
        justify-content: space-between;
        min-height: 40px;
    }

    .hero-data-label {
        font-size: 0.7rem;
        flex-shrink: 0;
    }

    .hero-data-logos {
        gap: 0.4rem;
        justify-content: center;
        flex: 1;
    }

    .hero-data-logo {
        width: 14px;
        height: 14px;
    }

    .metric-item {
        padding: 0.6rem;
    }

    .metric-value {
        font-size: 1.25rem;
    }

    .metric-label {
        font-size: 0.7rem;
    }
}



/* Data pulse effect for source box - top right status indicator */
.hero-data-source-box::after {
    content: '';
    position: absolute;
    top: var(--pulse-dot-offset-top);
    right: var(--pulse-dot-offset-right);
    width: var(--pulse-dot-size);
    height: var(--pulse-dot-size);
    background: rgba(34, 197, 94, 0.9);
    border-radius: 50%;
    animation: dataPulse var(--pulse-duration) ease-in-out infinite;
    box-shadow: 0 0 var(--pulse-dot-size) rgba(34, 197, 94, 0.5);
}

/* Connection line from data source box to hero content */
.hero-data-source-box::before {
    content: '';
    position: absolute;
    bottom: calc(-1 * var(--connection-line-height));
    left: 50%;
    transform: translateX(-50%);
    width: var(--connection-line-width);
    height: var(--connection-line-height);
    background: rgba(255, 255, 255, 0.6);
    animation: linePulse var(--pulse-duration) ease-in-out infinite;
    box-shadow: 0 0 var(--pulse-dot-size) rgba(255, 255, 255, 0.3);
}

@keyframes dataPulse {
    0%, 100% {
        opacity: 0.3;
        box-shadow: 0 0 var(--pulse-dot-size) rgba(34, 197, 94, 0.3);
    }
    15% {
        opacity: 0.8;
        box-shadow: 0 0 calc(var(--pulse-dot-size) * 2) rgba(34, 197, 94, 0.6);
    }
    30% {
        opacity: 1;
        box-shadow: 0 0 calc(var(--pulse-dot-size) * 3) rgba(34, 197, 94, 0.8);
    }
    45% {
        opacity: 0.7;
        box-shadow: 0 0 calc(var(--pulse-dot-size) * 1.5) rgba(34, 197, 94, 0.5);
    }
    75% {
        opacity: 0.4;
        box-shadow: 0 0 var(--pulse-dot-size) rgba(34, 197, 94, 0.3);
    }
}

@keyframes linePulse {
    0%, 100% {
        opacity: 0.4;
        box-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
    }
    35% {
        opacity: 0.7;
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    }
    50% {
        opacity: 0.9;
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
    }
    65% {
        opacity: 1;
        box-shadow: 0 0 16px rgba(255, 255, 255, 0.8);
    }
    80% {
        opacity: 0.7;
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
    }
}



/* Hero content pulse effect to show data reception */
.hero-content {
    position: relative;
    animation: heroDataReceive var(--data-receive-duration) ease-in-out infinite;
}

@keyframes heroDataReceive {
    0%, 60% {
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
    70% {
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
    }
    75% {
        box-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
    }
    80% {
        box-shadow: 0 0 18px rgba(255, 255, 255, 0.18);
    }
    85% {
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
    }
    90% {
        box-shadow: 0 0 32px rgba(255, 255, 255, 0.32);
    }
    92% {
        box-shadow: 0 0 35px rgba(255, 255, 255, 0.35);
    }
    94% {
        box-shadow: 0 0 30px rgba(255, 255, 255, 0.30);
    }
    96% {
        box-shadow: 0 0 22px rgba(255, 255, 255, 0.22);
    }
    97% {
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.15);
    }
    98% {
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.08);
    }
    99% {
        box-shadow: 0 0 3px rgba(255, 255, 255, 0.03);
    }
    100% {
        box-shadow: 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Subtle glow effect for sections receiving data */
.content-section {
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--primary-blue-30) 20%, 
        var(--primary-blue-50) 50%, 
        var(--primary-blue-30) 80%, 
        transparent 100%);
    opacity: 0;
    animation: dataReceive var(--data-receive-duration) ease-in-out infinite;
}

.content-section:nth-of-type(1)::before { animation-delay: 1s; }
.content-section:nth-of-type(2)::before { animation-delay: 2s; }
.content-section:nth-of-type(3)::before { animation-delay: 3s; }

@keyframes dataReceive {
    0%, 90% {
        opacity: 0;
    }
    95% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Section Data Source Boxes - Animated versions */
.section-data-source-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--background-light);
    border: 1px solid #e5e5e5;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin: 1rem auto;
    max-width: fit-content;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
}

.section-data-source-box:hover {
    background: var(--primary-blue-05);
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-blue-15);
}

.section-data-source-box::after {
    content: '';
    position: absolute;
    top: var(--section-pulse-dot-offset-top);
    right: var(--section-pulse-dot-offset-right);
    width: var(--pulse-dot-size);
    height: var(--pulse-dot-size);
    background: rgba(34, 197, 94, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 var(--pulse-dot-size) rgba(34, 197, 94, 0.5);
}

.section-data-source-box::before {
    content: '';
    position: absolute;
    bottom: calc(-1 * var(--section-connection-height));
    left: 50%;
    transform: translateX(-50%);
    width: var(--connection-line-width);
    height: var(--section-connection-height);
    background: var(--primary-blue-40);
    box-shadow: 0 0 var(--pulse-dot-size) var(--primary-blue-20);
}

/* Experience Section Animations */
.experience-data-source-box::after {
    animation: dataPulse var(--pulse-duration) ease-in-out infinite;
}

.experience-data-source-box::before {
    animation: linePulse var(--pulse-duration) ease-in-out infinite;
}

.experience-content {
    animation: sectionDataReceive var(--data-receive-duration) ease-in-out infinite;
}

/* Skills Section Animations */
.skills-data-source-box::after {
    animation: dataPulse var(--pulse-duration) ease-in-out infinite;
}

.skills-data-source-box::before {
    animation: linePulse var(--pulse-duration) ease-in-out infinite;
}

.skills-content {
    animation: sectionDataReceive var(--data-receive-duration) ease-in-out infinite;
}

/* Projects Section Animations */
.projects-data-source-box::after {
    animation: dataPulse var(--pulse-duration) ease-in-out infinite;
}

.projects-data-source-box::before {
    animation: linePulse var(--pulse-duration) ease-in-out infinite;
}

.projects-content {
    animation: sectionDataReceive var(--data-receive-duration) ease-in-out infinite;
}

/* Interests Section Animations */
.interests-data-source-box::after {
    animation: dataPulse var(--pulse-duration) ease-in-out infinite;
}

.interests-data-source-box::before {
    animation: linePulse var(--pulse-duration) ease-in-out infinite;
}

.interests-content {
    animation: sectionDataReceive var(--data-receive-duration) ease-in-out infinite;
}

/* Section content containers - similar to hero-content */
.section-content-container {
    background: var(--surface-white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    margin-top: 1rem;
    position: relative;
}

.section-content-container:hover {
    border-color: var(--primary-blue-20);
}

/* Section content glow animation */
@keyframes sectionDataReceive {
    0%, 60% {
        box-shadow: 0 0 0 rgba(0, 102, 204, 0);
    }
    70% {
        box-shadow: 0 0 8px rgba(0, 102, 204, 0.08);
    }
    75% {
        box-shadow: 0 0 12px rgba(0, 102, 204, 0.12);
    }
    80% {
        box-shadow: 0 0 18px rgba(0, 102, 204, 0.18);
    }
    85% {
        box-shadow: 0 0 25px rgba(0, 102, 204, 0.25);
    }
    90% {
        box-shadow: 0 0 32px rgba(0, 102, 204, 0.32);
    }
    92% {
        box-shadow: 0 0 35px rgba(0, 102, 204, 0.35);
    }
    94% {
        box-shadow: 0 0 30px rgba(0, 102, 204, 0.30);
    }
    96% {
        box-shadow: 0 0 22px rgba(0, 102, 204, 0.22);
    }
    97% {
        box-shadow: 0 0 15px var(--primary-blue-15);
    }
    98% {
        box-shadow: 0 0 8px rgba(0, 102, 204, 0.08);
    }
    99% {
        box-shadow: 0 0 3px rgba(0, 102, 204, 0.03);
    }
    100% {
        box-shadow: 0 0 0 rgba(0, 102, 204, 0);
    }
} 