@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --primary: #2563eb;
  --wa-color: #25D366;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --bg-color: #ffffff;
  --bg-soft: #f8fafc;
  --border: #e2e8f0;
  
  --stc: #4F008C;
  --zain: #28a745;
  --mobily: #0B4596;
  --salam: #00B140;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Tajawal', sans-serif; background: var(--bg-color); color: var(--text-dark); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.icon { width: 24px; height: 24px; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 32px; height: 32px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 700; cursor: pointer; transition: 0.3s; border: none; font-size: 16px;}
.btn-wa { background: var(--wa-color); color: white; }
.btn-wa:hover { background: #1ebe57; }
.btn-call { background: var(--primary); color: white; }
.btn-call:hover { background: #1d4ed8; }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text-dark); }

.utility { background: #1e293b; color: white; padding: 8px 0; font-size: 13px; }
.utility .container { display: flex; justify-content: space-between; align-items: center; }
.utility-left a { display: inline-flex; align-items: center; gap: 5px; color: #cbd5e1; }
.mini-sep { display: inline-block; width: 1px; height: 12px; background: #475569; margin: 0 10px; }

.header { position: sticky; top: 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); z-index: 100; padding: 15px 0; }
.header .container { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; gap: 20px; font-weight: 500; }
.nav a:hover, .nav a.active { color: var(--primary); }
.header-actions { display: flex; gap: 10px; }
.menu-btn, .mobile-menu { display: none; }

.hero { padding: 60px 0; background: linear-gradient(to bottom, #eff6ff, #ffffff); }
.hero-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hero-copy h1 { font-size: 48px; line-height: 1.2; margin: 15px 0; }
.hero-copy .grad { color: var(--primary); }
.hero-copy p { font-size: 18px; color: var(--text-light); margin-bottom: 30px; }
.hero-actions { display: flex; gap: 15px; margin-bottom: 30px; }
.hero-media img { width: 100%; border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 15px; font-size: 14px; font-weight: 500; color: var(--text-light); }
.trust-pill { display: flex; align-items: center; gap: 5px; background: white; padding: 5px 12px; border-radius: 20px; border: 1px solid var(--border); }
.trust-pill .dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }

.provider-strip { margin-top: 40px; }
.provider-strip .container { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.provider-chip { background: white; border: 1px solid var(--border); padding: 15px 30px; border-radius: 50px; display: flex; align-items: center; gap: 10px; font-weight: 700; transition: 0.3s;}
.provider-logo { display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.provider-logo.stc { color: var(--stc); }
.provider-logo.zain { color: var(--zain); }
.provider-logo.mobily { color: var(--mobily); }
.provider-logo.salam { color: var(--salam); }

.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 600px; margin: 0 auto 40px; }
.section-head h2 { font-size: 36px; margin-bottom: 15px; }

.offer-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 15px; }
.filter-group { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px; }
.filter-btn { padding: 8px 16px; border-radius: 20px; border: 1px solid var(--border); background: white; cursor: pointer; transition: 0.3s; font-family: inherit; font-weight: 500; }
.filter-btn.active, .filter-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }

.offer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.offer-card { background: white; border: 1px solid var(--border); border-radius: 16px; padding: 25px; transition: 0.3s; display: flex; flex-direction: column; }
.offer-card:hover { transform: translateY(-5px); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.offer-provider { font-weight: 800; font-size: 20px; margin-bottom: 10px; }
.offer-title { font-size: 24px; color: var(--primary); margin-bottom: 15px; font-weight: 700;}
.offer-price { font-size: 32px; font-weight: 800; margin: 15px 0; color: var(--text-dark); }
.offer-price small { font-size: 16px; color: var(--text-light); font-weight: 500;}
.offer-features { list-style: none; margin-bottom: 25px; flex-grow: 1; }
.offer-features li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.offer-features li::before { content: '✓'; color: var(--wa-color); font-weight: bold; }
.offer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.empty-offers { display: none; text-align: center; color: var(--text-light); padding: 40px; font-size: 18px; }

.compare-grid, .faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.tech-card { background: white; padding: 30px; border-radius: 16px; border: 1px solid var(--border); }
.tech-card h3 { font-size: 24px; margin-bottom: 15px; color: var(--primary); }
.tech-list { margin-top: 20px; }
.tech-point { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; text-align: right; background: none; border: none; padding: 20px 0; font-size: 18px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: inherit; color: var(--text-dark);}
.faq-a { max-height: 0; overflow: hidden; transition: 0.3s ease-out; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 20px; }
.faq-item.open .faq-q svg { transform: rotate(45deg); transition: 0.3s; }

.footer { background: #0f172a; color: white; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; }

.float-actions { position: fixed; bottom: 20px; left: 20px; display: flex; flex-direction: column; gap: 10px; z-index: 99; }
.float-btn { width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; box-shadow: 0 10px 15px rgba(0,0,0,0.2); transition: 0.3s; }
.float-btn.wa { background: var(--wa-color); }
.float-btn.call { background: var(--primary); }
.mobile-sticky { display: none; }

@media (max-width: 820px) {
  .hero-wrap, .faq-grid, .compare-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .nav, .header-actions .btn { display: none; }
  .menu-btn { display: block; background: none; border: none; cursor: pointer; color: var(--text-dark); }
  .footer-grid { grid-template-columns: 1fr; }
  .float-actions { display: none; }
  .mobile-sticky { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; background: white; padding: 10px; box-shadow: 0 -5px 10px rgba(0,0,0,0.1); z-index: 100; gap: 10px;}
}