:root {
  --background: 0 0% 100%;
  --foreground: 210 11% 25%;
  --card: 210 20% 98%;
  --primary: 190 85% 45%;
  --primary-foreground: 0 0% 100%;
  --secondary: 210 20% 96%;
  --muted-foreground: 210 10% 45%;
  --accent: 190 85% 45%;
  --border: 210 15% 88%;
  --radius: 0.75rem;
}

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


body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body > * { flex-shrink: 0; }


html[dir="rtl"] body { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }

a { color: inherit; text-decoration: none; }
a:hover { color: hsl(var(--primary)); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.narrower { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }
.text-narrow { max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: hsla(var(--background), 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid hsl(var(--border));
  padding: 1.25rem 1.5rem;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--foreground));
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  padding: 0;
}
.nav-link:hover { color: hsl(var(--foreground)); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: opacity 0.2s, background-color 0.2s;
  gap: 0.5rem;
}

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.btn-primary:hover { opacity: 0.9; color: hsl(var(--primary-foreground)); }
.btn-primary.btn-lg { padding: 0.875rem 3rem; font-size: 1rem; font-weight: 600; }

.btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}
.btn-ghost:hover { background-color: hsl(var(--secondary)); }

.lang-btn { display: inline-flex; align-items: center; gap: 0.4rem; }
.lang-btn svg { width: 16px; height: 16px; }

.nav-mobile { display: none; align-items: center; gap: 0.5rem; }
.menu-btn { padding: 0.5rem; }
.menu-btn svg { width: 20px; height: 20px; display: block; }

/* Mobile menu */
.mobile-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0; visibility: hidden;
  transition: opacity .25s, visibility .25s;
  z-index: 90;
}
.mobile-overlay.open { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed; top: 0; bottom: 0;
  width: 17rem; max-width: 80%;
  background: hsl(var(--background));
  box-shadow: 0 0 30px rgba(0,0,0,0.15);
  padding: 4rem 1.5rem 2rem;
  z-index: 100;
  transition: transform .3s ease;
  display: flex; flex-direction: column; gap: 1rem;
}
html[dir="ltr"] .mobile-menu { right: 0; transform: translateX(100%); }
html[dir="ltr"] .mobile-menu.open { transform: translateX(0); }
html[dir="rtl"] .mobile-menu { left: 0; transform: translateX(-100%); }
html[dir="rtl"] .mobile-menu.open { transform: translateX(0); }

.mobile-menu .close-btn {
  position: absolute; top: 0.75rem;
  background: transparent; border: none; padding: 0.5rem; cursor: pointer;
}
html[dir="ltr"] .mobile-menu .close-btn { right: 0.75rem; }
html[dir="rtl"] .mobile-menu .close-btn { left: 0.75rem; }

.mobile-menu .nav-link { font-size: 1.05rem; padding: 0.5rem 0; text-align: start; }
.mobile-menu .lang-btn { justify-content: flex-start; padding-inline: 0; }

/* Hero */
.hero {
  position: relative;
  padding: 5rem 1.5rem;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, hsla(var(--accent), 0.1), transparent);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1fr 1fr; } }

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
.hero h1 .accent { color: hsl(var(--primary)); }
.hero p.lead {
  font-size: 1.125rem;
  color: hsla(var(--foreground), 0.9);
  margin-bottom: 2rem;
}
.reward-card {
  background-color: hsla(var(--accent), 0.1);
  border: 2px solid hsla(var(--accent), 0.3);
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
}
.reward-amount { font-size: 2.25rem; font-weight: 700; color: hsl(var(--primary)); margin-bottom: 0.75rem; }
.reward-value { color: hsl(var(--muted-foreground)); }

/* Features */
.features { background: hsl(var(--secondary)); padding: 4rem 1.5rem; }
.feature-list { display: flex; flex-direction: column; gap: 1.5rem; max-width: 56rem; margin: 0 auto; }
.feature-card {
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.feature-card:hover { box-shadow: 0 6px 20px hsla(var(--primary), 0.08); }
.feature-icon {
  flex-shrink: 0;
  width: 3.5rem; height: 3.5rem;
  background-color: hsla(var(--primary), 0.2);
  border-radius: 0.5rem;
  display: flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 28px; height: 28px; color: hsl(var(--primary)); stroke-width: 1.5; }
.feature-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.25rem; }
.feature-card p { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* Steps */
.steps { padding: 4rem 1.5rem; border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); }
.steps h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 0.75rem; }
.steps .subtitle { color: hsl(var(--muted-foreground)); margin-bottom: 2.5rem; }
.steps-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  background: hsl(var(--card));
  border-radius: 0.75rem;
  padding: 1.5rem;
  border-inline-start: 4px solid hsl(var(--primary));
}
.step-number { font-size: 1.875rem; font-weight: 700; color: hsl(var(--primary)); margin-bottom: 0.75rem; }
.step-card h3 { font-size: 1.125rem; font-weight: 600; }

/* Contact */
.contact-section { padding: 4rem 1.5rem; text-align: center; }
.contact-section h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.contact-card {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: hsl(var(--card));
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid hsl(var(--border));
  transition: border-color 0.2s;
}
.contact-card:hover { border-color: hsla(var(--primary), 0.5); }
.contact-card svg { color: hsl(var(--primary)); width: 20px; height: 20px; }
.contact-card a { font-weight: 500; }

/* Footer */
.site-footer {
  background: hsl(var(--secondary));
  border-top: 1px solid hsl(var(--border));
  padding: 1.5rem;
  margin-top: auto;
}
.footer-inner { max-width: 56rem; margin: 0 auto; display: flex; justify-content: center; gap: 2rem; }
.footer-inner a { font-size: 0.875rem; color: hsl(var(--muted-foreground)); }

/* About page */
.page-main { flex-grow: 1; padding: 4rem 1.5rem; }
.page-main h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 2rem; text-align: center; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; max-width: 72rem; margin: 0 auto; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-text p { font-size: 1.05rem; color: hsl(var(--muted-foreground)); margin-bottom: 1.5rem; line-height: 1.7; }
.about-image { border-radius: 0.75rem; overflow: hidden; }
.about-image img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Legal pages */
.legal { max-width: 56rem; margin: 0 auto; }
.legal h1 { text-align: start; margin-bottom: 2rem; }
.legal section { margin-bottom: 1.5rem; color: hsl(var(--muted-foreground)); }
.legal section h2 { font-size: 1.5rem; font-weight: 600; color: hsl(var(--foreground)); margin-bottom: 0.75rem; }
.legal section h3 { font-size: 1.2rem; font-weight: 600; color: hsl(var(--foreground)); margin: 1rem 0 0.5rem; }
.legal section p { line-height: 1.7; margin-bottom: 0.75rem; }

/* Responsive */
@media (max-width: 767px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: flex; }
  .hero { padding: 3rem 1.25rem; }
  .hero h1 { font-size: 2rem; }
  .reward-card { padding: 2rem; }
}
