/* Hero Section - Centered Layout */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 3rem;
    overflow: hidden;
    background: var(--gradient-surface);
    display: flex;
    align-items: center;
    min-height: 75vh;
}

.hero-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* Text Column - Centered */
.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.5rem;
    background: var(--gradient-subtle);
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2.5rem;
    border: 1px solid rgba(37, 99, 235, 0.25);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    animation: fadeInDown 0.8s ease-out;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-500);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--primary-500);
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.4; }
    70% { transform: scale(2); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text-primary {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-main {
    color: var(--text-main);
}

.hero-desc {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    font-weight: 400;
    max-width: 700px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    width: 100%;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--gradient-primary);
    color: white;
    padding: 1.125rem 2.5rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3), 0 0 0 0 rgba(37, 99, 235, 0.2);
    text-decoration: none;
    border: none;
    white-space: nowrap;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.4), 0 0 0 4px rgba(37, 99, 235, 0.1);
}

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

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: var(--text-main);
    padding: 1.125rem 2rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid var(--surface-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.btn-secondary:hover {
    background: var(--primary-50);
    border-color: var(--primary-400);
    color: var(--primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(1.02);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 500;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    width: 100%;
    padding-top: 3rem;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.hero-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-direction: row;
    justify-content: center;
}

.hero-stats .stat-item i {
    color: var(--primary-600);
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 1;
}

.hero-stats .stat-num {
    font-size: inherit;
    font-weight: 700;
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--text-main);
    background-clip: unset;
    line-height: 1.5;
}

.hero-stats .stat-label {
    font-size: inherit;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0;
}

.stat-divider {
    color: #cbd5e1;
    font-size: 1.2rem;
    display: inline-block;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    position: relative;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--primary-500);
    margin-bottom: 0.25rem;
    opacity: 0.8;
}

.stat-num {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.stat-divider {
    display: none;
}


/* Background Elements */
.hero-bg-elements {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--surface-200) 1px, transparent 1px),
        linear-gradient(90deg, var(--surface-200) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.4;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--primary-200);
    top: -200px;
    right: 10%;
    animation: float 10s ease-in-out infinite;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--secondary-200);
    bottom: -100px;
    left: 10%;
    animation: float 12s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, 20px); }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-wrapper {
        max-width: 100%;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-actions {
        gap: 0.875rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 1rem 1.75rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 900px) {
    .hero-actions {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .btn-primary,
    .btn-secondary {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 140px;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: calc(var(--header-height) + 1.5rem);
        padding-bottom: 2rem;
        min-height: auto;
    }

    .hero-wrapper {
        max-width: 100%;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1.25rem;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.3;
        margin-bottom: 1.25rem;
    }

    .hero-desc {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .hero-stats {
        gap: 1.5rem;
        padding-top: 2rem;
        flex-direction: column;
    }

    .stat-divider {
        display: none;
    }

    .hero-stats .stat-item {
        width: 100%;
        justify-content: center;
        align-items: center;
    }

    .stat-item i {
        font-size: 1.25rem;
    }
}