/* ─── منصة غصون — Landing Styles ─── */
:root {
    --black: #222222;
    --black-light: #2d2d2d;
    --black-soft: #3a3a3a;
    --yellow: #ffb606;
    --yellow-dark: #e6a405;
    --yellow-glow: rgba(255, 182, 6, 0.15);
    --white: #ffffff;
    --gray: #a0a0a0;
    --gray-light: #f5f5f5;
    --font: 'Tajawal', 'Segoe UI', sans-serif;
    --radius: 12px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--white);
    direction: rtl;
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ─── Navbar ─── */
.navbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(34, 34, 34, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 182, 6, 0.1);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(34, 34, 34, 0.97);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    font-weight: 800;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--yellow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--black);
    font-weight: 900;
}

.logo span { color: var(--yellow); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray);
    transition: var(--transition);
    position: relative;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--yellow);
    transition: var(--transition);
}

.nav-links a:hover::after { width: 100%; }

.nav-actions { display: flex; gap: 0.75rem; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--yellow);
    color: var(--yellow);
}

.btn-primary {
    background: var(--yellow);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--yellow-glow);
}

.btn-lg {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
}

/* ─── Hero ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 2rem 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, var(--yellow-glow) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 182, 6, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, var(--black) 0%, #1a1a1a 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 182, 6, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 182, 6, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--yellow-glow);
    border: 1px solid rgba(255, 182, 6, 0.3);
    color: var(--yellow);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--yellow);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    color: var(--yellow);
    position: relative;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

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

.hero-card {
    background: var(--black-light);
    border: 1px solid rgba(255, 182, 6, 0.15);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow);
    position: relative;
}

.hero-card::before {
    content: '';
    position: absolute;
    top: -1px;
    right: 20%;
    left: 20%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--yellow), transparent);
    border-radius: 3px;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-item { text-align: center; }

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--yellow);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    margin-top: 0.25rem;
}

/* ─── Features ─── */
.features {
    padding: 6rem 2rem;
    background: #1a1a1a;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header h2 span { color: var(--yellow); }

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

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--black-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: rgba(255, 182, 6, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--yellow-glow);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--yellow);
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

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

/* ─── Footer ─── */
.footer {
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.footer p { color: var(--gray); font-size: 0.9rem; }

.footer span { color: var(--yellow); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin-inline: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { display: none; }
}
