/* Dawaak Landing Page - Modern Glassmorphism Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {
  --bg-primary: #090D16;
  --bg-secondary: #0F172A;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-glow: rgba(0, 230, 118, 0.3);
  
  --primary-accent: #00E676;
  --primary-glow: rgba(0, 230, 118, 0.4);
  --secondary-accent: #00B0FF;
  --secondary-glow: rgba(0, 176, 255, 0.4);
  --gradient-accent: linear-gradient(135deg, #00E676 0%, #00B0FF 100%);
  --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --font-ar: 'Tajawal', sans-serif;
  --font-en: 'Outfit', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-ar);
  line-height: 1.6;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
  min-height: 100vh;
}

body.lang-en {
  direction: ltr;
  text-align: left;
  font-family: var(--font-en);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-accent);
}

/* Background Glowing Orbs */
.bg-glow-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  animation: pulseGlow 10s infinite alternate ease-in-out;
}

.glow-orb-1 {
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: #00E676;
}

.glow-orb-2 {
  top: 40%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: #00B0FF;
  animation-delay: -3s;
}

.glow-orb-3 {
  bottom: -10%;
  right: 20%;
  width: 550px;
  height: 550px;
  background: #6366F1;
  animation-delay: -6s;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.2; }
  50% { transform: scale(1.15) translate(30px, -20px); opacity: 0.35; }
  100% { transform: scale(0.9) translate(-20px, 40px); opacity: 0.2; }
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Glass Utility */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

/* Typography Gradient */
.text-gradient {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Sticky Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-smooth);
  padding: 20px 0;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

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

.brand-logo img {
  height: 42px;
  width: auto;
  filter: drop-shadow(0 0 10px var(--primary-glow));
}

.brand-title {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0%;
  height: 2px;
  background: var(--gradient-accent);
  transition: var(--transition-fast);
  border-radius: 2px;
}

body.lang-en .nav-link::after {
  right: auto;
  left: 0;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #04140C;
  box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px var(--primary-glow);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-accent);
  color: var(--primary-accent);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: #25D366;
  color: #0A2213;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
  background: #22bf5b;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-btn:hover {
  color: var(--text-main);
  border-color: var(--secondary-accent);
  background: rgba(0, 176, 255, 0.1);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 26px;
  height: 3px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* Centered hero (no mockup) */
.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-center .hero-content {
  max-width: 780px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-center .hero-description {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-center .hero-buttons {
  justify-content: center;
}

body.lang-en .hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-accent);
  margin-bottom: 24px;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-accent);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-mockup-container {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-mockup-img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 230, 118, 0.25);
  transform: perspective(1000px) rotateY(-6deg) rotateX(3deg);
  transition: var(--transition-smooth);
}

body.lang-en .hero-mockup-img {
  transform: perspective(1000px) rotateY(6deg) rotateX(3deg);
}

.hero-mockup-wrapper:hover .hero-mockup-img {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.03);
}


/* Floating Glass Badges on Mockup */
.floating-glass-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border-glow);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  animation: floatAnim 4s infinite ease-in-out;
  z-index: 10;
}

.floating-badge-1 {
  top: 15%;
  right: -30px;
  animation-delay: 0s;
}

.floating-badge-2 {
  bottom: 20%;
  left: -30px;
  animation-delay: -2s;
}

body.lang-en .floating-badge-1 {
  right: auto;
  left: -30px;
}
body.lang-en .floating-badge-2 {
  left: auto;
  right: -30px;
}

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.floating-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 230, 118, 0.15);
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.floating-badge-text {
  display: flex;
  flex-direction: column;
}

.floating-badge-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.floating-badge-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Live Stats Bar */
.stats-section {
  padding: 40px 0;
  margin-bottom: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.5) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--glass-border);
}

body.lang-en .stat-item:not(:last-child)::after {
  left: auto;
  right: 0;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 6px;
  font-family: var(--font-en);
}

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

/* Features Section */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-description {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  padding: 36px 28px;
  position: relative;
  transition: var(--transition-smooth);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-8px);
  background: var(--bg-card-hover);
  border-color: rgba(0, 230, 118, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 230, 118, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.15) 0%, rgba(0, 176, 255, 0.15) 100%);
  border: 1px solid rgba(0, 230, 118, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary-accent);
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: var(--gradient-accent);
  color: #04140C;
}

.feature-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-action-btn {
  background: transparent;
  border: none;
  color: var(--primary-accent);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
}

.feature-action-btn:hover {
  gap: 12px;
  color: var(--secondary-accent);
}

/* Interactive Demos Box */
.demo-section {
  padding: 60px 0;
}

.demo-card {
  padding: 40px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.7) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border-glow);
}

.demo-tabs {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.demo-tab-btn {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.demo-tab-btn.active, .demo-tab-btn:hover {
  background: var(--gradient-accent);
  color: #04140C;
  border-color: transparent;
  box-shadow: 0 8px 20px var(--primary-glow);
}

.demo-content-panel {
  display: none;
}

.demo-content-panel.active {
  display: block;
}

/* Drug Checker Widget */
.checker-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-select, .form-input {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-main);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition-fast);
}

.form-select:focus, .form-input:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 15px rgba(0, 230, 118, 0.2);
}

.checker-result-box {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(10, 15, 26, 0.8);
  border: 1px solid var(--glass-border);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.result-safe {
  color: #00E676;
  border-color: rgba(0, 230, 118, 0.4);
  background: rgba(0, 230, 118, 0.08);
}

.result-warning {
  color: #FFB300;
  border-color: rgba(255, 179, 0, 0.4);
  background: rgba(255, 179, 0, 0.08);
}

.result-danger {
  color: #FF5252;
  border-color: rgba(255, 82, 82, 0.4);
  background: rgba(255, 82, 82, 0.08);
}

/* Portals Section */
.portals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.portal-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.portal-card-pharmacy {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.portal-card-supplier {
  background: linear-gradient(135deg, rgba(0, 176, 255, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%);
  border: 1px solid rgba(0, 176, 255, 0.3);
}

.portal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.portal-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.portal-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.portal-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Download Section */
.download-section {
  padding: 100px 0;
}

.download-box {
  padding: 60px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.15) 0%, rgba(0, 176, 255, 0.15) 50%, rgba(15, 23, 42, 0.95) 100%);
  border: 1px solid var(--glass-border-glow);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.download-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.download-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.qr-box {
  background: #FFFFFF;
  padding: 20px;
  border-radius: var(--radius-md);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.qr-box img {
  width: 140px;
  height: 140px;
}

.qr-box span {
  color: #0F172A;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Footer */
.footer {
  background: #060911;
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 40px 0;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-about p {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 320px;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Tablet (≤1024px)
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .download-box {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Mobile (≤768px)
═══════════════════════════════════════════ */
@media (max-width: 768px) {

  /* --- Navbar --- */
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .navbar {
    padding: 10px 0;
  }
  .nav-container {
    gap: 8px;
  }
  .brand-logo img {
    height: 32px;
  }
  .brand-title {
    font-size: 1.1rem;
  }
  /* تصغير زر التحميل في الناف بار على الموبايل */
  .nav-actions .btn-primary {
    padding: 8px 14px;
    font-size: 0.78rem;
    gap: 6px;
  }
  .nav-actions .btn-primary i {
    font-size: 0.85rem;
  }
  .lang-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  /* --- Hero --- */
  .hero {
    padding-top: 110px;
    padding-bottom: 50px;
  }
  .hero-title {
    font-size: 2rem;
    letter-spacing: -0.5px;
  }
  .hero-description {
    font-size: 1rem;
  }
  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 14px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* --- Stats: 2×2 grid على الموبايل --- */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-item {
    padding: 24px 12px;
  }
  .stat-item::after {
    display: none !important;
  }
  .stat-number {
    font-size: 2.8rem;
  }
  .stat-label {
    font-size: 0.8rem;
  }

  /* --- Features --- */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    padding: 24px 20px;
  }
  .feature-title {
    font-size: 1.2rem;
  }
  .feature-desc {
    font-size: 0.9rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .section {
    padding: 60px 0;
  }

  /* --- Portals --- */
  .portals-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* --- Download --- */
  .download-section {
    padding: 60px 0;
  }
  .download-box {
    padding: 30px 20px;
    grid-template-columns: 1fr;
    text-align: center;
  }
  .download-title {
    font-size: 1.8rem;
  }
  .download-desc {
    font-size: 1rem;
  }

  /* --- Footer --- */
  .footer {
    padding: 50px 0 30px 0;
    margin-top: 60px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    font-size: 0.85rem;
  }
  .footer-title {
    font-size: 1rem;
  }

  /* --- Checker form --- */
  .checker-form {
    grid-template-columns: 1fr;
  }

  /* --- Container padding --- */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Very Small (≤420px)
═══════════════════════════════════════════ */
@media (max-width: 420px) {
  .hero-title {
    font-size: 1.7rem;
  }
  .stat-number {
    font-size: 2.4rem;
  }
  .brand-title {
    font-size: 1rem;
  }
  .nav-actions .btn-primary span {
    display: none; /* إخفاء النص، إبقاء الأيقونة فقط */
  }
  .nav-actions .btn-primary {
    padding: 8px 12px;
    border-radius: 50%;
    width: 38px;
    height: 38px;
  }
}
