:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #8b5cf6;
    --text: #0f172a;
    --text-light: #64748b;
    --error: #ef4444;
    --success: #22c55e;
    --background: #f8fafc;
    --card: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.container {
    width: 100%;
    max-width: 480px;
}

.box {
    background: var(--card);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.head {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.logo-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid  var(--site-clr);
    border-radius: 50%;
    animation: rotate 4s linear infinite;
}

.logo-container i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: var(--site-clr);
    background: var(--card);
    padding: 1rem;
    border-radius: 50%;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.head h2 {
    color: var(--text);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.head span {
    color: var(--text-light);
    font-size: 0.95rem;
}

.progress-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.progress {
    height: 4px;
    flex: 1;
    background: #e2e8f0;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--primary);
    transition: width 0.3s ease;
}

.progress.active::after { width: 100%; }
.progress.completed::after { 
    width: 100%;
    background: var(--success);
}

.inputs-wrapper {
    margin-bottom: 1.5rem;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.input-field {
    margin-bottom: 0.75rem;
}

.input-field label {
    display: block;
    color: var(--text);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.input-group {
    position: relative;
    background: var(--background);
    border-radius: 12px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    background: var(--card);
    box-shadow: 0 0 0 2px var(--primary);
}

.input-group i {
    color: var(--text-light);
    font-size: 1.1rem;
}

.input-group input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--text);
    font-size: 1rem;
}

.error {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    margin: 1rem 0;
}

.custom-checkbox .checkmark {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid var(--text-light);
    border-radius: 4px;
    background-color: var(--background);
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.custom-checkbox .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark::after {
    display: block;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.pulse-button {
    position: relative;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.pulse-button:hover {
    transform: translateY(-2px);
}

.pulse-button::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shine 1.5s infinite;
}

@keyframes shine {
    100% { left: 100%; }
}

.outline-button {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 80%;
    margin: 1rem auto 0;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.outline-button:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.outline-button i {
    font-size: 0.9rem;
}

button[type="submit"] {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 1rem;
}

button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.floating-card {
    text-align: center;
    color: white;
    margin-top: 1.5rem;
    padding: 1rem;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.floating-card a {
    color: white;
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.5rem;
}

.floating-card a:hover {
    text-decoration: underline;
}

.step {
    display: block;
}

.step.hidden {
    display: none;
}

.hidden {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .box {
        padding: 2rem 1.5rem;
    }

    .input-row {
        grid-template-columns: 1fr;
    }
}