:root {
  --teal: #00897b;
  --green: #43a047;
  --navy: #0d1b2a;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f8fafb;
  --card: #ffffff;
  --radius: 20px;
  --shadow: 0 12px 40px rgba(0, 137, 123, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  direction: rtl;
}

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 137, 123, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy);
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--teal);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: 72px 0 56px;
  background: linear-gradient(135deg, #e0f2f1 0%, #f1f8e9 50%, #ffffff 100%);
}

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

.hero-badge {
  display: inline-block;
  background: rgba(0, 137, 123, 0.1);
  color: var(--teal);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 16px;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 28px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: white;
  box-shadow: 0 8px 24px rgba(0, 137, 123, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--teal);
  border: 2px solid rgba(0, 137, 123, 0.2);
}

.hero-card {
  background: var(--card);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 137, 123, 0.08);
  text-align: center;
}

.hero-card img {
  width: 160px;
  height: 160px;
  border-radius: 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  color: var(--navy);
  margin-bottom: 8px;
}

.hero-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Sections */
section {
  padding: 64px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.section-title p {
  color: var(--muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 137, 123, 0.08);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 137, 123, 0.15), rgba(67, 160, 71, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.feature-card h3 {
  margin-bottom: 8px;
  color: var(--navy);
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.points-box {
  background: linear-gradient(135deg, var(--teal), var(--green));
  color: white;
  border-radius: 28px;
  padding: 40px;
  text-align: center;
}

.points-box h2 {
  margin-bottom: 12px;
}

.points-list {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.point-item {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 16px 24px;
  min-width: 140px;
}

.point-item strong {
  display: block;
  font-size: 1.8rem;
}

/* Legal pages */
.legal-page {
  padding: 48px 0 72px;
}

.legal-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 137, 123, 0.08);
}

.legal-card h1 {
  color: var(--navy);
  margin-bottom: 8px;
  font-size: 2rem;
}

.legal-meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.legal-card h2 {
  color: var(--teal);
  font-size: 1.25rem;
  margin: 28px 0 10px;
}

.legal-card p,
.legal-card li {
  color: var(--text);
  margin-bottom: 10px;
}

.legal-card ul {
  padding-right: 24px;
  margin-bottom: 16px;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 40px 0;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: white;
}

/* Store download buttons */
.store-buttons {
  gap: 16px;
}

.store-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
  padding: 14px 24px;
  text-decoration: none;
}

.store-btn:hover {
  text-decoration: none;
}

.store-btn-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.store-btn-name {
  font-size: 1.05rem;
  font-weight: 700;
}

.store-btn-disabled {
  opacity: 0.65;
  cursor: default;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin-inline: auto;
  }

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

  .nav-links {
    display: none;
  }

  .legal-card {
    padding: 24px;
  }
}
