:root {
    --bg-color: #0d0d0d;
    --card-bg: rgba(255, 255, 255, 0.05);
    --primary-color: #7c4dff;
    --accent-color: #ffd700;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --border-radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(124, 77, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 215, 0, 0.05) 0%, transparent 40%);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    position: relative;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 40px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.5s ease;
}

/* Steps */
.step {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards */
.welcome-card {
    text-align: center;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    max-width: 120px;
    margin-bottom: 24px;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.1;
}

h1 span {
    color: var(--primary-color);
}

p {
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Forms */
.input-group {
    margin-bottom: 24px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

input[type="text"],
input[type="date"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(124, 77, 255, 0.1);
}

/* New Pricing & Team Card Styles */
.hidden-radio {
    display: none;
}

.cost-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.cost-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.cost-card.featured {
    background: linear-gradient(145deg, rgba(124, 77, 255, 0.1), rgba(0, 0, 0, 0.3));
    border-color: var(--primary-color);
}

.cost-card.selected {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.price {
    font-size: 2rem;
    font-weight: 800;
    margin: 10px 0;
}

.price span,
.price-annual span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.price-annual {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

/* Fixed Costs */
.fixed-costs,
.championship-package {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cost-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-item .value {
    color: var(--accent-color);
    font-weight: 600;
}

/* Radio Cards */
.radio-group-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 15px;
}

.radio-card {
    cursor: pointer;
}

.radio-card input {
    display: none;
}

.radio-card-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid transparent;
    transition: var(--transition);
}

.radio-card input:checked+.radio-card-content {
    background: rgba(124, 77, 255, 0.1);
    border-color: var(--primary-color);
}

/* Team Selection Cards */
.team-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}

.team-card-select {
    cursor: pointer;
    position: relative;
}

.team-card-select input {
    display: none;
}

.team-card-inner {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 15px;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 100%;
    justify-content: center;
}

.team-card-inner::before {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--team-color);
    box-shadow: 0 0 10px var(--team-color);
}

.team-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text-color);
}

.team-level {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.team-card-select input:checked+.team-card-inner {
    border-color: var(--team-color);
    background: color-mix(in srgb, var(--team-color) 15%, transparent);
}

/* Buttons */
.btn-next,
.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 77, 255, 0.3);
}

.btn-group {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 12px;
    margin-top: 32px;
}

.btn-prev {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-prev:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

/* Grid Layouts */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.full-width {
    grid-column: span 2;
}

/* Contract & Signature Styles */
.contract-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    border-radius: var(--border-radius);
    margin-bottom: 32px;
    max-height: 400px;
    overflow-y: auto;
}

.contract-box h3 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.dynamic-info {
    color: var(--accent-color);
    font-weight: 800;
}

.signature-container {
    text-align: center;
}

.signature-pad-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    margin: 16px 0;
    cursor: crosshair;
}

.signature-pad {
    width: 100%;
    height: 180px;
}

.btn-clear {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
}

/* Radio & Checkbox Customization */
.radio-options,
.checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.radio-options label,
.checkbox-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid transparent;
}

.radio-options label:hover,
.checkbox-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

input[type="radio"]:checked+label,
.checkbox-item:has(input:checked) {
    background: rgba(124, 77, 255, 0.1);
    border-color: var(--primary-color);
}

/* intl-tel-input fix */
.iti {
    width: 100%;
    color: #000;
}

.iti__country-list {
    background-color: #1a1a1a;
    color: #fff;
}

.mt-4 {
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 16px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }
}