/* ================================
   NEW HERO SECTION STYLES
   ================================ */

.hero-new {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-dark));
    position: relative;
    overflow: hidden;
}

.hero-new::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-new::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-20px) translateX(10px); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Hero Content - Right Side */
.hero-content-new {
    padding: 20px 0;
}

.hero-main-title {
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: white;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle-new {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out;
}

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

/* Hero Buttons */
.hero-buttons-new {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    animation: fadeInUp 1.2s ease-out;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.3s ease;
}

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

.btn-hero i {
    font-size: 1.2rem;
    transition: transform var(--transition-normal);
}

.btn-hero:hover i {
    transform: scale(1.2) rotate(5deg);
}

.btn-hero-primary {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
    border-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.btn-hero-secondary:hover {
    background: white;
    color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Hero Stats */
.hero-stats-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    animation: fadeInUp 1.4s ease-out;
}

.stat-item-new {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.stat-item-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: white;
    background: white;
}

.stat-icon-new {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), #00d4aa);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.stat-content-new {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* Hero Image - Left Side */
.hero-image-new {
    position: relative;
    animation: fadeInRight 1s ease-out;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.main-hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-xl);
    transition: transform var(--transition-normal);
}

.image-wrapper:hover .main-hero-image {
    transform: scale(1.05);
}

/* Image Decorations */
.image-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 197, 142, 0.1);
    backdrop-filter: blur(10px);
}

.circle-1 {
    width: 100px;
    height: 100px;
    top: -20px;
    right: -20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    animation: pulse 3s ease-in-out infinite;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -30px;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2));
    animation: pulse 4s ease-in-out infinite;
}

.circle-3 {
    width: 80px;
    height: 80px;
    top: 50%;
    left: -20px;
    background: rgba(255, 255, 255, 0.15);
    animation: pulse 3.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* ================================
   DARK MODE
   ================================ */

body.dark-mode .hero-new {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

body.dark-mode .hero-main-title {
    background: linear-gradient(135deg, #c9d1d9 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.dark-mode .hero-subtitle-new {
    color: #8b949e;
}

body.dark-mode .stat-item-new {
    background: #21262d;
    border-color: #30363d;
}

body.dark-mode .stat-item-new:hover {
    border-color: var(--color-primary);
}

body.dark-mode .stat-number {
    color: #c9d1d9;
}

body.dark-mode .stat-text {
    color: #8b949e;
}

body.dark-mode .btn-hero-secondary {
    background: #21262d;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

body.dark-mode .btn-hero-secondary:hover {
    background: var(--color-primary);
    color: white;
}

body.dark-mode .image-wrapper {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-main-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero-subtitle-new {
        font-size: var(--font-size-lg);
    }
    
    .hero-stats-new {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stat-item-new {
        padding: 15px;
    }
    
    .stat-icon-new {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .hero-new {
        padding: 40px 0 30px;
    }
    
    .hero-main-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle-new {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons-new {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats-new {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 1.7rem;
    }
    
    .hero-subtitle-new {
        font-size: 1rem;
    }
    
    .btn-hero {
        padding: 14px 24px;
        font-size: 1rem;
    }
}
