/* تم Dark Luxury 2026 */
:root {
    --primary-gold: #d4af37;
    --primary-dark-gold: #aa8c2c;
    --bg-dark: #050505;
    --bg-panel: rgba(20, 20, 20, 0.7);
    --text-white: #ffffff;
    --text-muted: #a0a0a0;
    --border-glass: rgba(212, 175, 55, 0.2);
    --radius-lg: 24px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: var(--bg-dark);
    background-image: radial-gradient(circle at 15% 50%, rgba(212, 175, 55, 0.05), transparent 25%),
                      radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.05), transparent 25%);
    color: var(--text-white);
    direction: rtl;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
.site-header {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1rem 0;
    position: sticky; top: 0; z-index: 100;
}
.header-content {
    max-width: 1200px; margin: 0 auto; padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center;
}
.logo {
    display: flex; align-items: center; gap: 10px; color: var(--primary-gold);
    text-decoration: none; font-weight: 800; font-size: 1.4rem;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}
.contact-info a {
    color: var(--text-muted); text-decoration: none; font-size: 0.9rem;
    margin-right: 1.5rem; transition: var(--transition);
}
.contact-info a:hover { color: var(--primary-gold); }

/* Main */
.main-content { max-width: 900px; margin: 3rem auto; padding: 0 1.5rem; }
.form-container {
    background: var(--bg-panel); backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass); border-radius: var(--radius-lg);
    padding: 3rem; box-shadow: 0 20px 50px rgba(0,0,0,0.6); position: relative;
}
h2 {
    text-align: center; font-size: 2.2rem; margin-bottom: 1rem;
    color: var(--primary-gold); text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}
.form-intro { text-align: center; color: var(--text-muted); margin-bottom: 3rem; }
.section-title {
    color: var(--primary-gold); font-size: 1.2rem; margin: 2rem 0 1.5rem;
    padding-bottom: 0.5rem; border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    display: flex; align-items: center; gap: 10px;
}

/* Form Elements */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.5rem; position: relative; }
label { display: block; margin-bottom: 0.6rem; font-size: 0.9rem; color: #e0e0e0; }
.required { color: var(--primary-gold); }
.input-wrapper { position: relative; }

input, select, textarea {
    width: 100%; background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius-sm);
    padding: 1rem 1rem 1rem 2.5rem; color: var(--text-white);
    font-family: inherit; font-size: 1rem; transition: var(--transition);
}
select { appearance: none; cursor: pointer; }
select option { background-color: #1a1a1a; color: var(--primary-gold); padding: 15px; }
.input-wrapper:has(select)::after {
    content: '\f078'; font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; left: 2.5rem; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); pointer-events: none; font-size: 0.8rem;
}
textarea { min-height: 120px; resize: vertical; padding-left: 1rem; }
.input-icon {
    position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
    color: var(--text-muted); pointer-events: none; z-index: 2;
}
textarea + .input-icon { top: 1.5rem; }
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15); background: rgba(0, 0, 0, 0.4);
}
input:focus + .input-icon { color: var(--primary-gold); }

/* Upload */
.stylish-upload-box {
    border: 2px dashed rgba(212, 175, 55, 0.3); background: rgba(212, 175, 55, 0.02);
    border-radius: var(--radius-sm); padding: 2.5rem; text-align: center;
    cursor: pointer; transition: var(--transition);
}
.stylish-upload-box:hover { background: rgba(212, 175, 55, 0.06); border-color: var(--primary-gold); }
.stylish-upload-box svg { color: var(--primary-gold); margin-bottom: 1rem; }
.upload-text { display: block; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-white); }
.upload-hint { color: var(--text-muted); font-size: 0.8rem; }
.progress-container {
    height: 6px; background: rgba(255, 255, 255, 0.1);
    border-radius: 10px; margin-top: 15px; overflow: hidden; display: none;
}
.progress-bar { height: 100%; background: var(--primary-gold); width: 0%; transition: width 0.2s ease; }

/* Buttons & Terms */
.checkbox-group {
    background: rgba(255, 255, 255, 0.03); padding: 1rem; border-radius: var(--radius-sm);
    display: flex; align-items: center; gap: 10px; margin: 2rem 0;
}
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary-gold); cursor: pointer; }
.terms-link { color: var(--primary-gold); transition: 0.3s; }
.terms-link:hover { text-shadow: 0 0 8px var(--primary-gold); }

.btn-submit {
    width: 100%; padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-dark-gold));
    color: #000; font-size: 1.1rem; font-weight: 800; border: none;
    border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.btn-submit:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

/* Terms Page Specific */
.terms-content { margin-top: 2rem; }
.terms-item { margin-bottom: 2rem; background: rgba(255,255,255,0.02); padding: 1.5rem; border-radius: 12px; border-right: 3px solid var(--primary-gold); }
.terms-item h3 { color: var(--primary-gold); margin-bottom: 0.5rem; font-size: 1.1rem; }
.terms-item p { color: #ccc; font-size: 0.95rem; text-align: justify; }

/* Footer & Toast */
.site-footer {
    border-top: 1px solid rgba(255,255,255,0.05); margin-top: 4rem; padding: 3rem 0;
    background: #020202; text-align: center; color: #666;
}
.footer-content { display: flex; justify-content: center; gap: 4rem; margin-bottom: 2rem; }
.footer-section h4 { color: var(--primary-gold); margin-bottom: 1rem; }
.footer-link { color: #888; text-decoration: none; } .footer-link:hover { color: #fff; }
.toast {
    position: fixed; bottom: 2rem; left: 2rem; background: #1a1a1a;
    border-right: 4px solid var(--primary-gold); border-radius: 8px; padding: 1rem;
    display: flex; align-items: center; gap: 1rem; min-width: 300px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform: translateY(100px); opacity: 0;
    transition: all 0.5s; z-index: 2000;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1.5rem; } .toast h4 { margin-bottom: 0.2rem; color: #fff; }
.toast p { font-size: 0.9rem; color: #aaa; margin: 0; }

@media (max-width: 768px) {
    .two-col { grid-template-columns: 1fr; } .form-container { padding: 1.5rem; }
    .header-content { flex-direction: column; gap: 1rem; }
    .toast { left: 1rem; right: 1rem; min-width: auto; bottom: 1rem; }
}
