/* ===== 8 PM Money Moment Section ===== */
.money-moment-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
    position: relative;
    overflow: hidden;
}

.money-moment-section::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    top: -400px;
    left: -400px;
    animation: float 30s infinite ease-in-out;
}

/* Header Styles */
.moment-header {
    text-align: center;
    margin-bottom: 80px;
}

.time-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.clock-icon {
    width: 24px;
    height: 24px;
    color: #7C3AED;
    animation: tick 2s infinite;
}

@keyframes tick {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

.time-text {
    font-weight: 600;
    color: #1E293B;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.moment-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.moment-subtitle {
    font-size: 20px;
    color: #64748B;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Phone Mockup */
.moment-showcase {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 80px;
}

.moment-phone {
    position: relative;
}

.phone-frame {
    width: 320px;
    height: 640px;
    background: #1E293B;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    margin: 0 auto;
    animation: phoneSlideIn 1s ease 0.6s both;
}

@keyframes phoneSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px) rotateY(-10deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotateY(0);
    }
}

.phone-notch {
    width: 120px;
    height: 24px;
    background: #1E293B;
    border-radius: 0 0 20px 20px;
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    padding-top: 32px;
    background: white;
    font-size: 14px;
    font-weight: 600;
}

.status-icons {
    display: flex;
    gap: 8px;
}

/* Notification Stack */
.notification-stack {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-card {
    background: white;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(20px);
    opacity: 0;
    animation: notificationPop 0.6s ease forwards;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notification-card:nth-child(1) { animation-delay: 1s; }
.notification-card:nth-child(2) { animation-delay: 1.3s; }
.notification-card:nth-child(3) { animation-delay: 1.6s; }

@keyframes notificationPop {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.notification-card.active {
    background: linear-gradient(135deg, #F0F9FF 0%, #EDE9FE 100%);
    border: 2px solid rgba(124, 58, 237, 0.2);
}

.notification-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.notif-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.notif-meta h4 {
    font-size: 14px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 2px;
}

.notif-time {
    font-size: 12px;
    color: #64748B;
}

.notification-content {
    padding-left: 52px;
}

.insight-emoji {
    font-size: 32px;
    margin-bottom: 8px;
    animation: bounce 2s infinite;
}

.notification-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 8px;
}

.notification-content p {
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

.quick-stats {
    display: flex;
    gap: 24px;
    margin: 16px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #7C3AED;
}

.stat-label {
    font-size: 12px;
    color: #64748B;
    margin-top: 2px;
}

.action-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.action-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background: linear-gradient(135deg, #0EA5E9, #7C3AED);
    color: white;
}

.action-btn:not(.primary) {
    background: white;
    color: #64748B;
    border: 1px solid #E2E8F0;
}

/* Floating Time Indicator */
.floating-time {
    position: absolute;
    top: 50%;
    right: -60px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-pulse {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.time-display {
    position: relative;
    padding: 12px 20px;
    background: white;
    border-radius: 50px;
    font-weight: 700;
    color: #7C3AED;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
    animation: float 3s infinite ease-in-out;
}

/* Insight Types Grid */
.insight-types {
    animation: fadeInUp 0.8s ease 0.8s both;
}

.types-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #1E293B;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.insight-type-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.insight-type-card:nth-child(1) { animation-delay: 1s; }
.insight-type-card:nth-child(2) { animation-delay: 1.1s; }
.insight-type-card:nth-child(3) { animation-delay: 1.2s; }
.insight-type-card:nth-child(4) { animation-delay: 1.3s; }
.insight-type-card:nth-child(5) { animation-delay: 1.4s; }
.insight-type-card:nth-child(6) { animation-delay: 1.5s; }

.insight-type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.type-icon {
    font-size: 32px;
    margin-bottom: 12px;
    display: inline-block;
    animation: float 4s infinite ease-in-out;
}

.insight-type-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 8px;
}

.insight-type-card p {
    font-size: 14px;
    color: #64748B;
    line-height: 1.5;
    margin-bottom: 16px;
}

.type-example {
    padding: 12px;
    background: #F8FAFC;
    border-radius: 8px;
    border-left: 3px solid #7C3AED;
}

.example-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #7C3AED;
    letter-spacing: 0.5px;
}

.type-example p {
    margin: 4px 0 0;
    font-style: italic;
    color: #475569;
}

/* Timeline Styles */
.insights-timeline {
    margin-top: 100px;
    padding: 60px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.timeline-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #1E293B;
}

.timeline-container {
    position: relative;
    padding: 0 40px;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #E2E8F0 0%, #7C3AED 50%, #E2E8F0 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    opacity: 0;
    animation: timelineReveal 0.6s ease forwards;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }
.timeline-item:nth-child(8) { animation-delay: 0.8s; }

@keyframes timelineReveal {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid #7C3AED;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-item.highlight .timeline-dot {
    width: 24px;
    height: 24px;
    background: #7C3AED;
    animation: pulse 2s infinite;
}

.timeline-content {
    flex: 1;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin: 0 40px;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.day-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #7C3AED;
    letter-spacing: 1px;
}

.insight-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.insight-icon {
    font-size: 24px;
}

.insight-preview p {
    font-size: 14px;
    color: #475569;
    margin: 0;
}

/* CTA Section */
.moment-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    padding: 60px;
    background: linear-gradient(135deg, #0EA5E9 0%, #7C3AED 100%);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-content {
    color: white;
    z-index: 2;
}

.cta-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
}

/* Animated Clock */
.animated-clock {
    position: relative;
    width: 200px;
    height: 200px;
}

.clock-face {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hour-hand,
.minute-hand {
    position: absolute;
    background: #1E293B;
    transform-origin: bottom center;
    left: 50%;
    bottom: 50%;
}

.hour-hand {
    width: 6px;
    height: 50px;
    margin-left: -3px;
    border-radius: 3px;
    animation: rotateHour 12s linear infinite;
}

.minute-hand {
    width: 4px;
    height: 70px;
    margin-left: -2px;
    border-radius: 2px;
    animation: rotateMinute 1s linear infinite;
}

@keyframes rotateHour {
    from { transform: rotate(240deg); }
    to { transform: rotate(600deg); }
}

@keyframes rotateMinute {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.clock-center {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #7C3AED;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.clock-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 968px) {
    .moment-showcase {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .phone-frame {
        margin: 0 auto;
    }

    .floating-time {
        display: none;
    }
}

@media (max-width: 768px) {
    .moment-title {
        font-size: 36px;
    }

    .moment-subtitle {
        font-size: 16px;
    }

    .insight-grid {
        grid-template-columns: 1fr;
    }

    .timeline-container {
        padding: 0 20px;
    }

    .timeline-item {
        flex-direction: column !important;
    }

    .timeline-content {
        margin: 20px 0;
    }

    .moment-cta {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .animated-clock {
        margin-top: 40px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta-buttons button {
        width: 100%;
    }
}

/* Animation Utilities */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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