/* Redesigned Asymmetrical Bento Grid */

.action-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.status-indicator-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px;
    background: rgba(0, 168, 181, 0.05);
    border: 1px solid rgba(0, 168, 181, 0.2);
    border-radius: 100px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pulse-teal {
    background: var(--accent-teal);
    box-shadow: 0 0 10px var(--accent-teal);
    animation: statusPulse 2s infinite;
}

.status-text {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--accent-teal);
    font-weight: 800;
    letter-spacing: 2px;
}

.btn-massive {
    width: 100% !important;
    padding: 2.2rem !important;
    font-size: 1.4rem !important;
    font-weight: 800 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    
    /* Executive Deep Water Gradient */
    background: linear-gradient(
        135deg, 
        #064e3b 0%, 
        var(--accent-teal) 50%, 
        var(--accent-blue) 100%
    ) !important;
    
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 16px !important;
    
    /* Friendly 'Water Depth' Shadow */
    box-shadow: 
        0 10px 30px rgba(0, 74, 128, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
        
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

/* The Ripple / Lure Flash Effect */
.btn-massive::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle, 
        rgba(255, 255, 255, 0.2) 0%, 
        transparent 70%
    );
    transform: scale(0);
    transition: transform 0.6s ease-out;
    pointer-events: none;
}

.btn-massive:hover {
    transform: translateY(-4px) !important;
    box-shadow: 
        0 20px 40px rgba(0, 74, 128, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.4) !important;
    filter: brightness(1.1);
}

.btn-massive:hover::before {
    transform: scale(1);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.btn-massive:active {
    transform: translateY(1px) !important;
    box-shadow: 0 5px 15px rgba(0, 74, 128, 0.2) !important;
    filter: brightness(0.9);
}

.action-meta-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(226, 232, 240, 0.3);
}

.meta-item-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.meta-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #94a3b8;
    letter-spacing: 2px;
    font-weight: 700;
}

.meta-value-highlight {
    font-family: var(--font-exo);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    
    /* Deep Water Gradient: Bass Green -> Tech Teal -> Executive Navy */
    background: linear-gradient(
        135deg, 
        #064e3b 0%, 
        var(--accent-teal) 50%, 
        var(--accent-blue) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--accent-blue); /* Fallback */
}

@keyframes statusPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

/* Redesigned Asymmetrical Bento Grid */
.bento-container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto auto;
    gap: 40px;
    padding: 10vh 5vw;
    width: 100%;
    max-width: 1700px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.bento-box {
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), 
                opacity 0.8s ease,
                visibility 0.8s ease;
    will-change: transform, opacity;
}

.bento-box.in-view {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Asymmetrical Spans */
.bento-hook {
    grid-column: 1 / 9;
    grid-row: 1 / 2;
    background: transparent;
    padding-left: 4rem; /* Tabbed to the right */
    padding-top: 0;
    margin-top: -3.5rem; /* Positioned up more */
    position: relative;
}

.topo-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 40c40-10 80 0 120 10s80 30 120 20 80-40 120-30 40 40 40 40M0 120c60-20 120 10 180 0s120-40 180-20 40 40 40 40M0 200c40 10 80 0 120-10s80-30 120-20 80 40 120 30 40-40 40-40M0 280c60 20 120-10 180 0s120 40 180 20 40-40 40-40M0 360c40-10 80 0 120 10s80 30 120 20 80-40 120-30 40 40 40 40' fill='none' stroke='%2300a8b5' stroke-width='0.5' stroke-opacity='0.05'/%3E%3C/svg%3E");
    background-size: 600px 600px;
}

.bento-action {
    grid-column: 9 / 13;
    grid-row: 1 / 2;
    background: transparent;
    align-items: center;
    justify-content: flex-start;
}

.bento-metrics {
    grid-column: 1 / 7;
    grid-row: 2 / 3;
    background: rgba(0, 168, 181, 0.02);
    border: 1px solid rgba(0, 168, 181, 0.1);
    border-radius: 40px;
    position: relative;
}

.nav-compass {
    width: 24px;
    height: 24px;
    margin-left: 10px;
    opacity: 0.8;
}

.bento-deliverables {
    grid-column: 7 / 13;
    grid-row: 2 / 3;
    background: rgba(0, 74, 128, 0.02);
    border: 1px solid rgba(0, 74, 128, 0.1);
    border-radius: 40px;
}

.bento-pathway {
    grid-column: 1 / 13;
    grid-row: 3 / 4;
    background: transparent;
    padding: 3rem;
}

/* Metrics Dashboard Styles */
.metrics-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-bar-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.metric-bar {
    height: 6px;
    background: #f1f5f9;
    border-radius: 3px;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: var(--accent-teal);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--accent-teal-dim);
    transition: width 1.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-blue);
    min-width: 40px;
}

.bento-hook h1 {
    font-family: var(--font-exo);
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 900;
    margin-top: 0;
    margin-bottom: 0.5rem;
    line-height: 1;
    letter-spacing: -0.05em;
    
    /* Deep Water Gradient */
    background: linear-gradient(
        135deg, 
        #064e3b 0%, 
        var(--accent-teal) 50%, 
        var(--accent-blue) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--accent-blue); /* Fallback */
}

.precision-line-wrap {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 20px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.line-cast {
    height: 2px;
    background: var(--accent-teal);
    width: 0;
    box-shadow: 0 0 10px var(--accent-teal-dim);
}

.bento-box.in-view .line-cast {
    animation: castLine 1.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.5s forwards;
}

.line-hook {
    width: 12px;
    height: 12px;
    border-right: 3px solid var(--accent-teal);
    border-bottom: 3px solid var(--accent-teal);
    transform: rotate(45deg);
    opacity: 0;
    margin-left: -6px;
}

.bento-box.in-view .line-hook {
    animation: snapHook 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.8s forwards;
}

@keyframes castLine {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes snapHook {
    0% { opacity: 0; transform: rotate(45deg) translateY(-10px); }
    100% { opacity: 1; transform: rotate(45deg) translateY(0); }
}

.bento-hook p {
    font-size: 1.6rem;
    line-height: 1.7;
    color: #475569;
    max-width: 750px;
    font-weight: 500;
}

.outcomes-header {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 2rem;
    display: block;
}

.outcomes-list { list-style: none; padding: 0; margin: 0; }
.outcomes-list li {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    padding-left: 2rem;
    position: relative;
    color: #475569;
    line-height: 1.6;
}
.outcomes-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: 900;
}
.outcomes-list strong { color: var(--accent-blue); display: block; margin-bottom: 6px; font-size: 1.4rem; }

/* Org Chart */
.org-chart-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8rem;
    margin-top: 10rem;
    padding-bottom: 20rem;
    width: 100%;
    max-width: 1400px;
    position: relative;
    z-index: 10;
}
.org-node {
    background: transparent;
    border: none;
    border-radius: 40px;
    padding: 5rem;
    text-align: center;
    width: 500px;
    position: relative;
}
.org-node::before {
    content: "";
    position: absolute;
    top: 40px; left: 40px; width: 60px; height: 4px;
    background: var(--accent-teal);
}
.avatar {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
    box-shadow: 0 30px 60px rgba(0, 74, 128, 0.05);
    margin-bottom: 3rem;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}
.avatar:hover {
    transform: scale(1.1) rotate(5deg);
}
.ceo-bio-bubble {
    background: transparent;
    border: none;
    border-radius: 0;
    border-left: 1px solid rgba(226, 232, 240, 0.3);
    padding: 0 0 0 4rem;
    max-width: 550px;
    font-size: 1.25rem;
    line-height: 2;
    color: #334155;
    position: relative;
    font-family: var(--font-main);
    font-weight: 400;
}

/* Pathway WoW Enhancements - High Definition Redesign */
.hero-pathway-bar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: relative; 
    padding: 6rem 0; 
    width: 100%; 
    max-width: 1200px;
    margin: 0 auto;
}

.pathway-track {
    position: absolute; 
    top: 50%; 
    left: 0; 
    width: 100%; 
    height: 2px;
    background: linear-gradient(to right, 
        rgba(0, 168, 181, 0) 0%, 
        var(--accent-teal) 50%, 
        rgba(0, 168, 181, 0) 100%
    );
    opacity: 0.2;
    z-index: 1;
}

.pathway-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 200px;
}

.node-visual-wrap {
    perspective: 1000px;
    width: 80px;
    height: 80px;
}

.node-3d-card {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 168, 181, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-blue);
    transform: rotateX(20deg) rotateY(-10deg);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 
        10px 10px 20px rgba(0, 74, 128, 0.05),
        -1px -1px 1px rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.pathway-node.highlight .node-3d-card {
    background: var(--accent-teal);
    color: white;
    border-color: var(--accent-teal);
    box-shadow: 0 15px 35px rgba(0, 168, 181, 0.3);
}

.pulse-glow {
    animation: cardPulse 3s infinite ease-in-out;
}

@keyframes cardPulse {
    0% { transform: rotateX(20deg) rotateY(-10deg) scale(1); box-shadow: 0 15px 35px rgba(0, 168, 181, 0.3); }
    50% { transform: rotateX(20deg) rotateY(-10deg) scale(1.05); box-shadow: 0 20px 50px rgba(0, 168, 181, 0.5); }
    100% { transform: rotateX(20deg) rotateY(-10deg) scale(1); box-shadow: 0 15px 35px rgba(0, 168, 181, 0.3); }
}

.pathway-node:hover .node-3d-card {
    transform: rotateX(0) rotateY(0) translateY(-15px) scale(1.1);
    box-shadow: 0 30px 60px rgba(0, 74, 128, 0.15);
    color: var(--accent-teal);
    background: white;
}

.pathway-node.highlight:hover .node-3d-card {
    color: white;
    background: var(--accent-teal);
}

.node-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.pathway-node:hover .node-content {
    opacity: 1;
    transform: translateY(-5px);
}

.node-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--accent-blue);
    letter-spacing: 1px;
}

.node-desc {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.4;
    max-width: 160px;
}

.pathway-node.highlight .node-tag {
    color: var(--accent-teal);
}

/* Theme Adaptability */
[data-theme="dark"] .bento-box {
    border-color: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .node-3d-card {
    background: rgba(8, 10, 12, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-teal);
}

/* Responsive Index */
@media (max-width: 1200px) {
    .bento-container {
        grid-template-columns: 1fr;
        padding-top: 5vh;
    }
    .bento-hook, .bento-action, .bento-metrics, .bento-deliverables, .bento-pathway {
        grid-column: span 1;
    }
    .bento-hook { 
        text-align: center; 
        padding-left: 0;
        margin-top: 0;
    }
    .bento-hook p { margin-left: auto; margin-right: auto; }
    .precision-line-wrap { margin-left: auto; margin-right: auto; }
    
    .org-chart-container { flex-direction: column; gap: 3rem; padding-bottom: 10rem; }
    .ceo-bio-bubble { max-width: 90vw; text-align: center; order: -1; }
}

@media (max-width: 900px) {
    .hero-pathway-bar {
        flex-direction: column;
        gap: 4rem;
        padding-left: 0;
        align-items: center;
    }
    .pathway-track {
        left: 50%;
        width: 2px;
        height: 100%;
        top: 0;
        transform: translateX(-50%);
    }
    .pathway-node {
        width: 100%;
    }
}
