/* Join Section Styles */
.join-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.join-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(108, 99, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.join-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.join-two-box-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.registration-box, .value-urgency-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: visible;
    min-height: 600px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.registration-box {
    border: 2px solid transparent;
    background: linear-gradient(rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.03)) padding-box,
                linear-gradient(135deg, #4CAF50, #6C63FF) border-box;
    position: relative;
}

.registration-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #4CAF50, #6C63FF);
    border-radius: 20px;
    z-index: -1;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.value-urgency-box {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.registration-box:hover, .value-urgency-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.free-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    animation: pulse 2s infinite;
}

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

.free-badge i {
    font-size: 0.8rem;
    animation: sparkle 1.5s ease-in-out infinite;
}

.registration-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    line-height: 1.2;
}

.registration-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.trust-badges {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: white !important;
    backdrop-filter: blur(10px);
}

.trust-badge i {
    color: #4CAF50;
    font-size: 0.9rem;
}

.trust-badge span {
    color: white !important;
}

.registration-box .trust-badge {
    color: white !important;
}

/* Registration Form Integration */
.registration-form-container {
    margin-top: 25px;
    margin-bottom: 20px;
}

.registration-form-container .registration-form {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 25px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: visible;
}

.registration-form-container .registration-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #4CAF50, #6C63FF);
    border-radius: 16px 16px 0 0;
}

/* Form field improvements for better conversion */
.registration-form-container .form-group {
    margin-bottom: 16px;
}

.registration-form-container .form-group input,
.registration-form-container .form-group select {
    padding: 12px 16px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.registration-form-container .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 400;
}

.registration-form-container .form-group select {
    color: rgba(255, 255, 255, 0.95);
}

.registration-form-container .form-group input:focus,
.registration-form-container .form-group select:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 1);
}

.registration-form-container .btn-primary {
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 10px;
}

.registration-form-container .btn-primary:hover {
    background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

/* Enhanced Fire Alert Section */
.fire-alert {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(255, 87, 87, 0.25), rgba(255, 138, 128, 0.25));
    border: 2px solid rgba(255, 87, 87, 0.4);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(255, 87, 87, 0.15);
}

.fire-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: sweep 3s infinite;
}

@keyframes sweep {
    0% { left: -100%; }
    100% { left: 100%; }
}

.fire-icon {
    font-size: 2rem;
    color: #FF5757;
    animation: intense-flicker 1.2s ease-in-out infinite alternate;
    text-shadow: 0 0 10px rgba(255, 87, 87, 0.5);
    position: relative;
    z-index: 1;
}

@keyframes intense-flicker {
    0% { 
        opacity: 1; 
        transform: scale(1) rotate(-2deg); 
        text-shadow: 0 0 10px rgba(255, 87, 87, 0.5);
    }
    100% { 
        opacity: 0.9; 
        transform: scale(1.15) rotate(2deg); 
        text-shadow: 0 0 20px rgba(255, 87, 87, 0.8);
    }
}

.fire-alert-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.fire-alert-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FF5757;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(255, 87, 87, 0.3);
}

.fire-alert-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

.fire-alert-content p strong {
    color: #FFD700;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    font-size: 1.1em;
}

.countdown-section {
    text-align: center;
    margin-bottom: 30px;
}

.countdown-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.countdown-timer-enhanced {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.timer-block {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px 10px;
    min-width: 60px;
    text-align: center;
}

.timer-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #4CAF50;
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    margin-bottom: 5px;
}

.timer-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timer-separator {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    font-weight: 700;
}

.value-proposition {
    flex: 1;
}

.value-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.value-header i {
    color: #4CAF50;
    font-size: 1.3rem;
}

.value-header h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    text-align: center;
    line-height: 1.3;
}

.value-items {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.join-value-item {
    display: flex;
    align-items: center;
    padding: 20px;
    background: linear-gradient(145deg, rgba(16, 25, 65, 0.95) 0%, rgba(28, 35, 75, 0.95) 100%);
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.join-value-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.join-value-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 99, 255, 0.15);
    border-radius: 50%;
    margin-right: 18px;
}

.join-value-item span:first-of-type {
    flex: 1;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.join-value-price {
    color: #75FFB0;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
    background: rgba(0, 200, 100, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
}

.total-value {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

.original-price {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.crossed-out {
    text-decoration: line-through;
    color: #ff4757;
}

.free-price {
    font-size: 1.1rem;
    font-weight: 600;
}

.free-highlight {
    color: #4CAF50;
    font-size: 2rem;
    font-weight: 700;
    display: block;
    text-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
    margin: 10px 0;
}

.savings-highlight {
    color: #FF5757;
    font-weight: 600;
    font-size: 1rem;
}

.guarantee-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.guarantee-section i {
    color: #4CAF50;
    font-size: 2rem;
    margin-bottom: 15px;
}

.guarantee-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.guarantee-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 968px) {
    .join-section {
        padding: 50px 0;
    }
    
    .join-section-header {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .join-section-header h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 15px;
    }
    
    .join-section-header p {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }
    
    .join-two-box-container {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
        max-width: 600px;
    }
    
    .registration-box, .value-urgency-box {
        padding: 25px 20px;
        min-height: auto;
        border-radius: 16px;
    }
    
    /* Registration Box Mobile */
    .free-badge {
        font-size: 0.85rem;
        padding: 10px 16px;
        margin-bottom: 20px;
    }
    
    .registration-content h3 {
        font-size: clamp(1.4rem, 4vw, 1.8rem);
        margin-bottom: 12px;
    }
    
    .registration-content p {
        font-size: clamp(0.95rem, 2.5vw, 1.1rem);
        margin-bottom: 25px;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 25px;
    }
    
    .trust-badge {
        justify-content: center;
        padding: 12px 16px;
        font-size: 0.8rem;
    }
    
    /* Registration Form Mobile Optimization */
    .registration-form-container .registration-form {
        padding: 20px;
        border-radius: 12px;
    }
    
    .registration-form-container .form-group input,
    .registration-form-container .form-group select {
        padding: 14px 16px;
        font-size: 16px; /* Prevents zoom on iOS */
        border-radius: 8px;
        min-height: 48px; /* Touch-friendly */
    }
    
    .registration-form-container .btn-primary {
        padding: 16px 20px;
        font-size: 16px;
        min-height: 48px;
        border-radius: 8px;
        margin-top: 15px;
    }
    
    /* Fire Alert Mobile */
    .fire-alert {
        padding: 16px;
        gap: 12px;
        border-radius: 12px;
        margin-bottom: 25px;
    }
    
    .fire-icon {
        font-size: 1.6rem;
    }
    
    .fire-alert-content h4 {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-bottom: 6px;
    }
    
    .fire-alert-content p {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }
    
    /* Countdown Mobile */
    .countdown-section h3 {
        font-size: clamp(1.1rem, 3vw, 1.3rem);
        margin-bottom: 15px;
    }
    
    .countdown-timer-enhanced {
        gap: 8px;
        margin-bottom: 15px;
    }
    
    .timer-block {
        padding: 12px 8px;
        min-width: 50px;
        border-radius: 8px;
    }
    
    .timer-number {
        font-size: 1.4rem;
        margin-bottom: 4px;
    }
    
    .timer-label {
        font-size: 0.65rem;
    }
    
    .timer-separator {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .join-two-box-container {
        padding: 0 10px;
        gap: 20px;
    }
    
    .registration-box, .value-urgency-box {
        padding: 20px 15px;
    }
    
    .countdown-timer-enhanced {
        gap: 6px;
    }
    
    .timer-block {
        min-width: 50px;
        padding: 12px 8px;
    }
    
    .timer-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .registration-box, .value-urgency-box {
        padding: 25px 20px;
    }
    
    .registration-content h3 {
        font-size: 1.5rem;
    }
    
    .registration-content p {
        font-size: 1rem;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: 10px;
    }
    
    .trust-badge {
        justify-content: center;
    }
    
    .countdown-timer-enhanced {
        gap: 8px;
    }
    
    .timer-block {
        min-width: 45px;
        padding: 10px 6px;
    }
    
    .timer-number {
        font-size: 1.3rem;
    }
    
    .timer-label {
        font-size: 0.6rem;
    }
    
    .value-header h4 {
        font-size: 1.2rem;
    }
    
    .value-item {
        padding: 12px 0;
    }
    
    .value-item span:first-of-type {
        font-size: 0.9rem;
    }
    
    .free-highlight {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .registration-box, .value-urgency-box {
        padding: 20px 15px;
    }
    
    .free-badge {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    
    .registration-content h3 {
        font-size: 1.3rem;
    }
    
    .countdown-section h3 {
        font-size: 1.1rem;
    }
    
    .countdown-timer-enhanced {
        gap: 6px;
    }
    
    .timer-block {
        min-width: 40px;
        padding: 8px 4px;
    }
    
    .timer-number {
        font-size: 1.1rem;
    }
    
    .timer-separator {
        font-size: 1.2rem;
    }
    
    .value-header h4 {
        font-size: 1.1rem;
    }
    
    .guarantee-section {
        padding: 15px;
    }
    
    .guarantee-section i {
        font-size: 1.5rem;
    }
    
    .guarantee-section h4 {
        font-size: 1rem;
    }
    
    .guarantee-section p {
        font-size: 0.85rem;
    }
}
