:root {
  --night: #081c13;
  --deep-green: #12372a;
  --secondary-green: #2f6b55;
  --ivory: #f7f3e8;
  --warm-white: #fffcf5;
  --gold: #c8a45d;
  --gold-light: #e4c170;
  --dark-text: #17201c;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  color: var(--dark-text);
  background: var(--warm-white);
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8, 28, 19, 0.92);
  backdrop-filter: blur(6px);
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--warm-white);
  font-weight: 700;
  font-size: 1.1rem;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--ivory);
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

nav a:hover {
  opacity: 1;
}

/* Hero */
.hero {
  background: radial-gradient(120% 140% at 20% -10%, var(--secondary-green) 0%, var(--deep-green) 45%, var(--night) 100%);
  color: var(--warm-white);
  padding: 88px 0 96px;
}

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

.hero-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

.kicker {
  margin: 0 0 14px;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: var(--gold-light);
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 18px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--ivory);
  opacity: 0.92;
  max-width: 46ch;
  margin: 0 0 32px;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(247, 243, 232, 0.08);
  border: 1px solid rgba(247, 243, 232, 0.25);
  color: var(--ivory);
  font-size: 0.9rem;
  text-decoration: none;
}

.badge.soon {
  opacity: 0.75;
  cursor: default;
}

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

.phone-mock {
  width: 240px;
  aspect-ratio: 9 / 19.5;
  border-radius: 34px;
  background: linear-gradient(160deg, var(--night), var(--deep-green));
  border: 8px solid rgba(247, 243, 232, 0.12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.phone-mock .ayah-ar {
  font-size: 1.3rem;
  color: var(--gold-light);
  font-weight: 600;
}

.phone-mock .ayah-tr {
  font-size: 0.8rem;
  color: var(--ivory);
  opacity: 0.85;
}

.phone-mock .ayah-ref {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 6px;
}

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

.section-title {
  text-align: center;
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--deep-green);
}

.section-sub {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 48px;
  color: #4a564d;
}

/* Features */
.features {
  background: var(--ivory);
}

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

.feature-card {
  background: var(--warm-white);
  border: 1px solid rgba(18, 55, 42, 0.1);
  border-radius: 14px;
  padding: 26px;
}

.feature-card .icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--deep-green);
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #4a564d;
}

/* Privacy banner */
.privacy {
  background: var(--deep-green);
  color: var(--warm-white);
  text-align: center;
}

.privacy .wrap {
  max-width: 760px;
}

.privacy h2 {
  color: var(--gold-light);
  margin-top: 0;
}

.privacy p {
  color: var(--ivory);
  opacity: 0.92;
}

/* Similar projects */
.similar {
  background: var(--warm-white);
}

.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.similar-card {
  border: 1px solid rgba(18, 55, 42, 0.12);
  border-radius: 14px;
  padding: 26px;
  background: var(--ivory);
}

.similar-card h3 {
  margin: 0 0 8px;
  color: var(--deep-green);
}

.similar-card p {
  margin: 0 0 14px;
  color: #4a564d;
  font-size: 0.92rem;
}

.similar-card .status {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(47, 107, 85, 0.12);
  color: var(--secondary-green);
  font-weight: 600;
}

.similar-card.featured {
  background: var(--warm-white);
  border: 1px solid var(--gold);
  box-shadow: 0 8px 28px rgba(200, 164, 93, 0.18);
}

.similar-card.featured .status {
  background: rgba(200, 164, 93, 0.18);
  color: #8a6a2c;
}

.btn-outline {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1.5px solid var(--deep-green);
  color: var(--deep-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-outline:hover {
  background: var(--deep-green);
  color: var(--warm-white);
}

/* Donate */
.donate {
  background: linear-gradient(160deg, var(--deep-green), var(--night));
  color: var(--warm-white);
  text-align: center;
}

.donate .wrap {
  max-width: 640px;
}

.donate h2 {
  margin-top: 0;
  color: var(--gold-light);
}

.donate p {
  color: var(--ivory);
  opacity: 0.92;
}

.donate .btn {
  background: var(--gold);
  color: var(--night);
}

.donate .btn:hover {
  box-shadow: 0 10px 24px rgba(200, 164, 93, 0.35);
}

.donate .fine-print {
  margin-top: 16px;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Support / Contact */
.support {
  background: var(--gold-light);
  text-align: center;
}

.support .wrap {
  max-width: 640px;
}

.support h2 {
  margin-top: 0;
  color: var(--night);
}

.support p {
  color: var(--dark-text);
}

.btn {
  display: inline-block;
  margin-top: 12px;
  padding: 14px 30px;
  border-radius: 10px;
  background: var(--night);
  color: var(--warm-white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(8, 28, 19, 0.25);
}

/* Footer */
footer {
  background: var(--night);
  color: var(--ivory);
  padding: 40px 0;
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  opacity: 0.85;
}

footer nav ul {
  gap: 20px;
}

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

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 780px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p.lead {
    margin-left: auto;
    margin-right: auto;
  }

  .badges {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  nav ul {
    gap: 14px;
  }

  nav a {
    font-size: 0.85rem;
  }
}

@media (max-width: 640px) {
  header .wrap {
    flex-direction: column;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
  }

  nav a {
    font-size: 0.8rem;
  }

  .hero {
    padding: 56px 0 64px;
  }
}
