/* ==========================================================
   Qima Souq — Global Styles
   Brand colors: Teal #0FBFB0 / #14C8B8, Black #111111, White
   ========================================================== */

:root {
  --teal: #0FBFB0;
  --teal-dark: #0A9C90;
  --teal-light: #E6FBF9;
  --black: #111111;
  --gray-900: #1A1A1A;
  --gray-700: #4A4A4A;
  --gray-400: #9A9A9A;
  --gray-200: #E5E5E5;
  --gray-100: #F7F7F7;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 14px 32px rgba(15,191,176,0.22);
  --transition: all 0.25s ease;
  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }

.text-accent { color: var(--teal); }

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

/* ---------- Icons (SVG, replaces emoji) ---------- */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-badge { width: 15px; height: 15px; margin-right: 6px; margin-bottom: 2px; }
.icon-trust { width: 30px; height: 30px; color: var(--teal); margin-bottom: 10px; }
.icon-inline { width: 15px; height: 15px; margin-right: 6px; vertical-align: -2px; }
.category-icon { width: 42px; height: 42px; color: var(--teal-dark); margin: 0 auto 16px; }
.deal-thumb { width: 48px; height: 48px; color: var(--teal-dark); margin: 10px auto 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(15,191,176,0.35);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--black);
  color: var(--black);
}
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand-logo { height: 46px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  text-decoration: none;
  color: var(--gray-900);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
}
.nav-cta:hover { background: var(--teal-dark); color: var(--white) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--black); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--teal-light) 0%, #FFFFFF 60%);
  padding: 90px 0 70px;
  text-align: center;
}
.hero-inner { max-width: 780px; margin: 0 auto; }
.badge {
  display: inline-flex;
  align-items: center;
  background: var(--black);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: 52px;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-sub {
  font-size: 18px;
  color: var(--gray-700);
  margin-bottom: 34px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.hero-location {
  font-size: 14px;
  color: var(--gray-400);
}

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--black); padding: 30px 0; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; }
.trust-item .icon-trust { color: var(--teal); }
.trust-item p { color: var(--white); font-size: 14px; font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--gray-100); }
.section-title {
  font-size: 34px;
  text-align: center;
  margin-bottom: 10px;
}
.section-sub {
  text-align: center;
  color: var(--gray-700);
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 16px;
}

.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--teal); }

.category-card h3 { font-size: 18px; margin-bottom: 8px; }
.category-card p { color: var(--gray-700); font-size: 14px; }

/* ---------- Deals ---------- */
.deal-card { position: relative; }
.deal-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}
.deal-card h3 { font-size: 17px; margin-bottom: 10px; }
.price { margin-bottom: 18px; }
.old-price { color: var(--gray-400); text-decoration: line-through; margin-right: 10px; font-size: 14px; }
.new-price { color: var(--teal-dark); font-weight: 700; font-size: 20px; }
.deals-note { text-align: center; font-size: 13px; color: var(--gray-400); margin-top: 20px; }

/* ---------- How it works ---------- */
.step { text-align: center; padding: 10px; }
.step-num {
  width: 52px; height: 52px;
  background: var(--teal);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700;
  margin: 0 auto 18px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--gray-700); font-size: 14px; }

/* ---------- Waitlist ---------- */
.waitlist { background: var(--black); color: var(--white); text-align: center; }
.waitlist .section-title { color: var(--white); }
.waitlist .section-sub { color: #cfcfcf; }
.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.waitlist-form input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border-radius: 50px;
  border: none;
  font-size: 15px;
  font-family: var(--font);
}
.waitlist-form input:focus { outline: 3px solid var(--teal); }
.form-message { margin-top: 16px; font-size: 14px; min-height: 20px; color: var(--teal); font-weight: 600; }
.waitlist-privacy { font-size: 12px; color: #8a8a8a; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: #0D0D0D; color: #cfcfcf; padding: 60px 0 20px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #262626;
}
.footer-logo { height: 40px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.footer-location {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #8a8a8a;
  margin-top: 6px;
}
.footer-links h4, .footer-social h4, .footer-contact h4 { color: var(--white); font-size: 15px; margin-bottom: 16px; }
.footer-links a { display: block; color: #cfcfcf; text-decoration: none; margin-bottom: 10px; font-size: 14px; }
.footer-links a:hover { color: var(--teal); }
.footer-contact-link {
  display: flex;
  align-items: center;
  color: #cfcfcf;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}
.footer-contact-link:hover { color: var(--teal); }
.social-icons { display: flex; flex-direction: column; gap: 12px; }
.social-icons a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cfcfcf;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}
.social-icons a .icon { width: 16px; height: 16px; }
.social-icons a:hover { color: var(--teal); }
.footer-bottom { text-align: center; font-size: 13px; color: #8a8a8a; padding-top: 20px; }

/* ---------- Animations ---------- */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
}
