/* ============================================================
   aniskoubaa.org — shared base stylesheet
   Single source of truth for design tokens, navbar, and footer.
   New pages should rely on this file; legacy inline <style> blocks
   in index.php / research-trends.php can be migrated here over time.
   ============================================================ */

:root {
    --primary-color: #0a2540;
    --secondary-color: #635bff;
    --accent-color: #00d4ff;
    --text-color: #424770;
    --light-bg: #f6f9fc;
    --light-accent: #e3e8ee;
    --success-color: #32D583;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, .05);
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
}

.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.badge-soft {
    background: var(--light-bg);
    color: var(--secondary-color);
    border-radius: 20px;
    padding: 0.4rem 0.9rem;
    font-weight: 500;
}

footer {
    background: var(--primary-color);
    padding: 3rem 0;
}

/* ===== Startup & Products section (shared by EN + AR home pages) ===== */
.products-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--light-bg) 100%);
}

.section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .72rem;
    font-weight: 700;
    color: var(--secondary-color);
    background: rgba(99, 91, 255, .09);
    padding: .3rem .85rem;
    border-radius: 20px;
}

/* Featured company banner */
.scalex-feature {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 18px;
    padding: 2rem 2.25rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(99, 91, 255, .22);
}
.scalex-feature::after {
    content: '';
    position: absolute;
    inset-inline-end: -40px;
    top: -40px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(0, 212, 255, .35) 0%, transparent 70%);
}
.scalex-feature h3 { color: #fff; }
.scalex-feature .feature-icon {
    width: 46px; height: 46px; border-radius: 12px;
    background: rgba(255, 255, 255, .15);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.btn-feature {
    background: #fff;
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    padding: .6rem 1.4rem;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    transition: transform .2s ease;
}
.btn-feature:hover { transform: translateY(-2px); color: var(--secondary-color); }

/* Product cards */
.product-card {
    background: #fff;
    border: 1px solid var(--light-accent);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card::before {
    content: '';
    position: absolute;
    inset-inline: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(10, 37, 64, .12);
    border-color: transparent;
}
.product-card:hover::before { transform: scaleX(1); }
.product-icon {
    width: 50px; height: 50px; border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(99, 91, 255, .10);
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    transition: background .25s ease, color .25s ease;
}
.product-card:hover .product-icon { background: var(--secondary-color); color: #fff; }
.product-card h6 { color: var(--primary-color); font-size: 1.08rem; margin-bottom: .45rem; }
.product-card .desc { color: #6b7280; font-size: .88rem; line-height: 1.65; margin-bottom: 0; }
.product-visit {
    display: inline-flex; align-items: center; gap: .4rem;
    color: var(--secondary-color); font-weight: 600; font-size: .82rem;
    margin-top: 1rem;
}
.product-card:hover .product-visit { gap: .6rem; }

/* ===== News & Events (shared by EN + AR home pages) ===== */
.news-card {
    background: #fff;
    border: 1px solid var(--light-accent);
    border-radius: 14px;
    padding: 1.3rem 1.4rem;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(10, 37, 64, .10); }
.news-date {
    display: inline-block;
    font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--secondary-color); background: rgba(99, 91, 255, .09);
    border-radius: 20px; padding: .25rem .75rem; margin-bottom: .65rem;
}
.news-date.upcoming { color: #1a9d5a; background: #e9faf0; }
.news-card h5, .news-card h6 { color: var(--primary-color); }
.news-link { color: var(--secondary-color); font-weight: 600; font-size: .85rem; text-decoration: none; display: inline-block; }
.news-link:hover { text-decoration: underline; }
.news-feature-img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.btn-news {
    background: var(--secondary-color); color: #fff; border-radius: 30px;
    padding: .55rem 1.3rem; font-weight: 600; font-size: .9rem;
    text-decoration: none; display: inline-block; transition: transform .2s ease;
}
.btn-news:hover { color: #fff; transform: translateY(-2px); }
