/* --- FONT BRICK SANS --- */
@font-face {
        font-family: 'BrickSans';
        src: url('fonts/BrickSans.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
}

:root {
    --bg-color: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #0f0f0f;
    --text-main: #ffffff;
    --text-muted: #a3a3a3;
    --primary: #5600ab;
    --primary-glow: rgba(86, 0, 171, 0.6);
    --primary-light: #7a1fd1;
    --border-color: #222;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-purple {
    color: #9d4edd;
    text-shadow: 0 0 15px var(--primary-glow);
}

.text-gradient {
    background: linear-gradient(to right, #fff, #9d4edd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(86, 0, 171, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    box-shadow: 0 0 30px rgba(86, 0, 171, 0.5);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo .dot {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: white;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: white;
}

/* Hero Section */
.hero {
    height: 100vh; 
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 6s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.15; 
        transform: translate(-50%, -50%) scale(1); 
    }
    100% { opacity: 0.25; 
        transform: translate(-50%, -50%) scale(1.2); 
    }
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.version-tag {
    font-size: 0.85rem;
    color: #555;
    font-family: monospace;
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-muted);
}

/* Features Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Hover glow effect via pseudo element */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(400px circle at var(--mouse-x) var(--mouse-y), rgba(86, 0, 171, 0.1), transparent 40%);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover::before {
    opacity: 1;
}

.icon-box {
    font-size: 2rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* How It Works */
.steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.step {
    flex: 1;
    position: relative;
}

.step-number {
    display: inline-block;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
    margin-bottom: 10px;
}

.step h4 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.step-connector {
    height: 1px;
    flex: 0.5;
    background: linear-gradient(90deg, transparent, #333, transparent);
}

/* Showcase */
.screenshot-container {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    position: relative;
}

.app-window {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    max-width: 900px;
    margin: 0 auto;
}

.window-header {
    background: #252525;
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

.window-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.red { 
    background: #ff5f56; 
}
.yellow { 
    background: #ffbd2e; 
}
.green { 
    background: #27c93f; 
}

.mock-ui {
    padding: 30px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mock-search {
    width: 100%;
    height: 40px;
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: #666;
}

.mock-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #222;
    border-radius: 6px;
    border-left: 3px solid var(--primary);
}

.badge {
    font-size: 0.8rem;
    padding: 2px 8px;
    background: #333;
    border-radius: 4px;
}
.badge.success { 
    background: rgba(39, 201, 63, 0.2); 
    color: #27c93f; 
}

/* Comparison */
.comparison-table {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.c-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.c-row:last-child {
    border-bottom: none;
}

.c-row.header {
    font-weight: 700;
    color: white;
}

.c-col.velix {
    color: #9d4edd;
    font-weight: 600;
}

.c-col.others {
    color: var(--text-muted);
}

/* FAQ */
.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    color: white;
    text-align: left;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
}

.accordion-content p {
    padding-bottom: 20px;
}

/* CTA */
.cta-box {
    background: linear-gradient(135deg, #1a052e, #000);
    padding: 80px 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(86, 0, 171, 0.3);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.secure-text {
    display: block;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #666;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    margin-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    color: #666;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { 
    animation-delay: 0.2s; 
}
.delay-2 { 
    animation-delay: 0.4s; 
}
.delay-3 { 
    animation-delay: 0.6s; 
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .steps-grid { flex-direction: column; gap: 30px; }
    .step-connector { display: none; }
    .c-row { font-size: 0.9rem; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}





/* الخلفية التي تغطي الشاشة بالكامل */
.modal-overlay {
    position: fixed;   /* تجعل العنصر ثابت فوق كل شيء */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* خلفية سوداء شفافة */
    backdrop-filter: blur(10px);    /* تغبيش للمحتوى خلف الرسالة */
    display: flex;                  /* لتوسيط الرسالة في المنتصف */
    justify-content: center;
    align-items: center;
    z-index: 99999;                 /* رقم كبير جداً لضمان ظهوره فوق كل العناصر */
    
    /* الخفاء الافتراضي */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

/* الكلاس الذي يتم إضافته بواسطة الجافاسكريبت ليظهر التحذير */
.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* صندوق الرسالة نفسه */
.modal-box {
    background: #0f0f0f;
    border: 1px solid #5600ab; /* اللون النيون الخاص بك */
    padding: 5px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 0 50px rgba(86, 0, 171, 0.4);
    text-align: center;
}

.consent-checks {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    margin-bottom: 12px;
}

.check-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.85rem;
    color: #ccc;
    position: relative;
}

.warning-title{
    font-family: 'BrickSans';
    font-size: 15px;
    margin-bottom: 12px;
}



/* إخفاء المربع الأصلي */
.check-container input {
    display: none;
}

/* المربع المخصص */
.checkmark {
    min-width: 18px;
    height: 18px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    background: #000;
    display: inline-block;
    position: relative;
    transition: all 0.3s;
    
}

/* شكل علامة الصح عند الضغط */
.check-container input:checked + .checkmark {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}

.checkmark:after {
    content: "✓";
    position: absolute;
    color: white;
    font-size: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
}

.check-container input:checked + .checkmark:after {
    display: block;
    
}

.check-text {
    display: block;
    
    line-height: 1.4;
    font-size: 12px;
}

.check-text.ar {
    text-align: right;
    font-size: 0.8rem;
    font-family: 'ModernPro', 'BrickSans';
    color: #888;
}

/* تعطيل الزر مؤقتاً */
.btn-disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* تنسيق الشبكة الجانبية */
.bilingual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* عمودين متساويين */
    gap:5px;
    margin-bottom: 20px;
    border: 1px solid rgba(86, 0, 171, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
}


.lang-column {
    display: flex;
    flex-direction: column;
}

/* فاصل رأسي بين العمودين */
.lang-column.en {
    border-right: 1px solid #222;
    padding-right: 20px;
}

.lang-label {
    font-weight: bold;
    color: var(--primary-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-align: center;
    font-family: 'BrickSans';
    border-bottom: 1px solid rgba(86, 0, 171, 0.3);
    padding-bottom: 5px;
    
}


.lang-text p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #bbb;
    margin-bottom: 10px;
}

.lang-column.ar .lang-text {
    text-align: right;
    font-family: 'Tahoma', sans-serif;
}


@media (max-width: 600px) {
    .bilingual-grid {
        grid-template-columns: 1fr;
        padding: 5px;

    }
    .lang-column.en {
        border-right: none;
        border-bottom: 1px solid #222;
        padding-right: 0;
        padding-bottom: 15px;
    }
}

