/* Custom styles that complement Tailwind */
.StripeElement {
    box-sizing: border-box;
    height: 40px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background-color: white;
    box-shadow: 0 1px 3px 0 #e6ebf1;
    -webkit-transition: box-shadow 150ms ease;
    transition: box-shadow 150ms ease;
}

.StripeElement--focus {
    box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
    border-color: #fa755a;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.3s ease-in;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .max-w-md {
        width: 100%;
        padding: 1rem;
    }
}

/* Import Poppins font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Navbar styles */
nav {
    border-bottom: 1px solid rgba(45, 212, 191, 0.2);
    box-shadow: 0 2px 10px rgba(45, 212, 191, 0.1);
}

/* Desktop navigation links */
.nav-link {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem;
    transition: all 0.3s ease-in-out;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: #2DD4BF;
    transition: all 0.3s ease-in-out;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #2DD4BF;
}

.nav-link:hover::after {
    width: 100%;
}

/* CTA Button */
.cta-button {
    color: #2DD4BF;
    border: 2px solid #2DD4BF;
    padding: 0.625rem 1.25rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

.cta-button:hover {
    background-color: #2DD4BF;
    color: white;
    transform: translateY(-1px);
}

/* Mobile navigation */
.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

.mobile-nav-link:hover {
    background-color: rgba(45, 212, 191, 0.1);
    color: #2DD4BF;
}

.mobile-cta-button {
    display: block;
    margin: 1rem;
    padding: 0.75rem;
    text-align: center;
    background-color: #2DD4BF;
    color: white;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

.mobile-cta-button:hover {
    background-color: #26bba8;
}

/* Mobile menu animation */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
}

#mobile-menu.active {
    transform: scaleY(1);
    opacity: 1;
}

/* Add loading spinner styles */
.spinner {
    display: inline-block;
    opacity: 0.7;
}

.spinner:after {
    content: '...';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60% { content: '...'; }
    80%, 100% { content: ''; }
}

/* Disable pointer events while loading */
button:disabled {
    cursor: not-allowed;
    opacity: 0.7;
} 