/* ============================================================
   HaxCode Theme — cloned from commerce.haxcode.com
   Primary: #b45308 (amber-700)  BG: #fbfaf8  Dark: #30231d
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --hx-primary:       #b45308;
  --hx-primary-dark:  #92400e;
  --hx-primary-light: rgba(180,83,8,.1);
  --hx-bg:            #fbfaf8;
  --hx-bg-secondary:  #f3f0ed;
  --hx-dark:          #30231d;
  --hx-dark-mid:      #4a3728;
  --hx-muted:         #846d62;
  --hx-border:        #e7dfda;
  --hx-card:          #ffffff;
  --hx-card-border:   rgba(180,83,8,.15);
  --hx-radius:        0.5rem;
  --hx-footer-bg:     #30231d;
  --hx-footer-text:   rgba(255,255,255,.8);
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body {
  background: var(--hx-bg);
  color: var(--hx-dark);
  font-family: 'Inter', 'DM Sans', system-ui, sans-serif;
  margin: 0;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* ---------- Utility ---------- */
.hx-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
}
@media(max-width:768px){ .hx-container { padding: 0 20px; } }

.hx-section { padding: 80px 0; }
.hx-section-sm { padding: 48px 0; }

.hx-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hx-primary);
  background: var(--hx-primary-light);
  border: 1px solid rgba(180,83,8,.2);
  border-radius: 100px;
  padding: 4px 14px;
  margin-bottom: 12px;
}

.hx-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--hx-dark);
  line-height: 1.15;
  margin: 0 0 16px;
}

.hx-subtitle {
  font-size: 1.1rem;
  color: var(--hx-muted);
  line-height: 1.65;
  max-width: 580px;
}

.hx-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--hx-radius);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s;
  border: none;
  text-decoration: none;
}
.hx-btn-primary {
  background: var(--hx-primary);
  color: #fff;
}
.hx-btn-primary:hover { background: var(--hx-primary-dark); }
.hx-btn-outline {
  background: transparent;
  color: var(--hx-dark);
  border: 1.5px solid var(--hx-border);
}
.hx-btn-outline:hover { border-color: var(--hx-primary); color: var(--hx-primary); }

/* ---------- NAV / HEADER ---------- */
#hx-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hx-border);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}

#hx-nav .nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
@media(max-width:768px){ #hx-nav .nav-inner { padding: 0 20px; height: 60px; } }

/* Logo */
.hx-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--hx-dark);
  text-decoration: none;
}
.hx-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* Nav links */
.hx-nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.hx-nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--hx-muted);
  transition: color .2s;
}
.hx-nav-links a:hover, .hx-nav-links a.active { color: var(--hx-dark); font-weight: 700; }

/* Services dropdown */
.hx-has-dropdown { position: relative; }
.hx-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--hx-border);
  border-radius: 12px;
  padding: 8px;
  min-width: 220px;
  list-style: none;
  margin: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  z-index: 1000;
}
.hx-dropdown::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}
.hx-has-dropdown:hover .hx-dropdown { display: block; }
.hx-dropdown li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--hx-dark);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.hx-dropdown li a:hover, .hx-dropdown li a.active {
  background: var(--hx-bg-secondary);
  color: var(--hx-primary);
  font-weight: 600;
}

.hx-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Cart icon in nav */
.hx-nav-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}
.hx-nav-icon-btn {
  background: none; border: none;
  cursor: pointer;
  color: var(--hx-muted);
  padding: 4px;
  display: flex;
  align-items: center;
  transition: color .2s;
}
.hx-nav-icon-btn:hover { color: var(--hx-primary); }

/* Hamburger */
.hx-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hx-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--hx-dark);
  border-radius: 2px;
  transition: all .3s;
}
@media(max-width:1024px){
  .hx-nav-links { display: none; }
  .hx-hamburger { display: flex; }
  .hx-nav-icons a[title="Cart"],
  .hx-nav-icons a[title="Account"],
  .hx-nav-icons a[title="Login"] {
    display: none;
  }
}

/* Mobile Menu */
.hx-mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--hx-border);
  padding: 20px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.hx-mobile-menu.open { display: flex; }
.hx-mobile-menu a {
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--hx-dark);
  font-size: .95rem;
  transition: background .2s;
}
.hx-mobile-menu a:hover { background: var(--hx-bg-secondary); }
.hx-mobile-group { display: flex; flex-direction: column; }
.hx-mobile-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: .95rem;
  color: var(--hx-dark);
  background: none;
  border: none;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}
.hx-mobile-parent:hover { background: var(--hx-bg-secondary); }
.hx-mob-chevron { transition: transform .2s; }
.hx-mobile-parent.open .hx-mob-chevron { transform: rotate(180deg); }
.hx-mobile-sub {
  display: none;
  flex-direction: column;
  padding-left: 16px;
}
.hx-mobile-sub.open { display: flex; }
.hx-mobile-sub a {
  font-size: .875rem;
  color: var(--hx-muted);
}
.hx-mobile-sub a:hover { color: var(--hx-primary); }

/* ---------- HERO SECTION ---------- */
#hx-hero {
  padding-top: 10px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--hx-bg) 0%, var(--hx-bg) 60%, var(--hx-bg-secondary) 100%);
  position: relative;
  overflow: hidden;
}
#hx-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(180,83,8,.07) 0%, transparent 70%);
  pointer-events: none;
}

.hx-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}
@media(max-width:1024px){
  .hx-hero-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media(max-width:768px){ .hx-hero-inner { padding: 0 20px; } }

.hx-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hx-primary);
  background: var(--hx-primary-light);
  border: 1px solid rgba(180,83,8,.2);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.hx-hero-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--hx-dark);
  line-height: 1.1;
  margin: 0 0 20px;
}
.hx-hero-title span { color: var(--hx-primary); }

.hx-hero-desc {
  font-size: 1.1rem;
  color: var(--hx-muted);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 540px;
}

.hx-hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Stats row */
.hx-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
.hx-stat-item { text-align: left; }
.hx-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--hx-dark);
  line-height: 1;
}
.hx-stat-number span { color: var(--hx-primary); }
.hx-stat-label {
  font-size: .8rem;
  color: var(--hx-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Hero card / form */
.hx-hero-card {
  background: #fff;
  border: 1px solid var(--hx-border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,.08);
}
.hx-hero-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--hx-dark);
}
.hx-form-group { margin-bottom: 16px; }
.hx-form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--hx-dark);
  margin-bottom: 6px;
}
.hx-form-group select,
.hx-form-group input,
.hx-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--hx-border);
  border-radius: 8px;
  font-size: .9rem;
  color: var(--hx-dark);
  background: var(--hx-bg);
  outline: none;
  transition: border-color .2s;
}
.hx-form-group select:focus,
.hx-form-group input:focus,
.hx-form-group textarea:focus {
  border-color: var(--hx-primary);
  box-shadow: 0 0 0 3px rgba(180,83,8,.08);
}

/* ---------- PLATFORMS MARQUEE ---------- */
#hx-platforms {
  padding: 40px 0;
  background: var(--hx-bg-secondary);
  overflow: hidden;
}
.hx-platforms-label {
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--hx-muted);
  margin-bottom: 20px;
}
.hx-marquee-track {
  display: flex;
  gap: 60px;
  animation: hxMarquee 20s linear infinite;
  width: max-content;
}
.hx-marquee-track:hover { animation-play-state: paused; }
@keyframes hxMarquee { 0%{ transform: translateX(0); } 100%{ transform: translateX(-50%); } }
.hx-platform-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  opacity: .75;
  transition: opacity .2s;
}
.hx-platform-item:hover { opacity: 1; }
.hx-platform-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: grayscale(30%);
}
.hx-platform-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--hx-dark);
}

/* ---------- HEADER BACKGROUND LOGOS ---------- */
.hx-header-logos {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hx-hl {
  position: absolute;
  object-fit: contain;
  border-radius: 8px;
}
.hx-hl-1 { width:52px; top:6px;  left:8%;   filter:blur(1.5px) opacity(.13) grayscale(20%); transform:rotate(-12deg); }
.hx-hl-2 { width:44px; top:10px; left:22%;  filter:blur(2px)   opacity(.10) grayscale(20%); transform:rotate(8deg);  }
.hx-hl-3 { width:48px; top:4px;  left:38%;  filter:blur(1.5px) opacity(.12) grayscale(20%); transform:rotate(-6deg); }
.hx-hl-4 { width:40px; top:12px; left:54%;  filter:blur(2px)   opacity(.09) grayscale(20%); transform:rotate(14deg); }
.hx-hl-5 { width:50px; top:5px;  left:68%;  filter:blur(1.5px) opacity(.11) grayscale(20%); transform:rotate(-10deg);}
.hx-hl-6 { width:46px; top:8px;  left:80%;  filter:blur(2px)   opacity(.10) grayscale(20%); transform:rotate(6deg);  }
.hx-hl-7 { width:54px; top:4px;  left:92%;  filter:blur(1.5px) opacity(.12) grayscale(20%); transform:rotate(-8deg); }
/* ensure nav content sits above the bg logos */
#hx-nav .nav-inner { position: relative; z-index: 1; }

/* ---------- SERVICES ---------- */
#hx-services { background: #fff; }

.hx-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.hx-service-card {
  padding: 28px;
  border: 1px solid var(--hx-border);
  border-radius: 16px;
  transition: all .25s;
  position: relative;
  overflow: hidden;
  background: #fff;
}
.hx-service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 2px solid transparent;
  transition: border-color .25s;
  pointer-events: none;
}
.hx-service-card:hover { box-shadow: 0 8px 32px rgba(180,83,8,.1); transform: translateY(-2px); }
.hx-service-card:hover::before { border-color: rgba(180,83,8,.3); }

.hx-service-icon {
  width: 48px; height: 48px;
  background: var(--hx-primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.hx-service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hx-dark);
  margin: 0 0 10px;
}
.hx-service-card p {
  font-size: .875rem;
  color: var(--hx-muted);
  line-height: 1.6;
  margin: 0 0 16px;
}
.hx-service-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--hx-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.hx-service-link:hover { gap: 8px; }

/* ---------- TESTIMONIALS ---------- */
#hx-testimonials { background: var(--hx-bg-secondary); }

.hx-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--hx-border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--hx-dark);
  margin-bottom: 40px;
}
.hx-stars { color: #f59e0b; letter-spacing: 2px; }

.hx-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.hx-testi-card {
  background: #fff;
  border: 1px solid var(--hx-border);
  border-radius: 16px;
  padding: 24px;
}
.hx-testi-card blockquote {
  font-size: .95rem;
  color: var(--hx-dark);
  line-height: 1.65;
  margin: 0 0 20px;
  font-style: italic;
}
.hx-testi-author strong {
  display: block;
  font-size: .875rem;
  font-weight: 700;
  color: var(--hx-dark);
}
.hx-testi-author span {
  font-size: .8rem;
  color: var(--hx-muted);
}

/* ---------- EXPERTISE ---------- */
#hx-expertise { background: #fff; }

.hx-expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.hx-expertise-item {
  padding: 24px;
  border: 1px solid var(--hx-border);
  border-radius: 12px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow .2s;
}
.hx-expertise-item:hover { box-shadow: 0 4px 20px rgba(180,83,8,.08); }
.hx-expertise-dot {
  width: 40px; height: 40px;
  min-width: 40px;
  background: var(--hx-primary-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.hx-expertise-item h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--hx-dark);
  margin: 0 0 6px;
}
.hx-expertise-item p {
  font-size: .825rem;
  color: var(--hx-muted);
  margin: 0;
  line-height: 1.5;
}

/* ---------- CHECKLIST (Post-Dev) ---------- */
#hx-checklist {
  background: linear-gradient(135deg, var(--hx-dark) 0%, #1a0f0a 100%);
  color: #fff;
}
#hx-checklist .hx-badge { background: rgba(180,83,8,.25); color: #fbbf24; border-color: rgba(251,191,36,.3); }
#hx-checklist .hx-title { color: #fff; }
#hx-checklist .hx-subtitle { color: rgba(255,255,255,.7); }

.hx-checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
@media(max-width:640px){ .hx-checklist-grid { grid-template-columns: 1fr; } }

.hx-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .9rem;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
}
.hx-check-icon {
  width: 20px; height: 20px;
  min-width: 20px;
  background: rgba(180,83,8,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fbbf24;
  font-size: .7rem;
  margin-top: 2px;
}

/* ---------- AI SOLUTIONS ---------- */
#hx-ai { background: var(--hx-bg); }

.hx-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media(max-width:900px){ .hx-ai-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px){ .hx-ai-grid { grid-template-columns: 1fr; } }

.hx-ai-card {
  background: #fff;
  border: 1px solid var(--hx-border);
  border-radius: 16px;
  padding: 24px;
  transition: all .25s;
}
.hx-ai-card:hover { border-color: rgba(180,83,8,.3); box-shadow: 0 6px 24px rgba(180,83,8,.08); }
.hx-ai-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hx-dark);
  margin: 16px 0 8px;
}
.hx-ai-card p {
  font-size: .875rem;
  color: var(--hx-muted);
  margin: 0;
  line-height: 1.6;
}

/* ---------- WHY CHOOSE US ---------- */
#hx-why { background: var(--hx-bg-secondary); }

.hx-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media(max-width:640px){ .hx-why-grid { grid-template-columns: 1fr; } }

.hx-why-card {
  background: #fff;
  border: 1px solid var(--hx-border);
  border-radius: 16px;
  padding: 28px;
}
.hx-why-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hx-dark);
  margin: 16px 0 10px;
}
.hx-why-card p {
  font-size: .875rem;
  color: var(--hx-muted);
  line-height: 1.6;
  margin: 0;
}

/* ---------- PROCESS ---------- */
#hx-process { background: #fff; }

.hx-process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 60px;
  position: relative;
}
@media(max-width:900px){ .hx-process-steps { grid-template-columns: 1fr; gap: 20px; } }

.hx-process-steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--hx-primary), rgba(180,83,8,.2));
}
@media(max-width:900px){ .hx-process-steps::before { display: none; } }

.hx-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.hx-process-num {
  width: 56px; height: 56px;
  background: #fff;
  border: 2px solid var(--hx-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--hx-primary);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.hx-process-step h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--hx-dark);
  margin: 0 0 8px;
}
.hx-process-step p {
  font-size: .825rem;
  color: var(--hx-muted);
  line-height: 1.55;
  margin: 0;
}

/* ---------- PORTFOLIO ---------- */
#hx-portfolio { background: var(--hx-bg); }

.hx-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media(max-width:900px){ .hx-portfolio-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px){ .hx-portfolio-grid { grid-template-columns: 1fr; } }

.hx-portfolio-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hx-border);
  background: #fff;
  transition: all .25s;
}
.hx-portfolio-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.1); }

.hx-portfolio-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--hx-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.hx-portfolio-img img { width: 100%; height: 100%; object-fit: cover; }
.hx-portfolio-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(48,35,29,.8);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.hx-portfolio-body { padding: 20px; }
.hx-portfolio-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hx-dark);
  margin: 0 0 6px;
}
.hx-portfolio-body p {
  font-size: .825rem;
  color: var(--hx-muted);
  margin: 0;
  line-height: 1.5;
}

/* ---------- PRICING ---------- */
#hx-pricing { background: var(--hx-bg-secondary); }

.hx-pricing-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.hx-tab-btn {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--hx-border);
  background: #fff;
  color: var(--hx-muted);
  transition: all .2s;
}
.hx-tab-btn.active,
.hx-tab-btn:hover {
  background: var(--hx-primary);
  color: #fff;
  border-color: var(--hx-primary);
}

.hx-pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media(max-width:900px){ .hx-pricing-grid { grid-template-columns: 1fr; } }

.hx-pricing-card {
  background: #fff;
  border: 1.5px solid var(--hx-border);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  transition: all .25s;
}
.hx-pricing-card.popular {
  border-color: var(--hx-primary);
  box-shadow: 0 0 0 4px rgba(180,83,8,.08);
}
.hx-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--hx-primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 18px;
  border-radius: 100px;
  white-space: nowrap;
}
.hx-pricing-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--hx-dark);
  margin: 0 0 16px;
}
.hx-pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 6px;
}
.hx-price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--hx-dark);
  line-height: 1;
}
.hx-price-original {
  font-size: 1rem;
  color: var(--hx-muted);
  text-decoration: line-through;
}
.hx-price-discount {
  background: #dcfce7;
  color: #16a34a;
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-left: 6px;
}
.hx-pricing-desc {
  font-size: .875rem;
  color: var(--hx-muted);
  line-height: 1.55;
  margin: 0 0 24px;
}
.hx-pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 12px;
}
.hx-pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .875rem;
  color: var(--hx-dark);
  line-height: 1.4;
}
.hx-pricing-features li::before {
  content: '✓';
  color: var(--hx-primary);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ---------- FAQ ---------- */
#hx-faq { background: #fff; }
.hx-faq-inner { max-width: 780px; margin: 0 auto; }

.hx-faq-item {
  border-bottom: 1px solid var(--hx-border);
}
.hx-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  font-size: .95rem;
  font-weight: 600;
  color: var(--hx-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.hx-faq-q:hover { color: var(--hx-primary); }
.hx-faq-icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--hx-border);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  flex-shrink: 0;
  transition: all .2s;
}
.hx-faq-item.open .hx-faq-icon {
  background: var(--hx-primary);
  color: #fff;
  border-color: var(--hx-primary);
  transform: rotate(45deg);
}
.hx-faq-a {
  font-size: .875rem;
  color: var(--hx-muted);
  line-height: 1.7;
  padding: 0 0 20px;
  display: none;
}
.hx-faq-item.open .hx-faq-a { display: block; }

/* ---------- CONTACT / CTA ---------- */
#hx-contact { background: var(--hx-bg-secondary); }

.hx-contact-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: flex-start;
}
@media(max-width:900px){ .hx-contact-grid { grid-template-columns: 1fr; } }

.hx-contact-form {
  background: #fff;
  border: 1px solid var(--hx-border);
  border-radius: 20px;
  padding: 36px;
}
.hx-contact-form h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--hx-dark);
  margin: 0 0 24px;
}

.hx-contact-info h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--hx-dark);
  margin: 0 0 16px;
}
.hx-contact-info p {
  color: var(--hx-muted);
  line-height: 1.65;
  margin: 0 0 32px;
}
.hx-contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-size: .9rem;
  color: var(--hx-dark);
}
.hx-contact-icon-wrap {
  width: 40px; height: 40px;
  background: var(--hx-primary-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--hx-primary);
  flex-shrink: 0;
}

/* ---------- NEWSLETTER ---------- */
#hx-newsletter {
  background: var(--hx-dark);
  padding: 60px 0;
}
.hx-newsletter-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
@media(max-width:768px){
  .hx-newsletter-inner { grid-template-columns: 1fr; padding: 0 20px; }
}
#hx-newsletter h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}
#hx-newsletter p { color: rgba(255,255,255,.65); font-size: .9rem; margin: 0; }
.hx-newsletter-form {
  display: flex;
  gap: 10px;
}
.hx-newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .9rem;
  outline: none;
  min-width: 240px;
}
.hx-newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.hx-newsletter-form input:focus { border-color: var(--hx-primary); }

/* ---------- FOOTER ---------- */
#hx-footer {
  background: var(--hx-footer-bg);
  color: var(--hx-footer-text);
  padding: 60px 0 0;
}
.hx-footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
}
@media(max-width:900px){
  .hx-footer-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 20px; }
}

.hx-footer-brand p {
  font-size: .875rem;
  line-height: 1.65;
  color: rgba(255,255,255,.6);
  margin: 16px 0 24px;
}
.hx-footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}
.hx-footer-logo-icon {
  width: 36px; height: 36px;
  background: var(--hx-primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
}

.hx-footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media(max-width:700px){ .hx-footer-links-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }

.hx-footer-col h5 {
  font-size: .875rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hx-footer-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  gap: 10px;
}
.hx-footer-col ul a {
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.hx-footer-col ul a:hover { color: var(--hx-primary); }

.hx-footer-bottom {
  max-width: 1280px;
  margin: 40px auto 0;
  padding: 20px 60px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
@media(max-width:768px){ .hx-footer-bottom { padding: 20px; } }
.hx-footer-payments {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hx-payment-badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
}
.hx-ssl-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .75rem;
  color: rgba(255,255,255,.5);
}

/* ---------- Blog Cards ---------- */
#hx-blog { background: #fff; }
.hx-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media(max-width:900px){ .hx-blog-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:560px){ .hx-blog-grid { grid-template-columns: 1fr; } }

.hx-blog-card {
  border: 1px solid var(--hx-border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: all .25s;
}
.hx-blog-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0,0,0,.08); }

.hx-blog-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--hx-bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--hx-primary);
}
.hx-blog-body { padding: 20px; }
.hx-blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.hx-blog-cat {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hx-primary);
  background: var(--hx-primary-light);
  padding: 3px 10px;
  border-radius: 4px;
}
.hx-blog-date { font-size: .75rem; color: var(--hx-muted); }
.hx-blog-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hx-dark);
  margin: 0 0 8px;
  line-height: 1.4;
}
.hx-blog-card p {
  font-size: .825rem;
  color: var(--hx-muted);
  margin: 0;
  line-height: 1.55;
}

/* ---------- Section header centering ---------- */
.hx-section-head { text-align: center; margin-bottom: 12px; }
.hx-section-head-left { text-align: left; }

/* ---------- View all link ---------- */
.hx-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--hx-primary);
  border: 1.5px solid rgba(180,83,8,.3);
  padding: 8px 18px;
  border-radius: 8px;
  transition: all .2s;
}
.hx-view-all:hover { background: var(--hx-primary); color: #fff; border-color: var(--hx-primary); }

/* header between title and view all */
.hx-section-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.hx-platform-logo {
    height: 60px !important;
}
