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

html {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #6b46c1 0%, #9333ea 50%, #7c3aed 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

#bubbleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

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

h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.steps {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    padding: 4rem 2rem;
    margin: 2rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.step {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.flex-step {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.step:last-child {
    margin-bottom: 0;
}

.step h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.small-btn {
    font-size: 0.8rem;
    padding: 0.7rem 1.5rem;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #6b46c196, #9333ea96);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #6b46c1, #9233ea);
}

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

/* Warning and danger msg */
.warning {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-align: center;
}

.warning::before {
    content: "⚠️";
    font-size: 0.9rem;
}

.danger-warning {
    background: rgba(220, 53, 69, 0.2);
    border: 2px solid rgba(220, 53, 69, 0.6);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    text-align: center;
    font-weight: 600;
}

.danger-warning::before {
    content: "🔥";
    font-size: 1.2rem;
    margin-right: 8px;
}

/* Back link */
.back-link {
    position: fixed;
    top: 20px;
    left: 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    z-index: 99;
}

.back-link:hover {
    color: white;
}

/* Status messages */
.status-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

.status-success {
    background: rgba(40, 167, 69, 0.4);
    border: 1px solid rgba(40, 167, 69, 0.7);
    color: rgba(255, 255, 255, 0.9);
}

.status-error {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: rgba(255, 255, 255, 0.9);
}

/* Form Container */
.form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 10;
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Main Form */
.main-form {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 50px;
    position: relative;
}

/* Form Styling */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1.1rem;
}

.email-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.email-domain {
    position: absolute;
    right: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    pointer-events: none;
}

.storage-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.storage-option {
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.storage-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.storage-option.selected {
    background: rgba(126, 0, 196, 0.3);
    border-color: rgba(126, 0, 196, 0.8);
    color: white;
}

/* Scroll indicator  */
.scroll-indicator {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.3s ease;
    cursor: pointer;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    width: 12px;
    height: 12px;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
    margin-top: -5px;
}

.scroll-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    text-align: center;
    margin-top: 8px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.scroll-indicator:hover .scroll-arrow {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 1);
}

.scroll-indicator:hover .scroll-arrow::after {
    border-color: rgba(255, 255, 255, 1);
}

.scroll-indicator:hover .scroll-text {
    color: rgba(255, 255, 255, 1);
}

/* Confirmation Checkbox */
.confirmation-group {
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    border-radius: 10px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
}

.checkbox-input {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
    background: transparent;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.checkbox-input:checked {
    background: rgba(220, 53, 69, 0.8);
    border-color: rgba(220, 53, 69, 1);
}

.checkbox-input:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.checkbox-input:hover {
    border-color: rgba(255, 255, 255, 0.8);
}

.checkbox-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.4;
    cursor: pointer;
    font-weight: 500;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .steps {
        margin: 1rem;
        padding: 2rem 1rem;
    }
    
    .step h2 {
        font-size: 1.3rem;
    }

    .form-container {
        padding: 30px 20px;
        margin: 0 10px;
    }
            
    .form-title {
        font-size: 2rem;
    }
            
    .storage-selector {
        grid-template-columns: 1fr;
    }

    .checkbox-container {
        flex-direction: column;
    }

    .checkbox-input {
        margin-bottom: 10px;
        margin-right: 0;
    }
}
