/* ═══════════════════════════════════════════════════
   Sitedoor Landing — Shared Stylesheet
   Version: 1.0.0 | July 2026
   ═══════════════════════════════════════════════════ */

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

:root {
  --primary:       #1a1a2e;
  --primary-light: #16213e;
  --accent:        #4a6cf7;
  --accent-light:  #6b8aff;
  --accent-glow:   rgba(74, 108, 247, 0.25);
  --bg:            #f8f9fe;
  --bg-card:       #ffffff;
  --text:          #1a1a2e;
  --text-muted:    #6b7280;
  --text-light:    #9ca3af;
  --border:        #e5e7eb;
  --radius:        16px;
  --radius-sm:     10px;
  --shadow:        0 2px 16px rgba(0,0,0,0.05);
  --shadow-md:     0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:     0 12px 48px rgba(0,0,0,0.12);
  --transition:    0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:     1120px;
  --font:          'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans SC', 'Noto Sans Arabic', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ─── RTL Support ─── */
[dir="rtl"] { direction: rtl; text-align: right; }
[dir="rtl"] .nav-links { direction: rtl; }
[dir="rtl"] .feature-icon { margin-right: 0; margin-left: 14px; }

/* ─── Container ─── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Section ─── */
.section {
  padding: 80px 0;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ─── Hero ─── */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #0f3460 100%);
  color: #fff;
  padding: 100px 24px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, var(--accent-glow) 0%, transparent 50%);
  animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(5%, -5%); }
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 60px;
  background: var(--bg);
  border-radius: 50% 50% 0 0;
}
.hero-content { position: relative; z-index: 2; }
.hero-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.75);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.6;
}
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font);
}
.btn:hover { transform: translateY(-2px); }
.btn-apple {
  background: #000;
  color: #fff;
}
.btn-apple:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.3); }
.btn-android {
  background: #3ddc84;
  color: #000;
}
.btn-android:hover { box-shadow: 0 6px 24px rgba(61,220,132,0.3); }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: var(--accent-light); box-shadow: 0 6px 24px var(--accent-glow); }

/* ─── Feature Cards ─── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ─── Screenshots ─── */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.screenshot-card {
  aspect-ratio: 9 / 19;
  background: linear-gradient(145deg, #eef1f8, #dde3ef);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px;
  border: 2px dashed var(--border);
  transition: var(--transition);
}
.screenshot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.screenshot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  border: none;
}

/* ─── Download Section ─── */
.download-section {
  text-align: center;
}
.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ─── Contact Section ─── */
.contact-section {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: 0 24px 60px;
  padding: 48px 32px;
  text-align: center;
}
.contact-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}
.contact-btn:hover { transform: translateY(-2px); }
.contact-btn.whatsapp {
  background: #25D366;
  color: #fff;
}
.contact-btn.whatsapp:hover { box-shadow: 0 6px 24px rgba(37,211,102,0.3); }
.contact-btn.email {
  background: #ea4335;
  color: #fff;
}
.contact-btn.email:hover { box-shadow: 0 6px 24px rgba(234,67,53,0.3); }

/* ─── Language Switcher ─── */
.lang-switcher {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.lang-btn {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  transition: var(--transition);
  cursor: pointer;
  font-family: var(--font);
}
.lang-btn:hover,
.lang-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

/* ─── Footer ─── */
footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--text-light);
  font-size: 0.85rem;
}

/* ─── Scroll Reveal Animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero { padding: 80px 24px 100px; }
  .section { padding: 60px 0; }
  .section-subtitle { margin-bottom: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-section { margin: 0 16px 40px; padding: 32px 20px; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; justify-content: center; }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .contact-links { flex-direction: column; align-items: center; }
}
