@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;800&family=Poppins:wght@600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: #050507;
    /* نقش هندسي فاخر في الخلفية */
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* كرات الإضاءة المتحركة في الخلفية */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: -1;
    opacity: 0.6;
    animation: float 10s infinite alternate ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: #00f3ff;
    top: -50px;
    left: -100px;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: #1e3a8a;
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.2); }
}

/* الهيدر النيوني */
.main-header {
    text-align: center;
    margin-bottom: 40px;
    z-index: 1;
}

.neon-title {
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #fff;
    margin-bottom: 5px;
    text-shadow: 0 0 10px #00f3ff, 0 0 20px #00f3ff, 0 0 40px #00f3ff;
    animation: pulsate 1.5s infinite alternate;
}

.subtitle {
    color: #00f3ff;
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
}

@keyframes pulsate {
    100% { text-shadow: 0 0 5px #fff, 0 0 15px #00f3ff, 0 0 30px #00f3ff, 0 0 60px #00f3ff; }
    0% { text-shadow: 0 0 2px #fff, 0 0 5px #00f3ff, 0 0 10px #00f3ff; }
}

/* الحاوية والبطاقات الزجاجية */
.container {
    width: 100%;
    max-width: 600px;
    z-index: 1;
}

.glass-card {
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37), inset 0 0 15px rgba(0, 243, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px 0 rgba(0, 243, 255, 0.15), inset 0 0 20px rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.5);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    padding-bottom: 15px;
}

.step-number {
    background-color: #00f3ff;
    color: #000;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    font-weight: 800;
    margin-left: 15px;
    font-size: 16px;
    box-shadow: 0 0 10px #00f3ff;
}

.section-header h3 {
    font-size: 20px;
    color: #fff;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.3);
}

/* الحقول النيونية */
.input-wrapper {
    display: flex;
    flex-direction: column;
}

input, textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s ease;
    outline: none;
    resize: none;
}

input:focus, textarea:focus {
    border-color: #00f3ff;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    background: rgba(0, 0, 0, 0.6);
}

input::placeholder, textarea::placeholder {
    color: #666;
}

/* رسالة الخطأ */
.error-msg {
    color: #ff3366;
    font-size: 13px;
    margin-top: 8px;
    font-weight: 600;
    display: none;
    text-shadow: 0 0 5px rgba(255, 51, 102, 0.5);
}

/* زر الإرسال المتوهج */
button {
    width: 100%;
    padding: 16px;
    background: transparent;
    color: #00f3ff;
    border: 2px solid #00f3ff;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    z-index: 1;
}

button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #00f3ff;
    transition: 0.4s;
    z-index: -1;
}

button:hover {
    color: #000;
    box-shadow: 0 0 25px #00f3ff, 0 0 50px #00f3ff;
}

button:hover::before {
    width: 100%;
}

button:disabled {
    border-color: #444;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

button:disabled::before {
    display: none;
}