:root {
    --primary: #0b2e4e; /* Navy from logo */
    --accent: #f7a01b;  /* Orange from logo */
    --accent-light: #ffb347;
    --text-main: #f8fafc;
    --text-dim: #cbd5e1;
    --bg-main: #05192d; /* Darker Navy for background */
    --glass: rgba(11, 46, 78, 0.6);
    --border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    font-family: 'Cairo', sans-serif;
}

/* Background Gradients */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 0%, #1e293b 0%, #020617 100%);
}

.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(247, 160, 27, 0.1) 0%, transparent 70%);
    filter: blur(80px);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo img {
    height: 45px;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.btn {
    padding: 0.75rem 1.8rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary); /* Navy text on orange button for better contrast */
    box-shadow: 0 4px 15px rgba(247, 160, 27, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 160, 27, 0.5);
}

.btn-outline {
    border: 1px solid var(--border);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    padding: 100px 8% 60px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-light);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 40%, #64748b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 900px;
}

.hero p {
    color: var(--text-dim);
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 40px;
}

/* Dashboard Mockup */
.dashboard-preview {
    width: 100%;
    max-width: 1000px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px;
    border-radius: 16px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7);
    position: relative;
    margin-top: 40px;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.dashboard-preview:hover {
    transform: perspective(1000px) rotateX(0deg);
    box-shadow: 0 70px 120px -20px rgba(0, 0, 0, 0.8);
}

.dashboard-preview::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 20px;
    width: 40px;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.dashboard-preview img {
    width: 100%;
    border-radius: 10px;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

/* Features Grid */
.features {
    padding: 100px 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-dim);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 40px;
    border-radius: 24px;
    transition: 0.3s;
}

.feature-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--accent);
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* Pricing */
.pricing {
    padding: 80px 8%;
    background: rgba(15, 23, 42, 0.3);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.price-card {
    background: var(--glass);
    border: 1px solid var(--border);
    padding: 50px;
    border-radius: 30px;
    width: 380px;
    text-align: center;
}

.price-card.featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
    position: relative;
}

.price-card.featured::before {
    content: "الأكثر طلباً";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    margin: 20px 0;
}

.price-amount span {
    font-size: 1rem;
    color: var(--text-dim);
}

.price-features {
    list-style: none;
    margin: 30px 0;
    text-align: right;
}

.price-features li {
    margin-bottom: 12px;
    color: var(--text-dim);
}

.price-features li i {
    color: var(--accent);
    margin-left: 10px;
}

/* Footer */
footer {
    padding: 60px 8%;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s all ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .nav-links { display: none; }
    footer { flex-direction: column; gap: 20px; text-align: center; }
}
