/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 140px 0 160px;
    margin-top: 60px;
    background: #0a192f;
    background: linear-gradient(135deg, #0a192f 0%, #112240 100%);
    color: white;
    position: relative;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(100, 255, 218, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(100, 255, 218, 0.08) 0%, transparent 25%);
    z-index: -1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgcGF0dGVyblRyYW5zZm9ybT0icm90YXRlKDQ1KSI+PHJlY3Qgd2lkdGg9IjUiIGhlaWdodD0iNSIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgZmlsbD0idXJsKCNwYXR0ZXJuKSIvPjwvc3ZnPg==');
    opacity: 0.5;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 1.5rem 0;
    color: white;
    position: relative;
    display: block;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
    border-radius: 2px;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #0f45f2 0%, #0a2fa7 100%);
    padding: 10px 24px 10px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 25px rgba(15, 69, 242, 0.3);
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    z-index: 1;
}

.hero-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
    z-index: -1;
}

.hero-subtitle i {
    margin-right: 10px;
    font-size: 1.2em;
    color: #64ffda;
    transition: transform 0.3s ease;
}

.hero-subtitle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(15, 69, 242, 0.4);
    letter-spacing: 1.8px;
}

.hero-subtitle:hover::before {
    transform: translateX(100%);
}

.hero-subtitle:hover i {
    transform: rotate(10deg) scale(1.1);
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    margin: 2rem 0 2.5rem;
    color: #ccd6f6;
    position: relative;
    max-width: 600px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding-left: 30px;
}

.hero-description::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    height: 70%;
    width: 3px;
    background: linear-gradient(to bottom, #4CAF50, #8BC34A);
    border-radius: 3px;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    margin: 2.5rem 0 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hero-buttons .btn i {
    font-size: 1.1em;
    min-width: 1.1em;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 0.7rem 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons .btn {
        padding: 0.65rem 1.1rem;
        font-size: 0.9rem;
    }
    
    .hero-buttons .btn i {
        font-size: 1em;
    }
}

.hero-features {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    width: 100%;
    justify-content: flex-start;
}

.hero-features .feature-item {
    background: rgba(100, 255, 218, 0.08);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #ccd6f6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.15);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    line-height: 1.4;
    flex-shrink: 0;
    text-align: left;
    justify-content: flex-start;
    width: auto;
}

.hero-features .feature-item i {
    color: #64ffda;
    margin-right: 8px;
    font-size: 0.9rem;
    min-width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* Responsive adjustments for icons */
@media (max-width: 768px) {
    .hero-features .feature-item i {
        font-size: 0.9rem;
        margin-right: 6px;
    }
}

@media (max-width: 480px) {
    .hero-features .feature-item i {
        font-size: 0.85rem;
        margin-right: 4px;
    }
}

/* Ensure proper alignment in flex container */
.hero-features {
    align-items: center;
}

.hero-features .feature-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.hero-features .feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(100, 255, 218, 0.2);
    background: rgba(100, 255, 218, 0.12);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-features {
        gap: 0.8rem;
    }
    
    .hero-features .feature-item {
        padding: 0.55rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hero-features {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.6rem;
    }
    
    .hero-features .feature-item {
        padding: 0.5rem 0.9rem;
        font-size: 0.82rem;
    }
    
    .hero-features .feature-item i {
        font-size: 0.85rem;
        margin-right: 6px;
    }
}

@media (max-width: 480px) {
    .hero-features {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hero-features .feature-item {
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        padding: 0.6rem 1rem;
        text-align: left;
        box-sizing: border-box;
    }
    
    .hero-features .feature-item i {
        margin-right: 8px;
    }
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin: 3rem 0 0;
    padding: 1.5rem 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
    width: 100%;
    background: rgba(100, 255, 218, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: left;
    position: relative;
    padding: 0.5rem 1rem;
    flex: 1;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(100, 255, 218, 0.2);
}

.stat-label {
    font-size: 0.9rem;
    color: #ccd6f6;
    font-weight: 500;
    display: block;
    opacity: 0.9;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Hover Effects */
.stat-item:hover {
    transform: translateY(-3px);
}

.stat-item:hover .stat-number {
    background: linear-gradient(135deg, #0f45f2 0%, #0a8af2 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-stats {
        gap: 1.5rem;
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 1rem;
        padding: 1rem;
        margin-top: 2rem;
    }
    
    .stat-item {
        min-width: 80px;
        padding: 0.5rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-item:not(:last-child)::after {
        height: 30px;
    }
}

@media (max-width: 576px) {
    .hero-stats {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.5rem 1rem;
    }
    
    .stat-item {
        width: 100%;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #0f45f2;
    background: linear-gradient(135deg, #0f45f2 0%, #0a2fa7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    display: block;
    font-family: var(--font-mono);
    letter-spacing: -1px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.hero-image {
    position: relative;
    z-index: 1;
    animation: float 6s ease-in-out infinite;
    margin-left: auto;
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    transform-style: preserve-3d;
    perspective: 1000px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2) 0%, rgba(139, 195, 74, 0.15) 100%);
    filter: blur(70px);
    z-index: -1;
    animation: float 8s ease-in-out infinite;
    opacity: 0.8;
    will-change: transform;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
    animation-delay: 1s;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
}

.hero-main-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    border: 8px solid #0a192f;
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg);
    display: block;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    background: #0a192f;
    will-change: transform;
    backface-visibility: hidden;
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.7);
}

.hero-main-image:hover {
    transform: perspective(1000px) rotateY(-5deg) rotateX(3deg) translateY(-5px);
    box-shadow: 0 40px 70px -15px rgba(0, 0, 0, 0.3);
}

.hero-main-image::before {
    content: '';
    position: absolute;
    inset: -8px;
    background: linear-gradient(45deg, #64ffda, #1e90ff);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.5;
    transform: translateZ(-10px);
    filter: blur(10px);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    opacity: 0.9;
    transition: all 0.3s ease;
    padding: 12px 24px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(100, 255, 218, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-top: 1.5rem;
}

.scroll-down:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(-3px);
    color: #64ffda;
    background: rgba(100, 255, 218, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.scroll-down i {
    font-size: 1.2rem;
    margin-top: 8px;
    animation: bounce 2s infinite;
    transition: all 0.3s ease;
}

.scroll-down:hover i {
    color: #64ffda;
    transform: translateY(3px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .scroll-down {
        bottom: 30px;
        font-size: 0.8rem;
        padding: 10px 20px;
    }
    
    .scroll-down i {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .scroll-down {
        bottom: 25px;
        font-size: 0.75rem;
        padding: 8px 18px;
        margin-top: 1rem;
    }
    
    .scroll-down i {
        font-size: 1rem;
        margin-top: 6px;
    }
}

@media (max-width: 480px) {
    .scroll-down {
        bottom: 20px;
        font-size: 0.7rem;
        padding: 6px 16px;
        letter-spacing: 0.5px;
    }
    
    .scroll-down i {
        font-size: 0.9rem;
        margin-top: 4px;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Hero image visibility */
.hero-main-image {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.15rem;
    }
}

@media (max-width: 1024px) {
    .hero {
        padding: 120px 0 140px;
        margin-top: 50px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-description {
        margin: 1.5rem auto 2.5rem;
        max-width: 600px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        margin: 40px auto 0;
        max-width: 90%;
        order: -1;
        transform: none !important;
    }
    
    .hero-main-image {
        transform: none !important;
        max-width: 100%;
    }
    
    .hero-stats {
        padding: 1.25rem 1.5rem;
        gap: 2rem;
        max-width: 100%;
    }
    
    .stat-item {
        padding: 0 1rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0 120px;
        margin-top: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin: 1.5rem 0;
    }
    
    .hero-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-description {
        padding-left: 0;
        margin: 1.5rem 0 2rem;
    }
    
    .hero-description::before {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
        max-width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }
    
    .stat-item {
        padding: 0.5rem 0;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .hero-features {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        margin: 1.5rem -20px 2rem;
        padding: 0 20px 10px;
    }
    
    .hero-features .feature-item {
        flex-shrink: 0;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 0 1rem;
    }
    
    .stat-item:not(:last-child)::after {
        right: -0.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 100px;
        margin-top: 30px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
        padding: 7px 15px 7px 14px;
        letter-spacing: 0.8px;
        margin-bottom: 18px;
    }
    
    .hero-subtitle i {
        font-size: 1.1em;
        margin-right: 8px;
    }
    
    .hero-description {
        font-size: 1rem;
        padding-left: 15px;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}
