:root {
    --brand-red: #E30613;
    --brand-dark: #000000;
    --brand-gray: #1a1a1a;
    --brand-neon: #ff1c2d;
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --glass-bg: rgba(26, 26, 26, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(255, 255, 255, 0.05);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--brand-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 2rem 1rem;
}

/* Background Animated Orbs */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: float 20s infinite ease-in-out alternate;
    opacity: 0.6;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--brand-red), transparent);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--brand-red), transparent);
    bottom: -50px;
    right: -50px;
    animation-direction: alternate-reverse;
    animation-duration: 15s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 25s;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-50px) scale(1.1); }
}

/* Container & Glass Card */
.container {
    width: 100%;
    max-width: 650px;
    position: relative;
    z-index: 10;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px rgba(227, 6, 19, 0.1);
    transition: all 0.3s ease;
}

/* Header */
.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo-wrapper {
    width: 200px;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-logo-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.form-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #ffb3b6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Form Content */

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

/* Form Elements */
.form-group {
    margin-bottom: 2rem;
}

label {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.required {
    color: var(--brand-red);
}

.optional {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 400;
}

/* Inputs */
.glow-input {
    width: 100%;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 1rem 1.25rem;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.glow-input::placeholder {
    color: rgba(255,255,255,0.3);
}

.glow-input:focus {
    border-color: var(--brand-red);
    box-shadow: 0 0 15px rgba(227, 6, 19, 0.3);
}

/* Radio Cards */
.radio-group {
    display: grid;
    gap: 0.5rem;
}

.v-stack { grid-template-columns: 1fr; }
.h-stack { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

@media(max-width: 600px) {
    body {
        padding: 1rem 0.5rem;
    }
    
    .glass-card {
        padding: 1.75rem 1.15rem;
        border-radius: 20px;
    }
    
    .form-header h1 {
        font-size: 1.4rem;
    }

    .form-header p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .logo-wrapper {
        width: 140px;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    label {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .glow-input {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .radio-group {
        gap: 0.4rem;
    }
    
    .card-content {
        padding: 0.55rem 0.75rem;
        font-size: 0.85rem;
        min-height: 2.5rem;
        border-radius: 50px;
    }
    
    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.95rem;
    }

    .form-actions {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .h-stack, .grid-2 { grid-template-columns: 1fr; }
}

.radio-card {
    position: relative;
    cursor: pointer;
    display: block;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.7rem 1rem;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    height: 100%;
    min-height: 2.8rem;
}

.radio-card:hover .card-content {
    background: var(--card-hover);
    border-color: rgba(255,255,255,0.3);
    color: white;
}

.radio-card input:checked ~ .card-content {
    background: rgba(227, 6, 19, 0.12);
    border-color: var(--brand-red);
    color: white;
    box-shadow: 0 0 15px rgba(227, 6, 19, 0.15), inset 0 0 8px rgba(227, 6, 19, 0.08);
}


/* Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: inherit;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-red), #ff1c2d);
    color: white;
    box-shadow: 0 5px 15px rgba(227, 6, 19, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(227, 6, 19, 0.5);
    background: linear-gradient(135deg, #ff1c2d, #ff3342);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

.hidden {
    display: none !important;
}

/* Success State */
.success-state {
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.5s ease forwards;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(46, 204, 113, 0.1);
    border: 2px solid #2ecc71;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    color: #2ecc71;
    box-shadow: 0 0 30px rgba(46, 204, 113, 0.3);
}

.success-icon svg {
    width: 40px;
    height: 40px;
}

.success-state h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
}

.success-state p {
    color: var(--text-secondary);
    line-height: 1.6;
}
