/* ═══════════════════════════════════════
   MEDFINTECH — Premium Stylesheet v2
   ═══════════════════════════════════════ */
:root {
  --primary: #1a56db;
  --violet: #7c3aed;
  --accent: #06b6d4;
  --bg: #f4f7ff;
  --dark: #070d1f;
  --darker: #040812;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --grad: linear-gradient(135deg, #1a56db 0%, #7c3aed 100%);
  --grad-accent: linear-gradient(135deg, #06b6d4, #1a56db);
  --shadow: 0 4px 24px rgba(26,86,219,.1);
  --shadow-xl: 0 24px 64px rgba(26,86,219,.18);
  --r: 16px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; line-height: 1.65; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ── LOGO ── */
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.logo-img {
  display: block;
  width: auto;
  object-fit: contain;
}
.logo-nav {
  height: 60px;
  width: auto;
  max-width: none;
}
.navbar.scrolled .logo-nav {
  height: 56px;
}
.logo-footer {
  height: 76px;
  width: auto;
  max-width: none;
  filter: brightness(2.4) contrast(1.05);
}
.footer-logo-link {
  display: inline-flex; margin-bottom: 16px;
  text-decoration: none;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  padding: 18px 0; transition: all .3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 24px rgba(0,0,0,.07);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,.8); font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 8px; transition: all .2s; }
.navbar.scrolled .nav-links a { color: var(--muted); }
.navbar.scrolled .nav-links a:hover { color: var(--primary); background: rgba(26,86,219,.06); }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.btn-nav { background: var(--grad) !important; color: #fff !important; font-weight: 600 !important; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-switch { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; padding: 6px 10px; border-radius: 8px; font-size: 13px; cursor: pointer; font-family: inherit; transition: all .2s; }
.navbar.scrolled .lang-switch { background: var(--bg); border-color: var(--border); color: var(--text); }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }
.navbar.scrolled .nav-toggle { color: var(--text); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--dark);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.hero-particles {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(26,86,219,.35) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(124,58,237,.25) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(6,182,212,.15) 0%, transparent 50%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 28px 80px;
  gap: 60px;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(6,182,212,.12); border: 1px solid rgba(6,182,212,.25);
  color: var(--accent); font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: 50px; margin-bottom: 24px;
  animation: fadeDown .5s ease both;
}
.badge-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.8)} }
.hero h1 { font-family: 'Syne', sans-serif; font-size: clamp(2.4rem,5vw,3.8rem); font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 20px; animation: fadeUp .5s ease .1s both; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,.62); margin-bottom: 36px; line-height: 1.8; animation: fadeUp .5s ease .2s both; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; animation: fadeUp .5s ease .3s both; }
.btn-primary-hero { display: inline-flex; align-items: center; gap: 8px; background: var(--grad); color: #fff; text-decoration: none; padding: 14px 28px; border-radius: 12px; font-weight: 700; font-size: 15px; box-shadow: 0 8px 28px rgba(26,86,219,.4); transition: all .2s; }
.btn-primary-hero:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(26,86,219,.5); }
.btn-primary-hero .arrow { transition: transform .2s; }
.btn-primary-hero:hover .arrow { transform: translateX(4px); }
.btn-ghost-hero { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); color: #fff; text-decoration: none; padding: 14px 24px; border-radius: 12px; font-weight: 600; font-size: 15px; transition: all .2s; backdrop-filter: blur(10px); }
.btn-ghost-hero:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.hero-trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; animation: fadeUp .5s ease .4s both; }
.trust-text { font-size: 13px; color: rgba(255,255,255,.4); }
.trust-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.trust-pills span { font-size: 11px; font-weight: 600; padding: 5px 12px; border-radius: 50px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.75); }

/* ── HERO VISUAL ── */
.hero-visual { position: relative; }
.screen-stack { position: relative; animation: float 5s ease-in-out infinite; }
.screen-card { background: #1a1f36; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.06); }
.screen-chrome { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: #111827; }
.screen-chrome span { width: 10px; height: 10px; border-radius: 50%; }
.screen-chrome span:nth-child(1) { background: #ff5f57; }
.screen-chrome span:nth-child(2) { background: #febc2e; }
.screen-chrome span:nth-child(3) { background: #28c840; }
.screen-url { flex: 1; background: #1f2937; border-radius: 6px; padding: 4px 12px; font-size: 11px; color: rgba(255,255,255,.4); font-family: monospace; }
.screen-img { width: 100%; display: block; transition: opacity .4s; }
.screen-mini { position: absolute; width: 38%; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.6); border: 2px solid rgba(255,255,255,.08); }
.screen-mini img { width: 100%; display: block; }
.screen-mini-1 { bottom: -24px; left: -32px; animation: float 4s ease-in-out 1s infinite; }
.screen-mini-2 { bottom: -16px; right: -24px; animation: float 4.5s ease-in-out .5s infinite; }
.screen-glow { position: absolute; inset: -40px; background: radial-gradient(ellipse, rgba(26,86,219,.25) 0%, transparent 70%); border-radius: 50%; z-index: -1; filter: blur(30px); }
.hero-wave { position: relative; z-index: 2; margin-top: auto; }
.hero-wave svg { display: block; }

/* ── VALUE PILLARS ── */
.pillars-bar { background: #fff; border-bottom: 1px solid var(--border); padding: 48px 0; }
.pillars-intro {
  text-align: center; font-size: 15px; color: var(--muted); max-width: 640px;
  margin: 0 auto 32px; line-height: 1.7;
}
.pillars-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.pillar-item {
  text-align: center; padding: 24px 16px; border-radius: var(--r);
  background: var(--bg); border: 1px solid var(--border); transition: all .2s;
}
.pillar-item:hover { border-color: rgba(26,86,219,.2); box-shadow: var(--shadow); transform: translateY(-2px); }
.pillar-icon { font-size: 28px; display: block; margin-bottom: 10px; }
.pillar-item strong { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.pillar-item p { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }

/* ── ABOUT ── */
.section { padding: 100px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about-text h2 { font-family: 'Syne', sans-serif; font-size: clamp(2rem,3.5vw,2.7rem); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.about-text p { color: var(--muted); line-height: 1.8; margin-bottom: 14px; }
.vision-quote {
  font-size: 1.05rem; font-weight: 500; font-style: italic; line-height: 1.75;
  color: var(--primary); background: rgba(26,86,219,.06); border-left: 4px solid var(--primary);
  padding: 18px 22px; border-radius: 0 var(--r) var(--r) 0; margin: 0 0 20px;
}
html[dir="rtl"] .vision-quote {
  border-left: none; border-right: 4px solid var(--primary);
  border-radius: var(--r) 0 0 var(--r);
}
.about-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.about-badge { display: flex; align-items: center; gap: 6px; background: rgba(26,86,219,.07); border: 1px solid rgba(26,86,219,.12); color: var(--primary); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 50px; }
.roadmap-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.roadmap-header { background: var(--grad); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; padding: 14px 24px; }
.roadmap-item { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--border); transition: background .2s; }
.roadmap-item:last-child { border-bottom: none; }
.roadmap-item:hover, .roadmap-item.active { background: #f8faff; }
.rm-icon { font-size: 28px; width: 44px; text-align: center; }
.rm-info { flex: 1; }
.rm-info strong { display: block; font-size: 15px; font-weight: 700; }
.rm-info p { font-size: 12px; color: var(--muted); margin: 2px 0 0; }
.rm-status { font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 50px; }
.rm-status.available { background: #dcfce7; color: #166534; }
.rm-status.soon { background: #e0e7ff; color: #3730a3; }
.rm-status.planned { background: #f1f5f9; color: #64748b; }

/* ── TAG ── */
.tag { display: inline-block; background: rgba(26,86,219,.1); color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 6px 16px; border-radius: 50px; margin-bottom: 16px; border: 1px solid rgba(26,86,219,.15); }
.tag-light { background: rgba(6,182,212,.12); border-color: rgba(6,182,212,.2); color: var(--accent); }
.gradient-text { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-header h2 { font-family: 'Syne', sans-serif; font-size: clamp(2rem,4vw,2.8rem); font-weight: 800; margin-bottom: 14px; }
.section-header h2.light { color: #fff; }
.section-sub { font-size: 1.05rem; color: var(--muted); line-height: 1.7; }
.section-sub.light { color: rgba(255,255,255,.5); }

/* ── PRODUCT ── */
.product-section { background: var(--dark); }
.product-layout { display: grid; grid-template-columns: 1fr 360px; gap: 60px; align-items: start; }
.pf-item { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.pf-item:last-child { border-bottom: none; }
.pf-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; flex-shrink: 0; width: 44px; }
.pf-item strong { display: block; color: #fff; font-size: 16px; margin-bottom: 4px; }
.pf-item p { color: rgba(255,255,255,.5); font-size: 14px; margin: 0; }
.cta-card { background: linear-gradient(145deg, #111827, #1a2234); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 36px 32px; text-align: center; position: sticky; top: 100px; }
.cta-icon { font-size: 48px; margin-bottom: 12px; }
.cta-card h3 { font-family: 'Syne', sans-serif; font-size: 1.6rem; color: #fff; font-weight: 800; margin-bottom: 4px; }
.cta-sub { color: var(--accent); font-size: 13px; font-weight: 600; margin-bottom: 24px; }
.cta-list { list-style: none; text-align: left; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.cta-list li { font-size: 14px; color: rgba(255,255,255,.7); display: flex; align-items: center; gap: 8px; }
.btn-cta { display: block; background: var(--grad); color: #fff; text-decoration: none; padding: 14px; border-radius: 12px; font-weight: 700; font-size: 15px; margin-bottom: 12px; transition: all .2s; box-shadow: 0 8px 24px rgba(26,86,219,.35); }
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(26,86,219,.45); }
.cta-note { font-size: 12px; color: rgba(255,255,255,.3); }

/* ── SCREENSHOTS ── */
.screenshots-tabs {
  display: flex; gap: 8px; justify-content: flex-start;
  margin-bottom: 24px; flex-wrap: nowrap;
  overflow-x: auto; padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.screenshots-tabs::-webkit-scrollbar { height: 4px; }
.screenshots-tabs::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.sc-tab {
  background: #fff; border: 1px solid var(--border); color: var(--muted);
  padding: 10px 20px; border-radius: 50px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: all .2s;
  white-space: nowrap; flex-shrink: 0;
}
.sc-tab.active, .sc-tab:hover { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 4px 16px rgba(26,86,219,.3); }
.screenshots-viewer { background: #111; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-xl); }
.sc-browser-chrome { display: flex; align-items: center; gap: 10px; padding: 12px 20px; background: #1f2937; }
.chrome-dots { display: flex; gap: 6px; flex-shrink: 0; }
.chrome-dots span { width: 12px; height: 12px; border-radius: 50%; }
.chrome-dots span:nth-child(1){ background:#ff5f57 }
.chrome-dots span:nth-child(2){ background:#febc2e }
.chrome-dots span:nth-child(3){ background:#28c840 }
.chrome-url { flex: 1; background: #374151; border-radius: 6px; padding: 5px 14px; font-size: 12px; color: rgba(255,255,255,.5); font-family: monospace; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chrome-nav { display: flex; gap: 4px; flex-shrink: 0; }
.sc-nav-btn {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08); color: #fff; font-size: 20px; line-height: 1;
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.sc-nav-btn:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); }
.sc-frame { position: relative; overflow: hidden; background: #0f172a; }
.sc-img { width: 100%; display: block; transition: opacity .35s; min-height: 420px; object-fit: cover; object-position: top; }
.sc-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 24px 24px;
  background: linear-gradient(to top, rgba(7,13,31,.92) 0%, rgba(7,13,31,.6) 60%, transparent 100%);
  color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.5;
  pointer-events: none;
}
.sc-overlay { display: none; }
.sc-thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 20px;
}
.sc-thumb { cursor: pointer; border-radius: 10px; overflow: hidden; border: 2px solid var(--border); transition: all .2s; }
.sc-thumb.active, .sc-thumb:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(26,86,219,.25); transform: translateY(-2px); }
.sc-thumb img { width: 100%; display: block; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.sc-thumb span { display: block; text-align: center; font-size: 11px; font-weight: 600; padding: 8px 4px; background: #fff; color: var(--muted); }

/* ── FEATURES ── */
.features-section { background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 22px; }
.feature-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r);
  padding: 32px 28px; transition: all .25s; position: relative; overflow: hidden;
  text-align: left; cursor: pointer; font-family: inherit; width: 100%;
}
.feature-card::after { content:''; position:absolute; inset:0; background: var(--grad); opacity:0; transition: opacity .25s; pointer-events: none; }
.feature-card:hover, .feature-card.feature-active { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: rgba(26,86,219,.25); }
.feature-card:hover::after, .feature-card.feature-active::after { opacity:.04; }
.feature-card.feature-active { border-color: var(--primary); }
.feat-icon { width: 52px; height: 52px; border-radius: 14px; display:flex; align-items:center; justify-content:center; font-size: 24px; margin-bottom: 18px; position: relative; z-index: 1; }
.feature-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; }
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.65; position: relative; z-index: 1; margin-bottom: 12px; }
.feat-link { font-size: 12px; font-weight: 700; color: var(--primary); opacity: 0; transition: opacity .2s; position: relative; z-index: 1; }
.feature-card:hover .feat-link, .feature-card.feature-active .feat-link { opacity: 1; }

/* ── CONTACT ── */
.contact-section { background: var(--dark); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info h2 { font-family: 'Syne', sans-serif; font-size: clamp(1.8rem,3vw,2.5rem); font-weight: 800; color: #fff; margin-bottom: 16px; }
.light-sub { color: rgba(255,255,255,.55); line-height: 1.7; margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.ci { display: flex; align-items: flex-start; gap: 14px; }
.ci span { font-size: 22px; }
.ci strong { display: block; color: #fff; font-size: 14px; margin-bottom: 2px; }
.ci p { color: rgba(255,255,255,.5); font-size: 14px; margin: 0; }
.contact-form { background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.contact-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.form-group input, .form-group select, .form-group textarea { padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 14px; font-family: inherit; outline: none; background: var(--bg); transition: border-color .2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); background: #fff; }
.btn-submit { width: 100%; padding: 14px; background: var(--grad); color: #fff; border: none; border-radius: 12px; font-size: 16px; font-weight: 700; cursor: pointer; font-family: inherit; transition: all .2s; box-shadow: 0 6px 24px rgba(26,86,219,.3); }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(26,86,219,.4); }
.form-success { margin-top: 14px; padding: 12px; background: #dcfce7; color: #166534; border-radius: 10px; font-weight: 600; font-size: 14px; text-align: center; }

/* ── FOOTER ── */
.footer { background: #030710; padding: 64px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.06); }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,.35); line-height: 1.7; margin-top: 12px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 34px; height: 34px; background: rgba(255,255,255,.07); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); font-size: 13px; font-weight: 700; text-decoration: none; transition: all .2s; }
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-links { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.footer-col h5 { color: rgba(255,255,255,.35); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
.footer-col a { display: block; color: rgba(255,255,255,.45); text-decoration: none; font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { padding: 20px 28px; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,.2); font-size: 12px; }

/* ── ANIMATIONS ── */
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeDown { from{opacity:0;transform:translateY(-12px)} to{opacity:1;transform:translateY(0)} }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 110px; }
  .hero-visual { display: none; }
  .about-grid, .product-layout, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .sc-thumbs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: #fff; padding: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.1); }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text) !important; }
  .nav-toggle { display: block; }
  .logo-nav { height: 44px; }
  .logo-footer { height: 52px; }
  .form-row { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .section { padding: 64px 0; }
  .contact-form { padding: 24px 18px; }
  .sc-thumbs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sc-img { min-height: 240px; }
  .feat-link { opacity: 1; }
}

/* ── RTL (Arabic) ── */
html[dir="rtl"] body { font-family: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, sans-serif; }
html[dir="rtl"] .nav-inner { flex-direction: row-reverse; }
html[dir="rtl"] .nav-links { flex-direction: row-reverse; }
html[dir="rtl"] .hero-grid { direction: rtl; }
html[dir="rtl"] .about-grid,
html[dir="rtl"] .product-layout,
html[dir="rtl"] .contact-grid { direction: rtl; }
html[dir="rtl"] .pf-item { flex-direction: row-reverse; text-align: right; }
html[dir="rtl"] .cta-list { text-align: right; }
html[dir="rtl"] .feature-card { text-align: right; }
html[dir="rtl"] .ci { flex-direction: row-reverse; text-align: right; }
html[dir="rtl"] .form-group label { text-align: right; }
html[dir="rtl"] .footer-inner { direction: rtl; }
html[dir="rtl"] .hero-actions { flex-direction: row-reverse; }
html[dir="rtl"] .hero-trust { flex-direction: row-reverse; }
html[dir="rtl"] .screen-mini-1 { left: auto; right: -32px; }
html[dir="rtl"] .screen-mini-2 { right: auto; left: -24px; }
html[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }
html[dir="rtl"] .feat-link { direction: rtl; }
