:root {
  --fpt-orange: #F37021;
  --fpt-orange-hover: #d95b0e;
  --fpt-blue: #0066B3;
  --fpt-blue-dark: #00467f;
  --fpt-green: #51B848;
  --fpt-bg: #F4F6F9;
  --fpt-text: #1E293B;
  --fpt-border: #E2E8F0;
}

.fpt-wrapper {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--fpt-text);
  line-height: 1.6;
}

.fpt-container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 15px;
}

/* TOP BAR & HEADER CUSTOM FOR FLATSOME */
.header-main .nav > li > a {
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: 14px;
}
.header-main .nav > li > a:hover,
.header-main .nav > li.current-menu-item > a {
  color: var(--fpt-orange) !important;
}

/* HERO SECTION */
.fpt-hero {
  background: linear-gradient(125deg, #003e70 0%, #0066B3 52%, #F37021 100%);
  color: #fff;
  padding: 65px 0;
  position: relative;
  overflow: hidden;
}

.fpt-hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: center;
}

.fpt-badge {
  display: inline-block;
  background: var(--fpt-orange);
  color: #fff;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.fpt-hero h1 {
  color: #fff !important;
  font-size: 36px;
  line-height: 1.25;
  margin: 0 0 16px;
  font-weight: 800;
}

.fpt-hero-desc {
  font-size: 16px;
  opacity: 0.95;
  margin-bottom: 20px;
}

.fpt-hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.fpt-hero-benefits li {
  margin-bottom: 10px;
  font-size: 15.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fpt-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* BUTTONS */
.fpt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none !important;
  text-align: center;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.fpt-btn-primary {
  background: var(--fpt-orange);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(243, 112, 33, 0.38);
}

.fpt-btn-primary:hover {
  background: var(--fpt-orange-hover);
  transform: translateY(-2px);
}

.fpt-btn-outline {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
  border: 2px solid #fff;
}

.fpt-btn-outline:hover {
  background: #fff;
  color: var(--fpt-blue) !important;
}

.fpt-btn-blue {
  background: var(--fpt-blue);
  color: #fff !important;
  width: 100%;
}

.fpt-btn-blue:hover {
  background: var(--fpt-orange);
}

/* HERO FORM BOX */
.fpt-form-card {
  background: #fff;
  color: var(--fpt-text);
  padding: 30px 28px;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  border-top: 5px solid var(--fpt-orange);
}

.fpt-form-card h3 {
  color: var(--fpt-blue);
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
}

.fpt-form-card p {
  font-size: 13.5px;
  text-align: center;
  color: #64748B;
  margin-bottom: 18px;
}

.fpt-lead-form input,
.fpt-lead-form select,
.fpt-lead-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 14.5px;
  box-sizing: border-box;
  background: #F8FAFC;
  transition: border 0.2s;
}

.fpt-lead-form input:focus,
.fpt-lead-form select:focus,
.fpt-lead-form textarea:focus {
  border-color: var(--fpt-orange);
  outline: none;
  background: #fff;
}

.fpt-form-submit {
  width: 100%;
  background: var(--fpt-orange);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  padding: 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.fpt-form-submit:hover {
  background: var(--fpt-orange-hover);
}

.fpt-form-msg {
  margin-top: 10px;
  font-size: 14px;
  text-align: center;
  font-weight: 600;
}

/* 4 SERVICES HIGHLIGHTS */
.fpt-services-sec {
  padding: 50px 0;
  background: #fff;
}

.fpt-service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.fpt-service-box {
  background: var(--fpt-bg);
  padding: 26px 20px;
  border-radius: 14px;
  text-align: center;
  border-bottom: 4px solid var(--fpt-orange);
  transition: all 0.25s ease;
}

.fpt-service-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.fpt-service-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.fpt-service-box h4 {
  color: var(--fpt-blue);
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 8px;
}

.fpt-service-box p {
  font-size: 14px;
  color: #475569;
  margin: 0;
}

/* SECTION HEADERS */
.fpt-sec-title {
  text-align: center;
  margin-bottom: 42px;
}

.fpt-sec-title span.sub-badge {
  display: inline-block;
  background: rgba(243, 112, 33, 0.12);
  color: var(--fpt-orange);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.fpt-sec-title h2 {
  color: var(--fpt-blue);
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.fpt-sec-title p {
  color: #64748B;
  font-size: 15.5px;
  max-width: 720px;
  margin: 0 auto;
}

/* PRICING TABLES */
.fpt-pricing-sec {
  padding: 60px 0;
  background: var(--fpt-bg);
}

.fpt-pricing-sec.bg-white {
  background: #fff;
}

.fpt-pricing-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

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

.fpt-price-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--fpt-border);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease;
}

.fpt-price-card:hover {
  transform: translateY(-5px);
}

.fpt-price-card.featured {
  border: 2px solid var(--fpt-orange);
  transform: scale(1.03);
  z-index: 2;
  box-shadow: 0 14px 32px rgba(243, 112, 33, 0.18);
}

.fpt-ribbon {
  background: #E11D48;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  padding: 5px 0;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.fpt-price-head {
  padding: 22px 15px;
  text-align: center;
  color: #fff;
}

.fpt-price-head.blue { background: linear-gradient(135deg, #005294, #0077cc); }
.fpt-price-head.orange { background: linear-gradient(135deg, #e0580b, #F37021); }
.fpt-price-head.green { background: linear-gradient(135deg, #3b9c33, #51B848); }

.fpt-price-head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #fff !important;
}

.fpt-price-speed {
  margin-top: 6px;
  font-size: 14.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.18);
  display: inline-block;
  padding: 3px 12px;
  border-radius: 20px;
}

.fpt-price-body {
  padding: 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.fpt-price-value {
  text-align: center;
  font-size: 30px;
  font-weight: 800;
  color: var(--fpt-orange);
  margin-bottom: 18px;
}

.fpt-price-value span {
  font-size: 14px;
  font-weight: 500;
  color: #64748B;
}

.fpt-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.fpt-features li {
  padding: 9px 0;
  border-bottom: 1px dashed #E2E8F0;
  font-size: 14px;
  color: #334155;
}

.fpt-features li:last-child {
  border-bottom: none;
}

/* STEPS SECTION */
.fpt-steps-sec {
  padding: 60px 0;
  background: var(--fpt-bg);
}

.fpt-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.fpt-step-box {
  background: #fff;
  padding: 28px 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  border-top: 3px solid var(--fpt-blue);
}

.fpt-step-num {
  width: 52px;
  height: 52px;
  line-height: 52px;
  background: var(--fpt-orange);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  border-radius: 50%;
  margin: 0 auto 14px;
}

.fpt-step-box h4 {
  color: var(--fpt-blue);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

/* FAQ ACCORDION */
.fpt-faq-sec {
  padding: 60px 0;
  background: #fff;
}

.fpt-faq-list {
  max-width: 880px;
  margin: 0 auto;
}

.fpt-faq-item {
  border: 1px solid var(--fpt-border);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.fpt-faq-q {
  width: 100%;
  text-align: left;
  background: #F8FAFC;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 16px;
  color: var(--fpt-blue);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fpt-faq-a {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease;
  background: #fff;
  font-size: 15px;
  color: #475569;
}

.fpt-faq-item.active .fpt-faq-a {
  padding: 16px 20px;
  max-height: 400px;
  border-top: 1px solid var(--fpt-border);
}

/* FLOATING CONTACT WIDGET */
.fpt-float-contact {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 99990;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fpt-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 30px;
  color: #fff !important;
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}

.fpt-float-btn:hover {
  transform: scale(1.05);
}

.fpt-float-btn.zalo {
  background: #0068FF;
}

.fpt-float-btn.hotline {
  background: var(--fpt-orange);
  animation: fptPulse 1.6s infinite;
}

@keyframes fptPulse {
  0% { box-shadow: 0 0 0 0 rgba(243, 112, 33, 0.7); }
  70% { box-shadow: 0 0 0 14px rgba(243, 112, 33, 0); }
  100% { box-shadow: 0 0 0 0 rgba(243, 112, 33, 0); }
}

/* POPUP MODAL ĐĂNG KÝ */
.fpt-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.fpt-modal-overlay.open {
  display: flex;
}

.fpt-modal-box {
  background: #fff;
  width: 100%;
  max-width: 460px;
  border-radius: 16px;
  padding: 28px 24px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border-top: 6px solid var(--fpt-orange);
}

.fpt-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #64748B;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .fpt-hero-grid { grid-template-columns: 1fr; }
  .fpt-service-grid,
  .fpt-pricing-grid-4,
  .fpt-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .fpt-pricing-grid-3 { grid-template-columns: 1fr; }
  .fpt-price-card.featured { transform: none; }
}

@media (max-width: 576px) {
  .fpt-service-grid,
  .fpt-pricing-grid-4,
  .fpt-steps-grid { grid-template-columns: 1fr; }
  .fpt-hero h1 { font-size: 26px; }
}
