*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
    --accent: #6C63FF; --accent-dim: rgba(108,99,255,0.15); --accent-border: rgba(108,99,255,0.35);
    --bg: #0a0a0f; --bg2: rgba(255,255,255,0.03); --text: #f0f0f0;
    --text-muted: rgba(255,255,255,0.5); --text-dim: rgba(255,255,255,0.35);
    --border: rgba(255,255,255,0.08); --border2: rgba(255,255,255,0.14);
    --radius: 12px; --radius-sm: 8px;
}
html { scroll-behavior: smooth; }
body { font-family: 'Cairo', sans-serif; direction: rtl; background: var(--bg); color: var(--text); overflow-x: hidden; line-height: 1.6; }

header { display: flex; align-items: center; justify-content: space-between; padding: 16px 48px; border-bottom: 0.5px solid var(--border); position: sticky; top: 0; z-index: 100; background: rgba(10,10,15,0.88); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.logo img { height: 42px; object-fit: contain; display: block; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text-muted); text-decoration: none; transition: color 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; right: 0; width: 0; height: 2px; background: var(--accent); border-radius: 2px; transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.login-btn { background: var(--accent); color: #fff; text-decoration: none; padding: 8px 22px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; transition: all 0.2s; }
.login-btn:hover { background: #5a52e0; transform: translateY(-1px); }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 98; }
.overlay.show { display: block; }
.mobile-menu { position: fixed; top: 0; left: -100%; width: 260px; height: 100vh; background: #111118; border-right: 0.5px solid var(--border); z-index: 99; padding: 80px 32px 40px; display: flex; flex-direction: column; gap: 8px; transition: left 0.35s cubic-bezier(0.4,0,0.2,1); }
.mobile-menu.show { left: 0; }
.mobile-menu a { font-size: 16px; font-weight: 600; color: var(--text-muted); text-decoration: none; padding: 10px 14px; border-radius: var(--radius-sm); transition: all 0.2s; }
.mobile-menu a:hover, .mobile-menu a.active { background: var(--accent-dim); color: #fff; }

.hero { padding: 70px 48px 55px; position: relative; overflow: hidden; border-bottom: 0.5px solid var(--border); }
.hero::before { content: ''; position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 500px; height: 400px; background: radial-gradient(circle, rgba(108,99,255,0.12) 0%, transparent 65%); pointer-events: none; }
.hero h1 { font-size: 38px; font-weight: 900; color: #fff; margin-bottom: 14px; position: relative; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 17px; color: var(--text-muted); max-width: 500px; line-height: 1.7; position: relative; }

.contact-section { display: grid; grid-template-columns: 1fr 1.8fr; gap: 32px; padding: 60px 48px; align-items: start; }

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
    background: var(--bg2);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 20px;
    transition: all 0.3s;
}
.contact-card:hover { border-color: var(--accent-border); background: var(--accent-dim); }
.contact-icon { color: var(--accent); margin-bottom: 10px; }
.contact-icon svg { width: 26px; height: 26px; }
.contact-card h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.contact-card p { font-size: 13px; color: var(--text-muted); }
.contact-link { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--accent); text-decoration: none; background: var(--accent-dim); border: 0.5px solid var(--accent-border); padding: 5px 14px; border-radius: 99px; transition: all 0.2s; }
.contact-link:hover { background: var(--accent); color: #fff; }

.contact-form-wrap {
    background: var(--bg2);
    border: 0.5px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
}

.not-logged-in { text-align: center; padding: 40px 20px; }
.not-logged-in svg { width: 48px; height: 48px; color: var(--text-dim); margin-bottom: 16px; }
.not-logged-in h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.not-logged-in p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text-muted); margin-bottom: 7px; }
.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.04);
    border: 0.5px solid var(--border2);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.2s;
    resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }

.input-error { display: block; font-size: 12px; color: #fca5a5; margin-top: 5px; }

.btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.btn:hover { background: #5a52e0; transform: translateY(-1px); }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.alert.success { background: rgba(16,185,129,0.12); border: 0.5px solid rgba(16,185,129,0.3); color: #6ee7b7; }
.alert.error { background: rgba(239,68,68,0.12); border: 0.5px solid rgba(239,68,68,0.3); color: #fca5a5; }

footer { border-top: 0.5px solid var(--border); padding: 32px 48px; text-align: center; color: var(--text-dim); font-size: 13px; }
.footer-icons { display: flex; justify-content: center; gap: 14px; margin-bottom: 14px; }
.footer-icon { width: 38px; height: 38px; background: var(--bg2); border: 0.5px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; text-decoration: none; }
.footer-icon:hover { border-color: var(--accent-border); background: var(--accent-dim); }
.footer-icon svg { fill: var(--text-muted); transition: fill 0.2s; }
.footer-icon:hover svg { fill: #fff; }

@media (max-width: 768px) {
    header { padding: 14px 20px; }
    .nav-links { display: none; }
    .burger { display: flex; }
    .hero { padding: 50px 20px 40px; }
    .hero h1 { font-size: 26px; }
    .contact-section { grid-template-columns: 1fr; padding: 30px 20px; }
    footer { padding: 28px 20px; }
}