:root {
    /* ڕەنگە مۆدێرنەکان */
    --primary: #4F46E5;       
    --primary-soft: #EEF2FF; 
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --footer-text: #4b5563; /* ڕەنگی نوێ بۆ فووتەر */
    --success: #10B981;
    --gradient-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

body {
    background: #f3f4f6;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,0.1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,0.1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,0.1) 0, transparent 50%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    overflow-x: hidden;
}

/* باگراوندێکی جوڵاو لە دواوە */
.bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: var(--gradient-bg);
    z-index: -1;
    border-bottom-left-radius: 50% 100px;
    border-bottom-right-radius: 50% 100px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* کارتی سەرەکی بە ستایلی Glassmorphism */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 100%;
    max-width: 680px;
    border-radius: 30px;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1), 
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    margin-bottom: 20px;
}

/* دیزاینی لۆگۆ - گەورە و سێبەردار */
.brand-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: -90px;
    margin-bottom: 25px;
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.25);
    background-color: #fff;
    padding: 5px;
    transition: transform 0.3s ease;
}

.brand-logo:hover {
    transform: translateY(-5px) scale(1.02);
}

/* ناونیشان و دەق */
h1 {
    color: var(--text-dark);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.subtitle {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* شوێنی فۆرمەکە */
.form-container {
    width: 100%;
    height: 700px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e5e7eb;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* بەشی فووتەر - چاککراوە */
.footer {
    margin-top: 10px;
    color: var(--footer-text); /* گۆڕدرا بۆ ڕەنگێکی تۆخ */
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    opacity: 0.8;
/* ئەم دێڕەی خوارەوە زیاد بکە */
    direction: ltr; 
}

/* مۆدێل / پۆپ-ئەپ دیزاین */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 41, 55, 0.4);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.modal-box {
    background: white;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.check-animation {
    width: 80px;
    height: 80px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin: 0 auto 20px auto;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.modal-title {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.modal-text {
    color: var(--text-light);
    line-height: 1.6;
}

.modal-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 25px;
    transition: all 0.2s;
    width: 100%;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(79, 70, 229, 0.4);
}

/* ئەنیمەیشنەکان */
@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ڕیسپۆنسیڤ بۆ مۆبایل */
@media (max-width: 600px) {
    .glass-card { padding: 40px 20px; }
    .brand-logo { width: 110px; height: 110px; margin-top: -80px; }
    h1 { font-size: 22px; }
    .bg-shape { height: 200px; }
    .form-container { height: 600px; }
}