/* Waitlist Page Specific Styles */

/* Main Content */
.page-container {
    padding-top: 100px;
    min-height: 100vh;
}

/* Waitlist Hero */
.waitlist-hero {
    /* min-height: 80vh; */ /* Commented out min-height */
    display: flex;
    align-items: center;
    position: relative;
    padding: 4rem 0 2.5rem; /* Changed from 4rem to 2.5rem bottom padding */
    padding-top: 200px;
    background: linear-gradient(135deg, var(--beige), white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-elements div {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.floating-heart { top: 15%; left: 10%; animation-delay: 0s; }
.floating-star { top: 25%; right: 15%; animation-delay: 1s; }
.floating-sparkle { top: 60%; left: 8%; animation-delay: 2s; }
.floating-rocket { top: 40%; right: 10%; animation-delay: 3s; }
.floating-calendar { top: 75%; left: 20%; animation-delay: 4s; }
.floating-bell { top: 10%; right: 25%; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.1; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 0.3; }
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--english-red);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.title-highlight {
    background: linear-gradient(135deg, var(--english-red), #8B4340);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* Waitlist Stats */
.waitlist-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    background: white;
    padding: 2rem 3rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--english-red);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.stat-divider {
    width: 2px;
    height: 60px;
    background: var(--light-gray);
}

/* Waitlist Form Section */
.waitlist-form-section {
    padding: 6rem 0;
    background: white;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--beige);
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 0 15px 50px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--english-red), var(--accent-gold), var(--english-red));
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.form-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Form Styles */
.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

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

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-input,
.form-select {
    padding: 1.25rem;
    border: 2px solid white;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--english-red);
    box-shadow: 0 4px 20px rgba(160, 82, 79, 0.2);
    transform: translateY(-2px);
}

.form-select {
    cursor: pointer;
    /* Fix iOS/Safari blue text color */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    color: var(--text-dark);
    color: #2C2C2C;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C2C2C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1.5em;
    padding-right: 3rem;
}

/* Ensure option text is also dark */
.form-select option {
    color: var(--text-dark);
    color: #2C2C2C;
    background-color: white;
}

/* Additional iOS fixes */
@supports (-webkit-touch-callout: none) {
    .form-select {
        color: #2C2C2C !important;
        -webkit-text-fill-color: #2C2C2C !important;
        opacity: 1 !important;
    }
}

/* Checkbox Styling */
.checkbox-group {
    margin: 1rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.form-checkbox {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid var(--light-gray);
    border-radius: 6px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-checkbox:checked + .checkbox-custom {
    background: var(--english-red);
    border-color: var(--english-red);
    transform: scale(1.1);
}

.form-checkbox:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
}

.checkbox-text a {
    color: var(--english-red);
    text-decoration: none;
    font-weight: 600;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

/* Waitlist Button */
.waitlist-btn {
    background: linear-gradient(135deg, var(--english-red), #8B4340);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    border-radius: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.waitlist-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(160, 82, 79, 0.4);
}

.waitlist-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-icon {
    font-size: 1.3rem;
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 1rem;
    font-style: italic;
}

/* Benefits Section */
.benefits-section {
    padding: 6rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-card {
    background: var(--beige);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--english-red), var(--accent-gold));
    transition: height 0.3s ease;
}

.benefit-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(160, 82, 79, 0.15);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.benefit-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.benefit-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Social Proof Section */
.social-proof-section {
    padding: 6rem 0;
    background: var(--beige);
}

.social-proof-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.social-proof-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.social-proof-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    line-height: 1.6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.7;
    font-style: italic;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: var(--english-red);
    opacity: 0.3;
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Social Share */
.social-share {
    margin-top: 3rem;
}

.share-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.share-btn.twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn.facebook {
    background: #4267B2;
    color: white;
}

.share-btn.copy {
    background: var(--text-dark);
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.share-icon {
    font-size: 1.2rem;
}

/* Success Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 25px;
    padding: 4rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.4s ease-out;
    position: relative;
}

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

.modal-header {
    margin-bottom: 2rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
    animation: celebration 1s ease-out;
}

@keyframes celebration {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.2) rotate(5deg); }
    50% { transform: scale(1.1) rotate(-5deg); }
    75% { transform: scale(1.3) rotate(3deg); }
}

.modal-header h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin: 0;
}

.modal-body p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-body strong {
    color: var(--english-red);
    font-weight: 700;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.share-waitlist-btn,
.modal-close-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.share-waitlist-btn {
    background: var(--english-red);
    color: white;
}

.modal-close-btn {
    background: var(--light-gray);
    color: var(--text-dark);
}

.share-waitlist-btn:hover,
.modal-close-btn:hover {
    transform: translateY(-2px);
}
.nav-logo {
    text-decoration: none !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .waitlist-hero {
        padding-top: 140px;
    }
    
    .waitlist-hero {
        /* min-height: 70vh; */ /* Commented out min-height */
        padding: 3rem 0 1.5rem; /* Reduced mobile bottom padding */
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .waitlist-stats {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    
    .stat-divider {
        width: 60px;
        height: 2px;
    }
    
    .form-container {
        padding: 2.5rem 2rem;
        margin: 0 1rem;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content {
        padding: 2.5rem 2rem;
        margin: 1rem;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .waitlist-btn {
        font-size: 1rem;
        padding: 1.25rem 1.5rem;
    }
    
    .benefit-icon {
        font-size: 2.5rem;
    }
    
    .floating-elements div {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .floating-elements,
    .modal,
    .social-share {
        display: none;
    }
    
    .waitlist-hero {
        background: white !important;
        padding: 2rem 0;
        min-height: auto;
    }
    
    .form-container,
    .benefit-card,
    .testimonial-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .page-container {
        padding-top: 0;
    }
    
    .waitlist-btn {
        display: none;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .floating-elements div,
    .hero-badge,
    .benefit-icon,
    .success-icon {
        animation: none;
    }
    
    .benefit-card:hover,
    .testimonial-card:hover,
    .waitlist-btn:hover,
    .share-btn:hover {
        transform: none;
    }
}

/* Focus styles for accessibility */
.waitlist-btn:focus,
.share-btn:focus,
.share-waitlist-btn:focus,
.modal-close-btn:focus {
    outline: 2px solid var(--english-red);
    outline-offset: 2px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .form-container,
    .benefit-card,
    .testimonial-card {
        border: 2px solid var(--text-dark);
    }
    
    .form-input,
    .form-select {
        border-color: var(--text-dark);
    }
    
    .checkbox-custom {
        border-color: var(--text-dark);
    }
}
