/* ═══════════════════════════════════════════════
   Shaheen Security — Landing Page Styles
   شاهين سيكيوريتي — تصميم الصفحة التسويقية
   ═══════════════════════════════════════════════ */

:root {
    --primary: #1e3a5f;
    --primary-light: #2563eb;
    --primary-dark: #0f2440;
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --success: #10b981;
    --danger: #ef4444;
    --text: #1e293b;
    --text-muted: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════ NAVBAR ═══════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
}

.logo-icon {
    font-size: 32px;
    line-height: 1;
}

.logo-en {
    display: block;
    font-size: 18px;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.5px;
}

.logo-ar {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* ═══════════ BUTTONS ═══════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
}

.btn-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,99,235,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-ghost {
    background: rgba(255,255,255,0.15);
    color: white;
    border-color: rgba(255,255,255,0.3);
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.25);
}

.btn-lg { padding: 14px 36px; font-size: 17px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ═══════════ HERO ═══════════ */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 40%, #1a4b8c 100%);
    overflow: hidden;
    text-align: center;
    color: white;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(37,99,235,0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245,158,11,0.15) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(245,158,11,0.2);
    border: 1px solid rgba(245,158,11,0.4);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.8);
    max-width: 640px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.stat { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 800; font-family: 'Inter', sans-serif; }
.stat-label { font-size: 14px; color: rgba(255,255,255,0.6); }

/* ═══════════ SECTIONS ═══════════ */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
}

/* ═══════════ FEATURES ═══════════ */
.features {
    padding: 100px 0;
    background: var(--bg-alt);
}

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

.feature-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
    display: inline-block;
    width: 64px;
    height: 64px;
    line-height: 64px;
    text-align: center;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-radius: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* ═══════════ PRICING ═══════════ */
.pricing {
    padding: 100px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: start;
}

.price-card {
    background: var(--bg-alt);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.price-card.popular {
    border-color: var(--primary-light);
    background: white;
    box-shadow: var(--shadow-lg);
    transform: scale(1.04);
}

.price-card.popular:hover {
    transform: scale(1.04) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-light);
    color: white;
    padding: 4px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.price-header h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 2px;
}

.price-name-en {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.price-amount {
    margin-bottom: 4px;
}

.currency {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-muted);
    vertical-align: top;
}

.amount {
    font-size: 48px;
    font-weight: 900;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.period {
    font-size: 16px;
    color: var(--text-muted);
}

.price-annual {
    font-size: 13px;
    color: var(--success);
    font-weight: 600;
    margin-bottom: 24px;
}

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

.price-features li {
    padding: 8px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-features li:last-child { border-bottom: none; }

.price-features li.included::before {
    content: '\2713';
    color: var(--success);
    font-weight: 700;
    font-size: 16px;
    min-width: 20px;
}

.price-features li.excluded {
    color: var(--text-muted);
    opacity: 0.6;
}

.price-features li.excluded::before {
    content: '\2717';
    color: var(--danger);
    font-weight: 700;
    font-size: 16px;
    min-width: 20px;
}

/* ═══════════ CONTACT ═══════════ */
.contact {
    padding: 80px 0;
    background: var(--bg-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.contact-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.contact-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.contact-card p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ═══════════ FOOTER ═══════════ */
.footer {
    background: var(--bg-dark);
    padding: 32px 0;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 12px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border);
    }

    .nav-links.open { display: flex; }
    .mobile-menu-btn { display: block; }

    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 28px; }
    .hero-stats { gap: 24px; flex-wrap: wrap; }
    .hero-actions { flex-direction: column; align-items: center; }

    .features-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .price-card.popular { transform: none; }
    .price-card.popular:hover { transform: translateY(-4px); }

    .footer-content { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 100px 0 50px; }
    .features, .pricing { padding: 60px 0; }
}
