:root {
    --bg-dark: #0A0210;
    --neon-purple: #BD10E0;
    --neon-blue: #00F0FF;
    --text-main: #FFFFFF;
    --text-muted: #B8B5C9;
    --glass-bg: rgba(20, 10, 30, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(189, 16, 224, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Tajawal', 'Inter', sans-serif; }

body { background-color: var(--bg-dark); color: var(--text-main); overflow-x: hidden; direction: rtl; line-height: 1.7; }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: rgba(189, 16, 224, 0.5); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-purple); }

/* Background Canvas */
#particles-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; pointer-events: none; }

/* Background Gradients */
.bg-glow { position: fixed; border-radius: 50%; filter: blur(150px); z-index: -1; opacity: 0.5; animation: floatGlow 15s infinite alternate ease-in-out; }
.glow-1 { top: -10%; right: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(189,16,224,0.4) 0%, transparent 60%); }
.glow-2 { bottom: -10%; left: -10%; width: 60vw; height: 60vw; background: radial-gradient(circle, rgba(0,240,255,0.2) 0%, transparent 60%); animation-delay: -5s; }

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 100px) scale(1.2); }
    100% { transform: translate(-50px, 50px) scale(0.9); }
}

/* Typography */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; }
h1 { 
    font-size: 4.5rem; line-height: 1.1; 
    background: linear-gradient(to bottom, #fff 40%, #a1a1a1); 
    -webkit-background-clip: text; 
    background-clip: text;
    -webkit-text-fill-color: transparent; 
    margin-bottom: 1.5rem; position: relative; display: inline-block; 
}
.gradient-text { 
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple)); 
    -webkit-background-clip: text; 
    background-clip: text;
    -webkit-text-fill-color: transparent; 
    animation: gradientShift 5s infinite alternate; background-size: 200% auto; 
}
@keyframes gradientShift { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }

/* Glass Panels */
.glass-panel { background: var(--glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 24px; padding: 2.5rem; position: relative; overflow: hidden; transform-style: preserve-3d; box-shadow: 0 10px 40px rgba(0,0,0,0.5); transition: box-shadow 0.4s ease, border-color 0.4s ease, transform 0.4s ease; }
.glass-panel .glare { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1), transparent 50%); opacity: 0; pointer-events: none; transition: opacity 0.3s; transform: translateZ(1px); }
.glass-panel:hover { border-color: rgba(189, 16, 224, 0.5); box-shadow: 0 20px 50px rgba(189, 16, 224, 0.2); transform: translateY(-5px); }
.glass-panel:hover .glare { opacity: 1; }
.glass-panel > * { transform: translateZ(30px); }
.glass-panel::after { 
    content: ''; position: absolute; inset: 0; border-radius: 24px; padding: 2px; 
    background: linear-gradient(135deg, var(--neon-purple), transparent, var(--neon-blue)); 
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); 
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; 
    mask-composite: exclude; 
    opacity: 0; transition: opacity 0.4s ease; 
}
.glass-panel:hover::after { opacity: 1; }

/* Navbar */
header { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 1.5rem 5%; transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
header.scrolled { background: rgba(10, 2, 16, 0.85); backdrop-filter: blur(20px); padding: 1rem 5%; border-bottom: 1px solid var(--glass-border); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
nav { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; }
.logo { font-size: 1.8rem; font-weight: 800; display: flex; align-items: center; gap: 0.5rem; color: #fff; text-decoration: none; }
.logo span { color: var(--neon-purple); text-shadow: 0 0 10px rgba(189,16,224,0.5); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-weight: 600; transition: 0.3s; font-size: 1.1rem; position: relative; padding: 0.5rem 0; }
.nav-links a:hover, .nav-links a.active { color: #fff; text-shadow: 0 0 15px rgba(255,255,255,0.5); }
.nav-links a::before { content: ''; position: absolute; bottom: 0; right: 0; width: 0; height: 2px; background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple)); transition: width 0.3s ease; }
.nav-links a:hover::before, .nav-links a.active::before { width: 100%; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 2.5rem; border-radius: 50px; font-weight: 700; font-size: 1.1rem; text-decoration: none; transition: all 0.3s ease; cursor: pointer; border: none; position: relative; overflow: hidden; z-index: 1; }
.btn-primary { background: linear-gradient(45deg, #8A2BE2, var(--neon-purple)); color: #fff; box-shadow: 0 0 20px rgba(189, 16, 224, 0.4); }
.btn-primary::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(45deg, var(--neon-purple), var(--neon-blue)); z-index: -1; transition: opacity 0.3s ease; opacity: 0; }
.btn-primary:hover { transform: translateY(-5px) scale(1.02); box-shadow: 0 10px 30px rgba(0, 240, 255, 0.5); }
.btn-primary:hover::before { opacity: 1; }
.btn-secondary { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: #fff; backdrop-filter: blur(10px); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); transform: translateY(-5px); box-shadow: 0 0 15px rgba(255,255,255,0.1); }

/* Layout & Sections */
section { padding: 8rem 5% 4rem; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; max-width: 1400px; margin: 0 auto; position: relative; z-index: 10; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: center; min-height: 100vh; padding-top: 10rem;}
.hero-content p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 600px; }
.hero-buttons { display: flex; gap: 1.5rem; }

/* Hologram */
.hero-graphic { position: relative; width: 100%; height: 500px; display: flex; justify-content: center; align-items: center; perspective: 1000px; }
.hologram-circle { width: 300px; height: 300px; border-radius: 50%; border: 2px dashed rgba(0, 240, 255, 0.4); position: absolute; animation: spin 20s linear infinite; box-shadow: inset 0 0 50px rgba(0,240,255,0.1); }
.hologram-circle:nth-child(2) { width: 400px; height: 400px; border-color: rgba(189,16,224,0.3); animation: spin 30s linear infinite reverse; }
.hologram-circle:nth-child(3) { width: 200px; height: 200px; border: 1px solid rgba(255,255,255,0.1); animation: spin 15s linear infinite; }
.chip-icon { font-size: 8rem; color: #fff; filter: drop-shadow(0 0 30px var(--neon-purple)); animation: pulseGlow 2s infinite alternate; transform: translateZ(50px); }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes pulseGlow { 0% { filter: drop-shadow(0 0 20px var(--neon-purple)) drop-shadow(0 0 0 var(--neon-blue)); } 100% { filter: drop-shadow(0 0 40px var(--neon-purple)) drop-shadow(0 0 20px var(--neon-blue)); transform: scale(1.05); } }

/* Stats Bar */
.stats-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-top: 4rem; padding: 2.5rem; background: rgba(0,0,0,0.4); border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.5); position: relative; overflow: hidden; }
.stats-container::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(to bottom, var(--neon-blue), var(--neon-purple)); }
.stat-box { text-align: center; flex: 1; min-width: 150px; }
.stat-box h3 { font-size: 3rem; color: #fff; margin-bottom: 0.5rem; display: flex; justify-content: center; align-items: baseline; gap: 5px; }
.stat-box h3 span { color: var(--neon-blue); font-size: 2rem; text-shadow: 0 0 15px rgba(0,240,255,0.4); }
.stat-box p { color: var(--text-muted); font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }

/* Grids */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; margin-top: 4rem; }
.feature-icon { font-size: 2.5rem; margin-bottom: 1.5rem; display: inline-block; background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 10px 10px rgba(189,16,224,0.2)); transition: transform 0.3s ease; }
.glass-panel:hover .feature-icon { transform: scale(1.2) rotate(-5deg); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 3.5rem; margin-bottom: 1rem; text-shadow: 0 0 20px rgba(255,255,255,0.1); }
.section-header p { color: var(--text-muted); font-size: 1.25rem; max-width: 700px; margin: 0 auto; }

/* Feature List Inside Card */
.feature-list { list-style: none; margin-top: 1.5rem; }
.feature-list li { margin-bottom: 0.8rem; font-size: 0.95rem; color: var(--text-muted); display: flex; align-items: center; gap: 10px; transition: color 0.3s; }
.feature-list li:hover { color: #fff; }
.feature-list li i { color: var(--neon-purple); font-size: 1rem; filter: drop-shadow(0 0 5px var(--neon-purple)); }

/* Badges */
.badge { background: rgba(189, 16, 224, 0.1); color: var(--neon-purple); padding: 0.6rem 1.5rem; border-radius: 50px; font-size: 0.95rem; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 2rem; border: 1px solid rgba(189, 16, 224, 0.4); box-shadow: 0 0 15px rgba(189,16,224,0.2); animation: floatBadge 3s infinite alternate; }
@keyframes floatBadge { to { transform: translateY(-5px); } }

/* Performance Bars */
.performance-section { background: rgba(0,0,0,0.3); border-radius: 24px; padding: 4rem; margin-top: 4rem; border: 1px solid rgba(255,255,255,0.05); }
.bar-container { margin-bottom: 2rem; }
.bar-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-weight: 600; }
.bar-header .val { color: var(--neon-blue); }
.bar-bg { width: 100%; height: 12px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; position: relative; }
.bar-fill { height: 100%; background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue)); border-radius: 10px; position: relative; box-shadow: 0 0 15px rgba(0,240,255,0.5); transition: width 1.5s cubic-bezier(0.2, 0.8, 0.2, 1); width: 0; }
.bar-fill::after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent); animation: shimmer 2s infinite; }
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* Pricing */
.pricing-card.premium { transform: scale(1.05); border-color: rgba(189,16,224,0.6); box-shadow: 0 20px 60px rgba(189,16,224,0.2); position: relative; }
.pricing-card.premium::before { content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; background: linear-gradient(45deg, var(--neon-purple), transparent, var(--neon-blue)); z-index: -1; border-radius: 26px; animation: borderGlow 3s infinite alternate; }
@keyframes borderGlow { 0% { opacity: 0.5; } 100% { opacity: 1; } }

/* Accordion (FAQ) */
.faq-item { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; margin-bottom: 1rem; overflow: hidden; transition: 0.3s; }
.faq-item:hover { border-color: rgba(189,16,224,0.3); background: rgba(255,255,255,0.05); }
.faq-question { padding: 1.5rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; font-size: 1.1rem; }
.faq-question i { color: var(--neon-blue); transition: transform 0.3s; }
.faq-item.active .faq-question i { transform: rotate(45deg); color: var(--neon-purple); }
.faq-answer { padding: 0 1.5rem; max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out, padding 0.3s ease; color: var(--text-muted); }
.faq-item.active .faq-answer { padding-bottom: 1.5rem; max-height: 200px; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.review-card { padding: 2rem; background: rgba(255,255,255,0.02); border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); position: relative; }
.review-card i.fa-quote-right { position: absolute; top: 1.5rem; left: 1.5rem; font-size: 2rem; color: rgba(189,16,224,0.1); }
.stars { color: #FFD700; margin-bottom: 1rem; font-size: 0.9rem; }
.user-info { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.user-avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue)); display: flex; justify-content: center; align-items: center; font-weight: bold; color: #fff; }

/* CTA Banner */
.cta-banner { background: linear-gradient(135deg, rgba(189,16,224,0.2), rgba(0,240,255,0.1)); border: 1px solid rgba(189,16,224,0.4); border-radius: 24px; padding: 5rem 2rem; text-align: center; margin-top: 8rem; position: relative; overflow: hidden; }
.cta-banner::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%); animation: spin 15s linear infinite; pointer-events: none; }

/* Animations */
.reveal-up { opacity: 0; transform: translateY(40px) scale(0.95); transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1); }
.reveal-up.visible { opacity: 1; transform: translateY(0) scale(1); }
.stagger-1 { transition-delay: 0.1s; } .stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; } .stagger-4 { transition-delay: 0.4s; }

/* Media Queries */
@media (max-width: 992px) {
    .hero { grid-template-columns: 1fr; text-align: center; }
    h1 { font-size: 3.5rem; }
    .hero-content p { margin: 0 auto 2.5rem; }
    .hero-buttons { justify-content: center; }
    .nav-links { display: none; }
    .hero-graphic { height: 350px; display: none;}
    .stats-container { flex-direction: column; }
}
