:root {
  --emerald: #0B3D2E;
  --emerald-deep: #07271D;
  --emerald-surface: #0F4A38;
  --gold: #D9B36A;
  --gold-bright: #EBD3A0;
  --cream: #F7F1E5;
  --cream-dim: #C9BfA8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--emerald-deep);
  color: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

.glow {
  position: fixed;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  max-width: 140vw;
  background: radial-gradient(circle, rgba(217,179,106,0.14) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

main, .nav, footer { position: relative; z-index: 1; }

/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px clamp(20px, 5vw, 60px);
  max-width: 1100px;
  margin: 0 auto;
}
.brand-logo { height: 40px; }
.nav-cta {
  background: var(--gold);
  color: var(--emerald-deep);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,179,106,0.3); }

/* Hero */
.hero {
  text-align: center;
  padding: clamp(40px, 8vw, 90px) 20px 60px;
  max-width: 780px;
  margin: 0 auto;
}
.hero-logo {
  width: clamp(140px, 30vw, 200px);
  margin-bottom: 32px;
  filter: drop-shadow(0 4px 30px rgba(217,179,106,0.35));
}
.hero h1 {
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.gold { color: var(--gold); }
.hero-sub {
  margin-top: 22px;
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  color: var(--cream-dim);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.hero-sub strong { color: var(--gold-bright); font-weight: 600; }

/* Store buttons */
.store-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 38px;
}
.store-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  background: var(--emerald-surface);
  border: 1px solid rgba(217,179,106,0.35);
  color: var(--cream);
  padding: 12px 26px;
  border-radius: 14px;
  transition: transform 0.15s, border-color 0.15s;
}
.store-btn:hover { transform: translateY(-2px); border-color: var(--gold); }
.store-small { font-size: 0.72rem; color: var(--cream-dim); }
.store-big { font-size: 1.15rem; font-weight: 700; }
.store-btn--soon { opacity: 0.55; cursor: default; }
.store-btn--soon:hover { transform: none; border-color: rgba(217,179,106,0.35); }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}
.feature {
  background: rgba(15,74,56,0.5);
  border: 1px solid rgba(217,179,106,0.15);
  border-radius: 20px;
  padding: 28px 24px;
  transition: transform 0.2s, border-color 0.2s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(217,179,106,0.4); }
.feature--highlight {
  background: linear-gradient(160deg, rgba(217,179,106,0.16), rgba(15,74,56,0.5));
  border-color: rgba(217,179,106,0.5);
}
.feature-icon { font-size: 2.2rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--gold-bright); }
.feature p { color: var(--cream-dim); font-size: 0.95rem; }

/* Hatim CTA */
.hatim-cta {
  text-align: center;
  max-width: 720px;
  margin: 70px auto;
  padding: clamp(36px, 6vw, 60px) 30px;
  background: linear-gradient(160deg, rgba(15,74,56,0.7), rgba(11,61,46,0.4));
  border: 1px solid rgba(217,179,106,0.3);
  border-radius: 28px;
}
.hatim-cta h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 800; }
.hatim-cta p { margin: 20px auto 30px; color: var(--cream-dim); max-width: 560px; }
.cta-button {
  display: inline-block;
  background: var(--gold);
  color: var(--emerald-deep);
  text-decoration: none;
  font-weight: 700;
  padding: 15px 40px;
  border-radius: 999px;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cta-button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(217,179,106,0.35); }

/* Footer */
footer {
  text-align: center;
  padding: 50px 20px 40px;
  border-top: 1px solid rgba(217,179,106,0.12);
  margin-top: 40px;
}
.footer-logo { height: 34px; opacity: 0.85; margin-bottom: 18px; }
.footer-links { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.footer-links a { color: var(--cream-dim); text-decoration: none; font-size: 0.9rem; transition: color 0.15s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: rgba(201,191,168,0.6); font-size: 0.82rem; }

/* Invite page */
.invite-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px;
}
.invite-card {
  background: rgba(15,74,56,0.55);
  border: 1px solid rgba(217,179,106,0.35);
  border-radius: 28px;
  padding: clamp(30px, 6vw, 50px);
  max-width: 440px;
  width: 100%;
}
.invite-logo { width: 120px; margin-bottom: 24px; }
.invite-card h1 { font-size: 1.6rem; margin-bottom: 10px; }
.invite-card p { color: var(--cream-dim); margin-bottom: 8px; }
.invite-code {
  display: inline-block;
  font-family: monospace;
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  color: var(--gold-bright);
  background: var(--emerald-deep);
  border: 1px dashed rgba(217,179,106,0.5);
  border-radius: 12px;
  padding: 12px 24px;
  margin: 18px 0 26px;
}
.invite-steps { text-align: right; color: var(--cream-dim); font-size: 0.92rem; margin: 20px 0; }
.invite-steps li { margin-bottom: 8px; }
