/* Floating Button Styles */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 255, 65, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
    text-decoration: none;
}

.floating-btn:hover {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 30px rgba(0, 255, 65, 0.6);
}

.floating-btn .icon {
    font-size: 30px;
    animation: pulse 2s infinite;
}

.floating-btn .tooltip {
    position: absolute;
    right: 70px;
    background: #fff;
    color: #000;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s;
    pointer-events: none;
}

.floating-btn .tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
}

.floating-btn:hover .tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Interactive Story Styles */
.story-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-step {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
    display: none; /* Hidden by default */
    margin-bottom: 40px;
}

.story-step.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.story-text {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2em;
}

.interaction-area {
    margin-top: 20px;
    text-align: center;
}

.choice-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 10px;
    font-family: var(--font-stack);
}

.choice-btn:hover {
    background: var(--primary-color);
    color: #000;
}

.brain-comparison {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.brain-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.brain-card h3 {
    margin-top: 0;
    font-size: 1.3rem;
}

.brain-card.human { border-color: #d2a8ff; }
.brain-card.ai { border-color: var(--primary-color); }

.typing-effect::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
