/* ═══════════════════════════════════════════════════
   OLVEX — components.css  (Navbar + Footer + UI)
═══════════════════════════════════════════════════ */

/* ══════════════ NAVBAR ══════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background var(--t), backdrop-filter var(--t), border-color var(--t);
}
#navbar.scrolled {
  background: rgba(10,10,15,0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 5%;
  height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo-icon { width: 128px; height: 128px; object-fit: contain; display: block; }
.nav-logo-text { font-size: 17px; font-weight: 800; letter-spacing: 0.14em; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links { display: flex; gap: 6px; flex: 1; justify-content: center; }
.nav-links a {
  font-size: 14px; font-weight: 400; color: rgba(255,255,255,0.58);
  padding: 7px 14px; border-radius: 8px;
  transition: color var(--t), background var(--t);
  letter-spacing: 0.01em;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.nav-links a.active { color: #fff; background: rgba(123,47,255,0.12); }

.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-cta { white-space: nowrap; }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; cursor: pointer; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: rgba(255,255,255,0.65); border-radius: 2px; transition: var(--t); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none; flex-direction: column; gap: 0;
  background: rgba(10,10,15,0.97); border-top: 1px solid var(--border);
  padding-bottom: 20px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { display: block; padding: 14px 5%; font-size: 16px; color: rgba(255,255,255,0.68); border-bottom: 1px solid var(--border); }
.nav-mobile a:hover { color: #fff; }
.nav-mobile .btn { margin: 20px 5% 0; display: block; text-align: center; }

/* ══════════════ FOOTER ══════════════ */
.footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 70px 0 32px; }

.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 56px;
}

.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.38); line-height: 1.75; max-width: 220px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); transition: background var(--t), color var(--t), border-color var(--t);
}
.footer-social a:hover { background: var(--purple-dim); border-color: var(--border-2); color: var(--purple); }
.footer-social svg { width: 14px; height: 14px; }

.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color var(--t); }
.footer-col a:hover { color: #fff; }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; border-top: 1px solid var(--border); }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.28); transition: color var(--t); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }
.footer-badge { font-size: 11px; color: rgba(255,255,255,0.22); display: flex; align-items: center; gap: 6px; }
.footer-badge span { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; animation: pulse 2s ease-in-out infinite; }

/* ══════════════ ICON BOX ══════════════ */
.icon-box {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--purple-dim); border: 1px solid rgba(123,47,255,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; flex-shrink: 0;
}
.icon-box svg { width: 24px; height: 24px; color: var(--purple); }
.icon-box.blue { background: var(--blue-dim); border-color: rgba(47,107,255,0.2); }
.icon-box.blue svg { color: var(--blue); }

/* ══════════════ PROCESS STEP ══════════════ */
.step-connector { position: relative; }
.step-connector::after {
  content: ''; position: absolute; top: 26px; left: 100%;
  width: calc(100% - 52px); height: 1px;
  background: linear-gradient(to right, rgba(123,47,255,0.4), transparent);
  transform: translateX(-50%);
}

/* ══════════════ FAQ ══════════════ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; background: none; color: #fff;
  font-size: 16px; font-weight: 500; text-align: left; gap: 16px;
  transition: color var(--t);
}
.faq-question:hover { color: rgba(255,255,255,0.75); }
.faq-icon { width: 22px; height: 22px; border-radius: 50%; background: var(--purple-dim); border: 1px solid var(--border-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform var(--t), background var(--t); }
.faq-icon svg { width: 12px; height: 12px; color: var(--purple); transition: transform var(--t); }
.faq-item.open .faq-icon { background: var(--grad); border-color: transparent; transform: rotate(45deg); }
.faq-item.open .faq-icon svg { color: #fff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease), padding var(--t); }
.faq-answer p { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.8; padding-bottom: 20px; }
.faq-item.open .faq-answer { max-height: 300px; }

/* ══════════════ TESTIMONIAL ══════════════ */
.testimonial-card { background: var(--bg-card2); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 28px; }
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-stars span { color: #F59E0B; font-size: 14px; }
.testimonial-text { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: #fff; flex-shrink: 0; }
.testimonial-name { font-size: 14px; font-weight: 600; }
.testimonial-role { font-size: 12px; color: rgba(255,255,255,0.38); }

/* ══════════════ TECH PILLS ══════════════ */
.tech-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-pill { display: flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 100px; font-size: 13px; color: rgba(255,255,255,0.6); transition: border-color var(--t), color var(--t); }
.tech-pill:hover { border-color: var(--border-2); color: #fff; }
.tech-pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); flex-shrink: 0; }

/* ══════════════ PRICING CARD ══════════════ */
.pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 30px; transition: all var(--t); }
.pricing-card.featured { border-color: var(--purple); background: linear-gradient(135deg,rgba(123,47,255,0.08),rgba(47,107,255,0.06)); }
.pricing-card.featured .badge { background: var(--grad); color: #fff; border-color: transparent; }
.pricing-price { font-size: 42px; font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin: 16px 0 4px; }
.pricing-price span { font-size: 16px; font-weight: 400; color: var(--gray-2); }
.pricing-name { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.pricing-desc { font-size: 14px; color: var(--gray-2); margin-bottom: 24px; line-height: 1.7; }
.pricing-divider { height: 1px; background: var(--border); margin: 24px 0; }

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 960px) {
  .nav-links, .nav-right .btn { display: none; }
  .nav-hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { margin-bottom: 0; }
}
