/* --- Variables & Reset --- */
:root {
    --bg-dark: #000000; /* تم التعديل إلى الأسود الخالص */
    --bg-deep-blue: #080a13; /* لون أساسي أزرق داكن جداً */
    --primary: #00f2ff; /* Cyber Cyan */
    --secondary: #7000ff; /* Deep Neon Purple */
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --success: #00ff9d;
    --danger: #ff4d4d;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    /* تدرج عميق جداً يميل إلى الأسود */
    background: linear-gradient(135deg, #050505 0%, #100a1f 100%); 
    color: var(--text-main);
    overflow-x: hidden;
}

/* --- Animated Background --- */
.background-wrapper {
    position: fixed;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    /* خلفية ثابتة داكنة جداً */
    background: var(--bg-deep-blue); 
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px); /* تم زيادة قيمة التغبيش */
    opacity: 0.4; /* تم تقليل الشفافية قليلاً */
    animation: floatOrb 20s infinite ease-in-out;
}

.orb-1 { width: 500px; height: 500px; background: var(--secondary); top: -100px; left: -100px; }
.orb-2 { width: 400px; height: 400px; background: var(--primary); bottom: 10%; right: -50px; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; background: #ff0055; top: 40%; left: 30%; opacity: 0.3; animation-delay: -10s; }

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 50px) scale(1.1); }
}

/* --- Layout Utilities --- */
.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* --- Glassmorphism Base --- */
.glass-panel, .glass-nav, .glass-card, .glass-footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* --- Navbar --- */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 400;
    transition: 0.3s;
}

.nav-links a:hover { color: var(--text-main); text-shadow: 0 0 10px rgba(255,255,255,0.5); }

/* --- Buttons --- */
.btn-primary {
    padding: 12px 28px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(0, 242, 255, 0.6); }

.btn-secondary {
    padding: 12px 28px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    margin-left: 10px;
    transition: 0.3s;
}

.btn-secondary:hover { background: rgba(255,255,255,0.2); }

/* --- Hero Section --- */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding-top: 80px;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin: 20px 0;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 30px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.3);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-card {
    transform-style: preserve-3d;
}

.balance-card {
    padding: 40px;
    border-radius: 24px;
    min-width: 350px;
    background: linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
}

.card-header { display: flex; justify-content: space-between; color: var(--text-muted); margin-bottom: 20px; }
.balance-card h2 { font-size: 2.5rem; margin-bottom: 10px; }
.growth { color: var(--success); margin-bottom: 30px; display: flex; align-items: center; gap: 5px; }

.mini-chart { display: flex; align-items: flex-end; justify-content: space-between; height: 60px; gap: 10px; }
.mini-chart span { width: 100%; background: var(--primary); border-radius: 4px; opacity: 0.5; }

/* --- Stats --- */
.stats-section { margin-top: -50px; position: relative; z-index: 2; margin-bottom: 100px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.stat-box { text-align: center; padding: 40px; border-radius: 16px; transition: 0.3s; }
.stat-box:hover { transform: translateY(-10px); background: rgba(255,255,255,0.07); }
.icon-box { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }
.stat-box h3 { font-size: 2.5rem; margin-bottom: 5px; }
.stat-box p { color: var(--text-muted); }

/* --- Market Table --- */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 3rem; margin-bottom: 15px; }
.section-header p { color: var(--text-muted); }

.table-container { border-radius: 24px; padding: 0; overflow: hidden; margin-bottom: 100px; }
.market-table { width: 100%; border-collapse: collapse; }
.market-table th, .market-table td { padding: 20px 30px; text-align: left; border-bottom: 1px solid var(--glass-border); }
.market-table th { background: rgba(0,0,0,0.2); color: var(--text-muted); font-weight: 400; text-transform: uppercase; font-size: 0.85rem; }
.market-table tr:hover { background: rgba(255,255,255,0.05); }
.asset-info { display: flex; align-items: center; gap: 15px; }
.asset-icon { font-size: 2rem; }

/* Icon Colors for AI */
.chart { color: #00f2ff; } 
.camera { color: #ff0055; }
.robot { color: #7000ff; }
/* End Icon Colors */

.positive { color: var(--success); } 
.negative { color: var(--danger); }
.btn-sm { padding: 8px 16px; background: rgba(255,255,255,0.1); border: 1px solid var(--glass-border); color: white; border-radius: 8px; cursor: pointer; transition: 0.2s; }
.btn-sm:hover { background: var(--primary); color: black; }

/* Status Button Styles */
.status-running {
    background: #00ff9d1a; 
    color: var(--success);
    border: 1px solid #00ff9d4d;
}

.status-training {
    background: #ffc4001a; 
    color: #ffc400;
    border: 1px solid #ffc4004d;
}

/* --- Features Grid --- */
.features-section { margin-bottom: 100px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { padding: 40px; border-radius: 20px; transition: transform 0.1s; position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--primary), var(--secondary)); opacity: 0; transition: 0.3s; }
.feature-card:hover::before { opacity: 1; }
.feature-icon { font-size: 3rem; color: var(--secondary); margin-bottom: 20px; display: block; }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.feature-card p { color: var(--text-muted); line-height: 1.6; }

/* --- Architecture Vision Section Styles --- */
.vision-section {
    margin-bottom: 100px;
}

.architecture-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px;
    border-radius: 24px;
}

.vision-card {
    text-align: center;
    padding: 20px;
    /* خط فاصل خفيف، يظهر فقط بين العناصر وليس حولها */
    border-left: 1px solid var(--glass-border); 
}

.vision-card:first-child {
    border-left: none; /* إزالة الخط من أول عنصر */
}

.vision-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.vision-card h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.vision-card p {
    color: var(--text-muted);
}

/* --- Testimonials Section Styles --- */
.testimonials-section {
    margin-bottom: 100px;
}

.testimonial-card {
    padding: 40px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.client-info {
    border-top: 1px solid var(--glass-border);
    padding-top: 15px;
}

.client-name {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    color: var(--primary);
}

.client-title {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- Footer --- */
.glass-footer { margin-top: 50px; border-radius: 30px 30px 0 0; border-bottom: none; }
.footer-content { padding: 80px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.footer-brand h2 { font-size: 2rem; margin-bottom: 10px; }
.footer-links { display: flex; gap: 80px; flex-wrap: wrap; }
.footer-links h4 { margin-bottom: 20px; color: var(--primary); }
.footer-links a { display: block; color: var(--text-muted); text-decoration: none; margin-bottom: 10px; transition: 0.2s; }
.footer-links a:hover { color: white; transform: translateX(5px); }
.footer-bottom { padding: 30px; border-top: 1px solid var(--glass-border); text-align: center; color: var(--text-muted); display: flex; justify-content: space-between; align-items: center; max-width: 1280px; margin: 0 auto; }
.socials i { font-size: 1.2rem; margin-left: 20px; cursor: pointer; transition: 0.2s; }
.socials i:hover { color: var(--primary); }

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .hero-section { flex-direction: column; text-align: center; padding-top: 150px; }
    .hero-btns { justify-content: center; }
    .hero-card { margin-top: 50px; width: 100%; }
    .nav-links { display: none; } /* Need hamburger menu for full mobile */
    .footer-content { flex-direction: column; }
    .footer-links { gap: 40px; }
    .architecture-layout { grid-template-columns: 1fr; padding: 40px; }
    .vision-card { border-left: none; border-bottom: 1px solid var(--glass-border); padding-bottom: 30px;}
    .vision-card:last-child { border-bottom: none; }
}