/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-md);
    background: linear-gradient(135deg, rgba(31, 58, 101, 0.08) 0%, rgba(68, 215, 182, 0.08) 100%);
    border: 1px solid rgba(31, 58, 101, 0.15);
    border-radius: var(--radius-pill);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    backdrop-filter: blur(10px);
}

.section-badge i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.section-header h2 {
    margin-bottom: var(--spacing-md);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Background patterns */
.section-bg-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(31, 58, 101, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(68, 215, 182, 0.02) 0%, transparent 50%);
    z-index: -1;
}

.features-bg-decoration {
    position: absolute;
    top: 10%;
    right: 5%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(31, 58, 101, 0.05) 0%, rgba(68, 215, 182, 0.05) 100%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -1;
}

.features-animated-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.feature-circle {
    position: absolute;
    border: 1px solid rgba(31, 58, 101, 0.1);
    border-radius: 50%;
    animation: circleFloat 12s ease-in-out infinite;
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    border-color: rgba(31, 58, 101, 0.1);
}

.circle-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 4s;
    border-color: rgba(68, 215, 182, 0.15);
}

.circle-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 8s;
    border-color: rgba(31, 58, 101, 0.08);
}

@keyframes circleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: translate(20px, -30px) scale(1.1);
        opacity: 0.6;
    }
    66% {
        transform: translate(-15px, 20px) scale(0.9);
        opacity: 0.4;
    }
}
/* How It Works */
.how-it-works {
    padding: var(--spacing-4xl) 0;
    background: linear-gradient(135deg, 
        rgba(31, 58, 101, 0.02) 0%, 
        rgba(255, 255, 255, 1) 25%, 
        rgba(68, 215, 182, 0.03) 50%, 
        rgba(255, 255, 255, 1) 75%, 
        rgba(31, 58, 101, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works-gradient-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(31, 58, 101, 0.01) 100%);
    z-index: 1;
}

.how-it-works-animated-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.floating-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(31, 58, 101, 0.1) 0%, rgba(68, 215, 182, 0.15) 100%);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(68, 215, 182, 0.12) 0%, rgba(31, 58, 101, 0.08) 100%);
    top: 60%;
    right: 10%;
    animation-delay: 7s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(31, 58, 101, 0.06) 0%, rgba(68, 215, 182, 0.1) 100%);
    bottom: 20%;
    left: 20%;
    animation-delay: 14s;
}

.animated-grid-lines {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: gridPulse 8s ease-in-out infinite;
}

.line-horizontal-1 {
    width: 100%;
    height: 1px;
    top: 30%;
    animation-delay: 0s;
}

.line-horizontal-2 {
    width: 100%;
    height: 1px;
    top: 70%;
    animation-delay: 4s;
}

.line-vertical-1 {
    width: 1px;
    height: 100%;
    left: 25%;
    background: linear-gradient(180deg, transparent, var(--accent-color), transparent);
    animation-delay: 2s;
}

.line-vertical-2 {
    width: 1px;
    height: 100%;
    right: 25%;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    animation-delay: 6s;
}

.premium-badge {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(31, 58, 101, 0.1) 0%, 
        rgba(68, 215, 182, 0.15) 50%, 
        rgba(31, 58, 101, 0.1) 100%);
    border: 1px solid rgba(31, 58, 101, 0.2);
    overflow: hidden;
}

.badge-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: inherit;
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.3s ease;
    z-index: -1;
}

.premium-badge:hover .badge-glow {
    opacity: 0.3;
}

.badge-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: badgeShimmer 3s ease-in-out infinite;
    z-index: 1;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-subtitle-enhanced {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
    font-weight: 400;
}

.steps-timeline {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: var(--spacing-3xl) auto 0;
    position: relative;
    z-index: 2;
    align-items: stretch;
}

.premium-step-card {
    text-align: center;
    padding: var(--spacing-md);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.98) 50%, 
        rgba(31, 58, 101, 0.02) 100%);
    border-radius: 20px;
    border: 1px solid rgba(31, 58, 101, 0.1);
    box-shadow: 
        0 20px 40px rgba(31, 58, 101, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

/* Removed glow effect for cleaner, more professional look */

.premium-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(31, 58, 101, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(31, 58, 101, 0.15);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
}

.step-number-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: 0 4px 8px rgba(31, 58, 101, 0.3);
    z-index: 3;
    transition: all 0.3s ease;
}

.premium-step-card:hover .step-number-overlay {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(31, 58, 101, 0.4);
}

.step-icon {
    width: 80px;
    height: 80px;
    background: rgba(31, 58, 101, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    transition: all 0.3s ease;
}

.step-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.step-card:hover .step-icon {
    background: rgba(68, 215, 182, 0.1);
}

.step-card:hover .step-icon i {
    color: var(--accent-color);
    transform: scale(1.1);
}

.premium-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, 
        rgba(31, 58, 101, 0.08) 0%, 
        rgba(68, 215, 182, 0.12) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    border: 1px solid rgba(31, 58, 101, 0.1);
}

.icon-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
}

.premium-icon i {
    font-size: 2.2rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.icon-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.icon-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 3s ease-in-out infinite;
}

.icon-particles .particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.icon-particles .particle:nth-child(2) {
    top: 30%;
    right: 25%;
    animation-delay: 1s;
}

.icon-particles .particle:nth-child(3) {
    bottom: 25%;
    left: 30%;
    animation-delay: 2s;
}

.premium-step-card:hover .premium-icon {
    transform: scale(1.1);
    box-shadow: 0 15px 30px rgba(31, 58, 101, 0.2);
}

.premium-step-card:hover .icon-background {
    opacity: 0.1;
}

.premium-step-card:hover .premium-icon i {
    color: var(--accent-color);
    transform: scale(1.1) rotate(5deg);
}

.step-content {
    text-align: left;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.step-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-top: auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.feature-item i {
    color: var(--accent-color);
    font-size: 1rem;
}

.step-visual-effect {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    overflow: hidden;
    opacity: 0.3;
}

.effect-line {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color));
    animation: effectPulse 2s ease-in-out infinite;
}

.effect-dots {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 4px;
}

.effect-dots .dot {
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    animation: dotPulse 1.5s ease-in-out infinite;
}

.effect-dots .dot:nth-child(1) { animation-delay: 0s; }
.effect-dots .dot:nth-child(2) { animation-delay: 0.5s; }
.effect-dots .dot:nth-child(3) { animation-delay: 1s; }

.step-card h3 {
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.premium-connector {
    width: 80px;
    height: 4px;
    position: relative;
    align-self: center;
    overflow: hidden;
}

.connector-line {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 2px;
    opacity: 0.6;
}

.connector-glow {
    position: absolute;
    inset: -2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 4px;
    opacity: 0;
    filter: blur(4px);
    transition: opacity 0.4s ease;
}

.connector-pulse {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    border-radius: 2px;
    animation: connectorPulse 3s ease-in-out infinite;
}

.premium-step-card:hover ~ .premium-connector .connector-glow,
.premium-connector:hover .connector-glow {
    opacity: 0.8;
}

.step-connector::after {
    content: '→';
    position: absolute;
    right: -8px;
    top: -8px;
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0.6;
}
