:root {
  --blue: #0B4F8A;
  --blue-2: #1E7FC1;
  --blue-dark: #083B66;
  --ink: #1C2530;
  --body: #46525E;
  --muted: #7A8590;
  --bg: #F4F5F6;
  --card: #FFFFFF;
  --line: #E2E6EA;
  --wa-green: #25D366;
  --maxw: 1200px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
h1,h2,h3,h4 { color: var(--ink); font-weight: 700; line-height: 1.3; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; }
.brand .bt b { display: block; color: var(--ink); font-size: 17px; letter-spacing: 1px; }
.brand .bt span { display: block; color: var(--muted); font-size: 11px; letter-spacing: 1px; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a { padding: 8px 14px; font-size: 15px; color: var(--body); border-radius: 6px; transition: .18s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); background: #EEF4FA; }
.nav-cta { background: var(--blue); color: #fff !important; padding: 9px 18px !important; border-radius: 6px; font-weight: 600; }
.nav-cta:hover { background: var(--blue-2); }

/* Language Switcher */
.lang-switcher { position: relative; margin-left: 10px; }
.lang-btn {
  background: none; border: 1px solid var(--line); border-radius: 6px;
  padding: 6px 12px; cursor: pointer; font-size: 14px; color: var(--body);
  display: flex; align-items: center; gap: 6px;
}
.lang-dropdown {
  display: none; position: absolute; right: 0; top: 100%; margin-top: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12); min-width: 160px; z-index: 200;
}
.lang-switcher.open .lang-dropdown { display: block; }
.lang-dropdown a {
  display: block; padding: 10px 16px; font-size: 14px;
  color: var(--body); border-radius: 0;
}
.lang-dropdown a:hover { background: #f0f6fc; color: var(--blue); }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-2) 100%);
  color: #fff; padding: 100px 0; text-align: center;
}
.hero h1 { color: #fff; font-size: 42px; max-width: 800px; margin: 0 auto 20px; }
.hero p { font-size: 18px; max-width: 600px; margin: 0 auto 32px; color: rgba(255,255,255,.9); }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 32px; border-radius: 7px;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: .18s;
}
.btn-primary { background: #fff; color: var(--blue); }
.btn-wa { background: var(--wa-green); color: #fff; }
.btn-wa:hover { background: #1eb85a; }

/* Sections */
.sec { padding: 80px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.sec-head .kicker { color: var(--blue-2); font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 10px; }
.sec-head h2 { font-size: 32px; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 16px; }

/* Stats */
.stats { background: var(--blue-dark); color: #fff; padding: 40px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat b { display: block; font-size: 36px; font-weight: 700; }
.stat span { font-size: 14px; color: rgba(255,255,255,.75); }

/* Product Cards */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; transition: .2s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(20,40,60,.12); }
.product-card .ph { aspect-ratio: 3/2; overflow: hidden; background: #dfe2e5; }
.product-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.product-card .bd { padding: 18px; }
.product-card .bd h4 { font-size: 16px; margin-bottom: 8px; }
.product-card .bd p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-item { padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.feature-item h4 { font-size: 17px; margin-bottom: 10px; color: var(--blue); }
.feature-item p { font-size: 14px; color: var(--muted); }

/* Contact Form */
.contact-form { max-width: 600px; margin: 0 auto; background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; font-weight: 600; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 6px; font-size: 15px;
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); }

/* WhatsApp Float Button */
.wa-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 60px; height: 60px; background: var(--wa-green);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  animation: waPulse 2s infinite;
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(37,211,102,.4); }
  50% { box-shadow: 0 4px 24px rgba(37,211,102,.7); }
}

/* Footer */
footer { background: #062C4D; color: rgba(255,255,255,.7); padding: 50px 0 30px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 30px; }
.footer-grid h5 { color: #fff; font-size: 15px; margin-bottom: 15px; }
.footer-grid a { display: block; color: rgba(255,255,255,.7); padding: 3px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; text-align: center; }

/* Responsive */
@media (max-width: 900px) {
  .product-grid, .features { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero h1 { font-size: 30px; }
}
@media (max-width: 600px) {
  .product-grid, .features { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* RTL for Arabic */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
