@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&display=swap');

.hero-1948de21 {
    --primary-color: #7c73ff;
    --bg-color: #0a0a0a;
    position: relative;
    background-color: var(--bg-color);
    color: #fff;
    font-family: 'Inter', sans-serif;
    padding: 100px 20px 140px;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 80vh;
    justify-content: center;
    box-sizing: border-box;
}

.hero-1948de21 * {
    box-sizing: border-box;
}

.hero-1948de21-bg-grid {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
}

.hero-1948de21-halo {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    /* Background set via dynamic CSS in Elementor, fallback below */
    background: radial-gradient(ellipse at center, rgba(124, 115, 255, 0.4) 0%, rgba(10, 10, 10, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-1948de21-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-1948de21-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 0 0 rgba(124, 115, 255, 0.7);
    animation: pulse-1948de21 2s infinite;
}

@keyframes pulse-1948de21 {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(124, 115, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(124, 115, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(124, 115, 255, 0); }
}

.hero-1948de21-title {
    font-size: clamp(32px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.dynamic-wrapper {
    display: inline-block;
    position: relative;
    height: 1.2em;
    min-width: 280px; /* Reduced min-width for better mobile display */
    vertical-align: bottom;
    text-align: center;
}

@media (min-width: 768px) {
    .dynamic-wrapper {
        min-width: 350px;
    }
}

.dynamic-word {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    white-space: nowrap;
    transition: all 0.5s cubic-bezier(0.2, 0, 0.2, 1);
    
    /* Background clip setup */
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.dynamic-word.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dynamic-word.out {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
}

.hero-1948de21-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.5);
    max-width: 700px;
    margin: 0 0 40px;
    line-height: 1.6;
    padding: 0 15px; /* Added padding for smaller screens */
}

.hero-1948de21-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.btn-primary-1948de21, .btn-secondary-1948de21 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-1948de21 {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
}
.btn-primary-1948de21:hover {
    background-color: #6a62e0; /* Default, can be overridden */
    transform: translateY(-2px);
}

.btn-secondary-1948de21 {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-secondary-1948de21:hover {
    background-color: rgba(255, 255, 255, 0.05); /* Default, can be overridden */
    border-color: rgba(255, 255, 255, 0.5); /* Default, can be overridden */
}

.hero-1948de21-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    width: 100%;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-text-wrap {
    display: flex;
    align-items: center;
}

.stat-text {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: #fff;
}
.stat-num {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: #fff;
}
.stat-plus {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    text-align: center;
}

/* Ticker */
.hero-1948de21-ticker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 2;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 30s linear infinite;
    width: fit-content;
}

.ticker-content {
    display: flex;
    align-items: center;
    padding-right: 30px;
}

.ticker-content span {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .hero-1948de21 {
        padding: 60px 15px 100px; /* Reduced top/bottom padding for mobile */
    }

    .hero-1948de21-title {
        font-size: 32px; /* Smaller font for mobile */
        margin-bottom: 30px; /* Give more room for the dynamic wrapper */
    }

    .dynamic-wrapper {
        min-width: 100%; /* Let it take full width on very small screens */
        display: block;  /* Block instead of inline-block helps with wrapping */
        height: 1.5em;   /* Slightly taller to ensure letters aren't clipped */
        margin-top: 5px;
    }

    .hero-1948de21-actions {
        flex-direction: column; /* Stack buttons vertically on mobile */
        align-items: center;
        gap: 12px;
        padding: 0 20px;
    }

    .btn-primary-1948de21, .btn-secondary-1948de21 {
        width: 100%; /* Full width buttons on mobile */
        max-width: 300px;
    }

    .hero-1948de21-stats {
        gap: 25px;
        flex-direction: column; /* Stack stats vertically */
        padding-top: 25px;
    }
    
    .hero-1948de21-halo {
        width: 100%;
        max-width: 400px;
        height: 300px;
        top: -100px;
    }
}
