/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Red Hat Display', sans-serif;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    color: #000;
    overflow-x: hidden;
    position: relative;
}

/* Add subtle noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Header Styles */
.header {
    padding: 20px 0 30px;
    text-align: center;
}

.logo {
    max-height: 250px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-bottom: 60px;
}

/* Content Boxes */
.content-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 0;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border: 2px solid #000;
    width: 100%;
    max-width: 600px;
    position: relative;
    overflow: hidden;
}

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


/* Email Section */
.email-section {
    text-align: center;
}

.email-description {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.5;
}

.form-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

#emailInput {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #000;
    border-radius: 0;
    font-size: 1rem;
    font-family: 'Red Hat Display', sans-serif;
    background: #FFFBEF;
    transition: all 0.3s ease;
}

#emailInput:focus {
    outline: none;
    border-color: #ff9a9e;
    box-shadow: 0 0 0 3px rgba(255, 154, 158, 0.2);
}

.submit-btn {
    padding: 15px 30px;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Red Hat Display', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.submit-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

/* Success Message */
.success-message {
    display: none;
    padding: 20px;
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    color: #fff;
    border-radius: 0;
    border: 2px solid #000;
    font-weight: 600;
    animation: slideIn 0.5s ease-out;
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress Section */
.progress-section {
    max-width: 800px;
}

.progress-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    text-align: center;
    margin-bottom: 40px;
}

.progress-container {
    position: relative;
}

.progress-bar {
    position: relative;
    height: 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 50px;
    border: 2px solid #000;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffd700 0%, #ff8c00 25%, #f4a460 50%, #ff69b4 75%, #ff1493 100%);
    border-radius: 0;
    width: 28.57%; /* 2 out of 7 steps */
    animation: progressAnimation 2.5s ease-out;
    position: relative;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes progressAnimation {
    from {
        width: 0%;
    }
    to {
        width: 28.57%;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.progress-points {
    display: flex;
    justify-content: space-between;
    position: relative;
    gap: 10px;
}

.point {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    min-width: 0;
}

.point-circle {
    width: 24px;
    height: 24px;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid #000;
    margin-bottom: 12px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.point.completed .point-circle {
    background: linear-gradient(135deg, #ffd700, #ff8c00, #f4a460, #ff69b4);
    border-color: #000;
    box-shadow: 
        0 0 0 4px rgba(255, 215, 0, 0.3),
        0 4px 12px rgba(255, 215, 0, 0.2);
    animation: completedPulse 2s infinite;
}

.point.upcoming .point-circle {
    background: rgba(0, 0, 0, 0.1);
    border-color: #000;
}

.point.upcoming .point-circle::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0;
    animation: upcomingPulse 2s infinite;
}

@keyframes completedPulse {
    0% {
        box-shadow: 
            0 0 0 4px rgba(255, 215, 0, 0.3),
            0 4px 12px rgba(255, 215, 0, 0.2);
    }
    50% {
        box-shadow: 
            0 0 0 8px rgba(255, 215, 0, 0.1),
            0 6px 16px rgba(255, 215, 0, 0.3);
    }
    100% {
        box-shadow: 
            0 0 0 4px rgba(255, 215, 0, 0.3),
            0 4px 12px rgba(255, 215, 0, 0.2);
    }
}

@keyframes upcomingPulse {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
    100% {
        opacity: 0.3;
        transform: scale(1);
    }
}

.checkmark {
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    animation: checkmarkAppear 0.5s ease-out 1s both;
}

@keyframes checkmarkAppear {
    from {
        opacity: 0;
        transform: scale(0);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.point-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    text-align: center;
    line-height: 1.2;
    max-width: 90px;
    word-wrap: break-word;
}

.point.completed .point-label {
    color: #000;
    font-weight: 600;
}

.point.upcoming .point-label {
    color: #999;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }
    
    .subheading {
        font-size: 1.8rem;
    }
    
    .content-box {
        padding: 30px 20px;
        margin: 0 10px;
        border-radius: 0;
    }
    
    .form-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .submit-btn {
        width: 100%;
    }
    
    .progress-points {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .point {
        min-width: 80px;
        flex: 0 0 auto;
    }
    
    .point-label {
        font-size: 0.75rem;
        max-width: 80px;
    }
    
    .progress-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 30px 0 40px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .subheading {
        font-size: 1.4rem;
    }
    
    .main-content {
        gap: 30px;
    }
    
    .content-box {
        padding: 25px 15px;
        border-radius: 0;
    }
    
    .progress-points {
        justify-content: center;
        gap: 10px;
    }
    
    .point {
        margin: 0 5px;
        min-width: 70px;
    }
    
    .point-label {
        font-size: 0.7rem;
        max-width: 70px;
    }
    
    .progress-title {
        font-size: 1.3rem;
    }
}
