:root {
    --primary-color: #8b68ff;
    --secondary-color: #e0e0e0;
    --background-color: #121212;
    --card-background: #1e1e1e;
    --text-color: #ffffff;
    --error-color: #ff4d4d;
    --success-color: #2ecc71;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    --input-background: #2d2d2d;
    --input-border: #404040;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, sans-serif;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

/* Wavy Background Styles */
.wavy-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

h1 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.info-text {
    background-color: rgba(30, 30, 30, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(5px);
}

.feature-section {
    background-color: rgba(30, 30, 30, 0.8);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(5px);
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-description {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
    border-left: 2px solid var(--primary-color);
}

.feature-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.9;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.feature-text {
    text-align: left;
}

.feature-text h3 {
    color: var(--secondary-color);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.feature-text p {
    color: var(--text-color);
    opacity: 0.9;
}

form {
    background-color: rgba(30, 30, 30, 0.8);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    backdrop-filter: blur(5px);
}

.input-group {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

input {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--input-background);
    border: 2px solid var(--input-border);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    color: var(--text-color);
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
}

input.error {
    border-color: var(--error-color);
}

.error-message {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

button:hover:not(:disabled) {
    background-color: #7a54ff;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

button:disabled {
    background-color: #404040;
    cursor: not-allowed;
    opacity: 0.7;
}

.success-message {
    background-color: var(--success-color);
    color: white;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    margin-top: 1rem;
    animation: fadeIn 0.5s ease;
    backdrop-filter: blur(5px);
}

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

@media (max-width: 600px) {
    .container {
        margin: 1rem auto;
    }
    
    h1 {
        font-size: 2rem;
    }

    .feature-description {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .feature-text {
        text-align: center;
    }
}