/* Container & Hero (RTL) */
.ai-landing-wrapper {
    background: radial-gradient(circle at top left, #1a0b2e, #0d0e15);
    color: #ffffff;
    padding: 100px 20px;
    text-align: right; /* Changed for RTL */
    font-family: 'Vazirmatn', Tahoma, -apple-system, sans-serif;
    border-radius: 16px;
    direction: rtl;
}

.ai-hero {
    text-align: center; /* Keep hero text centered */
}

.ai-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #00f3ff, #bd00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
اh2}{
	font-size:1.5rem;
}
.ai-subtitle {
    font-size: 1.2rem;
    color: #a0a5ba;
    margin-bottom: 40px;
}

/* Neon Button */
.ai-btn-glow {
    background: transparent;
    color: #00f3ff;
    border: 2px solid #00f3ff;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0; /* Removed for Persian */
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2), inset 0 0 10px rgba(0, 243, 255, 0.1);
    font-family: inherit;
}

.ai-btn-glow:hover {
    background: #00f3ff;
    color: #000;
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.6);
}

.ai-btn-glow:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Glassmorphism Modal */
.ai-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ai-modal-content {
    background: rgba(20, 21, 31, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    position: relative;
    text-align: right; /* RTL */
    direction: rtl;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

.ai-modal-content h2 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

/* Close Button Flipped for RTL */
.ai-close-modal {
    position: absolute;
    top: 20px;
    left: 25px; /* Moved to Left */
    font-size: 1.8rem;
    color: #a0a5ba;
    cursor: pointer;
    transition: color 0.2s;
}

.ai-close-modal:hover { color: #fff; }

/* Form Inputs */
.ai-input-group { margin-bottom: 20px; }
.ai-input-group label {
    display: block;
    color: #a0a5ba;
    margin-bottom: 8px;
    font-size: 0.9rem;
}
.ai-input-group input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
    font-family: inherit;
    direction: rtl; /* RTL Support inside input */
}

/* Force LTR for phone numbers */
#ai-phone { direction: ltr; text-align: left; }

.ai-input-group input:focus {
    outline: none;
    border-color: #00f3ff;
    background: rgba(255, 255, 255, 0.1);
}
.ai-modal-content .ai-btn-glow {
    width: 100%;
    margin-top: 10px;
}
#ai-form-message {
    margin-top: 15px;
    text-align: center;
}