/* Hero Section - AI Neural Network Theme with Modern Rounded Typography */
.hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 30%, #0f3460 70%, #1e3c72 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

/* AI Neural Network Background */
.neural-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.neural-network {
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

/* Neural Node Animations */
.neural-node {
    animation: pulseNode 3s ease-in-out infinite;
}

.neural-node:nth-child(2n) {
    animation-delay: 0.5s;
}

.neural-node:nth-child(3n) {
    animation-delay: 1s;
}

.neural-node:nth-child(4n) {
    animation-delay: 1.5s;
}

.neural-node:nth-child(5n) {
    animation-delay: 2s;
}

@keyframes pulseNode {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Connection Lines Animation */
.connection-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 4s ease-in-out infinite;
}

.connection-line:nth-child(2n) {
    animation-delay: 0.5s;
}

.connection-line:nth-child(3n) {
    animation-delay: 1s;
}

@keyframes drawLine {
    0% {
        stroke-dashoffset: 1000;
        opacity: 0;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0.4;
    }
}

/* Data Particles */
.data-particle {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
}

/* Gradient Overlay for Text Readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(240, 147, 251, 0.1) 0%, transparent 40%),
        linear-gradient(180deg, rgba(26, 26, 46, 0.7) 0%, rgba(22, 33, 62, 0.5) 50%, rgba(15, 52, 96, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* Trust Badge - Modern Glass Effect */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 24px;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 36px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
}

.trust-badge .icon {
    color: #38ef7d;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-badge strong {
    color: #fff;
    font-weight: 800;
}

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

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

/* Hero Typography - Modern Rounded (Nunito) */
.hero h1 {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
    animation: fadeInUp 0.8s ease 0.15s backwards;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, #667eea 0%, #f093fb 50%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

/* Subtitle - Soft & Readable */
.hero .subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 680px;
    letter-spacing: 0.01em;
    animation: fadeInUp 0.8s ease 0.25s backwards;
}

/* Hero CTAs - Better Spacing */
.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.35s backwards;
}

/* Modern Buttons - Rounded & Soft */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    color: #667eea;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3), 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4), 0 6px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Scroll Indicator - Modern Mouse Icon */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
    animation: fadeInUp 0.8s ease 0.5s backwards;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 13px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {

    0%,
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 0.3;
        transform: translateX(-50%) translateY(12px);
    }
}

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

    .hero h1 {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        line-height: 1.3;
    }

    .hero .subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .trust-badge {
        font-size: 0.85rem;
        padding: 10px 18px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 1rem;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .neural-network {
        opacity: 0.4;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    .neural-node,
    .connection-line,
    .data-particle {
        animation: none;
    }

    .hero h1,
    .hero .subtitle,
    .hero-ctas,
    .trust-badge {
        animation: none;
        opacity: 1;
    }
}