/* Modern Signup Form Styles */

:root {
    --bg:#2a335ecc;          /* page background */
    --bg-soft:#0f1630;     /* section background */
    --card:#121a3a;        /* card background */
    --text:#eff8f2;        /* primary text */
    --muted:#a9b1c7;       /* muted text */
    --brand:#5dd1ff;       /* brand accent */
    --brand-2:#7cffb2;     /* secondary accent */
    --ring:rgba(93,209,255,.45);
    --shadow: 0 10px 30px rgba(8,12,40,.35);
    --radius: 18px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    background: radial-gradient(1200px 800px at 80% -10%, rgba(124,255,178,.08), transparent 60%),
    radial-gradient(900px 600px at -10% 10%, rgba(93,209,255,.08), transparent 60%), var(--bg);
    min-height: 100vh;
    display: block;
    padding: 80px 20px 20px;
    color: var(--text);
}

/* Header styles */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: linear-gradient(to bottom, rgba(11,16,32,.9), rgba(11,16,32,.6));
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-weight: 800;
    color: #e8ecf8;
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: conic-gradient(from 120deg, #5dd1ff, #7cffb2);
    box-shadow: 0 0 0 3px rgba(93,209,255,.15);
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.nav-links a {
    color: #a9b1c7;
    font-weight: 600;
    padding: .4rem .6rem;
    border-radius: 10px;
    text-decoration: none;
}

.nav-links a:hover {
    background: rgba(255,255,255,.06);
    color: #e8ecf8;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .9rem 1.15rem;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(8,12,40,.35);
    border: 1px solid rgba(255,255,255,.08);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #5dd1ff, #3aa3ff);
    color: #00142a;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255,255,255,.06);
    color: #e8ecf8;
}

.btn-ghost:hover {
    background: rgba(255,255,255,.1);
}

/* Section */
.section {
    padding: 72px 0;
}

/* Footer styles */
footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255,255,255,.08);
    color: #a9b1c7;
    background: #0b1020;
}

footer .container {
    color: #a9b1c7;
}

footer p {
    margin: 0;
    text-align: center;
}

.container {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(8,12,40,.35);
    padding: 40px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #e8ecf8;
    font-size: 2em;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255,255,255,.2);
    z-index: 1;
}

.progress-bar .step {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    color: #e8ecf8;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.progress-bar .step.active {
    background: #5dd1ff;
    color: #00142a;
}

.progress-bar .step.completed {
    background: #7cffb2;
    color: #00142a;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    margin-bottom: 20px;
    color: #e8ecf8;
    font-size: 1.5em;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #a9b1c7;
    font-weight: 500;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    color: #e8ecf8;
    font-size: 16px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #5dd1ff;
    box-shadow: 0 0 5px rgba(93,209,255,.45);
}

input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

label:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.required {
    color: #ff6b6b;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
    box-shadow: 0 10px 30px rgba(8,12,40,.35);
    border: 1px solid rgba(255,255,255,.08);
}

.btn-prev {
    background: rgba(255,255,255,.06);
    color: #e8ecf8;
}

.btn-prev:hover {
    background: rgba(255,255,255,.1);
}

.btn-next {
    background: linear-gradient(135deg, #5dd1ff, #3aa3ff);
    color: #00142a;
}

.btn-next:hover {
    transform: translateY(-2px);
}

#submitBtn {
    background: linear-gradient(135deg, #7cffb2, #5dd1ff);
    color: #00142a;
    width: 100%;
    display: none;
}

#submitBtn:hover {
    transform: translateY(-2px);
}

.pagination-bar {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.5em;
    }
    
    .progress-bar .step {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
}
