@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;500;600;700&family=Montserrat:wght@200;300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
    .page-header {
        padding: 1rem 1.5rem;
        height: 80px;
    }
    
    .logo {
        height: 70px;
        margin-left: -10px;
    }
    
    .join-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }
    
    .contact-btn, .signin-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .main-title h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.8rem;
    }
    
    .main-content {
        margin-top: 200px;
        margin-right: 10%;
        flex-direction: column;
        text-align: center;
    }
    
    .main-content.mirrored {
        margin-left: 10%;
        flex-direction: column-reverse;
    }
    
    .main-title {
        padding: 1.5rem 2rem;
        margin: 2rem 0;
    }
    
    .main-content.mirrored .main-title {
        padding: 1.5rem 2rem;
    }
    
    .image-circle {
        margin-right: 0;
        margin-bottom: 2rem;
    }
    
    .main-content.mirrored .image-circle {
        margin-left: 0;
        margin-top: 2rem;
        margin-bottom: 0;
    }
    
    .circle-image {
        width: 280px;
        height: 280px;
    }
    
    .faq-container h2 {
        font-size: 2.2rem;
    }
    
    .final-cta-container h2 {
        font-size: 2.8rem;
    }
    
    .final-cta-btn {
        padding: 18px 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .main-title h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .subtitle {
        font-size: 1.4rem;
    }
    
    .circle-image {
        width: 240px;
        height: 240px;
        border: 8px solid #D4AF37;
    }
    
    .final-cta-btn {
        padding: 16px 40px;
        font-size: 1.3rem;
    }
    
    .join-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }
}

/* Scroll-triggered animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

body {
    font-family: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background: 
        linear-gradient(135deg, rgba(27, 67, 50, 0.05) 0%, rgba(212, 175, 55, 0.03) 100%),
        url('pickleball assets/main-background.jpg') center/cover no-repeat fixed;
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
    opacity: 0;
    animation: pageLoad 1s ease-out forwards;
}

@keyframes pageLoad {
    to {
        opacity: 1;
    }
}

.content-wrapper {
    padding-top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(248, 246, 240, 0.95);
    backdrop-filter: blur(15px);
    padding: 1.5rem 3rem;
    box-shadow: 0 4px 25px rgba(27, 67, 50, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 80px;
    width: auto;
    margin-left: -20px;
    filter: drop-shadow(0 4px 8px rgba(27, 67, 50, 0.1));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-3px) rotate(0.5deg); }
}

.logo:hover {
    transform: scale(1.05) rotate(2deg);
    filter: drop-shadow(0 8px 16px rgba(27, 67, 50, 0.2));
}

.main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 320px;
    margin-right: 25%;
    padding: 2rem 0;
}

.main-content.mirrored {
    margin-top: 120px;
    margin-right: 0;
    margin-left: 25%;
    padding: 2rem 0;
}

.image-circle {
    flex-shrink: 0;
    background: rgba(248, 246, 240, 0.95);
    backdrop-filter: blur(10px);
    padding: 22px;
    border-radius: 50%;
    margin-right: -10.5rem;
    z-index: 10;
    position: relative;
    box-shadow: 0 12px 35px rgba(27, 67, 50, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.circle-image {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    object-fit: cover;
    border: 12px solid #D4AF37;
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.3), inset 0 4px 8px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: imageGlow 4s ease-in-out infinite alternate;
}

@keyframes imageGlow {
    0% { 
        box-shadow: 0 12px 35px rgba(212, 175, 55, 0.3), inset 0 4px 8px rgba(255, 255, 255, 0.1);
        transform: rotate(0deg);
    }
    100% { 
        box-shadow: 0 15px 45px rgba(212, 175, 55, 0.5), inset 0 6px 12px rgba(255, 255, 255, 0.2);
        transform: rotate(1deg);
    }
}

.circle-image:hover {
    transform: scale(1.05) rotate(-2deg);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.6), inset 0 8px 16px rgba(255, 255, 255, 0.3);
}

.main-title {
    text-align: center;
    background: rgba(248, 246, 240, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem 3.5rem 2rem 13rem;
    border-radius: 20px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(27, 67, 50, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.main-content.mirrored .main-title {
    padding: 2rem 13rem 2rem 3.5rem;
}

.main-content.mirrored .image-circle {
    margin-left: -10.5rem;
    margin-right: 0;
}

.main-title h1 {
    color: #1B4332;
    font-size: 4rem;
    font-weight: 300;
    font-family: 'Playfair Display', serif;
    letter-spacing: -1px;
    line-height: 1.1;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    margin: 0 0 0.75rem 0;
}

.subtitle {
    color: #4A5568;
    font-size: 2.25rem;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    text-shadow: 1.5px 1.5px 3px rgba(0, 0, 0, 0.1);
}

.header-buttons {
    display: flex;
    gap: 1.5rem;
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
}

.contact-btn {
    background: rgba(248, 246, 240, 0.8);
    backdrop-filter: blur(10px);
    color: #1B4332;
    border: 2px solid rgba(27, 67, 50, 0.3);
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    border-radius: 35px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(27, 67, 50, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(27, 67, 50, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: rgba(27, 67, 50, 0.9);
    backdrop-filter: blur(15px);
    color: #F8F6F0;
    border-color: rgba(27, 67, 50, 0.6);
}

.header-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.join-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    color: #1B4332;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border-radius: 35px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.join-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.join-btn:hover::before {
    left: 100%;
}

.signin-btn {
    background: rgba(248, 246, 240, 0.8);
    backdrop-filter: blur(10px);
    color: #D4AF37;
    border: 2px solid rgba(212, 175, 55, 0.4);
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    border-radius: 35px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.signin-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    background: rgba(212, 175, 55, 0.9);
    backdrop-filter: blur(15px);
    color: #1B4332;
    border-color: rgba(212, 175, 55, 0.6);
}

.join-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #B8941F 0%, #D4AF37 100%);
}

.join-btn:active {
    transform: translateY(0) scale(1.02);
}

/* Premium Image Gallery Section */
.gallery-section {
    background: rgba(248, 246, 240, 0.95);
    backdrop-filter: blur(10px);
    padding: 8rem 2rem;
    margin: 4rem 0;
    border-radius: 0;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.gallery-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 300;
    color: #1B4332;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.gallery-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    color: #4A5568;
    margin-bottom: 4rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(27, 67, 50, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(27, 67, 50, 0.25);
}

.gallery-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(27, 67, 50, 0.9));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #D4AF37;
}

.gallery-overlay p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    margin: 0;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .image-gallery {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gallery-container h2 {
        font-size: 2.5rem;
    }
    
    .gallery-subtitle {
        font-size: 1.2rem;
    }
    
    .gallery-image {
        height: 280px;
    }
}

.faq-section {
    margin-top: 120px;
    padding: 80px 0 60px 0;
    background: rgba(248, 246, 240, 0.7);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.faq-container h2 {
    color: #1B4332;
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    margin-bottom: 3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
    background: rgba(248, 246, 240, 0.95);
    padding: 1rem 2rem;
    border-radius: 15px;
    display: inline-block;
}

.faq-item {
    background: rgba(248, 246, 240, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(27, 67, 50, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(212, 175, 55, 0.15);
    overflow: hidden;
    text-align: left;
}

.faq-item:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 15px 40px rgba(27, 67, 50, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(212, 175, 55, 0.3);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem;
    cursor: pointer;
    user-select: none;
    background: linear-gradient(135deg, rgba(248, 246, 240, 0.5) 0%, rgba(255, 255, 255, 0.2) 100%);
}

.faq-question h3 {
    color: #1B4332;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    margin: 0;
}

.faq-toggle {
    color: #D4AF37;
    font-size: 2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 2.5rem 2rem 2.5rem;
}

.faq-answer p {
    color: #4A5568;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    line-height: 1.7;
    margin: 0;
}

/* Final Call to Action Section */
.final-cta-section {
    padding: 100px 0;
    text-align: center;
    background: rgba(248, 246, 240, 0.8);
    backdrop-filter: blur(15px);
    margin-top: 0px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.final-cta-container {
    max-width: 700px;
    padding: 3rem 2rem;
    background: rgba(248, 246, 240, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(27, 67, 50, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin: 0 auto;
    padding: 0 2rem;
}

.final-cta-container h2 {
    color: #1B4332;
    font-size: 3.2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
    line-height: 1.2;
    letter-spacing: -1px;
}

.final-cta-container p {
    color: #4A5568;
    font-size: 1.4rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    margin-bottom: 2.5rem;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.final-cta-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    color: #1B4332;
    border: none;
    padding: 25px 70px;
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border-radius: 60px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    animation: ctaPulse 3s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { 
        box-shadow: 0 12px 40px rgba(212, 175, 55, 0.4), inset 0 2px 0 rgba(255, 255, 255, 0.2);
    }
    50% { 
        box-shadow: 0 15px 50px rgba(212, 175, 55, 0.6), inset 0 3px 0 rgba(255, 255, 255, 0.3);
    }
}

.final-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.final-cta-btn:hover::before {
    left: 100%;
}

.final-cta-btn:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.6), inset 0 2px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #B8941F 0%, #D4AF37 100%);
    letter-spacing: 3px;
}

.final-cta-btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.modal-overlay {
    background: rgba(27, 67, 50, 0.8);
    backdrop-filter: blur(8px);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

.modal-content {
    background: rgba(248, 246, 240, 0.98);
    border-radius: 25px;
    padding: 3rem;
    max-width: 550px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(27, 67, 50, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.2);
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1.5rem;
    position: relative;
}


.modal-header h2 {
    color: #4a5568;
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

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

.modal-close:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: scale(1.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.contact-form label {
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    padding: 0.875rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(247, 250, 252, 0.8);
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form select {
    cursor: pointer;
}

.contact-form select option {
    background: white;
    color: #4a5568;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.character-counter {
    text-align: right;
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

.checkbox-group {
    margin: 1rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #4a5568;
    font-weight: 500;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #667eea;
    border-radius: 4px;
    position: relative;
    background: rgba(247, 250, 252, 0.8);
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #8a5bb8;
    border-color: #8a5bb8;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark:after {
    display: block;
}

.checkbox-label:hover .checkmark {
    border-color: #8a5bb8;
    background: rgba(102, 126, 234, 0.1);
}

.btn-waitlist {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    width: 100%;
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
}

.btn-waitlist:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
}

.waitlist-newsletter {
    margin-top: 9px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.btn-cancel {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px);
}

.btn-submit {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    color: #1B4332;
    border: none;
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.btn-submit:hover {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #B8941F 0%, #D4AF37 100%);
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-submit:hover::before {
    left: 100%;
}

/* Waitlist and expansion buttons */
.btn-waitlist {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    color: #1B4332;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    width: 100%;
    margin-top: 1rem;
    font-size: 0.95rem;
    will-change: transform, box-shadow;
    transform: translate3d(0, 0, 0);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    backface-visibility: hidden;
}

.btn-waitlist:hover {
    transform: translate3d(0, -1px, 0);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #B8941F 0%, #D4AF37 100%);
}

.btn-waitlist:active {
    transform: translateY(-1px) scale(1.01);
}

.btn-waitlist::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-waitlist:hover::before {
    left: 100%;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.contact-form .error-message {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.contact-form .error-message.show {
    display: block;
}

.contact-form .success-message {
    text-align: center;
    padding: 2rem;
    background: rgba(240, 255, 244, 0.9);
    border: 2px solid #68d391;
    border-radius: 15px;
    color: #2f855a;
}

.contact-form .success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2f855a;
}

.membership-submit {
    background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%) !important;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    color: #1B4332 !important;
}

.membership-submit:hover {
    background: linear-gradient(135deg, #B8941F 0%, #D4AF37 100%) !important;
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

.availability-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background: rgba(247, 250, 252, 0.9);
    border: 2px solid #e2e8f0;
}

.availability-loading {
    display: flex;
    align-items: center;
    color: #667eea;
    font-weight: 500;
}

.loading-text {
    margin-left: 0.5rem;
}

.loading-text::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% {
        color: rgba(0,0,0,0);
        text-shadow: .25em 0 0 rgba(0,0,0,0), .5em 0 0 rgba(0,0,0,0);
    }
    40% {
        color: #667eea;
        text-shadow: .25em 0 0 rgba(0,0,0,0), .5em 0 0 rgba(0,0,0,0);
    }
    60% {
        text-shadow: .25em 0 0 #667eea, .5em 0 0 rgba(0,0,0,0);
    }
    80%, 100% {
        text-shadow: .25em 0 0 #667eea, .5em 0 0 #667eea;
    }
}

.availability-message {
    display: none;
    margin-top: 1rem;
}

.availability-message.show {
    display: block;
}

.waitlist-message {
    color: #f56565;
    font-weight: 600;
    padding: 1rem;
    background: rgba(254, 215, 215, 0.8);
    border: 2px solid #feb2b2;
    border-radius: 10px;
    text-align: center;
}

.available-message {
    color: #38a169;
    font-weight: 600;
    padding: 1rem;
    background: rgba(240, 255, 244, 0.8);
    border: 2px solid #9ae6b4;
    border-radius: 10px;
    text-align: center;
}

.btn-close {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    margin: 1rem;
    margin-top: 100px;
}

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

header h1 {
    color: #4a5568;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

header p {
    color: #718096;
    font-size: 1.1rem;
}

.intake-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

label {
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    color: #1B4332;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    letter-spacing: 0.25px;
}

input, select, textarea {
    padding: 1rem 1.25rem;
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(248, 246, 240, 0.8);
    backdrop-filter: blur(5px);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #D4AF37;
    background: rgba(248, 246, 240, 0.95);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15), 0 4px 12px rgba(212, 175, 55, 0.1);
    transform: translateY(-1px);
}

input:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #e53e3e;
    background: #fed7d7;
}

/* Enhanced focus indicators for accessibility */
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.6);
    outline-offset: 2px;
}

/* Custom scrollbar for modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(212, 175, 55, 0.1);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.4);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.6);
}

.error-message {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show {
    display: block;
}

.submit-btn {
    background: #8a5bb8;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.success-message {
    text-align: center;
    padding: 2rem;
    background: #f0fff4;
    border: 2px solid #68d391;
    border-radius: 8px;
    color: #2f855a;
}

.success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
    .container {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    input, .submit-btn {
        padding: 0.75rem;
    }
}

/* Sign-in specific styles */
.signin-error {
    background: rgba(254, 226, 226, 0.9);
    border: 2px solid #e53e3e;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    color: #742a2a;
    font-size: 0.875rem;
}

.signin-error p {
    margin: 0;
    font-weight: 500;
}

/* Modal logo styles */
.modal-header-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-logo {
    height: 80px;
    width: auto;
}

/* Sign-in modal specific header styling */
#signinModal .modal-header {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Loading spinner styles */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #7B3FF2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

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

.btn-submit.loading {
    opacity: 0.8;
    cursor: not-allowed;
}

.form-status {
    padding: 0.75rem;
    margin: 1rem 0;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}

.form-status.sending {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    color: #4a5568;
    display: block;
}

.form-status.success {
    background: rgba(240, 255, 244, 0.9);
    border: 2px solid #68d391;
    color: #2f855a;
    display: block;
}

.form-status.error {
    background: rgba(254, 226, 226, 0.9);
    border: 2px solid #e53e3e;
    color: #742a2a;
    display: block;
}