/* Hero Section Styles */
:root {
    --primary-color: #0D0B9D;
    --secondary-color: #4361EE;
    --tertiary-color: #3ABFF8;
    --accent-color: #7259FF;
    --light-bg: #F8F9FE;
    --text-primary: #0F1033;
    --text-secondary: #64748B;
}

.hero {
    position: relative;
    min-height: 80vh;
    padding: 120px 0 80px;
    overflow: hidden;
    /* Changed to a more subtle background color */
    background-color: #f9faff;
}

/* Animated Background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-circle {
    position: absolute;
    border-radius: 50%;
    /* Reduced blur for cleaner look */
    filter: blur(60px);
    z-index: 1;
    /* Reduced opacity for subtlety */
    opacity: 0.4;
    transition: all 1s ease;
}

.circle-1 {
    width: 600px;
    height: 600px;
    /* Changed to a more subtle gradient */
    background: linear-gradient(135deg, rgba(13, 11, 157, 0.5), rgba(58, 191, 248, 0.5));
    top: -200px;
    right: -200px;
    animation: float-slow 15s infinite alternate ease-in-out;
}

.circle-2 {
    width: 400px;
    height: 400px;
    /* Changed to a more subtle gradient */
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.4), rgba(58, 191, 248, 0.4));
    bottom: -200px;
    left: -200px;
    animation: float-slow 12s infinite alternate-reverse ease-in-out;
}

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

/* Hero Content */
.hero-content {
    max-width: 600px;
}

.status-badge {
    display: inline-block;
    background: linear-gradient(90deg, var(--accent-color), var(--tertiary-color));
    color: white;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 20px;
    border-radius: 100px;
    margin-bottom: 24px;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.15);
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--primary-color);
}

.hero-title .highlight {
    display: block;
    color: var(--tertiary-color);
    background: linear-gradient(to right, var(--secondary-color), var(--tertiary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 20px;
    font-weight: 500;
    /* Darker text color for better contrast */
    color: #4a5568;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* Features */
.hero-features {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    /* Increased opacity for better contrast */
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    flex: 1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    /* Subtle border */
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

/* CTA Buttons */
.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.cta-button {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: inline-block;
}

.cta-button:first-child {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.2);
}

.cta-button.secondary {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-color);
    border: 1px solid rgba(67, 97, 238, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(67, 97, 238, 0.25);
}

/* Social Proof */
.social-proof {
    margin-top: 40px;
}

.social-proof p {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.trusted-companies {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.avatar-group {
    display: flex;
}

/* Avatars with faces */
.company-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: -10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.company-avatar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    transform: translate(-50%, -50%);
    background-color: white;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4a4 4 0 0 0-4 4v2a4 4 0 1 0 8 0V8a4 4 0 0 0-4-4zm5.5 10h-11A5.5 5.5 0 0 0 1 19.5V20c0 .5.5 1 1 1h20c.5 0 1-.5 1-1v-.5a5.5 5.5 0 0 0-5.5-5.5z'/%3E%3C/svg%3E") no-repeat center center;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 4a4 4 0 0 0-4 4v2a4 4 0 1 0 8 0V8a4 4 0 0 0-4-4zm5.5 10h-11A5.5 5.5 0 0 0 1 19.5V20c0 .5.5 1 1 1h20c.5 0 1-.5 1-1v-.5a5.5 5.5 0 0 0-5.5-5.5z'/%3E%3C/svg%3E") no-repeat center center;
}

.avatar-blue1 { background-color: #4361EE; }
.avatar-blue2 { background-color: #3A86FF; }
.avatar-purple { background-color: #7209B7; }
.avatar-pink { background-color: #F72585; }

.company-logos {
    display: flex;
    gap: 24px;
}

.logo-placeholder {
    width: 80px;
    height: 30px;
    background-color: rgba(100, 116, 139, 0.1);
    border-radius: 6px;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-img {
    max-width: 100%;
    height: auto;
    /* Removed border and shadow */
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* Mobile View - IMPROVED */
@media (max-width: 768px) {
    .hero {
        padding: 110px 0 60px;
        min-height: auto;
    }
    
    /* Reorder content for mobile */
    .hero .container {
        grid-template-columns: 1fr;
        gap: 50px;
        display: flex;
        flex-direction: column;
    }
    
    .hero-content {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    /* Move the hero image into the hero-content for mobile */
    .hero-content:after {
        content: "";
        order: 2;
        display: block;
        width: 100%;
    }
    
    /* Hide the original hero image container */
    .hero .hero-image {
        display: none;
    }
    
    /* Create a new hero image within the hero content */
    .hero-content:before {
        content: "";
        background-image: url("../heroimg.png");
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        max-width: 320px;
        height: 320px;
        margin: 15px auto 30px;
        order: 2;
        display: block;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 35px;
        width: 100%;
        order: 3;
    }

    .feature-card {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 20px;
    }
    
    .feature-icon {
        margin: 0 16px 0 0;
        width: 42px;
        height: 42px;
        flex-shrink: 0;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 16px;
        order: 4;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 16px 20px;
        display: block;
    }
    
    /* Increased title size for mobile */
    .hero-title {
        font-size: 42px;
        line-height: 1.2;
        margin-bottom: 22px;
        width: 100%;
        order: 1;
    }
    
    .hero-tagline {
        font-size: 17px;
        margin-bottom: 35px;
        order: 1;
    }
    
    /* Increased badge size for mobile */
    .status-badge {
        margin-bottom: 22px;
        font-size: 16px;
        padding: 9px 22px;
        order: 1;
    }
    
    .social-proof {
        margin-top: 35px;
        text-align: center;
        width: 100%;
        order: 5;
    }
    
    .company-logos {
        justify-content: center;
    }
    
    .avatar-group {
        justify-content: center;
    }
}

/* Small Mobile - Further Increased Text Sizes */
@media (max-width: 576px) {
    .hero-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .status-badge {
        font-size: 15px;
        padding: 8px 20px;
    }
    
    .hero-image {
        max-width: 280px;
    }
}

/* Animations */
@keyframes float-slow {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-50px);
    }
}