/* CEO Message Page Styles (Enhanced) */

:root {
    --font-serif: 'Playfair Display', serif;
    --font-script: 'Comforter Brush', cursive;
    /* Requires font import or fallback */
}

/* --- Hero Section (Split Layout) --- */
.ceo-hero {
    padding: 140px 0 80px;
    background: radial-gradient(circle at 70% 30%, rgba(66, 133, 244, 0.08) 0%, transparent 60%);
    overflow: hidden;
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-image-wrapper {
    flex: 0 0 400px;
    position: relative;
}

.ceo-image-placeholder {
    width: 400px;
    height: 500px;
    background: linear-gradient(135deg, #e8f0fe 0%, #d2e3fc 100%);
    border-radius: 200px 200px 20px 20px;
    /* Arch shape */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    /* Ensure image stays inside border radius */
}

.ceo-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ceo-image-placeholder .material-icons-round {
    font-size: 120px;
    color: var(--google-blue);
    opacity: 0.5;
}

.image-accent-blob {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--google-yellow);
    filter: blur(80px);
    opacity: 0.4;
    z-index: 1;
    border-radius: 50%;
}

.hero-text-content {
    flex: 1;
}

.eyebrow {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--google-blue);
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-highlight {
    background: linear-gradient(120deg, rgba(52, 168, 83, 0.2) 0%, rgba(52, 168, 83, 0) 100%);
    padding: 0 10px;
    display: inline-block;
    color: var(--google-green);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 300;
    font-style: italic;
    margin-bottom: 3rem;
    line-height: 1.6;
    border-left: 4px solid var(--google-blue);
    padding-left: 2rem;
}

.ceo-meta-block {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.ceo-signature-block {
    display: flex;
    flex-direction: column;
}

.sig-name {
    font-family: var(--font-script), serif;
    font-size: 2.5rem;
    color: var(--text-primary);
    transform: rotate(-3deg);
    transform-origin: left;
}

.sig-role {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-tertiary);
    margin-top: 0.5rem;
}

.ceo-social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-1);
    border: 1px solid var(--surface-border);
}

.social-link:hover {
    background: var(--google-blue);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-2);
    border-color: var(--google-blue);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

/* --- Vision Video Section --- */
.vision-video-section {
    padding: 0 0 80px;
}

.video-wrapper {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 21/9;
    box-shadow: var(--shadow-3);
    cursor: pointer;
}

.video-bg {
    background: linear-gradient(135deg, #202124, #3c4043);
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

/* --- Impact Stats Section --- */
.impact-stats-section {
    padding: 60px 0;
    margin-top: -60px;
    /* Overlap/Pull up */
    position: relative;
    z-index: 5;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    background: #fff;
    padding: 3rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2);
    border: 1px solid var(--surface-border);
}

.impact-card {
    text-align: center;
    position: relative;
}

.impact-card:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--surface-border);
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.impact-suffix {
    font-size: 3rem;
    font-weight: 700;
    color: var(--google-blue);
}

.impact-label {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-wrapper:hover .video-bg {
    transform: scale(1.05);
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.play-button .material-icons-round {
    font-size: 40px;
}

.play-button:hover {
    background: #fff;
    color: var(--google-blue);
    transform: scale(1.1);
}

.video-overlay h3 {
    color: #fff;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- Letter Section --- */
.letter-section {
    padding: 60px 0 120px;
}

.letter-container {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 80px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-1);
    border-left: 1px solid var(--surface-border);
}

.letter-header {
    border-bottom: 2px solid var(--surface-dim);
    padding-bottom: 20px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.date {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

.recipient {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--text-primary);
    font-style: italic;
}

.letter-body {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.letter-body p {
    margin-bottom: 2rem;
}

.lead-paragraph {
    font-size: 1.35rem;
    color: var(--text-primary);
    font-weight: 400;
}

.letter-body .highlight {
    background: linear-gradient(180deg, transparent 60%, rgba(251, 188, 4, 0.3) 60%);
    font-weight: 600;
    color: var(--text-primary);
}

/* --- Principles Section --- */
.principles-section {
    padding: 100px 0;
    background: var(--surface-dim);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 60px;
}

.principle-card {
    background: #fff;
    padding: 3rem;
    border-radius: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.principle-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2);
    border-color: rgba(66, 133, 244, 0.2);
}

.p-icon {
    font-size: 4rem;
    font-weight: 900;
    opacity: 0.1;
    margin-bottom: -20px;
    margin-left: -10px;
    font-family: var(--font-heading);
}

.p-icon.blue {
    color: var(--google-blue);
}

.p-icon.red {
    color: var(--google-red);
}

.p-icon.green {
    color: var(--google-green);
}

.principle-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.principle-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    position: relative;
    z-index: 2;
}

/* --- Timeline Section --- */
.timeline-section {
    padding: 120px 0;
    background: #fff;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 80px auto 0;
}

/* Center Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--surface-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

/* Timeline Dots */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border: 4px solid var(--google-blue);
    border-radius: 50%;
    top: 24px;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item.left::after {
    right: -10px;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-item:hover::after {
    background-color: var(--google-blue);
    transform: scale(1.2);
}

.timeline-content {
    background: #fff;
    /* padding: 20px 30px; border-radius: 16px; box-shadow: var(--shadow-1); */
    /* Cleaner look without bubbles */
}

.t-year {
    display: inline-block;
    padding: 4px 12px;
    background: #e8f0fe;
    color: var(--google-blue);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Animations */
.fade-in-up,
.fade-in-left,
.fade-in-right {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up {
    transform: translateY(30px);
}

.fade-in-left {
    transform: translateX(-30px);
}

.fade-in-right {
    transform: translateX(30px);
}

.visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-split {
        flex-direction: column-reverse;
        text-align: center;
        gap: 3rem;
    }

    .ceo-image-placeholder {
        width: 100%;
        max-width: 400px;
        height: 400px;
    }

    .hero-subtitle {
        border-left: none;
        padding-left: 0;
    }

    .ceo-signature-block {
        align-items: center;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 21px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .letter-container {
        padding: 40px 24px;
    }

    .letter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}