:root {
  --primary-color: #1a4a38;
  --primary-light: #2c6e56;
  --accent-gold: #d4af37;
  --accent-gold-light: #f3e5ab;
  --bg-color: #0b1c15;
  --bg-gradient: linear-gradient(135deg, #0b1c15 0%, #1a4a38 100%);
  --text-main: #f8fcfb;
  --text-muted: #b8d4c9;
  --glass-bg: rgba(26, 74, 56, 0.45);
  --glass-border: rgba(212, 175, 55, 0.25);
}

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

body {
  font-family: 'Tajawal', sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: 'Aref Ruqaa', serif;
  color: var(--accent-gold);
}

/* Header & Navbar */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 28, 21, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.logo-text {
  font-family: 'Aref Ruqaa', serif;
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

.btn-nav-download {
  background: linear-gradient(45deg, var(--accent-gold), #e0c25a);
  color: #111 !important;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease !important;
}

.btn-nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

/* Hero Section */
.hero {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-tag {
  display: inline-block;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--accent-gold);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.95rem;
  color: var(--accent-gold-light);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(45deg, var(--accent-gold), #e0c25a);
  color: #111;
  border: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  border: 1px solid var(--accent-gold);
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-mockup-img {
  max-width: 320px;
  width: 100%;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 4px solid var(--glass-border);
}

/* Features Section */
#features {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  color: var(--accent-gold-light);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.8rem;
  margin: 0.5rem 0 1rem 0;
}

.section-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

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

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

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

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-card-title {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.feature-card-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.gallery-item {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 24px;
  text-align: center;
  transition: transform 0.3s ease;
  max-width: 320px;
}

.gallery-item:hover {
  transform: translateY(-8px);
}

.gallery-item img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
}

.gallery-title {
  font-family: 'Aref Ruqaa', serif;
  font-size: 1.3rem;
  color: var(--accent-gold);
  font-weight: bold;
}

/* About / Mission Section */
.about-section {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-container {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 24px;
  text-align: center;
}

.about-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.about-text {
  font-size: 1.3rem;
  line-height: 1.9;
  color: var(--text-main);
  margin-bottom: 2rem;
}

.about-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 74, 56, 0.8);
  border: 1px solid var(--accent-gold);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: bold;
  color: var(--accent-gold-light);
}

/* Download CTA Section */
#download {
  padding: 5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cta-container {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 4rem 2rem;
  border-radius: 24px;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.download-cards {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.download-btn-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(45deg, var(--accent-gold), #e0c25a);
  color: #111;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  transition: transform 0.3s ease;
}

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

.download-btn-text {
  text-align: right;
  display: flex;
  flex-direction: column;
}

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

.download-btn-name {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Policy Page */
.policy-page {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.5rem;
}

.policy-content-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 24px;
  position: relative;
}

.lang-switch-btn {
  position: absolute;
  top: 25px;
  left: 25px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--accent-gold);
  color: var(--accent-gold-light);
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.lang-switch-btn:hover {
  background: var(--accent-gold);
  color: #111;
}

.policy-section {
  margin-bottom: 2.5rem;
}

.policy-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.policy-date {
  color: var(--accent-gold-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.policy-section p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.policy-section ul {
  padding-right: 1.5rem;
  margin-bottom: 1rem;
}

.policy-section li {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

/* Footer */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 3rem 2rem 1.5rem 2rem;
  background: rgba(11, 28, 21, 0.9);
  margin-top: 4rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  font-family: 'Aref Ruqaa', serif;
  font-size: 1.8rem;
  color: var(--accent-gold);
}

.footer-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.5rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--accent-gold);
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  margin: 2rem 0 1rem 0;
}

.footer-copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.footer-copyright span {
  color: var(--accent-gold);
}

@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .policy-content-card {
    padding: 2rem 1.5rem;
  }
  .lang-switch-btn {
    position: static;
    margin-bottom: 2rem;
    display: inline-block;
  }
}
