/* WEF-Inspired Join Page Styles */

/* WEF Main Container */
.wef-join-main {
    overflow-x: hidden;
}

/* Hero Section - Exact WEF Design */
.wef-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.wef-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--wef-navy-dark) 0%, var(--wef-navy-medium) 100%);
    z-index: 1;
}

.wef-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 26, 51, 0.85);
    z-index: 2;
}

.wef-hero-container {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.wef-hero-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: center;
    min-height: 600px;
}

.wef-hero-left {
    max-width: 600px;
}

.wef-hero-buttons {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 4px;
    width: fit-content;
}

.wef-hero-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.wef-hero-btn.active {
    background: white;
    color: var(--wef-navy-dark);
}

.wef-hero-btn:hover:not(.active) {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.wef-hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: white;
    font-family: 'Inter', sans-serif;
}

.wef-hero-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Signup Card */
.wef-signup-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 400px;
}

.wef-signup-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--wef-navy-dark);
    margin-bottom: 2rem;
    text-align: left;
}

.wef-form-group {
    margin-bottom: 1.5rem;
}

.wef-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--wef-charcoal);
    margin-bottom: 0.5rem;
}

.wef-form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
    color: var(--wef-charcoal);
}

.wef-form-input:focus {
    outline: none;
    border-color: var(--wef-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wef-continue-btn {
    width: 100%;
    background: var(--wef-blue);
    color: white;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.wef-continue-btn:hover {
    background: var(--wef-navy-medium);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.wef-form-terms {
    text-align: center;
}

.wef-form-terms p {
    font-size: 0.875rem;
    color: var(--wef-slate);
    line-height: 1.5;
}

.wef-form-terms a {
    color: var(--wef-blue);
    text-decoration: none;
}

.wef-form-terms a:hover {
    text-decoration: underline;
}

/* Benefits Section */
.wef-benefits-section {
    background: var(--wef-navy-dark);
    color: white;
    padding: 6rem 0;
}

.wef-benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.wef-benefits-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

.wef-benefits-grid {
    display: grid;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.wef-benefit-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.wef-benefit-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.wef-benefit-content {
    flex: 1;
}

.wef-benefit-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.wef-benefit-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.wef-cta-section {
    text-align: center;
    margin-top: 4rem;
}

.wef-cta-btn {
    background: var(--wef-blue);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.wef-cta-btn:hover {
    background: var(--wef-navy-medium);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Feature Cards Section */
.wef-cards-section {
    background: var(--wef-navy-light);
    padding: 4rem 0;
}

.wef-cards-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.wef-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.wef-feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wef-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.wef-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.wef-card-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Premium Section */
.wef-premium-section {
    background: var(--wef-navy-dark);
    color: white;
    padding: 6rem 0;
}

.wef-premium-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.wef-premium-title {
    font-size: 2.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
}

.wef-premium-grid {
    display: grid;
    gap: 4rem;
}

.wef-premium-item {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    align-items: center;
}

.wef-premium-item:nth-child(even) {
    grid-template-columns: 1fr 400px;
}

.wef-premium-item:nth-child(even) .wef-premium-image {
    order: 2;
}

.wef-premium-item:nth-child(even) .wef-premium-content {
    order: 1;
}

.wef-premium-image {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
}

.wef-premium-placeholder {
    width: 100%;
    height: 100%;
}

.wef-premium-content {
    max-width: 500px;
}

.wef-premium-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.wef-premium-list {
    list-style: none;
    padding: 0;
}

.wef-premium-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.wef-premium-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--wef-blue);
    font-weight: bold;
}

.wef-premium-list a {
    color: var(--wef-blue);
    text-decoration: none;
}

.wef-premium-list a:hover {
    text-decoration: underline;
}

.wef-compare-plans {
    text-align: center;
    margin-top: 4rem;
}

.wef-compare-link {
    color: var(--wef-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    padding: 12px 24px;
    border: 2px solid var(--wef-blue);
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.wef-compare-link:hover {
    background: var(--wef-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Final CTA Section */
.wef-final-cta {
    background: var(--wef-navy-medium);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.wef-final-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.wef-final-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.wef-final-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .wef-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .wef-signup-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .wef-hero-title {
        font-size: 2.75rem;
    }
    
    .wef-premium-item,
    .wef-premium-item:nth-child(even) {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .wef-premium-item:nth-child(even) .wef-premium-image,
    .wef-premium-item:nth-child(even) .wef-premium-content {
        order: initial;
    }
}

@media (max-width: 768px) {
    .wef-hero-title {
        font-size: 2.25rem;
    }
    
    .wef-benefits-title {
        font-size: 2rem;
    }
    
    .wef-benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .wef-cards-grid {
        grid-template-columns: 1fr;
    }
    
    .wef-signup-card {
        padding: 2rem;
    }
    
    .wef-hero-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .wef-hero-btn {
        flex: 1;
        text-align: center;
    }
    
    .wef-final-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .wef-final-buttons a {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .wef-hero-container,
    .wef-benefits-container,
    .wef-cards-container,
    .wef-premium-container,
    .wef-final-container {
        padding: 0 1rem;
    }
    
    .wef-hero-title {
        font-size: 1.75rem;
    }
    
    .wef-benefits-title {
        font-size: 1.5rem;
    }
    
    .wef-signup-card {
        padding: 1.5rem;
    }
    
    .wef-premium-section,
    .wef-benefits-section {
        padding: 4rem 0;
    }
}

/* Additional Animation for WEF-style smooth interactions */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wef-benefit-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.wef-benefit-item:nth-child(1) { animation-delay: 0.1s; }
.wef-benefit-item:nth-child(2) { animation-delay: 0.2s; }
.wef-benefit-item:nth-child(3) { animation-delay: 0.3s; }
.wef-benefit-item:nth-child(4) { animation-delay: 0.4s; }
.wef-benefit-item:nth-child(5) { animation-delay: 0.5s; }

/* Membership Quote Styles */
.wef-membership-quote {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.wef-quote-text {
    font-size: 2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    font-style: italic;
}

.wef-quote-subtext {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* EASE Framework Section */
.wef-ease-section {
    background: var(--wef-light-grey);
    padding: 6rem 0;
}

.wef-ease-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.wef-ease-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--wef-charcoal);
}

.wef-ease-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.wef-ease-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 23, 42, 0.1);
}

.wef-ease-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--wef-blue);
}

.wef-ease-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--wef-blue), var(--wef-navy-medium));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.wef-ease-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--wef-navy-dark);
    margin-bottom: 1rem;
}

.wef-ease-card-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--wef-slate);
}

/* Membership Tabs Styles */
.wef-membership-tabs {
    margin-top: 3rem;
}

.wef-tab-buttons {
    display: flex;
    justify-content: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 6px;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.wef-tab-btn {
    padding: 14px 24px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.wef-tab-btn.active {
    background: white;
    color: var(--wef-navy-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wef-tab-btn:hover:not(.active) {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.wef-tab-content {
    display: none;
}

.wef-tab-content.active {
    display: block;
}

/* Membership Tier Grid */
.wef-membership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.wef-membership-tier {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    border: 1px solid rgba(15, 23, 42, 0.1);
    overflow: hidden;
}

.wef-membership-tier:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-color: var(--wef-blue);
}

.wef-tier-header {
    background: linear-gradient(135deg, var(--wef-navy-dark), var(--wef-navy-medium));
    color: white;
    padding: 2.5rem 2rem 2rem;
    text-align: center;
}

.wef-tier-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.wef-tier-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.wef-tier-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--wef-gold);
    margin-bottom: 0.5rem;
}

.wef-tier-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

.wef-tier-benefits {
    padding: 2rem;
    list-style: none;
    margin: 0;
}

.wef-tier-benefits li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.5;
    color: var(--wef-slate);
}

.wef-tier-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--wef-blue);
    font-weight: bold;
    font-size: 1.1rem;
}

.wef-tier-btn {
    width: calc(100% - 4rem);
    margin: 0 2rem 2rem;
    background: linear-gradient(135deg, var(--wef-blue), var(--wef-navy-medium));
    color: white;
    padding: 16px 24px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wef-tier-btn:hover {
    background: linear-gradient(135deg, var(--wef-navy-medium), var(--wef-navy-dark));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Final CTA adjustments */
.wef-final-cta {
    background: var(--wef-navy-medium);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.wef-final-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.wef-final-title {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.wef-final-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.wef-final-buttons .wef-cta-btn {
    background: #1e40af;
    color: white;
}

.wef-final-buttons .wef-cta-btn:hover {
    background: #1e3a8a;
    color: white;
}

.wef-final-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.wef-contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.wef-contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.wef-contact-info a {
    color: white;
    text-decoration: none;
}

.wef-contact-info a:hover {
    text-decoration: underline;
    color: rgba(255, 255, 255, 0.9);
}

/* Enhanced responsive design for new sections */
@media (max-width: 768px) {
    .wef-ease-grid {
        grid-template-columns: 1fr;
    }
    
    .wef-ease-card {
        padding: 2rem 1.5rem;
    }
    
    .wef-ease-title {
        font-size: 2rem;
    }
    
    .wef-tab-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .wef-tab-btn {
        flex: none;
        padding: 12px 16px;
    }
    
    .wef-membership-grid {
        grid-template-columns: 1fr;
    }
    
    .wef-tier-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .wef-tier-price {
        font-size: 2rem;
    }
    
    .wef-tier-benefits {
        padding: 1.5rem;
    }
    
    .wef-quote-text {
        font-size: 1.5rem;
    }
    
    .wef-final-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .wef-final-buttons a {
        width: 250px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .wef-ease-section,
    .wef-premium-section {
        padding: 3rem 0;
    }
    
    .wef-ease-container,
    .wef-premium-container {
        padding: 0 1rem;
    }
    
    .wef-tier-btn {
        width: calc(100% - 2rem);
        margin: 0 1rem 1.5rem;
    }
}

/* Modal Overlay System */
.wef-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    overflow-y: auto;
}

.wef-modal-overlay.active {
    display: flex;
}

.wef-modal-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wef-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem 1rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
}

.wef-modal-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--wef-navy-dark);
    margin: 0;
}

.wef-modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--wef-slate);
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wef-modal-close:hover {
    background: rgba(15, 23, 42, 0.1);
    color: var(--wef-navy-dark);
}

.wef-modal-content {
    padding: 0 2.5rem 2.5rem;
}

/* Step Navigation */
.wef-modal-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
}

.wef-modal-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    height: 2px;
    background: var(--wef-light-grey);
    transform: translateY(-50%);
    z-index: 1;
}

.wef-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 200px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--wef-light-grey);
    color: var(--wef-slate);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.wef-step.active .step-number {
    background: var(--wef-blue);
    color: white;
}

.wef-step.completed .step-number {
    background: var(--wef-navy-dark);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: var(--wef-slate);
    text-align: center;
    font-weight: 500;
}

.wef-step.active .step-label {
    color: var(--wef-navy-dark);
    font-weight: 600;
}

/* Form Styles */
.wef-membership-form {
    position: relative;
}

.wef-form-step {
    display: none;
}

.wef-form-step.active {
    display: block;
}

.wef-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.wef-form-group {
    display: flex;
    flex-direction: column;
}

.wef-form-group.full-width {
    grid-column: 1 / -1;
}

.wef-form-group label {
    font-weight: 500;
    color: var(--wef-navy-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.wef-form-group input,
.wef-form-group select,
.wef-form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--wef-light-grey);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.wef-form-group input:focus,
.wef-form-group select:focus,
.wef-form-group textarea:focus {
    outline: none;
    border-color: var(--wef-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wef-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox Group */
.wef-checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 0.5rem;
}

.wef-checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.wef-checkbox-item:hover {
    background: rgba(59, 130, 246, 0.05);
}

.wef-checkbox-item input[type="checkbox"] {
    margin-right: 0.75rem;
    transform: scale(1.1);
    accent-color: var(--wef-blue);
}

.wef-checkbox-item span {
    font-size: 0.95rem;
    color: var(--wef-slate);
}

/* Selected Membership Summary */
.wef-selected-membership {
    background: linear-gradient(135deg, var(--wef-navy-dark), var(--wef-navy-medium));
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    color: white;
}

.wef-membership-summary h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

#selected-membership-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.membership-tier-name {
    font-size: 1.25rem;
    font-weight: 600;
}

.membership-tier-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--wef-gold);
}

.membership-tier-category {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Form Actions */
.wef-form-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--wef-light-grey);
}

.wef-btn {
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.wef-btn-primary {
    background: linear-gradient(135deg, var(--wef-blue), var(--wef-navy-medium));
    color: white;
}

.wef-btn-primary:hover {
    background: linear-gradient(135deg, var(--wef-navy-medium), var(--wef-navy-dark));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.wef-btn-secondary {
    background: var(--wef-light-grey);
    color: var(--wef-slate);
    border: 2px solid var(--wef-light-grey);
}

.wef-btn-secondary:hover {
    background: white;
    border-color: var(--wef-slate);
    color: var(--wef-navy-dark);
}

.wef-btn-submit {
    background: linear-gradient(135deg, var(--wef-navy-dark), var(--wef-blue));
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3);
}

.wef-btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.4);
}

/* Loading and Success States */
.wef-btn.loading {
    position: relative;
    color: transparent;
}

.wef-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .wef-modal-overlay {
        padding: 1rem;
    }
    
    .wef-modal-container {
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .wef-modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .wef-modal-content {
        padding: 0 1.5rem 1.5rem;
    }
    
    .wef-modal-title {
        font-size: 1.5rem;
    }
    
    .wef-modal-steps::before {
        display: none;
    }
    
    .wef-step {
        margin-bottom: 1rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .wef-form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wef-checkbox-group {
        grid-template-columns: 1fr;
    }
    
    #selected-membership-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .wef-form-actions {
        flex-direction: column;
    }
    
    .wef-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .wef-modal-overlay {
        padding: 0.5rem;
    }
    
    .wef-modal-header {
        padding: 1rem 1rem 0.5rem;
    }
    
    .wef-modal-content {
        padding: 0 1rem 1rem;
    }
    
    .wef-modal-steps {
        margin-bottom: 2rem;
    }
    
    .wef-form-grid {
        gap: 0.75rem;
    }
}