/* Simulator Feature Page Styles */

/* Hero Section Background */
.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    position: relative;
    overflow: hidden;
    color: #212529;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="30" r="1.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="70" r="1.2" fill="%23ffffff" opacity="0.08"/><circle cx="90" cy="80" r="0.8" fill="%23ffffff" opacity="0.12"/><circle cx="30" cy="90" r="1.8" fill="%23ffffff" opacity="0.06"/></svg>');
    animation: float 20s infinite linear;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

/* Hero Content Animation */
.hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.hero-visual {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

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

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Chart Animations */
.chart-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawLine 2s ease-in-out 1s forwards;
}

.chart-area {
    opacity: 0;
    animation: fadeInArea 1.5s ease-in-out 1.2s forwards;
}

.chart-point {
    opacity: 0;
    transform-origin: center;
    animation: popIn 0.5s ease-out forwards;
}

.chart-point:nth-child(8) { animation-delay: 2s; }
.chart-point:nth-child(9) { animation-delay: 2.1s; }
.chart-point:nth-child(10) { animation-delay: 2.2s; }
.chart-point:nth-child(11) { animation-delay: 2.3s; }
.chart-point:nth-child(12) { animation-delay: 2.4s; }
.chart-point:nth-child(13) { animation-delay: 2.5s; }

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInArea {
    to {
        opacity: 1;
    }
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    80% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Video Placeholder Shimmer */
.video-placeholder {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--complementary-color) 100%);
    border-radius: 12px;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.video-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

/* Step Numbers */
.step-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(121, 215, 173, 0.3);
}

.step-number-text {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

/* Feature Cards Hover Effect */
.capability-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.capability-card {
    transition: transform 0.3s ease;
}

/* Card hover for use case and asset type cards */
.use-case-card:hover,
.asset-type-card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.use-case-card,
.asset-type-card {
    transition: transform 0.3s ease;
}

/* Chart Container Hover Effect */
.chart-container:hover .chart-line {
    stroke-width: 4;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

.chart-container:hover .chart-point {
    r: 5;
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
}

/* Feature Icon Animation */
.feature-icon {
    transition: transform 0.3s ease;
}

.feature-icon:hover {
    transform: scale(1.1);
}

/* Progress Bar Animation */
.progress-bar {
    transition: width 1s ease-in-out;
}

/* Floating elements for dynamic background */
.hero-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(121, 215, 173, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.2); opacity: 0.2; }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-visual {
        margin-top: 2rem;
    }

    .step-circle {
        width: 50px;
        height: 50px;
    }

    .step-number-text {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }
}
