:root {
    --primary: #0f3d3e;
    --primary-light: #1a5c5d;
    --primary-dark: #072627;
    --accent: #e2b842;
    --accent-light: #f1d279;
    --text-main: #f8fafc;
    --text-muted: #cbd5e1;
    --bg-main: #051919;
    --bg-card: rgba(15, 61, 62, 0.4);
    --glass-border: rgba(226, 184, 66, 0.2);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
    --font-main: 'Cairo', sans-serif;
    --font-heading: 'Amiri', serif;
}

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

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

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
}

.gold-text {
    background: linear-gradient(45deg, var(--accent), #fff7e6, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

/* Background Decorations */
.bg-blob {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(15, 61, 62, 0.3) 0%, transparent 70%);
    filter: blur(100px);
    z-index: -1;
    border-radius: 50%;
}

/* Navigation */
nav.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 25, 25, 0.8);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.nav-logo img {
    height: 45px;
    filter: drop-shadow(0 0 10px var(--accent));
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

.download-btn {
    background: linear-gradient(45deg, var(--accent), var(--accent-light));
    color: var(--primary-dark) !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(226, 184, 66, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(226, 184, 66, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 180px 10% 100px;
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.mockup-container {
    position: relative;
    width: 350px;
    z-index: 2;
}

.mockup-container img {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.achievement-floating {
    position: absolute;
    top: 10%;
    right: -20%;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Feature Sections */
section {
    padding: 100px 10%;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 30px;
    transition: all 0.4s ease;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(15, 61, 62, 0.6);
    border-color: var(--accent);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Detailed Showcase */
.showcase-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 150px;
}

.showcase-row:nth-child(even) {
    flex-direction: row-reverse;
}

.showcase-text {
    flex: 1;
}

.showcase-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.showcase-visual img {
    max-width: 320px;
    border-radius: 30px;
    border: 5px solid var(--bg-card);
    box-shadow: var(--shadow);
}

/* Screenshots Gallery */
.gallery-container {
    overflow: hidden;
    padding: 50px 0;
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 9)); }
}

.gallery-track img {
    height: 600px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    padding: 100px 10% 50px;
    background: var(--primary-dark);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 1.5rem;
    color: var(--text-muted);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--accent);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }
    .hero-content h1 {
        font-size: 3.5rem;
    }
    .hero-content p {
        margin: 0 auto 3rem;
    }
    .showcase-row {
        flex-direction: column !important;
        text-align: center;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}