/* Simplified Hero Section */
.hero {
    position: relative;
    padding: 100px 0;
    background: var(--background);
    text-align: center;
}

/* Simplified Hero Background System */
.hero-bg {
    display: none;
}

/* Advanced Gradient Mesh System */
.hero-gradient-mesh {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 15s ease-in-out infinite;
}

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

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

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

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

/* Enhanced Particles System */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 20s linear infinite;
    box-shadow: 0 0 10px rgba(68, 215, 182, 0.5);
}

.particle-1 { top: 20%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 60%; left: 80%; animation-delay: 3s; }
.particle-3 { top: 40%; left: 30%; animation-delay: 6s; }
.particle-4 { top: 80%; left: 60%; animation-delay: 9s; }
.particle-5 { top: 30%; left: 70%; animation-delay: 12s; }
.particle-6 { top: 70%; left: 20%; animation-delay: 15s; }
.particle-7 { top: 50%; left: 50%; animation-delay: 18s; }
.particle-8 { top: 90%; left: 40%; animation-delay: 21s; }

/* Animated Geometric Shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    border: 2px solid rgba(31, 58, 101, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    animation: shapeFloat 12s ease-in-out infinite;
    opacity: 0.8;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(31, 58, 101, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.shape i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shape-1 {
    top: 15%;
    right: 12%;
    animation-delay: 0s;
}

.shape-2 {
    top: 65%;
    left: 8%;
    animation-delay: 3s;
}

.shape-3 {
    top: 40%;
    right: 5%;
    animation-delay: 6s;
}

.shape-4 {
    top: 25%;
    left: 5%;
    animation-delay: 2s;
}

.shape-5 {
    top: 80%;
    right: 25%;
    animation-delay: 8s;
}

/* Dynamic Grid System */
.hero-grid {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(31, 58, 101, 0.15), transparent);
    opacity: 0.6;
    animation: gridPulse 8s ease-in-out infinite;
}

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

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

.grid-vertical-1 {
    width: 1px;
    height: 100%;
    left: 20%;
    background: linear-gradient(180deg, transparent, rgba(68, 215, 182, 0.15), transparent);
    animation-delay: 2s;
}

.grid-vertical-2 {
    width: 1px;
    height: 100%;
    right: 20%;
    background: linear-gradient(180deg, transparent, rgba(31, 58, 101, 0.15), transparent);
    animation-delay: 6s;
}

/* SVG Flow Lines */
.hero-flow-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.flow-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.flow-path {
    stroke-dasharray: 200 100;
    animation: flowMove 15s linear infinite;
}

.flow-path-1 {
    animation-delay: 0s;
}

.flow-path-2 {
    animation-delay: 7.5s;
}

.hero-floating-elements {
    position: absolute;
    inset: 0;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border: 1px solid rgba(31, 58, 101, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: floatSlow 8s ease-in-out infinite;
    opacity: 0.8;
}

.floating-element i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.floating-element-1 {
    top: 15%;
    right: 15%;
    animation-delay: 0s;
}

.floating-element-2 {
    top: 70%;
    left: 10%;
    animation-delay: 2s;
}

.floating-element-3 {
    top: 45%;
    right: 8%;
    animation-delay: 4s;
}

.floating-element-4 {
    top: 25%;
    left: 5%;
    animation-delay: 1s;
}

.floating-element-5 {
    top: 85%;
    right: 25%;
    animation-delay: 6s;
}

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

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -20px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, 30px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(20px, 10px) scale(1.05);
        opacity: 0.7;
    }
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.1;
        transform: scaleX(0);
    }
    50% {
        opacity: 0.3;
        transform: scaleX(1);
    }
}

@keyframes badgeShimmer {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes numberPulse {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

@keyframes connectorPulse {
    0% {
        left: -100%;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes effectPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(0);
    }
    50% {
        opacity: 0.8;
        transform: scaleX(1);
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-animated-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.animated-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.4;
    animation: lineMove 8s linear infinite;
}

.line-1 {
    width: 200px;
    height: 1px;
    top: 20%;
    left: -200px;
    animation-delay: 0s;
}

.line-2 {
    width: 150px;
    height: 1px;
    top: 60%;
    left: -150px;
    animation-delay: 3s;
}

.line-3 {
    width: 100px;
    height: 1px;
    top: 80%;
    left: -100px;
    animation-delay: 6s;
}

@keyframes lineMove {
    0% {
        transform: translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.4;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateX(calc(100vw + 200px));
        opacity: 0;
    }
}

/* Enhanced Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    background: rgba(31, 58, 101, 0.08);
    border: 1px solid rgba(31, 58, 101, 0.15);
    border-radius: var(--radius-pill);
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
}

.hero-badge:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(31, 58, 101, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.badge-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: badgeShine 3s ease-in-out infinite;
}

.badge-pulse {
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: inherit;
    opacity: 0;
    filter: blur(8px);
    animation: badgePulse 4s ease-in-out infinite;
    z-index: -1;
}

.hero-badge i {
    color: var(--accent-color);
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 4px rgba(68, 215, 182, 0.3));
}

/* Hero stats */
.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

/* Simplified Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(31, 58, 101, 0.1);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 
        0 8px 25px rgba(31, 58, 101, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 30px rgba(31, 58, 101, 0.15), 0 6px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(31, 58, 101, 0.3);
}

.hero-stat:hover::before {
    opacity: 1;
}

.hero-stat:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 
        0 20px 40px rgba(31, 58, 101, 0.15), 
        0 8px 16px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(68, 215, 182, 0.3);
}

.hero-stat:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(31, 58, 101, 0.2);
}

.hero-stat:hover .stat-icon-glow {
    opacity: 0.8;
}

.hero-stat:hover .stat-number {
    color: var(--accent-color);
    text-shadow: 0 2px 8px rgba(68, 215, 182, 0.3);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(31, 58, 101, 0.2);
}

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

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    transition: all 0.3s ease;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    opacity: 0.8;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.hero-text {
    position: relative;
    z-index: 2;
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Simplified Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.animated-text {
    color: var(--accent-color);
}

/* Simplified Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
    font-weight: 400;
}

/* Simplified Hero CTA Section */
.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-top: var(--spacing-xl);
    flex-wrap: wrap;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-features .feature i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.primary-cta {
    margin-bottom: var(--spacing-xl);
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) var(--spacing-2xl);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--white);
    border: none;
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 25px rgba(31, 58, 101, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    margin-bottom: var(--spacing-md);
}

.btn-hero-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(31, 58, 101, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
}

.btn-hero-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-ripple {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transform: scale(0);
    transition: all 0.6s ease-out;
}

.btn-hero-primary:active .btn-ripple {
    opacity: 1;
    transform: scale(1);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: btnShine 3s ease-in-out infinite;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: var(--spacing-md);
}

.btn-hero-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(31, 58, 101, 0.2);
}

.btn-hover-bg {
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-hero-secondary:hover .btn-hover-bg {
    opacity: 1;
}

.primary-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.secondary-cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    align-items: flex-start;
    margin-left: var(--spacing-md);
}

.btn-hero {
    position: relative;
    padding: var(--spacing-md) var(--spacing-2xl);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(31, 58, 101, 0.25);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(31, 58, 101, 0.35);
}

.btn-hero-secondary {
    position: relative;
    padding: var(--spacing-sm) var(--spacing-xl);
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
    z-index: 2;
}

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

.btn-hover-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(31, 58, 101, 0.05) 0%, rgba(68, 215, 182, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn-hero-secondary:hover .btn-hover-bg {
    opacity: 1;
}
