/* ═══════════════════════════════════════════════════════════════
   ARAF ECOSYSTEM — index.css  (FIXED BUILD)
   Premium Dark × Gold Theme
═══════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --bg:          #08080f;
  --bg2:         #0f0f1c;
  --bg3:         #14141f;
  --card:        #111120;
  --gold:        #c9a84c;
  --gold-lt:     #e8d5a3;
  --gold-dk:     #8b6914;
  --gold-glow:   rgba(201,168,76,0.18);
  --white:       #f0ede6;
  --gray:        #7a7a90;
  --border:      rgba(201,168,76,0.18);
  --border-card: rgba(201,168,76,0.12);
  --ff-display:  'Playfair Display', Georgia, serif;
  --ff-body:     'Inter', system-ui, sans-serif;
  --nav-h:       68px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Utility ───────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold-dk); border-radius: 3px; }

/* ══════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: transparent;
  transition: background .4s, backdrop-filter .4s, border-bottom .4s;
}
.navbar.scrolled {
  background: rgba(8,8,15,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--ff-display); font-size: 1.05rem; font-weight: 700;
  letter-spacing: .05em; color: var(--gold-lt);
}
.nav-logo-img {
  width: 38px; height: 38px; border-radius: 50%;
  object-fit: cover; border: 1.5px solid var(--gold);
  flex-shrink: 0;
}
.nav-btn {
  font-size: .75rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase;
  padding: 9px 20px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition: background .25s, color .25s;
  white-space: nowrap;
}
.nav-btn:hover { background: var(--gold); color: var(--bg); }

/* ══════════════════════════════════════════════════════════════
   HERO — logo as full background
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: var(--nav-h) 24px 80px;
}

/* Logo as background */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('logo.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: brightness(0.28) saturate(0.7);
  transform: scale(1.04);
}

/* Dark overlay on top of logo */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8,8,15,0.45) 0%,
    rgba(8,8,15,0.30) 40%,
    rgba(8,8,15,0.75) 80%,
    rgba(8,8,15,1.00) 100%
  );
}

/* Gold glow effect */
.hero-glow {
  position: absolute; inset: 0; z-index: 2;
  background: radial-gradient(ellipse 70% 50% at 50% 45%,
    rgba(201,168,76,.12) 0%, transparent 65%);
}

/* Grid pattern */
.hero-grid {
  position: absolute; inset: 0; z-index: 2;
  background-image:
    linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
  background-size: 52px 52px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, black 25%, transparent 75%);
}

.hero-content { position: relative; z-index: 3; }

.hero-badge {
  display: inline-block;
  font-size: .68rem; letter-spacing: .25em; font-weight: 500;
  color: var(--gold); text-transform: uppercase;
  border: 1px solid var(--border);
  padding: 6px 18px; border-radius: 20px;
  margin-bottom: 28px;
  background: rgba(201,168,76,.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(3.5rem, 10vw, 8.5rem);
  line-height: 1.0;
  letter-spacing: .02em;
  margin-bottom: 22px;
}
.bold-text {
  font-weight: 700;
  color: var(--gold-lt);
  display: block;
  text-shadow: 0 0 60px rgba(201,168,76,.4), 0 4px 20px rgba(0,0,0,.8);
}
.normal-text {
  font-weight: 400;
  color: rgba(240,237,230,.8);
  display: block;
  letter-spacing: .1em;
  font-size: .85em;
  text-shadow: 0 2px 16px rgba(0,0,0,.9);
}

.hero-tagline {
  font-size: clamp(.75rem, 2vw, .95rem);
  letter-spacing: .35em; font-weight: 400; text-transform: uppercase;
  color: rgba(240,237,230,.55);
  margin-bottom: 38px;
}

.hero-line {
  width: 60px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--gray); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase;
}
.scroll-arrow {
  width: 36px; height: 36px;
  border: 1px solid rgba(201,168,76,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}

/* ══════════════════════════════════════════════════════════════
   SECTION SHARED HEADER
══════════════════════════════════════════════════════════════ */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; font-size: .68rem; letter-spacing: .28em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; color: var(--white); letter-spacing: .04em; margin-bottom: 12px;
}
.section-header p { font-size: .92rem; color: var(--gray); max-width: 520px; margin: 0 auto; }

/* ══════════════════════════════════════════════════════════════
   SYSTEMS SECTION
══════════════════════════════════════════════════════════════ */
.systems-section {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.systems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.system-card {
  position: relative; overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  padding: 28px 16px 22px;
  text-align: center;
  cursor: default;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.system-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 0 28px rgba(201,168,76,.14), 0 12px 36px rgba(0,0,0,.4);
}
.system-icon {
  font-size: 1.9rem; color: var(--gold); margin-bottom: 12px;
  transition: transform .35s, color .35s;
  display: block;
}
.system-card:hover .system-icon { transform: scale(1.15); color: var(--gold-lt); }
.system-card h3 {
  font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(240,237,230,.7);
  transition: color .35s;
  line-height: 1.4;
}
.system-card:hover h3 { color: var(--white); }

.system-glow {
  position: absolute; inset: 0; border-radius: 12px; pointer-events: none;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,.1) 0%, transparent 70%);
  opacity: 0; transition: opacity .35s;
}
.system-card:hover .system-glow { opacity: 1; }

.upcoming-card { border-color: rgba(201,168,76,.22); }
.upcoming-badge {
  display: inline-block; font-size: .58rem; letter-spacing: .16em;
  background: var(--gold); color: var(--bg); padding: 3px 8px;
  border-radius: 20px; font-weight: 700; margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT / MISSION SECTION
══════════════════════════════════════════════════════════════ */
.about-section { padding: 110px 0; background: var(--bg); text-align: center; }

.about-text {
  font-size: 1.05rem; line-height: 1.9; color: rgba(240,237,230,.68);
  max-width: 680px; margin: 0 auto 48px;
}

.about-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 14px 30px; border-radius: 3px;
  transition: all .3s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold); color: var(--bg);
  box-shadow: 0 4px 20px rgba(201,168,76,.3);
}
.btn-primary:hover {
  background: var(--gold-lt);
  box-shadow: 0 6px 30px rgba(201,168,76,.45);
  transform: translateY(-2px);
}
.btn-secondary {
  background: transparent; color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-secondary:hover {
  background: rgba(201,168,76,.1);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════════════════════════
   TIMER SECTION
══════════════════════════════════════════════════════════════ */
.timer-section {
  padding: 90px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border-card);
  text-align: center;
}
.timer-label {
  font-size: .68rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.timer-date {
  font-family: var(--ff-display); font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--white); font-weight: 700; margin-bottom: 48px; letter-spacing: .08em;
}

.timer-counter {
  display: inline-flex; align-items: center; gap: 12px;
  flex-wrap: wrap; justify-content: center;
}
.counter-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 26px;
  min-width: 96px;
  box-shadow: 0 0 24px rgba(201,168,76,.07);
}
.counter-box span {
  display: block; font-family: var(--ff-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--gold); line-height: 1;
}
.counter-box label {
  display: block; font-size: .58rem; letter-spacing: .2em; color: var(--gray);
  text-transform: uppercase; margin-top: 8px; cursor: default;
}
.counter-divider {
  font-size: 2rem; color: var(--gold); font-weight: 700;
  align-self: flex-start; margin-top: 14px; line-height: 1;
}
.timer-subtitle {
  font-size: .68rem; letter-spacing: .28em; color: var(--gray);
  text-transform: uppercase; margin-top: 32px;
}

/* ══════════════════════════════════════════════════════════════
   WORK WITH US
══════════════════════════════════════════════════════════════ */
.work-section {
  padding: 64px 0;
  background: var(--bg);
  border-top: 1px solid var(--border-card);
  text-align: center;
}
.work-btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: .9rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bg);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-lt) 100%);
  padding: 18px 44px; border-radius: 4px;
  box-shadow: 0 8px 32px rgba(201,168,76,.35);
  transition: all .3s ease;
}
.work-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 44px rgba(201,168,76,.5);
}
.work-btn .arrow { transition: transform .3s; }
.work-btn:hover .arrow { transform: translateX(5px); }

/* ══════════════════════════════════════════════════════════════
   DONATE SECTION
══════════════════════════════════════════════════════════════ */
.donate-section {
  padding: 100px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border-card);
  text-align: center;
}
.donate-card {
  max-width: 440px; margin: 0 auto;
  background: linear-gradient(145deg, #18101a, #1e121f);
  border: 1px solid rgba(232,65,112,.22);
  border-radius: 20px; padding: 40px 32px;
  box-shadow: 0 8px 40px rgba(232,65,112,.1);
}
.nagad-brand {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  margin-bottom: 26px;
}
.nagad-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, #e8416a, #f06090);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #fff;
  box-shadow: 0 6px 20px rgba(232,65,112,.4);
  flex-shrink: 0;
}
.nagad-name {
  display: block; font-size: 1.7rem; font-weight: 800;
  color: #e8416a; letter-spacing: -.02em; line-height: 1;
}
.nagad-sub { display: block; font-size: .72rem; color: var(--gray); margin-top: 3px; }

.nagad-divider { height: 1px; background: rgba(232,65,112,.18); margin: 0 0 26px; }
.number-label {
  display: block; font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gray); margin-bottom: 8px;
}
.number-value {
  display: block; font-family: var(--ff-display);
  font-size: 2rem; font-weight: 700; color: var(--white);
  letter-spacing: .06em; margin-bottom: 22px;
}
.copy-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid rgba(232,65,112,.5);
  color: #e8416a; padding: 10px 24px; border-radius: 4px;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  cursor: pointer; transition: all .25s;
}
.copy-btn:hover { background: rgba(232,65,112,.1); border-color: #e8416a; }
.copy-btn.copied { background: rgba(232,65,112,.15); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  padding: 56px 0 32px;
  background: #05050c;
  border-top: 1px solid var(--border-card);
  text-align: center;
}
.footer-logo {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--ff-display); font-size: .95rem; font-weight: 700;
  color: var(--gold-lt); margin-bottom: 24px; letter-spacing: .06em;
}
.footer-logo img {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover; border: 1px solid var(--gold);
}
.footer-divider { width: 60px; height: 1px; background: var(--border); margin: 0 auto 24px; }
.footer-product { font-size: .82rem; color: var(--gray); margin-bottom: 5px; }
.footer-product strong { color: var(--white); }
.footer-powered { font-size: .82rem; color: var(--gray); margin-bottom: 24px; }
.footer-powered span { color: var(--gold); font-weight: 600; }
.footer-copy { font-size: .7rem; color: rgba(120,120,144,.5); letter-spacing: .05em; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .systems-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .navbar { padding: 0 16px; }
  .nav-logo span { font-size: .9rem; }
  .systems-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .system-card { padding: 22px 12px 18px; }
  .system-icon { font-size: 1.6rem; }
  .counter-box { padding: 14px 18px; min-width: 72px; }
  .timer-counter { gap: 8px; }
  .counter-divider { font-size: 1.4rem; margin-top: 10px; }
  .about-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; justify-content: center; }
  .work-btn { padding: 16px 28px; font-size: .82rem; }
  .donate-card { padding: 32px 20px; }
}
@media (max-width: 420px) {
  .hero-title { font-size: clamp(2.8rem, 14vw, 4rem); }
  .systems-grid { grid-template-columns: repeat(2, 1fr); }
}
