/* Social Proof Section inside Hero */
.hero-social-proof {
    margin-top: 5rem;
    width: 100%;
    max-width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
    overflow: hidden;
    /* Prevent horizontal scroll */
}

.hero-social-proof::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.trusted-label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

.logo-marquee {
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
    position: relative;
    /* Soft edges mask */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    padding: 1rem 0;
}

.logo-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marqueeScroll 80s linear infinite;
}

.proof-logo {
    height: 32px;
    width: auto;
    opacity: 0.8;
    filter: invert(1) brightness(2) grayscale(100%);
    object-fit: contain;
    flex-shrink: 0;
    margin-right: 5rem;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .proof-logo {
        height: 35px;
        margin-right: 3rem;
    }
}

/* Subscription Model Section */
.subscription-model {
    padding: 6rem 2rem;
    /* Standardized spacing */
    position: relative;
    overflow: hidden;
}

/* Background gradient specific to this section */
.subscription-model::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.subscription-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6rem;
}

.subscription-text {
    flex: 1;
    z-index: 2;
}

.subscription-text h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.subscription-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.role-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: var(--text-main);
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.role-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
    border-color: rgba(99, 102, 241, 0.3);
}

.role-icon {
    width: 32px;
    height: 32px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    font-size: 0.9rem;
}

.subscription-visual {
    flex: 1;
    position: relative;
    /* Ensure card background is visible even if it overflows slightly */
    z-index: 10;
}

/* Glass Card for "One Fixed Price" */
.subscription-card {
    background: rgba(20, 20, 35, 0.8);
    /* Slightly darker to make background stand out */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    min-height: 400px;
    /* Ensure space for the image */
}

/* Background Image Container */
/* Background Image Container */
.card-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/office.avif');
    /* Assuming image exists */
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    /* Reduced opacity */
    z-index: 0;
    /* Stronger fade mask */
    mask-image: linear-gradient(to bottom, black 20%, transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 90%);
}

.card-bg-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Noise texture overlay */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.15;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Ensure content sits above the background image */
.price-header,
.benefit-checks {
    position: relative;
    z-index: 1;
}

/* Top border gradient */
.subscription-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    z-index: 2;
}

.price-header {
    text-align: center;
    margin-bottom: 2rem;
}

.monthly-price {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.monthly-label {
    color: var(--text-muted);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.pricing-sub {
    margin-top: 0.8rem;
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-sub .highlight {
    color: #fff;
    font-weight: 700;
}

.benefit-checks {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-check {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: #e2e8f0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.check-icon-wrapper {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
    flex-shrink: 0;
}

.check-icon-wrapper i {
    color: #fff;
    font-size: 0.8rem;
    -webkit-text-fill-color: #fff;
    background: none;
}

@media (max-width: 968px) {
    .subscription-content {
        flex-direction: column;
        gap: 4rem;
        text-align: center;
    }

    .role-grid {
        text-align: left;
        max-width: 600px;
        margin: 0 auto 2.5rem;
    }

    .subscription-text h2 {
        font-size: 2.5rem;
    }

    .subscription-card {
        padding: 2rem;
    }
}