/* Hero Section - Modern Network Style */
:root {
    --primary-purple: #6a0dad;
    --dark-purple: #500a8c;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(106, 13, 173, 0.95) 0%, rgba(80, 10, 140, 0.9) 100%);
}

/* Hexagon Pattern Overlay */
.hexagon-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(255,255,255,0.03) 50px, rgba(255,255,255,0.03) 51px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(255,255,255,0.03) 50px, rgba(255,255,255,0.03) 51px);
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

/* Network Lines Canvas */
.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

/* Data Particles Container */
.data-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
    pointer-events: none;
}

.data-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: particleFloat linear infinite;
}

/* Hero Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/BG/BG.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 100;
    text-align: center;
    max-width: 900px;
    padding: 0 30px;
    opacity: 0;
    transform: translateY(50px);
    animation: contentSlideUp 1s cubic-bezier(0.19, 1, 0.22, 1) 0.3s forwards;
    pointer-events: auto;
}

/* Animated Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: badgeFadeIn 0.8s ease-out 0.6s forwards;
}

.badge-icon {
    font-size: 1.2rem;
    animation: iconPulse 2s ease-in-out infinite;
}

.badge-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Hero Title */
.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.title-highlight {
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, white, transparent);
    animation: underlineExpand 1.5s ease-out 1s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Pills */
.feature-pills {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.pill {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    animation: pillFadeIn 0.6s ease-out forwards;
}

.pill:nth-child(1) { animation-delay: 0.8s; }
.pill:nth-child(2) { animation-delay: 1s; }
.pill:nth-child(3) { animation-delay: 1.2s; }

.pill:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: white;
    color: var(--primary-purple);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary-purple);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-primary:hover {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary .btn-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(5px);
}

.herobtn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
}

.herobtn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.4s ease;
    z-index: -1;
}

.herobtn-secondary:hover {
    color: var(--primary-purple);
    border-color: white;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.herobtn-secondary:hover::after {
    left: 0;
}

.herobtn-secondary .btn-icon {
    transition: transform 0.3s ease;
}

.herobtn-secondary:hover .btn-icon {
    transform: translateY(3px);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: indicatorsFadeIn 0.8s ease-out 1.4s forwards;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.indicator-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.indicator-text {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    cursor: pointer;
    opacity: 0;
    animation: scrollFadeIn 1s ease-out 1.8s forwards;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, white, transparent);
    margin: 0 auto 10px;
    animation: scrollLine 2s ease-in-out infinite;
}

.scroll-indicator span {
    display: block;
    color: white;
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Floating Network Icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.float-icon {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: iconFloat 6s ease-in-out infinite;
}

.icon-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.icon-2 {
    top: 60%;
    left: 10%;
    animation-delay: 1.5s;
}

.icon-3 {
    top: 30%;
    right: 15%;
    animation-delay: 3s;
}

.icon-4 {
    bottom: 25%;
    right: 10%;
    animation-delay: 4.5s;
}

/* Animations */
@keyframes contentSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes badgeFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes underlineExpand {
    to {
        transform: scaleX(1);
    }
}

@keyframes pillFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes indicatorsFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scrollFadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scrollLine {
    0%, 100% { transform: translateY(-20px); opacity: 0; }
    50% { transform: translateY(0); opacity: 1; }
}

@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(20px) rotate(-5deg);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(var(--drift));
        opacity: 0;
    }
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .trust-indicators {
        gap: 2rem;
    }
    
    .floating-icons .float-icon {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-pills {
        gap: 0.7rem;
    }
    
    .pill {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .trust-indicators {
        gap: 1.5rem;
    }
    
    .indicator {
        flex-direction: column;
        gap: 5px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-badge {
        padding: 8px 20px;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
    
    .trust-indicators {
        display: none;
    }
    
    .floating-icons {
        display: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .hero-badge,
    .pill,
    .trust-indicators,
    .scroll-indicator,
    .float-icon,
    .data-particle {
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .btn-primary:hover .btn-icon,
    .herobtn-secondary:hover .btn-icon {
        transform: none;
    }
}