/* Planty Common Styles */

/* Base */
html {
    scroll-behavior: smooth;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Gradients */
.hero-gradient {
    background: linear-gradient(135deg, #E8F5E9 0%, #F5F5DC 50%, #C8E6C9 100%);
}

.vision-gradient {
    background: linear-gradient(135deg, #1B5E20 0%, #0D3B0F 50%, #1a1a2e 100%);
}

/* Float Animation */
.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Pulse Glow (CTA Button) */
.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(46, 125, 50, 0.3); }
    50% { box-shadow: 0 0 40px rgba(46, 125, 50, 0.6); }
}

/* Data Flow Line */
.data-line {
    background: linear-gradient(90deg, transparent, #4CAF50, transparent);
    height: 1px;
    animation: data-flow 3s linear infinite;
}

@keyframes data-flow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Step Line (How it Works) */
.step-line {
    position: absolute;
    left: 50%;
    top: 100%;
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, #4CAF50, transparent);
}

/* Team Card (Vision) */
.team-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Modal */
.modal-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

/* Pricing Badge */
.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

/* Bauer Page Specific */
.keep-all {
    word-break: keep-all;
}

.step-collapsed {
    max-height: 0;
    opacity: 0;
    transform: translateY(12px);
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-visible {
    max-height: 600px;
    opacity: 1;
    transform: translateY(0);
}

/* Planner Modal */
.planner-modal-overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.planner-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.planner-modal-content {
    transform: scale(0.96) translateY(12px);
    transition: transform 0.25s ease;
}

.planner-modal-overlay.active .planner-modal-content {
    transform: scale(1) translateY(0);
}

/* Calendar */
.calendar-cell {
    width: 2.25rem;
    height: 2.25rem;
}

.calendar-highlight {
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(56, 142, 60, 0.35);
}

.calendar-pulse {
    animation: calendarPulse 1.4s ease-in-out infinite;
}

@keyframes calendarPulse {
    0%, 100% { box-shadow: 0 0 0 rgba(76, 175, 80, 0.0); }
    50% { box-shadow: 0 0 0 6px rgba(76, 175, 80, 0.18); }
}

/* Typing Animation */
.typing-dot {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: rgb(156 163 175);
    display: inline-block;
    animation: typingBounce 1.1s infinite ease-in-out;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.12s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.24s;
}

@keyframes typingBounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
    40% { transform: translateY(-4px); opacity: 1; }
}
