/* Orbital Timeline Styles */
:root {
    --orbit-radius: 320px;
    --node-size: 50px;
    --card-width: 320px;
}

.strategy-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 900px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.strategy-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Orbit Center */
.orbit-center {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.core-logo {
    width: 80px;
    height: auto;
    z-index: 20;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.center-pulse-1,
.center-pulse-2 {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: ping 3s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.center-pulse-1 {
    width: 120px;
    height: 120px;
    animation-delay: 0s;
}

.center-pulse-2 {
    width: 160px;
    height: 160px;
    animation-delay: 1.5s;
}

/* Main Orbit Ring */
.main-orbit {
    position: absolute;
    width: calc(var(--orbit-radius) * 2);
    height: calc(var(--orbit-radius) * 2);
    border: none;
    /* Removed visible line as per request */
    border-radius: 50%;
    pointer-events: none;
}

/* Orbit Nodes Container */
.orbit-nodes-container {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Allow clicks to pass through empty space */
}

/* Individual Node */
.orbit-node {
    position: absolute;
    width: var(--node-size);
    height: var(--node-size);
    /* Center the origin */
    top: 50%;
    left: 50%;
    margin-left: calc(var(--node-size) / -2);
    margin-top: calc(var(--node-size) / -2);

    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 20;
    /* JS translate will now be relative to the center */
}

.orbit-node.active {
    z-index: 100;
}

/* Node Styling */
.node-inner {
    width: 100%;
    height: 100%;
    background-color: var(--color-black);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.orbit-node:hover .node-inner {
    border-color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.orbit-node.active .node-inner {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: scale(1.5);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.node-icon {
    width: 16px;
    height: 16px;
    transition: color 0.3s ease;
}

/* Node Label */
.node-label {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 1;
    transition: all 0.3s ease;
    pointer-events: none;
}

.orbit-node.active .node-label {
    opacity: 0;
}

/* Node Card (Expanded State) */
.node-card {
    position: absolute;
    top: 80px;
    /* Below the node */
    left: 50%;
    transform: translateX(-50%);
    width: var(--card-width);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    color: var(--color-white);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.orbit-node.active .node-card {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.node-card::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 15px;
    background: rgba(255, 255, 255, 0.5);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.card-status {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 99px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-completed {
    background: var(--color-white);
    color: var(--color-black);
}

.status-progress {
    background: var(--color-white);
    color: var(--color-black);
    opacity: 0.8;
}

.status-pending {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.7);
}

.card-date {
    font-family: monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.card-content {
    font-size: 0.85rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.energy-meter {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.75rem;
}

.energy-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.energy-bar-bg {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.energy-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #facc15, #eab308);
    border-radius: 2px;
}

/* Animations */
@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    :root {
        --orbit-radius: 220px;
        --node-size: 40px;
    }

    .strategy-section {
        min-height: 700px;
    }
}

@media (max-width: 768px) {
    :root {
        --orbit-radius: 130px;
        /* Smaller radius for mobile to fit 320px width safely */
        --node-size: 36px;
        --card-width: 280px;
    }

    .strategy-section {
        min-height: 600px;
    }

    .core-logo {
        width: 60px;
    }

    .center-pulse-1 {
        width: 90px;
        height: 90px;
    }

    .center-pulse-2 {
        width: 120px;
        height: 120px;
    }

    .node-label {
        font-size: 0.6rem;
        top: 40px;
    }

    .node-card {
        width: 90vw;
        max-width: 300px;
    }
}