/* ── RESET ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; background: #f9faf7; color: #1a2e1a; }
.material-symbols-rounded {
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 24;
  font-size: 20px; line-height: 1; vertical-align: middle;
}
.brand-icon { color: #2d9b5a; margin-right: 4px; }

/* ── NAVBAR ── */
#navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid #e0e8e0; padding: 0 32px;
}
#navbox {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; height: 64px;
}
#logo {
  font-family: 'Syne', sans-serif;
  font-size: 26px; font-weight: 800;
  text-decoration: none; color: #1a2e1a;
  display: flex; align-items: center;
}
#logo > span:last-child { color: #2d9b5a; }
#links { display: flex; gap: 28px; align-items: center; }
#links a {
  text-decoration: none; color: #444;
  font-weight: 500; font-size: 15px;
  transition: color 0.2s;
}
#links a:hover { color: #2d9b5a; }
#loginLink {
  background: #1a2e1a; color: white !important;
  padding: 8px 20px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
}
#loginLink:hover { background: #2d9b5a; }
#hamburger {
  display: none;
  background: none; border: none;
  font-size: 24px; cursor: pointer;
  padding: 4px 8px; border-radius: 8px;
  color: #1a2e1a; line-height: 1;
}

/* ── MOBILE MENU ── */
#mobileMenu {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: white; z-index: 99;
  border-bottom: 1px solid #e0e8e0;
  flex-direction: column; padding: 16px 24px 24px; gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
#mobileMenu.open { display: flex; }
#mobileMenu a {
  text-decoration: none; color: #444;
  font-weight: 500; font-size: 16px;
  padding: 12px 0; border-bottom: 1px solid #f0f0f0;
}
#mobileMenu a:last-child { border-bottom: none; }

/* ── HERO ── */
#hero {
  background: linear-gradient(135deg, #0a1a0a, #1a3a1a, #0d2818);
  padding: 100px 32px 80px;
  text-align: center; position: relative;
  overflow: hidden; min-height: 440px;
  display: flex; align-items: center; justify-content: center;
}
#blob1 {
  position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(45,155,90,0.2), transparent 70%);
  border-radius: 50%; top: -150px; right: 60px; pointer-events: none;
}
#blob2 {
  position: absolute; width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(255,107,53,0.12), transparent 70%);
  border-radius: 50%; bottom: -80px; left: 120px; pointer-events: none;
}
#heroContent {
  position: relative; z-index: 2;
  max-width: 700px; animation: riseIn 0.6s ease both;
}
#heroPill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(45,155,90,0.2); border: 1px solid rgba(45,155,90,0.4);
  color: #7fd47b; border-radius: 100px;
  padding: 6px 18px; font-size: 13px;
  font-weight: 600; margin-bottom: 24px;
}
#heroTitle {
  font-family: 'Syne', sans-serif;
  font-size: 52px; font-weight: 800;
  color: white; line-height: 1.1;
  letter-spacing: -1.5px; margin-bottom: 16px;
}
#heroTitle span { color: #4fcb7a; }
#heroSub {
  font-size: 17px; color: rgba(255,255,255,0.6);
  margin-bottom: 36px; line-height: 1.6;
}
#searchWrap {
  display: flex; align-items: center;
  background: white; border-radius: 14px;
  padding: 6px 6px 6px 16px; gap: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-width: 560px; margin: 0 auto;
}
#searchWrap input {
  flex: 1; border: none; outline: none;
  font-size: 15px; font-family: 'Montserrat', sans-serif;
  min-width: 0;
}
#searchBtn {
  background: #2d9b5a; color: white;
  border: none; border-radius: 10px;
  padding: 12px 24px; font-weight: 700;
  font-size: 14px; cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
#searchBtn:hover { background: #1a7a40; transform: translateY(-1px); }

/* ── CATEGORIES ── */
#categories {
  max-width: 1100px; margin: 0 auto;
  padding: 72px 32px 48px;
}
.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 36px; font-weight: 800;
  text-align: center; letter-spacing: -0.5px;
}
.section-sub {
  text-align: center; color: #6b7b6b;
  margin: 8px 0 48px; font-size: 16px;
}
#catGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.cat-card {
  background: white; border-radius: 20px;
  padding: 32px 24px; text-align: center;
  border: 1px solid #e0e8e0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  text-decoration: none; color: #1a2e1a;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(45,155,90,0.12);
  border-color: #4fcb7a;
}
.cat-icon {
  width: 64px; height: 64px;
  border-radius: 18px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8f7ee, #d4f0de);
}
.cat-icon .material-symbols-rounded { font-size: 30px; color: #2d9b5a; }
.cat-icon.payments { background: linear-gradient(135deg, #fff3e8, #ffe8d4); }
.cat-icon.payments .material-symbols-rounded { color: #ff6b35; }
.cat-icon.account { background: linear-gradient(135deg, #e8eeff, #d4dfff); }
.cat-icon.account .material-symbols-rounded { color: #4a6cf7; }
.cat-icon.partner { background: linear-gradient(135deg, #fef3e8, #fde8d0); }
.cat-icon.partner .material-symbols-rounded { color: #e8a838; }
.cat-icon.tech { background: linear-gradient(135deg, #f3e8ff, #e4d4ff); }
.cat-icon.tech .material-symbols-rounded { color: #7b4f9e; }
.cat-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 17px; font-weight: 700;
  margin-bottom: 8px;
}
.cat-card p {
  font-size: 13px; color: #6b7b6b; line-height: 1.5;
}

/* ── FAQ ACCORDION ── */
#faq {
  max-width: 800px; margin: 0 auto;
  padding: 48px 32px 72px;
}
#faqList { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: white; border-radius: 16px;
  border: 1px solid #e0e8e0; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item:hover { border-color: #c0d8c0; }
.faq-item.open {
  border-color: #2d9b5a;
  box-shadow: 0 8px 32px rgba(45,155,90,0.1);
}
.faq-question {
  width: 100%; background: none; border: none;
  padding: 20px 24px; display: flex;
  align-items: center; justify-content: space-between;
  cursor: pointer; font-family: 'Montserrat', sans-serif;
  font-size: 15px; font-weight: 600; color: #1a2e1a;
  text-align: left; gap: 16px;
  transition: color 0.2s;
}
.faq-question:hover { color: #2d9b5a; }
.faq-arrow {
  font-size: 24px !important; color: #6b7b6b;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), color 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-arrow {
  transform: rotate(180deg); color: #2d9b5a;
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.4,0,.2,1);
}
.faq-answer-inner {
  padding: 0 24px 24px;
  font-size: 14px; color: #4a5a4a;
  line-height: 1.8; border-top: 1px solid #e8f0e8;
  padding-top: 16px; margin: 0 24px;
  padding-left: 0; padding-right: 0;
}
.faq-answer-inner ul, .faq-answer-inner ol {
  margin: 12px 0 8px 20px;
}
.faq-answer-inner li { margin-bottom: 6px; }
.faq-answer-inner a {
  color: #2d9b5a; font-weight: 600;
  text-decoration: underline;
}

/* ── CONTACT ── */
#contact {
  background: linear-gradient(135deg, #edf7ed, #f4fbf6);
  padding: 72px 32px;
}
#contactBox {
  max-width: 900px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.contact-card {
  background: white; border-radius: 20px;
  padding: 36px 28px; text-align: center;
  border: 1px solid #e0e8e0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.25s, box-shadow 0.25s;
}
.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45,155,90,0.1);
}
.contact-icon {
  width: 60px; height: 60px;
  border-radius: 16px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2d9b5a, #1a7a40);
}
.contact-icon .material-symbols-rounded { font-size: 28px; color: white; }
.contact-icon.phone { background: linear-gradient(135deg, #ff6b35, #e55520); }
.contact-icon.chat { background: linear-gradient(135deg, #4a6cf7, #3858e0); }
.contact-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px; font-weight: 700;
  margin-bottom: 8px;
}
.contact-card p {
  font-size: 13px; color: #6b7b6b;
  margin-bottom: 16px; line-height: 1.5;
}
.contact-link {
  display: inline-block;
  color: #2d9b5a; font-weight: 700; font-size: 15px;
  text-decoration: none;
  padding: 8px 20px; border-radius: 10px;
  background: #e8f7ee;
  transition: background 0.2s, color 0.2s;
  border: none; cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}
.contact-link:hover { background: #2d9b5a; color: white; }

/* ── FOOTER ── */
#footer { background: #0f2010; padding: 60px 32px 32px; }
#footbox { max-width: 1200px; margin: 0 auto; }
#footlogo {
  font-family: 'Syne', sans-serif; font-size: 24px;
  font-weight: 800; color: white;
  display: flex; align-items: center;
}
#footlogo > span:last-child { color: #7fd47b; }
#footsub { color: rgba(255,255,255,0.5); margin-top: 8px; font-size: 14px; }
#footlinks { display: flex; gap: 24px; flex-wrap: wrap; margin: 36px 0; }
#footlinks a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; }
#footlinks a:hover { color: white; }
#copy { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; color: rgba(255,255,255,0.35); font-size: 13px; }

/* ── ANIMATIONS ── */
@keyframes riseIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* Focus-visible */
button:focus-visible, a:focus-visible, input:focus-visible {
  outline: 2px solid #2d9b5a; outline-offset: 2px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  #navbar { padding: 0 16px; }
  #links { display: none; }
  #hamburger { display: block; }
  #hero { padding: 64px 16px 56px; min-height: auto; }
  #heroTitle { font-size: 34px; }
  #heroSub { font-size: 15px; }
  #searchWrap { flex-direction: column; padding: 12px; gap: 8px; }
  #searchBtn { width: 100%; }
  #categories { padding: 48px 16px 32px; }
  .section-title { font-size: 26px; }
  .section-sub { font-size: 14px; margin-bottom: 32px; }
  #catGrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { padding: 24px 16px; }
  .cat-icon { width: 52px; height: 52px; border-radius: 14px; }
  .cat-icon .material-symbols-rounded { font-size: 24px; }
  .cat-card h3 { font-size: 14px; }
  #faq { padding: 32px 16px 48px; }
  .faq-question { padding: 16px 18px; font-size: 14px; }
  .faq-answer-inner { margin: 0 18px; font-size: 13px; }
  #contact { padding: 48px 16px; }
  #contactBox { grid-template-columns: 1fr; gap: 16px; }
  #footer { padding: 40px 16px 24px; }
  #footlinks { gap: 16px; margin: 24px 0; }
}

@media (max-width: 400px) {
  #heroTitle { font-size: 28px; }
  #catGrid { grid-template-columns: 1fr; }
  #logo { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
