/* ── EfxiAI Custom Styles ── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&display=swap');

:root {
  --efxiai-brown: #4a3f35;
  --efxiai-brown2: #5c4f43;
  --efxiai-blue: #52b6ec;
}

/* ── NAV: compact height ── */
#header {
  height: 54px !important;
}
.navbar-default {
  min-height: 54px !important;
  max-height: 54px !important;
}
.navbar-default .navbar-brand {
  height: 54px !important;
  width: auto !important;
  background-image: none !important;
}
.efxiai-brand {
  display: flex !important;
  align-items: center;
  gap: 9px;
  width: auto !important;
  background: none !important;
  padding: 10px 20px !important;
  height: 54px !important;
  line-height: 1 !important;
}
.navbar-collapse {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.navbar-default .navbar-nav {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.brand-logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  background: #4a3f35;
  border-radius: 8px;
  padding: 3px;
  display: block;
}
.brand-name {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #4a3f35;
  letter-spacing: -0.3px;
  line-height: 1;
}
.navbar-default .navbar-nav > li > a {
  padding: 18px 18px !important;
  font-size: 15px;
  line-height: 18px;
}

/* ── Lang switcher ── */
.lang-switcher { display: flex; align-items: center; padding: 0 4px; }
.lang-btn {
  font-size: 12px;
  font-weight: 700;
  color: #4a3f35 !important;
  padding: 16px 10px !important;
  text-decoration: none !important;
  border: 1px solid #ccc;
  border-radius: 4px;
  line-height: 22px !important;
  transition: all 0.2s;
}
.lang-btn:hover { background: #f5f0eb !important; border-color: #4a3f35 !important; }

/* ── EfxiAI primary button ── */
.btn-efxiai {
  background-color: #4a3f35;
  color: #fff !important;
  border: 0;
  font-weight: 400;
  transition: background 0.2s;
}
.btn-efxiai:hover, .btn-efxiai:focus {
  background-color: #5c4f43;
  color: #fff !important;
}

/* ── Hero slider ── */
#main-slider h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  letter-spacing: -1px;
}
#main-slider .btn { margin-top: 20px; }

/* ── Stats ── */
.stats-row {
  border-top: 1px solid #eee;
  margin-top: 40px;
  padding-top: 40px;
}
.stat-block { padding: 16px 0; }
.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: #4a3f35;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: #999; }

/* ── Platform / How it works ── */
#platform { background: #f3f3f3; }
.how-step { padding: 16px 8px; }

/* Step numbers — large and prominent */
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #4a3f35;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.gap-top { margin-top: 40px; }

/* Channel icons */
.channel-item { padding: 16px 8px; }
.icon-channel {
  font-size: 30px;
  color: #4a3f35;
  display: block !important;
  margin-bottom: 8px;
}
.channel-item p { font-size: 13px; color: #777; margin: 0; }

/* ── Pricing ── */
#pricing .plan-price-custom {
  padding: 18px 0;
  font-size: 18px;
  line-height: 1.5;
  color: #777;
}
#pricing .plan.featured .plan-price-custom {
  background-color: #4a3f35;
  color: #fff;
  margin: 0;
}

/* ── About logo — no white border, transparent PNG ── */
.about-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 30px;
}
.about-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  background: #4a3f35;
  border-radius: 20px;
  padding: 14px;
  display: block;
}
.about-logo-label {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: #4a3f35;
  margin-top: 12px;
  letter-spacing: -1px;
}
.about-tags { margin-top: 20px; }
.label-efxiai {
  display: inline-block;
  background: #f0ece8;
  color: #4a3f35;
  font-size: 12px;
  font-weight: 400;
  border-radius: 99px;
  padding: 5px 14px;
  margin: 4px 4px 4px 0;
}

/* ── Demo / contact box ── */
.demo-box {
  background: #f9f7f5;
  border: 1px solid #e8e3de;
  border-radius: 8px;
  padding: 20px 24px;
  margin-top: 20px;
}
.demo-features { list-style: none; padding: 0; margin: 0; }
.demo-features li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  color: #555;
}
.demo-features li:last-child { border-bottom: none; }
.demo-features .icon-ok-sign { color: #4a3f35; margin-right: 10px; font-size: 16px; }

/* ── Contact dark box ── */
#contact .box h2 { color: #fff; font-family: 'Syne', sans-serif; }

/* ── Footer ── */
#footer { background: #1a1510; border-top: 1px solid #2a221a; }
#footer, #footer a { color: #666; }
#footer a:hover { color: #52b6ec; }
.footer-logo-small {
  height: 26px;
  object-fit: contain;
  background: transparent;
  vertical-align: middle;
  margin-right: 8px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .stat-number { font-size: 38px; }
  .step-num { font-size: 36px; }
}

/* ── Pricing section redesign ── */
.plan-featured-box {
  background: #f0a500;
  border-radius: 8px;
  padding: 24px 30px;
  position: relative;
  margin-bottom: 4px;
}
.plan-featured-box h4 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #1a2a4a;
  margin-bottom: 16px;
}
.plan-featured-badge {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 12px;
  font-weight: 700;
  color: #f0a500;
  letter-spacing: 1px;
}
.plan-feat-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}
.plan-feat-list li {
  font-size: 14px;
  color: #1a2a4a;
  padding: 4px 0;
}

/* Dark blue plan */
.plan.plan-dark { background: #1a2a4a; border-bottom: none; }
.plan.plan-dark .plan-name { background: #1a3060; color: #fff; padding: 14px 0; font-size: 15px; }
.plan.plan-dark li { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.08); }

/* Teal plan */
.plan.plan-teal { background: #1a2a4a; border-bottom: none; }
.plan.plan-teal .plan-name { background: #00b8a0; color: #fff; padding: 14px 0; font-size: 15px; }
.plan.plan-teal li { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.08); }

/* Gray plan */
.plan.plan-gray { background: #1a2a4a; border-bottom: none; }
.plan.plan-gray .plan-name { background: #6c757d; color: #fff; padding: 14px 0; font-size: 15px; }
.plan.plan-gray li { color: rgba(255,255,255,0.75); border-bottom-color: rgba(255,255,255,0.08); }

.plan-action-muted {
  margin: 20px 15px 20px !important;
  border: 1px solid rgba(255,255,255,0.2) !important;
  border-radius: 6px;
  border-bottom: 0 !important;
}
.plan-action-muted span {
  display: block;
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  padding: 10px 0;
}

.btn-teal {
  background: #00b8a0;
  color: #fff !important;
  border: 0;
}
.btn-teal:hover { background: #009d88; color: #fff !important; }

.pricing-note {
  background: #1a2a4a;
  border: 2px solid #f0a500;
  border-radius: 6px;
  padding: 18px 24px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.pricing-note p {
  margin: 0;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  flex: 1;
}
.pricing-note strong { color: #f0a500; }

/* Footer logo fix — no background bleed */
.footer-logo-small {
  height: 30px;
  width: 30px;
  object-fit: contain;
  background: #4a3f35;
  border-radius: 7px;
  padding: 3px;
  vertical-align: middle;
  margin-right: 8px;
}

/* ── Pricing text visibility fixes (override main.css) ── */

/* Force dark background on all 3 plan cards */
#pricing .plan.plan-dark,
#pricing .plan.plan-teal,
#pricing .plan.plan-gray {
  background: #1a2a4a !important;
  border-bottom: none !important;
}

/* All li text white and visible */
#pricing .plan.plan-dark li,
#pricing .plan.plan-teal li,
#pricing .plan.plan-gray li {
  color: #d0d8e8 !important;
  border-bottom-color: rgba(255,255,255,0.07) !important;
  font-size: 14px;
}

/* Plan name headers */
#pricing .plan.plan-dark li.plan-name {
  background: #1a3060 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}
#pricing .plan.plan-teal li.plan-name {
  background: #00b8a0 !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}
#pricing .plan.plan-gray li.plan-name {
  background: #6c757d !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* Plan action buttons row */
#pricing .plan.plan-dark li.plan-action,
#pricing .plan.plan-teal li.plan-action,
#pricing .plan.plan-gray li.plan-action {
  border-bottom: 0 !important;
  color: #fff !important;
}

/* Muted action (non-clickable label) */
.plan-action-muted {
  margin: 12px 15px 20px !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 6px !important;
  border-bottom: 1px solid rgba(255,255,255,0.15) !important;
  padding: 0 !important;
}
.plan-action-muted span {
  display: block;
  text-align: center;
  color: rgba(255,255,255,0.45) !important;
  font-size: 14px;
  padding: 10px 0;
}

/* Featured box text */
.plan-feat-list li {
  color: #1a2a4a !important;
  font-size: 14px;
  padding: 5px 0;
}

/* Pricing note */
.pricing-note p {
  color: #e0e8f0 !important;
  font-size: 14px;
  line-height: 1.7;
  flex: 1;
  margin: 0;
}
.pricing-note strong {
  color: #f0a500 !important;
}

/* ── Featured badge fix ── */
.plan-featured-badge {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 13px;
  font-weight: 700;
  color: #1a2a4a !important;
  letter-spacing: 1px;
  background: transparent;
}
.plan-featured-badge span,
.plan-featured-badge span span {
  color: #1a2a4a !important;
}

/* ── Equal height plan cards ── */
.plan-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.plan-row > div {
  display: flex;
  flex-direction: column;
}
.plan-row > div .plan {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
/* Push action button to bottom */
.plan-row > div .plan li.plan-action,
.plan-row > div .plan li.plan-action-muted {
  margin-top: auto !important;
}
/* Spacer li invisible */
.plan-spacer {
  flex: 1;
  border-bottom: none !important;
  min-height: 20px;
}

@media (max-width: 768px) {
  .plan-row { display: block; }
  .plan-row > div { display: block; }
}

/* ════════════════════════════════
   MOBILE RESPONSIVE FIXES
   ════════════════════════════════ */

/* ── Nav mobile ── */
@media (max-width: 767px) {
  #header {
    height: auto !important;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 99999;
  }
  .navbar-default {
    min-height: 52px !important;
  }
  .efxiai-brand {
    height: 52px !important;
    padding: 8px 15px !important;
  }
  .brand-logo-img { width: 30px; height: 30px; }
  .brand-name { font-size: 16px; }

  /* Hamburger button */
  .navbar-toggle {
    margin-top: 9px !important;
    margin-right: 10px !important;
    border-color: #4a3f35 !important;
  }
  .navbar-toggle .icon-bar { background-color: #4a3f35 !important; }

  /* Dropdown menu full width */
  .navbar-collapse {
    border-top: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: #fff;
  }
  .navbar-default .navbar-nav > li > a {
    padding: 12px 20px !important;
    font-size: 15px;
    border-bottom: 1px solid #f5f5f5;
  }
  .lang-switcher {
    padding: 10px 20px !important;
    border-bottom: 1px solid #f5f5f5;
  }
  .lang-btn { padding: 8px 10px !important; }

  /* Push body down so content not hidden under fixed nav */
  body { padding-top: 52px !important; }
  #main-slider { margin-top: 0 !important; }

  /* ── Hero slider ── */
  #main-slider {
    padding: 60px 0 50px !important;
  }
  #main-slider h1 {
    font-size: 28px !important;
    letter-spacing: -0.5px !important;
    line-height: 1.2 !important;
  }
  #main-slider .lead {
    font-size: 15px !important;
    padding: 0 10px;
  }
  #main-slider .btn { margin-top: 16px; font-size: 14px; padding: 10px 22px; }
  #main-slider .prev, #main-slider .next { display: none; }

  /* ── Sections general ── */
  .box { padding: 30px 16px !important; }
  .box h2 { font-size: 28px !important; padding: 6px 10px !important; }
  .box.first { margin-top: -20px !important; }

  /* ── Services ── */
  #services .col-md-4 { margin-bottom: 30px !important; }
  .icon-md { font-size: 20px !important; width: 56px !important; height: 56px !important; line-height: 56px !important; }

  /* ── Stats ── */
  .stats-row { margin-top: 20px; padding-top: 20px; }
  .stat-block { padding: 10px 0; }
  .stat-number { font-size: 36px !important; }
  .stat-label { font-size: 13px; }

  /* ── Platform steps ── */
  #platform .col-md-3 { margin-bottom: 24px; }
  .step-num { font-size: 32px !important; }
  .how-step { padding: 10px 6px; }

  /* ── Channel icons ── */
  .channel-item { padding: 10px 4px; }
  .icon-channel { font-size: 22px; }
  .channel-item p { font-size: 12px; }

  /* ── Pricing ── */
  .plan-featured-box {
    padding: 18px 16px !important;
  }
  .plan-featured-box h4 { font-size: 15px !important; margin-bottom: 12px; }
  .plan-featured-badge {
    position: static !important;
    display: block;
    margin-bottom: 10px;
    text-align: left;
    font-size: 12px;
  }
  /* Stack plan cards vertically */
  .plan-row { display: block !important; }
  .plan-row > div { display: block !important; margin-bottom: 16px; }
  .plan-row > div .plan { margin-bottom: 0; }

  /* ── About ── */
  .about-logo-wrap { padding: 10px 0 20px; }
  .about-logo { width: 90px !important; height: 90px !important; }
  .col-md-5.col-md-offset-1 { margin-bottom: 20px; }

  /* ── Contact ── */
  #contact .col-sm-6 { margin-bottom: 30px; }
  .demo-box { padding: 14px 16px; }
  .demo-features li { font-size: 13px; }

  /* ── Footer ── */
  #footer { padding: 20px 16px; }
  #footer .col-sm-6 { text-align: center !important; margin-bottom: 10px; }
  .footer-logo-small { height: 22px; }

  /* ── General spacing ── */
  .gap { margin-bottom: 24px !important; }
  .big-gap { margin-bottom: 40px !important; }
  section { padding-left: 0 !important; padding-right: 0 !important; }
}

/* ── Tablet (768px - 991px) ── */
@media (min-width: 768px) and (max-width: 991px) {
  body { padding-top: 58px; }

  #main-slider h1 { font-size: 40px !important; }
  #main-slider { padding: 100px 0 80px !important; }

  .stat-number { font-size: 40px !important; }
  .step-num { font-size: 36px !important; }

  .plan-featured-badge { position: static !important; display: block; margin-bottom: 8px; }
  .plan-featured-box h4 { font-size: 16px !important; }

  /* Pricing cards side by side 2+1 on tablet */
  .plan-row .col-sm-4 { width: 100% !important; margin-bottom: 16px; }

  .about-logo { width: 100px !important; height: 100px !important; }

  .pricing-note { flex-direction: column; gap: 16px; text-align: center; }
  .pricing-note p { text-align: left; }
}

/* ── Small fixes for all sizes ── */
.pricing-note {
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .pricing-note {
    flex-direction: column;
    gap: 14px;
  }
  .pricing-note .btn { width: 100%; text-align: center; }
  .plan-feat-list { padding-left: 16px; }
  .plan-feat-list li { font-size: 13px; }
}

/* ── Market note ── */
.market-note {
  margin-top: 20px;
  padding: 12px 18px;
  background: #f9f7f5;
  border-left: 3px solid #4a3f35;
  border-radius: 0 6px 6px 0;
  font-size: 14px;
  color: #5c4f43;
  line-height: 1.6;
}
