/* ══════════════════════════════════════════════════════════════
   TAKAFOOL (تكافل) - MODERN FINTECH DESIGN SYSTEM
   Ultra-Premium Arabic Car Insurance Comparison Platform
   ══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* ── Reset & Variables ── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand Colors */
    --primary: #1d4ed8;
    --primary-rgb: 29, 78, 216;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --primary-soft: rgba(37, 99, 235, 0.08);

    --accent-emerald: #059669;
    --accent-emerald-rgb: 5, 150, 105;
    --emerald-light: #10b981;
    --emerald-soft: rgba(16, 185, 129, 0.1);

    --accent-indigo: #4f46e5;
    --accent-violet: #7c3aed;
    --accent-amber: #d97706;

    /* Neutrals & Surfaces */
    --bg-page: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.94);
    --bg-card-hover: rgba(255, 255, 255, 1);
    --bg-soft: #f1f5f9;
    --bg-subtle: #f8fafc;

    --border: rgba(226, 232, 240, 0.85);
    --border-hover: rgba(37, 99, 235, 0.3);
    --border-highlight: rgba(255, 255, 255, 0.8);

    /* Text Colors */
    --text-main: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    --text-white: #ffffff;

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.08), 0 10px 15px -3px rgba(15, 23, 42, 0.04);
    --shadow-glow: 0 12px 32px rgba(37, 99, 235, 0.28);
    --shadow-emerald-glow: 0 8px 24px rgba(16, 185, 129, 0.25);

    /* Radii */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-tap-highlight-color: transparent;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* ── Ambient Background Mesh & Lighting ── */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.mesh-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.16;
    animation: orbFloat 22s infinite alternate ease-in-out;
}

.mesh-orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #3b82f6 0%, #1d4ed8 70%);
    top: -160px;
    right: -100px;
}

.mesh-orb-2 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #8b5cf6 0%, #6366f1 70%);
    top: 35%;
    left: -140px;
    animation-delay: -6s;
}

.mesh-orb-3 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, #10b981 0%, #059669 70%);
    bottom: -80px;
    right: 15%;
    animation-delay: -12s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -25px) scale(1.06); }
    100% { transform: translate(-25px, 20px) scale(0.96); }
}

/* Subtle Grid Texture */
.ambient-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(148, 163, 184, 0.15) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 95%);
}

/* ── Layout Container ── */
.site-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography & Gradients ── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.35;
}

.gradient-title {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #4f46e5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

.gradient-text-emerald {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

/* ── Global Floating Header / Navbar ── */
.nav-header {
    position: sticky;
    top: 16px;
    z-index: 999;
    padding: 0 16px;
    margin-bottom: 24px;
}

.nav-glass-bar {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-full);
    padding: 10px 18px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05), 0 2px 8px -2px rgba(15, 23, 42, 0.02);
    transition: all var(--transition-fast);
}

.nav-glass-bar:hover {
    box-shadow: 0 14px 35px -5px rgba(15, 23, 42, 0.08);
}

/* Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    transition: transform var(--transition-fast);
}

.nav-brand:hover {
    transform: scale(1.02);
}

.brand-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1d4ed8, #4f46e5);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.brand-icon-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
    border-radius: 14px 14px 0 0;
}

.brand-icon-box svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    position: relative;
    z-index: 1;
}

.brand-text-col {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: -0.01em;
    color: var(--text-main);
    line-height: 1.1;
}

.brand-tagline {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* Nav Links Desktop */
.nav-desktop-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-menu-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-menu-link:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.nav-menu-link.active {
    color: var(--primary);
    background: var(--primary-soft);
    font-weight: 800;
}

/* Header Action Buttons */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: white;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 9px 20px;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: all var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
}

/* Mobile Toggle */
.nav-toggle-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 12px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    transition: background var(--transition-fast);
}

.nav-toggle-btn:hover {
    background: var(--primary-soft);
}

.hamburger-bar {
    width: 22px;
    height: 2.2px;
    background-color: var(--text-main);
    border-radius: 99px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle-btn.open .hamburger-bar:nth-child(1) {
    transform: translateY(7.2px) rotate(45deg);
}

.nav-toggle-btn.open .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle-btn.open .hamburger-bar:nth-child(3) {
    transform: translateY(-7.2px) rotate(-45deg);
}

/* Mobile Dropdown Menu */
.mobile-nav-drawer {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 12px);
    right: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -8px rgba(15, 23, 42, 0.15);
    padding: 14px;
    gap: 6px;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: all var(--transition-smooth);
    z-index: 1000;
}

.mobile-nav-drawer.open {
    display: flex;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.mobile-link-item:hover, .mobile-link-item.active {
    background: var(--primary-soft);
    color: var(--primary);
}

.mobile-cta-btn {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 14px;
    border-radius: 14px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3);
}

/* ── Hero Section (Two-Column Responsive Masterpiece) ── */
.hero-section {
    padding: 30px 0 60px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 40px;
    align-items: center;
}

/* Right Column (Hero Content in RTL) */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 99, 235, 0.22);
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
    margin-bottom: 20px;
}

.pulse-indicator {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    position: relative;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseAura 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulseAura {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    color: var(--text-main);
}

.hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-secondary);
    margin-bottom: 26px;
    max-width: 580px;
}

.hero-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.trust-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-secondary);
    box-shadow: var(--shadow-xs);
    transition: all var(--transition-fast);
}

.trust-chip:hover {
    border-color: rgba(37, 99, 235, 0.3);
    background: white;
    transform: translateY(-1px);
}

.trust-chip svg {
    width: 16px;
    height: 16px;
    color: var(--accent-emerald);
    flex-shrink: 0;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

.btn-primary-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #4f46e5 100%);
    color: white;
    font-size: 1.05rem;
    font-weight: 800;
    padding: 16px 36px;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.38);
    transition: all var(--transition-smooth);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    animation: btnShine 4s infinite ease-in-out;
}

@keyframes btnShine {
    0%, 70% { left: -100%; }
    100% { left: 200%; }
}

.btn-primary-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.48);
}

.btn-primary-hero:active {
    transform: translateY(0);
}

.btn-secondary-guide {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    color: var(--text-main);
    font-size: 0.95rem;
    font-weight: 800;
    padding: 16px 26px;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.btn-secondary-guide:hover {
    background: white;
    border-color: rgba(37, 99, 235, 0.4);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-micro-disclaimer {
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Left Column: Interactive Estimator & Visual Card */
.hero-interactive-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.1), 0 1px 0 0 rgba(255, 255, 255, 0.8) inset;
    overflow: hidden;
    position: relative;
    transition: all var(--transition-smooth);
}

.hero-interactive-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 25px 55px -10px rgba(15, 23, 42, 0.14);
}

/* Card Header with 3D Illustration preview */
.card-hero-media {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.card-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.hero-interactive-card:hover .card-hero-media img {
    transform: scale(1.04);
}

.media-floating-badge {
    position: absolute;
    bottom: 14px;
    right: 16px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.15);
}

.media-floating-badge-left {
    position: absolute;
    top: 14px;
    left: 16px;
    background: rgba(16, 185, 129, 0.92);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* Interactive Calculator Body */
.estimator-body {
    padding: 24px;
}

.estimator-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}

.estimator-title-group h3 {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.estimator-title-group p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.live-badge {
    font-size: 0.72rem;
    font-weight: 800;
    background: var(--emerald-soft);
    color: var(--accent-emerald);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Vehicle Types Pill Selector */
.sim-row {
    margin-bottom: 16px;
}

.sim-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.pill-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    background: var(--bg-soft);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.pill-btn {
    background: transparent;
    border: none;
    padding: 8px 4px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition-fast);
    text-align: center;
}

.pill-btn:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.6);
}

.pill-btn.active {
    background: white;
    color: var(--primary);
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
}

/* Coverage Type Toggle */
.coverage-toggle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.coverage-toggle-item {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: white;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.coverage-toggle-item:hover {
    border-color: rgba(37, 99, 235, 0.4);
}

.coverage-toggle-item.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(79, 70, 229, 0.04));
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

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

.toggle-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--text-main);
}

.toggle-radio {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.coverage-toggle-item.active .toggle-radio {
    border-color: var(--primary);
    background: var(--primary);
}

.coverage-toggle-item.active .toggle-radio::after {
    content: '';
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}

.toggle-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Najm Discount Selector */
.najm-slider-container {
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    padding: 14px;
    border: 1px solid var(--border);
}

.najm-row-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.najm-val-badge {
    background: var(--emerald-soft);
    color: var(--accent-emerald);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.najm-buttons-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.najm-btn {
    border: 1px solid var(--border);
    background: white;
    padding: 6px 4px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.najm-btn:hover {
    border-color: var(--accent-emerald);
    color: var(--accent-emerald);
}

.najm-btn.active {
    background: var(--accent-emerald);
    color: white;
    border-color: var(--accent-emerald);
    font-weight: 800;
}

/* Result Simulation Box */
.sim-result-box {
    margin-top: 18px;
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.res-info-col {
    display: flex;
    flex-direction: column;
}

.res-label {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-muted);
}

.res-price, .res-title-rec {
    font-size: 1.18rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.3;
    margin: 3px 0;
}

.res-sub {
    font-size: 0.7rem;
    color: var(--accent-emerald);
    font-weight: 700;
}

.btn-card-compare {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.88rem;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: all var(--transition-smooth);
    flex-shrink: 0;
    border: none;
    cursor: pointer;
}

.btn-card-compare:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* ── Trust Ticker / Stats Bar ── */
.trust-stats-section {
    padding: 0 0 50px;
}

.stats-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px 30px;
    box-shadow: var(--shadow-sm);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.stat-text h4 {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.2;
}

.stat-text p {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ── Section Headers ── */
.section-header-center {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.section-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 5px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.section-title-large {
    font-size: 2.1rem;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--text-main);
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ── Interactive Comparison Section (شامل vs ضد الغير) ── */
.comparison-section {
    padding: 40px 0 60px;
}

.compare-cards-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 28px;
    align-items: stretch;
}

.ins-card {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-smooth);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.ins-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.35);
}

.ins-card.featured-plan {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(240, 247, 255, 0.8) 100%);
    border-color: var(--primary);
    box-shadow: 0 16px 40px -8px rgba(37, 99, 235, 0.18);
}

.popular-badge-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1d4ed8, #4f46e5);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 5px 20px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    white-space: nowrap;
}

.plan-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.plan-badge-type {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.plan-badge-type.mandatory {
    background: rgba(14, 165, 233, 0.12);
    color: #0284c7;
}

.plan-badge-type.comprehensive {
    background: rgba(124, 58, 237, 0.12);
    color: var(--accent-violet);
}

.plan-title-block h3 {
    font-size: 1.45rem;
    font-weight: 900;
    margin-bottom: 4px;
}

.plan-title-block p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.plan-audience-box {
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 22px;
    border: 1px solid var(--border);
}

.plan-audience-box strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 2px;
    font-size: 0.88rem;
}

.plan-features-list {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-icon-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--emerald-soft);
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-icon-check svg {
    width: 12px;
    height: 12px;
    stroke-width: 3;
}

.feature-icon-cross {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-icon-cross svg {
    width: 12px;
    height: 12px;
    stroke-width: 3;
}

.btn-plan-select {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-plan-outline {
    background: white;
    border: 1.5px solid var(--border);
    color: var(--text-main);
    box-shadow: var(--shadow-xs);
}

.btn-plan-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-soft);
}

.btn-plan-solid {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: white;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}

.btn-plan-solid:hover {
    background: linear-gradient(135deg, #1e40af, #1d4ed8);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
    transform: translateY(-2px);
}

/* ── How It Works (3 Steps) ── */
.steps-section {
    padding: 40px 0 60px;
}

.steps-timeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
}

.step-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all var(--transition-smooth);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.3);
}

.step-number-pill {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #1d4ed8, #4f46e5);
    color: white;
    font-size: 1.25rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.3);
}

.step-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Value Hub & Key Benefits Grid ── */
.benefits-section {
    padding: 40px 0 60px;
}

.benefits-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.benefit-feature-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 20px;
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-xs);
}

.benefit-feature-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: var(--shadow-md);
    background: white;
}

.feature-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.feature-card-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.benefit-feature-card h4 {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.benefit-feature-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Guidance & Important Checklist ── */
.guidance-section {
    padding: 30px 0 50px;
}

.guidance-glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 247, 255, 0.85));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-xl);
    padding: 34px 30px;
    box-shadow: var(--shadow-sm);
}

.guidance-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.guidance-title-row h3 {
    font-size: 1.35rem;
    font-weight: 900;
}

.guidance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.guidance-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.guidance-item .chk {
    color: var(--accent-emerald);
    font-size: 1.1rem;
    font-weight: 900;
    flex-shrink: 0;
}

/* ── Interactive FAQ Section ── */
.faq-section {
    padding: 40px 0 60px;
}

.faq-card-container {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    max-width: 860px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
}

.faq-item.active {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.faq-question-btn {
    width: 100%;
    text-align: right;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    transition: color var(--transition-fast);
    gap: 14px;
}

.faq-question-btn:hover {
    color: var(--primary);
}

.faq-chevron {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-muted);
    flex-shrink: 0;
    border: 1px solid var(--border);
    transition: transform var(--transition-smooth), background var(--transition-fast);
}

.faq-item.active .faq-chevron {
    transform: rotate(45deg);
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.faq-answer-drawer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--text-secondary);
    padding: 0 20px;
}

.faq-item.active .faq-answer-drawer {
    max-height: 250px;
    padding-bottom: 18px;
}

/* ── Transparency, Entity Verification & Legal Disclosure Box ── */
.transparency-section {
    padding: 30px 0 60px;
}

.transparency-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px 32px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.transparency-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1d4ed8, #059669, #7c3aed);
}

.transparency-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.transparency-title-block h3 {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.compliance-badge {
    background: var(--emerald-soft);
    color: var(--accent-emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 800;
}

.transparency-intro {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 22px;
}

.entity-details-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.entity-row {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.entity-row strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 2px;
    font-size: 0.88rem;
}

.entity-link {
    color: var(--primary);
    font-weight: 800;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.entity-link:hover {
    text-decoration: underline;
}

.transparency-footer-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ── Pre-Footer Big CTA Banner ── */
.pre-footer-cta {
    padding: 30px 0 60px;
}

.cta-banner-glass {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #4f46e5 100%);
    border-radius: var(--radius-xl);
    padding: 50px 40px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 45px -10px rgba(29, 78, 216, 0.45);
    position: relative;
    overflow: hidden;
}

.cta-banner-glass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner-glass h3 {
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 12px;
}

.cta-banner-glass p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.btn-white-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 900;
    padding: 16px 38px;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-smooth);
}

.btn-white-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
}

.cta-sub-note {
    display: block;
    margin-top: 14px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
}

/* ── Modern Master Footer ── */
.site-footer {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid var(--border);
    padding: 50px 0 35px;
    margin-top: auto;
    position: relative;
    z-index: 10;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about-col p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 12px;
    max-width: 380px;
}

.footer-links-col h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color var(--transition-fast);
}

.footer-links-list a:hover {
    color: var(--primary);
}

.footer-bottom-bar {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 16px;
}

.footer-disclaimer-text {
    font-size: 0.76rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-top: 10px;
    text-align: center;
    width: 100%;
}

/* ── Sticky Mobile Bottom CTA Bar ── */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 25px rgba(15, 23, 42, 0.08);
    z-index: 990;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sticky-bar-text {
    display: flex;
    flex-direction: column;
}

.sticky-bar-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-main);
}

.sticky-bar-sub {
    font-size: 0.7rem;
    color: var(--accent-emerald);
    font-weight: 700;
}

.sticky-bar-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 0.88rem;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    white-space: nowrap;
}

/* ── Responsive Media Queries ── */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 24px;
    }

    .hero-trust-chips {
        justify-content: center;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .stats-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .compare-cards-wrapper {
        grid-template-columns: 1fr;
    }

    .benefits-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-timeline-grid {
        grid-template-columns: 1fr;
    }

    .footer-top-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .nav-desktop-menu, .btn-header-cta {
        display: none;
    }

    .nav-toggle-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title-large {
        font-size: 1.7rem;
    }

    .stats-card-grid {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .guidance-grid {
        grid-template-columns: 1fr;
    }

    .entity-details-table {
        grid-template-columns: 1fr;
    }

    .mobile-sticky-bar {
        display: flex;
    }

    .site-footer {
        padding-bottom: 90px; /* Space for sticky bottom bar */
    }

    .cta-banner-glass {
        padding: 36px 20px;
    }

    .cta-banner-glass h3 {
        font-size: 1.6rem;
    }
}
