/* ============================================
   Qazi Multiventures — Design Tokens
   Palette: white base, blue, gray (black & yellow explicitly avoided)
   Type: Plus Jakarta Sans (display, friendly-geometric) / Inter (body)
   Motif: orbiting capability ring — "one team, many capabilities"
   Animation: requested — used for hero orbit, scroll reveal, hover microinteractions
   ============================================ */

:root {
  --bg: #FBFCFE;
  --bg-alt: #F3F6FB;
  --surface: #FFFFFF;
  --border: #E3E8F0;
  --border-soft: #ECF0F6;

  --blue: #2F6FED;
  --blue-deep: #1E4FBE;
  --blue-glow: rgba(47, 111, 237, 0.12);

  --slate: #1F2A37;      /* heading color — dark slate, not pure black */
  --text: #2B3543;
  --text-muted: #667085;
  --text-faint: #98A2B3;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --ease: cubic-bezier(.16,.84,.44,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 12% 0%, var(--blue-glow), transparent 45%),
    radial-gradient(circle at 100% 25%, rgba(47,111,237,0.06), transparent 40%);
  pointer-events: none;
  z-index: 0;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.16;
  margin: 0 0 .5em;
  color: var(--slate);
  letter-spacing: -0.01em;
}

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }

.section-tag {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 12px;
}
.section-tag.center { text-align: center; }

.section-title { font-size: clamp(28px, 4vw, 38px); }
.section-title.center { text-align: center; }
.section-sub {
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 48px;
  font-size: 16px;
}
.section-sub.center { text-align: center; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s, border-color .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--blue);
  color: #FFFFFF;
}
.btn-primary:hover { background: var(--blue-deep); box-shadow: 0 8px 24px var(--blue-glow); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--text-muted); }
.btn-ghost:hover { color: var(--blue); }

.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 252, 254, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--slate);
}
.brand-name em { color: var(--blue); font-style: normal; }

.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-size: 14.5px;
  color: var(--text-muted);
  transition: color .18s;
}
.main-nav a:hover { color: var(--blue); }

.header-actions { display: flex; gap: 10px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--slate); border-radius: 2px; }

/* ============ HERO ============ */
.hero { padding: 84px 0 60px; overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--blue-deep);
  background: var(--blue-glow);
  border: 1px solid rgba(47,111,237,0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 22px;
}
.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47,111,237,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(47,111,237,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,111,237,0); }
}

.hero h1 { font-size: clamp(38px, 5vw, 58px); }
.accent { color: var(--blue); }

.hero-lead {
  color: var(--text-muted);
  font-size: 18px;
  max-width: 480px;
  margin: 20px 0 32px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-tags span {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-deep);
  background: var(--blue-glow);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ---- orbit diagram (signature element) ---- */
.hero-visual { text-align: center; }
.orbit-wrap { position: relative; width: 320px; height: 320px; margin: 0 auto; }
.orbit-ring circle {
  fill: none;
  stroke: var(--border);
  stroke-width: 1.5;
  stroke-dasharray: 4 7;
}
.orbit-spin {
  position: absolute;
  inset: 0;
  animation: orbit-rotate 22s linear infinite;
}
@keyframes orbit-rotate { to { transform: rotate(360deg); } }
.orbit-icon {
  position: absolute;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 20px -8px rgba(31,42,55,0.15);
  animation: counter-rotate 22s linear infinite;
}
@keyframes counter-rotate { to { transform: rotate(-360deg); } }
.oi-1 { top: 4px; left: 137px; }
.oi-2 { top: 78px; left: 258px; }
.oi-3 { top: 238px; left: 258px; }
.oi-4 { top: 270px; left: 137px; }
.oi-5 { top: 78px; left: 16px; }

.orbit-hub {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 34px -10px var(--blue-glow);
}
.orbit-hub span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}
.orbit-caption {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--text-faint);
  font-family: var(--font-display);
  font-weight: 600;
}

/* ============ OFFER STRIP ============ */
.offer-strip { background: var(--blue); color: #fff; }
.offer-inner { padding: 12px 24px; text-align: center; font-size: 14.5px; }
.offer-inner a { text-decoration: underline; font-weight: 600; color: #fff; }

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.lead-text { font-size: 18px; color: var(--text); }
.about-copy p { color: var(--text-muted); }
.about-list { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.about-list li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 15px; }
.check { color: var(--blue); font-weight: 700; }

.about-visual { display: flex; }
.stat-row { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -18px rgba(31,42,55,0.18); }
.stat-num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  min-width: 44px;
}
.stat-label { font-size: 13.5px; color: var(--text-muted); line-height: 1.4; }

/* ============ SERVICES ============ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s var(--ease);
}
.service-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: 0 16px 32px -18px rgba(31,42,55,0.16); }
.service-icon { font-size: 26px; display: block; margin-bottom: 14px; }
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

.service-card-cta {
  background: linear-gradient(160deg, var(--blue-glow), transparent);
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.service-card-cta .btn { align-self: flex-start; margin-top: 6px; }

/* ============ WHO WE HELP ============ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.work-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -18px rgba(31,42,55,0.16); }
.work-icon { font-size: 28px; display: block; margin-bottom: 12px; }
.work-card h3 { font-size: 16.5px; margin-bottom: 6px; }
.work-card p { color: var(--text-muted); font-size: 13.5px; margin: 0; }

/* ============ TRUST ============ */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.trust-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.trust-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -18px rgba(31,42,55,0.16); }
.trust-icon { font-size: 26px; display: block; margin-bottom: 12px; }
.trust-card h3 { font-size: 17px; margin-bottom: 8px; }
.trust-card p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* ============ FAQ ============ */
.faq-wrap { max-width: 720px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 6px 22px;
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--blue); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { color: var(--blue); font-size: 20px; transition: transform .2s; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item p { color: var(--text-muted); padding-bottom: 20px; margin: 0; font-size: 15px; }

/* ============ CTA / CONTACT ============ */
.cta-section { text-align: center; }
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-title { font-size: clamp(28px, 4vw, 40px); }
.cta-sub { color: var(--text-muted); font-size: 17px; margin-bottom: 40px; }
.contact-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.social-link { color: var(--blue); font-size: 14.5px; font-weight: 600; }
.social-link:hover { text-decoration: underline; }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid var(--border-soft); padding-top: 56px; background: var(--bg-alt); }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-brand p { color: var(--text-muted); font-size: 13.5px; margin: 4px 0 0; }
.footer-links, .footer-contact { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; color: var(--text-muted); }
.footer-links a:hover, .footer-contact a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding: 20px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-faint);
}

#devInfo a{
  color: var(--blue);
  font-size: 1rem;
}

/* ============ FLOATING WHATSAPP ============ */
.floating-whatsapp {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  box-shadow: 0 10px 30px -6px var(--blue-glow);
  z-index: 60;
  transition: transform .2s;
}
.floating-whatsapp:hover { transform: scale(1.08); }

/* ============ REVEAL ANIMATION ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .stat-row { flex-direction: row; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { align-items: center; }
  .footer-links, .footer-contact { align-items: center; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border-soft);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 16px;
  }
  .service-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { flex-direction: column; }
  .orbit-wrap { width: 260px; height: 260px; transform: scale(0.85); }
  .contact-buttons { flex-direction: column; width: 100%; }
  .contact-buttons .btn { width: 100%; }
}
