/* BEM Block: community-page */
.community-page {
    font-family: var(--font-body, 'Open Sans', sans-serif);
    color: #495057;
    background-color: #f8f9fa;
}

/* BEM Block: page-header */
.page-header {
    background: linear-gradient(135deg, #553c9a, #6b46c1);
    color: #ffffff;
    padding: 3.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header__pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml, %3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
    opacity: 0.6;
}

.page-header__container {
    position: relative;
    z-index: 2;
}

.page-header__badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.page-header__badge-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.page-header__title {
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.page-header__subtitle {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 300;
    padding: 0 1rem;
    line-height: 1.6;
}

/* BEM Block: info-bar */
.info-bar {
    background-color: #6b46c1;
    color: #ffffff;
    padding: 0.875rem 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
}

.info-bar__container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.info-bar__text {
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.info-bar__icon {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.info-bar__cta {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.375rem 0.875rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
}

.info-bar__cta:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* BEM Block: main-content */
.main-content {
    padding: 2rem 0;
    background-color: #ffffff;
}

/* BEM Block: content-card */
.content-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    transition: all 0.3s ease;
    border-left: 4px solid #6b46c1;
    overflow: hidden;
}

.content-card__background {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: linear-gradient(to right, transparent, rgba(107, 70, 193, 0.05));
    z-index: 0;
    opacity: 0.5;
}

/* BEM Block: section-header */
.section-header {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.section-header__title {
    color: #553c9a;
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    position: relative;
    display: inline-block;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 700;
}

.section-header__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #553c9a, #6b46c1);
    border-radius: 4px;
}

.section-header__subtitle {
    color: #6b46c1;
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

/* BEM Block: section-content */
.section-content {
    position: relative;
    z-index: 1;
}

.section-content__text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.section-content__highlight {
    background-color: rgba(107, 70, 193, 0.08);
    border-left: 3px solid #6b46c1;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.section-content__highlight p {
    margin: 0;
    font-weight: 500;
    color: #553c9a;
}

/* BEM Block: value-props */
.value-props {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.value-prop {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.value-prop__icon {
    color: #48bb78;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.value-prop__text {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.5;
}

.value-prop__text strong {
    color: #553c9a;
}

/* BEM Block: feature-grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

/* BEM Block: feature-card */
.feature-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.75rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 3px solid #6b46c1;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.feature-card__icon {
    font-size: 2.25rem;
    color: #6b46c1;
    margin-bottom: 1.25rem;
}

.feature-card__title {
    color: #553c9a;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 600;
}

.feature-card__text {
    color: #495057;
    font-size: 0.95rem;
    margin-top: auto;
    line-height: 1.6;
}

/* BEM Block: countdown-section */
.countdown-section {
    margin-top: 3rem;
    background: linear-gradient(to right, rgba(107, 70, 193, 0.05), #ffffff, rgba(107, 70, 193, 0.05));
    padding: 2.5rem 1rem;
    border-radius: 12px;
}

.countdown-section__title {
    text-align: center;
    margin-bottom: 2rem;
    color: #553c9a;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 600;
    font-size: 1.5rem;
}

/* BEM Block: countdown-timer */
.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.countdown-timer__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 65px;
    margin-bottom: 0.5rem;
}

.countdown-timer__value {
    font-size: 2rem;
    font-weight: 700;
    color: #6b46c1;
    line-height: 1;
    margin-bottom: 0.375rem;
}

.countdown-timer__label {
    font-size: 0.8rem;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* BEM Block: notification-form */
.notification-form {
    max-width: 500px;
    margin: 3rem auto 0;
    padding: 1.75rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #6b46c1;
}

.notification-form__title {
    color: #553c9a;
    margin-bottom: 0.5rem;
    text-align: center;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 600;
    font-size: 1.3rem;
}

.notification-form__subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.notification-form__group {
    margin-bottom: 1.25rem;
}

.notification-form__label {
    display: block;
    margin-bottom: 0.375rem;
    color: #495057;
    font-weight: 600;
    font-size: 0.95rem;
}

.notification-form__input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    color: #495057;
    transition: all 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.notification-form__input:focus {
    border-color: #6b46c1;
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.25);
    outline: none;
}

.notification-form__submit {
    text-align: center;
}

.notification-form__note {
    text-align: center;
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 1rem;
}

/* BEM Block: button */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #553c9a, #6b46c1);
    color: #ffffff;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    white-space: nowrap;
    width: 100%;
    max-width: 320px;
}

.button:hover,
.button:focus {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(107, 70, 193, 0.3);
    color: #ffffff;
    background: linear-gradient(135deg, #4a3384, #5e3ca8);
}

.button:active {
    transform: translateY(-1px);
}

.button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.button__icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.button--secondary {
    background: #f8f9fa;
    color: #553c9a;
    border: 2px solid #6b46c1;
}

.button--secondary:hover,
.button--secondary:focus {
    background: #f0f0f0;
    color: #553c9a;
}

/* BEM Block: social-proof */
.social-proof {
    margin-top: 3rem;
    text-align: center;
}

.social-proof__title {
    color: #553c9a;
    margin-bottom: 1.75rem;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 600;
    font-size: 1.3rem;
}

.social-proof__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.social-proof__logo {
    opacity: 0.7;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    max-width: 100px;
    height: auto;
}

.social-proof__logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* BEM Block: cta-container */
.cta-container {
    text-align: center;
    margin-top: 3rem;
}

/* Success message styles */
.success-message {
    text-align: center;
    padding: 2rem 1rem;
}

.success-message__icon {
    font-size: 3rem;
    color: #48bb78;
    margin-bottom: 1rem;
}

.success-message__title {
    color: #48bb78;
    margin: 1rem 0;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 600;
    font-size: 1.5rem;
}

.success-message__text {
    font-size: 1rem;
    line-height: 1.6;
}

/* BEM Block: community-features */
.community-features {
    margin-top: 2rem;
}

.community-features__title {
    color: #553c9a;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 600;
    font-size: 1.3rem;
    text-align: center;
}

/* BEM Block: feature-list */
.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.feature-list__item {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    border-left: 3px solid #6b46c1;
    transition: all 0.3s ease;
}

.feature-list__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f0f0f5;
}

.feature-list__icon {
    color: #6b46c1;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.feature-list__text {
    font-size: 0.9rem;
    color: #495057;
}

/* BEM Block: community-stats */
.community-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2.5rem 0;
}

.community-stats__item {
    text-align: center;
    padding: 1.5rem 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border-bottom: 3px solid #6b46c1;
}

.community-stats__number {
    font-size: 2rem;
    font-weight: 700;
    color: #553c9a;
    margin-bottom: 0.5rem;
}

.community-stats__label {
    font-size: 0.9rem;
    color: #6c757d;
}

/* BEM Block: who-its-for */
.who-its-for {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
}

.who-its-for__title {
    color: #553c9a;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.who-its-for__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.who-its-for__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.who-its-for__icon {
    color: #6b46c1;
    font-size: 1.5rem;
}

.who-its-for__text {
    font-size: 0.95rem;
    color: #495057;
}

/* BEM Block: faq-section */
.faq-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.faq-section__title {
    color: #553c9a;
    font-family: var(--font-heading, 'Montserrat', sans-serif);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.faq-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
    border-left: 3px solid #6b46c1;
}

.faq-item__question {
    color: #553c9a;
    font-weight: 600;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.faq-item__icon {
    color: #6b46c1;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.faq-item__answer {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-left: 1.75rem;
}

/* Pulse animation for launch indicator */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(107, 70, 193, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(107, 70, 193, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(107, 70, 193, 0);
    }
}

.info-bar__pulse {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ffffff;
    margin-right: 0.75rem;
    animation: pulse 2s infinite;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

/* Loading spinner for button */
.loading-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Media Queries for responsive design */
@media(min-width: 768px) {
    .page-header {
        padding: 5rem 0;
    }

    .page-header__title {
        font-size: 3.25rem;
    }

    .page-header__subtitle {
        font-size: 1.4rem;
    }

    .content-card {
        padding: 3.5rem;
    }

    .section-header__title {
        font-size: 2.2rem;
    }

    .section-header__subtitle {
        font-size: 1.3rem;
    }

    .button {
        width: auto;
    }

    .countdown-timer__item {
        min-width: 80px;
    }

    .countdown-timer__value {
        font-size: 2.5rem;
    }

    .countdown-timer__label {
        font-size: 0.9rem;
    }

    .feature-card__title {
        font-size: 1.4rem;
    }

    .feature-card__text {
        font-size: 1rem;
    }

    .notification-form {
        padding: 2.5rem;
    }

    .section-content__text {
        font-size: 1.1rem;
    }
}

@media(max-width: 576px) {
    .community-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-list {
        flex-direction: column;
        align-items: center;
    }

    .feature-list__item {
        width: 100%;
        max-width: 280px;
    }

    .who-its-for__grid {
        grid-template-columns: 1fr;
    }

    .info-bar__container {
        flex-direction: column;
        text-align: center;
    }

    .info-bar__cta {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

/* Accessibility improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles for better accessibility */
.notification-form__input:focus-visible,
.button:focus-visible {
    outline: 3px solid rgba(107, 70, 193, 0.5);
    outline-offset: 2px;
}