/* ========== HERO SLIDER v2 — WOW FACTOR ========== */
.stg-hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #080808;
}

/* Particle overlay */
.stg-slide-particles {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.15) 50%, transparent 50%),
        radial-gradient(1px 1px at 30% 65%, rgba(255,255,255,0.1) 50%, transparent 50%),
        radial-gradient(1px 1px at 50% 40%, rgba(255,255,255,0.12) 50%, transparent 50%),
        radial-gradient(1px 1px at 70% 80%, rgba(255,255,255,0.08) 50%, transparent 50%),
        radial-gradient(1px 1px at 90% 30%, rgba(255,255,255,0.1) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 20% 85%, rgba(10,178,56,0.2) 50%, transparent 50%),
        radial-gradient(1.5px 1.5px at 80% 15%, rgba(10,178,56,0.15) 50%, transparent 50%);
    animation: particleDrift 20s linear infinite;
}

@keyframes particleDrift {
    0% { transform: translateY(0); }
    100% { transform: translateY(-30px); }
}

/* Individual Slide */
.stg-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0s 0.8s, opacity 0.6s ease, visibility 0s 0.8s;
}

.stg-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    clip-path: inset(0 0 0 0);
    transition: clip-path 1s cubic-bezier(0.77,0,0.175,1), opacity 0.6s ease;
}

/* Background image with Ken Burns zoom */
.stg-slide-bg {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease;
}

.stg-slide.active .stg-slide-bg {
    animation: kenBurns 8s ease-out both;
}

@keyframes kenBurns {
    0% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Dark overlay */
.stg-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Slide Content */
.stg-slide-content {
    text-align: center;
    position: relative;
    z-index: 5;
    padding: 0 30px;
    max-width: 800px;
}

/* Tag / subtitle */
.stg-slide-tag {
    display: inline-block;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #0ab238;
    padding: 6px 20px;
    border: 1px solid rgba(10,178,56,0.4);
    border-radius: 30px;
    margin-bottom: 25px;
    opacity: 0;
}

.stg-slide.active .stg-slide-tag {
    animation: sliderFadeUp 0.7s ease 0.2s both;
}

/* Title */
.stg-slide-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 10px;
    text-transform: uppercase;
    margin: 0 0 10px;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
    opacity: 0;
}

.stg-slide.active .stg-slide-title {
    animation: sliderFadeUp 0.8s ease 0.4s both;
}

/* Separator */
.stg-slide-sep {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #0ab238, #7fc625);
    margin: 22px auto;
    border-radius: 2px;
    opacity: 0;
}

.stg-slide.active .stg-slide-sep {
    animation: sliderFadeUp 0.7s ease 0.6s both;
}

/* Description */
.stg-slide-desc {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 17px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.5px;
    margin: 0 0 30px;
    line-height: 1.6;
    font-weight: 300;
    opacity: 0;
}

.stg-slide.active .stg-slide-desc {
    animation: sliderFadeUp 0.7s ease 0.7s both;
}

/* CTA Button */
.stg-slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 34px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 4px;
    transition: all 0.4s ease;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

.stg-slide-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #0ab238;
    transform: translateX(-101%);
    transition: transform 0.4s cubic-bezier(0.77,0,0.175,1);
    z-index: -1;
}

.stg-slide-btn:hover::before {
    transform: translateX(0);
}

.stg-slide.active .stg-slide-btn {
    animation: sliderFadeUp 0.7s ease 0.9s both;
}

.stg-slide-btn:hover {
    border-color: #0ab238;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(10,178,56,0.3);
}

.stg-slide-btn i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.stg-slide-btn:hover i {
    transform: translateX(4px);
}

/* Slide Counter */
.stg-slide-counter {
    position: absolute;
    left: 40px;
    bottom: 40px;
    z-index: 10;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.25);
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.stg-slide-counter span {
    color: #0ab238;
    font-size: 28px;
    font-weight: 500;
    display: block;
    writing-mode: horizontal-tb;
    margin-bottom: 4px;
}

/* Vertical line accent */
.stg-slide-counter::after {
    content: '';
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, #0ab238, transparent);
    margin: 10px auto 0;
}

/* Arrows */
.stg-slider-nav {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.stg-slider-prev,
.stg-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.stg-slider-prev { left: 30px; }
.stg-slider-next { right: 30px; }

.stg-slider-prev:hover,
.stg-slider-next:hover {
    background: #0ab238;
    border-color: #0ab238;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 25px rgba(10,178,56,0.3);
}

/* Dots */
.stg-slider-dots {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 10;
}

.stg-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    padding: 0;
}

.stg-dot.active {
    background: #0ab238;
    width: 40px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(10,178,56,0.4);
}

.stg-dot:hover { background: rgba(255,255,255,0.4); }
.stg-dot.active:hover { background: #0ab238; }

.stg-dot-label {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(0,0,0,0.85);
    color: #fff;
    font-size: 10px;
    font-family: 'Source Sans Pro', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.stg-dot:hover .stg-dot-label {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.stg-dot-label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0,0,0,0.85);
}

/* Scroll Indicator */
.stg-scroll-down {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.stg-scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    position: relative;
}

.stg-scroll-dot {
    width: 3px;
    height: 8px;
    background: #0ab238;
    border-radius: 2px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollPulse 1.8s infinite;
}

/* Progress Bar */
.stg-slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #0ab238, #7fc625);
    z-index: 10;
    transition: width linear;
}

/* ========== ANIMATIONS ========== */
@keyframes sliderFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    100% { transform: translateX(-50%) translateY(16px); opacity: 0; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .stg-hero-slider { min-height: 500px; }
    .stg-slider-prev { left: 15px; }
    .stg-slider-next { right: 15px; }
    .stg-slider-prev, .stg-slider-next { width: 44px; height: 44px; font-size: 14px; }
    .stg-slide-counter { display: none; }
}

@media (max-width: 768px) {
    .stg-hero-slider { min-height: 450px; height: 100vh; }
    .stg-slide-title { letter-spacing: 5px; }
    .stg-slide-desc { font-size: 15px; }
    .stg-slider-prev, .stg-slider-next { width: 38px; height: 38px; font-size: 12px; }
    .stg-slider-prev { left: 10px; }
    .stg-slider-next { right: 10px; }
    .stg-slider-dots { bottom: 65px; gap: 10px; }
    .stg-dot { width: 10px; height: 10px; }
    .stg-dot.active { width: 30px; }
    .stg-dot-label { display: none; }
    .stg-slide-particles { display: none; }
    .stg-slide-counter { display: none; }
}
