/* ---------- Base ---------- */
:root{
  --accent: #25d366;
  --muted: #7b8892;
  --bg-page: linear-gradient(180deg,#fbfdfc,#f6fbf9);
  --card-bg: #fff;
  --dark-bg: #081219;
  --maxw: 1200px;
  --radius-md: 16px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  font-family: var(--font);
  color: #03111a;
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- OFFER BANNER ---------- */
.offer-banner {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.offer-pill {
  background: #22c55e;
  color: #ecfdf5;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.offer-timer {
  font-variant-numeric: tabular-nums;
}

/* ---------- RIGHT-SIDE TOAST ACTIVITY (RESPONSIVE) ---------- */
.chat-activity {
  position: fixed;
  right: 70px;
  bottom: 70px;
  padding: 15px 15px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.97);
  color: #e5e7eb;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.7);
  font-size: 15px;
  max-width: 420px;
  z-index: 40;
  border: 1px solid rgba(148, 163, 184, 0.4);

  /* hidden by default */
  opacity: 0;
  transform: translate3d(24px, 10px, 0);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* visible state (toast showing) */
.chat-activity.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.chat-activity-dot {
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
  flex-shrink: 0;
}

.chat-activity-text {
  display: flex;
  flex-direction: column;
}

.chat-activity-main {
  font-weight: 600;
}

.chat-activity-sub {
  font-size: 12px;
  color: #9ca3af;
}

/* ---------- MOBILE (phones & small tablets) ---------- */
@media (max-width: 640px) {
  .chat-activity {
    right: auto;
    left: 50%;
    bottom: 30%; /* some up from bottom */
    width: calc(100% - 32px);
    max-width: 420px;
    padding: 12px 18px;
    font-size: 20px;

    /* center horizontally, slightly below (hidden state) */
    transform: translate3d(50%, 10px, 0);
  }

  .chat-activity.is-visible {
    /* center & slide up a bit when visible */
    transform: translate3d(-50%, 0, 0);
  }

  .chat-activity-sub {
    font-size: 13px;
  }
}

/* ---------- VERY SMALL HEIGHT (landscape phones etc.) ---------- */
@media (max-height: 480px) {
  .chat-activity {
    bottom: 16px;
    padding: 9px 12px;
    font-size: 12px;
  }
}

/* ---------- NAVBAR ---------- */
.nav {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #f2f2f2;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
    display: flex;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-menu {
  display: flex;
  gap: 18px;
  margin-left: 36px;
  flex: 1;
  justify-content: center;
}

.nav-menu a {
  font-size: 15px;
  color: #111;
  font-weight: 500;
}

.download-btn {
  background: var(--accent);
  color: #062014;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

@media (max-width: 880px) {
  .nav-menu {
    display: none;
  }
}

/* ---------- HERO / MAIN ---------- */
.hero {
  max-width: var(--maxw);
  margin: 28px auto 36px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.icon{
  width: 45px;
  height: 45px;
}

.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.phone-line {
  color: var(--muted);
  font-size: 18px;
  text-align: center;
}

.sub-desc {
  text-align: center;
  max-width: 640px;
  color: #626b73;
  font-size: 15px;
  margin-top: 6px;
}

/* Message Box */
.msg-panel {
  width: 720px;
  max-width: 94%;
  background: #faf9f8;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.04);
  border: 1px solid #f0efee;
}

.controls {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  width: 100%;
  margin-top: 6px;
}

.btn {
  min-width: 240px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid rgba(0,0,0,0.06);
}

.btn-primary {
  background: var(--accent);
  color: #042014;
  border: none;
  box-shadow: 0 8px 24px rgba(34,197,94,0.14);
}

.btn-secondary {
  background: transparent;
  color: #07121a;
  border: 2px solid rgba(11,18,32,0.06);
}

.hint {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  margin-top: 6px;
}

.hint .mini {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(180deg,#ecfdf5,#dcfce7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
}

@media (max-width: 540px) {
  .msg-panel { padding: 12px; }
  .btn { min-width: 180px; }
  .profile-img { width: 96px; height: 96px; }
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--dark-bg);
  color: #dbe7e0;
  padding: 40px 16px;
  margin-top: 36px;
}

.footer .wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  align-items: start;
}

.f-left {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 60%;
}

.f-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #22c55e;
  color: #081411;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
}

.f-col {
  min-width: 140px;
}

.f-col .title {
  color: #94a3a1;
  font-size: 13px;
  margin-bottom: 8px;
}

.f-col a {
  display: block;
  color: #dbe7e0;
  text-decoration: none;
  margin: 6px 0;
  font-size: 15px;
}

.f-col a:hover {
  text-decoration: underline;
  color: white;
}

.divider {
  height: 1px;
  background: rgba(255,255,255,0.03);
  margin: 20px 0;
}

.f-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.f-lefts {
  display: flex;
  gap: 18px;
  align-items: center;
  color: #94a3a1;
  font-size: 13px;
  flex-wrap: wrap;
}

.small-links a {
  color: #94a3a1;
  margin-right: 10px;
  font-size: 13px;
}

.social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social .icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dbe7e0;
}

.lang {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.06);
  background: transparent;
  color: #dbe7e0;
  font-weight: 600;
  cursor: pointer;
}

/* Responsive Footer */
@media (max-width: 1000px) {
  .footer .wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .f-left {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .footer .wrap {
    grid-template-columns: 1fr;
  }
}
