/* e-Panel Landing Page Animations & Styles */

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

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

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

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

@keyframes step-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.landing-float {
    animation: float 6s ease-in-out infinite;
}

.landing-shimmer {
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
}

.landing-gradient-text {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-gradient-text-green {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.landing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.landing-fade-in {
    animation: fadeInUp 0.8s ease-out both;
}

.landing-fade-in-delay-1 {
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.landing-fade-in-delay-2 {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.landing-fade-in-delay-3 {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.landing-fade-in-delay-4 {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Workflow step circles */
.landing-step-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    position: relative;
}

.landing-step-circle::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

/* Connector line between steps */
.landing-step-connector {
    width: 2px;
    height: 40px;
    margin: 0 auto;
}

/* Feature accordion */
.landing-feature-group summary {
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.landing-feature-group summary::-webkit-details-marker {
    display: none;
}

.landing-feature-group summary::marker {
    display: none;
    content: '';
}

.landing-feature-group[open] .landing-chevron {
    transform: rotate(180deg);
}

.landing-chevron {
    transition: transform 0.3s ease;
}

/* Feature list items */
.landing-feature-item {
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    margin-top: 0.5rem;
    border-left: 3px solid rgba(255, 255, 255, 0.1);
}

.landing-feature-item:first-child {
    margin-top: 1rem;
}

/* CTA section pulse */
.landing-cta-pulse {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

/* Image styles */
.landing-img {
    border-radius: 1rem;
    object-fit: cover;
    width: 100%;
    height: auto;
}

.landing-img-glow {
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.landing-img-card {
    border-radius: 0.75rem;
    object-fit: cover;
    width: 100%;
    height: 200px;
    margin-bottom: 1.25rem;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.landing-card:hover .landing-img-card {
    opacity: 1;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.07;
    pointer-events: none;
}

.landing-split-img {
    border-radius: 1rem;
    object-fit: cover;
    width: 100%;
    max-height: 360px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (min-width: 768px) {
    .landing-grid-2 { grid-template-columns: repeat(2, 1fr) !important; }
    .landing-grid-features { grid-template-columns: repeat(2, 1fr) !important; }
    .landing-workflow-grid { grid-template-columns: repeat(5, 1fr) !important; }
    .landing-step-connector { width: 40px; height: 2px; margin: 0; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .landing-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (min-width: 1024px) {
    .landing-grid-4 { grid-template-columns: repeat(4, 1fr) !important; }
    .landing-grid-features { grid-template-columns: repeat(3, 1fr) !important; }
}
