:root {
  --brand-yellow: #6C5CE7; /* was amber #FDBB2D, now primary purple */
  --brand-yellow-dark: #4C3FD9; /* was amber #F5A800, now darker purple */
  --brand-dark: #180b3a; /* was near-black, now dark navy-purple */
  --brand-cream: #ece9fd; /* was cream, now light purple tint */
  --brand-peach: #d9d3fb; /* was peach, now deeper purple tint */
  --text-muted-soft: #6B6B76;
  --radius-lg: 18px;
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--brand-dark);
  background: #fff;
}

a { text-decoration: none; }

/* ===== Smaller, softer placeholder text ===== */
::placeholder {
  font-size: .84em;
  color: #A8A8B3;
  opacity: 1;
}
:-ms-input-placeholder { font-size: .84em; color: #A8A8B3; }
::-ms-input-placeholder { font-size: .84em; color: #A8A8B3; }

.navbar-brand span.logo-dot { color: var(--brand-yellow-dark); }

/* ===== Sticky, blurred, translucent navbar ===== */
#siteNavbar {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid rgba(27, 27, 31, .06);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
#siteNavbar.scrolled {
  background: rgba(255, 255, 255, .85);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .07);
  padding-top: .6rem !important;
  padding-bottom: .6rem !important;
}
.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--brand-dark);
  position: relative;
  padding: .5rem .9rem !important;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%; right: 50%; bottom: 2px;
  height: 2px;
  background: var(--brand-yellow);
  border-radius: 2px;
  transition: left .25s ease, right .25s ease;
}
.navbar-nav .nav-link:hover::after { left: 12px; right: 12px; }
.navbar-nav .nav-link.active { color: var(--brand-yellow-dark); }
.navbar-nav .nav-link.active::after { left: 12px; right: 12px; }

/* ===== Hamburger <-> Close icon toggle ===== */
.navbar-toggler {
  border: none;
  padding: 6px 8px;
  box-shadow: none !important;
}
.toggler-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  font-size: 1.15rem;
  color: var(--brand-dark);
}
.toggler-icon i {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s ease, transform .25s ease;
}
.toggler-icon .fa-xmark { opacity: 0; transform: rotate(-90deg) scale(.6); }
.toggler-icon .fa-bars { opacity: 1; transform: rotate(0) scale(1); }
.navbar-toggler[aria-expanded="true"] .toggler-icon .fa-bars { opacity: 0; transform: rotate(90deg) scale(.6); }
.navbar-toggler[aria-expanded="true"] .toggler-icon .fa-xmark { opacity: 1; transform: rotate(0) scale(1); }

/* ===== Centered mobile nav menu ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    text-align: center;
  }
  .navbar-nav {
    align-items: center;
  }
  .navbar-nav .nav-link::after { display: none; }
  .navbar-collapse .d-flex.align-items-center.gap-2 {
    justify-content: center;
    margin-top: .75rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(27,27,31,.08);
  }
}

.btn-brand {
  background: var(--brand-yellow);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 22px;
}
.btn-brand:hover { background: var(--brand-yellow-dark); color: #fff; }

.btn-outline-brand {
  border: 1.5px solid var(--brand-dark);
  color: var(--brand-dark);
  border-radius: 10px;
  font-weight: 600;
}

/* ===== Hero (dark navy/purple, matches reference design) ===== */
.hero-section {
  background: radial-gradient(120% 100% at 20% 0%, var(--brand-navy-2) 0%, var(--brand-dark) 55%, #100826 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  animation: blobFloat 9s ease-in-out infinite;
}
.hero-section::before {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(108,92,231,.45) 0%, rgba(108,92,231,0) 70%);
  top: -140px; right: -80px;
}
.hero-section::after {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(108,92,231,.3) 0%, rgba(108,92,231,0) 70%);
  bottom: -120px; right: 220px;
  animation-delay: -4s;
  animation-direction: reverse;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-24px, 22px) scale(1.08); }
}
.hero-section .container { position: relative; z-index: 1; }
.hero-dashboard-img { box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
}
.hero-title .highlight {
  background: linear-gradient(90deg, var(--brand-yellow), #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding: 2px 4px;
  display: inline-block;
  animation: highlightPop .6s ease .8s both;
}
@keyframes highlightPop {
  0% { transform: scale(.85); }
  60% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.hero-section p.text-muted { color: rgba(255,255,255,.7) !important; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  border-radius: 30px;
  padding: 6px 16px;
  font-size: .85rem;
  font-weight: 600;
}
.hero-feature-pill {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  border-radius: 40px;
  padding: 10px 16px;
  font-size: .85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(6px);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hero-feature-pill .icon-circle {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-feature-pill:hover { transform: translateY(-4px) scale(1.02); background: rgba(255,255,255,.1); }

/* ===== Scroll-reveal animation system ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity .6s ease, transform .6s ease; }
.reveal-scale.in-view { opacity: 1; transform: scale(1); }
.reveal-delay-1.in-view, .reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2.in-view, .reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3.in-view, .reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4.in-view, .reveal-delay-4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale, .hero-section::before, .hero-section::after, .hero-title .highlight { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}

/* Hero entrance (runs once on load, not scroll-tied) */
.hero-badge, .hero-title, .hero-section p.text-muted, .hero-section .btn-brand {
  animation: heroFadeUp .7s ease both;
}
.hero-title { animation-delay: .1s; }
.hero-section p.text-muted { animation-delay: .22s; }
.hero-section .btn-brand { animation-delay: .32s; }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-section .hero-feature-pill { animation: heroFadeUp .6s ease both; }
.hero-section .hero-feature-pill:nth-child(1) { animation-delay: .15s; }
.hero-section .hero-feature-pill:nth-child(2) { animation-delay: .28s; }
.hero-section .hero-feature-pill:nth-child(3) { animation-delay: .41s; }
.hero-section .hero-feature-pill:nth-child(4) { animation-delay: .54s; }
.hero-section .hero-feature-pill:nth-child(5) { animation-delay: .67s; }

.btn-brand, .btn-outline-brand {
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-brand:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(108,92,231,.4); }
.btn-outline-brand:hover { transform: translateY(-2px); background: var(--brand-dark); color: #fff; }

/* ===== Subscription plan cards (landing + dashboard) ===== */
.sub-plan-card {
  position: relative;
  background: #fff;
  border: 1px solid #F0F0F0;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  text-align: center;
  transition: .25s;
  box-shadow: 0 4px 18px rgba(0,0,0,.04);
}
.sub-plan-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.09); }
.sub-plan-card.popular {
  border: 2px solid var(--brand-yellow);
  box-shadow: 0 16px 40px rgba(108,92,231,.22);
}
.sub-plan-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand-yellow); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  padding: 5px 16px; border-radius: 20px; box-shadow: 0 4px 10px rgba(0,0,0,.12);
  white-space: nowrap;
}
.sub-plan-name { font-weight: 800; font-size: 1.25rem; margin-bottom: 6px; }
.sub-plan-price { font-weight: 800; font-size: 2rem; color: var(--brand-dark); }
.sub-plan-price small { font-size: .95rem; font-weight: 500; color: var(--text-muted-soft); }
.sub-plan-submonth { color: var(--text-muted-soft); font-size: .88rem; margin-bottom: 18px; }
.sub-plan-features { text-align: left; margin-bottom: 22px; }
.sub-plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0; font-size: .9rem; border-bottom: 1px dashed #F0F0F0;
}
.sub-plan-features li:last-child { border-bottom: none; }
.sub-plan-features li i { color: var(--brand-yellow-dark); margin-top: 3px; }

/* ===== Order widget card ===== */
.order-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,.08);
  padding: 28px;
}

/* ===== Icon-decorated inputs + show/hide password toggle ===== */
.field-icon-wrap { position: relative; }
.field-icon-wrap .field-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  color: #9A9AA4; font-size: .85rem; pointer-events: none;
}
.field-icon-wrap input.form-control { padding-left: 38px; }
.field-icon-wrap input.form-control.has-toggle { padding-right: 42px; }
.password-toggle-btn {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #9A9AA4; cursor: pointer;
  width: 32px; height: 32px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-size: .95rem;
}
.password-toggle-btn:hover, .password-toggle-btn:focus { color: var(--brand-yellow-dark); outline: none; }
.field-hint { font-size: .78rem; color: var(--text-muted-soft); margin-top: 5px; }

.type-tab {
  border-radius: 8px;
  padding: 8px 18px;
  font-weight: 600;
  font-size: .85rem;
  border: 1px solid #eee;
  background: #fff;
}
.type-tab.active {
  background: var(--brand-yellow);
  border-color: var(--brand-yellow);
}
.check-list li { padding: 4px 0; font-size: .9rem; }
.check-list li i { color: var(--brand-yellow-dark); margin-right: 8px; }

.order-preview-panel {
  background: var(--brand-dark);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 24px;
}
.pkg-row {
  display: flex; justify-content: space-between;
  background: #2b1768;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 10px;
}

/* ---------- Premium Residential chart mock ---------- */
.chart-mock {
  background: var(--brand-cream);
  border-radius: 14px;
  padding: 16px 18px 12px;
  border: 1px solid rgba(108,92,231,.15);
}
.chart-mock svg { width: 100%; height: 110px; display: block; }
.chart-mock-stats span:first-child { color: var(--brand-dark); }

/* ---------- ISP Proxies country picker ---------- */
.country-select {
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid #ECECEF;
  border-radius: 10px;
  padding: 10px 14px;
  background: #fff;
}
.country-grid { margin-top: 4px; }
.country-pill {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid #ECECEF;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--brand-dark);
  background: #fff;
}

/* ===== Sections ===== */
.section-title { font-weight: 800; font-size: 2rem; }
.card-soft {
  border: 1px solid #F0F0F0;
  border-radius: var(--radius-lg);
  padding: 24px;
  height: 100%;
  transition: .2s;
}
.card-soft:hover { box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.card-soft.highlight { background: var(--brand-yellow); border-color: var(--brand-yellow); }

/* ===== Reviews ===== */
.review-card {
  position: relative;
  background: #fff;
  border: 1px solid #F0F0F0;
  border-radius: var(--radius-lg);
  padding: 26px 22px 22px;
  height: 100%;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.review-card::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 14px; right: 18px;
  font-size: 1.6rem;
  color: var(--brand-yellow);
  opacity: .28;
}
.review-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-yellow), var(--brand-yellow-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,.09);
  border-color: transparent;
}
.review-card:hover::after { transform: scaleX(1); }
.review-card .stars { color: var(--brand-yellow-dark); font-size: .78rem; letter-spacing: 2px; margin-bottom: 10px; }
.review-card p { color: #4A4A54; line-height: 1.55; font-style: italic; }
.review-card .avatar-round {
  background: linear-gradient(135deg, var(--brand-yellow), var(--brand-yellow-dark));
  color: #fff;
  box-shadow: 0 4px 12px rgba(108,92,231,.35);
}
.avatar-round {
  width: 44px; height: 44px; border-radius: 50%; object-fit: cover;
}
.review-source-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .7rem; font-weight: 600; color: #8a8a94;
}

/* ===== Blog ===== */
.blog-card {
  border: 1px solid #F0F0F0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,.09); }
.blog-card img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; height: 160px; object-fit: cover; width: 100%; }
.blog-card .thumb {
  height: 160px;
  position: relative;
  overflow: hidden;
}
.blog-card .thumb svg { width: 100%; height: 100%; display: block; transition: transform .4s ease; }
.blog-card:hover .thumb svg { transform: scale(1.06); }
.blog-card .body { padding: 16px; }
.blog-card .blog-meta { display: flex; align-items: center; gap: 8px; font-size: .72rem; color: #9A9AA4; margin-top: 10px; }
.blog-card .blog-meta i { color: var(--brand-yellow-dark); }
.blog-card .read-more { font-size: .82rem; font-weight: 700; color: var(--brand-dark); display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; }
.blog-card .read-more i { transition: transform .2s ease; font-size: .72rem; }
.blog-card:hover .read-more i { transform: translateX(4px); }
.tag-pill {
  border: 1px solid #ddd; border-radius: 20px; padding: 6px 14px; font-size: .8rem; font-weight: 600;
}
.tag-pill.active { background: var(--brand-yellow); border-color: var(--brand-yellow); }
.blog-tag {
  display: inline-block;
  background: var(--brand-cream);
  color: var(--brand-yellow-dark);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  padding: 3px 10px;
  border-radius: 20px;
}

.affiliate-section {
  background: linear-gradient(180deg, #fff 0%, var(--brand-peach) 100%);
  border-radius: 30px;
  padding: 50px;
}

footer.site-footer { background: var(--brand-dark); color: #ccc; padding: 50px 0 20px; }
footer.site-footer a { color: #ccc; }
footer.site-footer a:hover { color: var(--brand-yellow); }
footer h6 { color: #fff; font-weight: 700; margin-bottom: 16px; }

/* Floating chatbot */
#chatbotToggle {
  position: fixed; bottom: 24px; right: 24px; z-index: 1050;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--brand-yellow); border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
  color: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
#chatbotToggle:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
#chatbotToggle:active { transform: scale(.94); }
.chatbot-badge {
  position: absolute; top: -2px; right: -2px;
  background: #E4483F; color: #fff;
  font-size: .65rem; font-weight: 700;
  min-width: 19px; height: 19px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; border: 2px solid #fff;
  animation: badgePulse 1.4s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

#chatbotWindow {
  position: fixed; bottom: 92px; right: 24px; width: 340px; max-width: 90vw;
  height: 460px; background: #fff; border-radius: 18px; box-shadow: 0 16px 50px rgba(0,0,0,.22);
  z-index: 1050; display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  transform-origin: bottom right;
}
#chatbotWindow.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.chat-header {
  background: linear-gradient(120deg, var(--brand-dark) 0%, #241456 100%);
  color: #fff; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  flex-shrink: 0;
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--brand-yellow); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; flex-shrink: 0;
}
.chat-header-name { font-weight: 700; font-size: .92rem; display: flex; align-items: center; gap: 6px; }
.chat-status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #3DDC84;
  box-shadow: 0 0 0 2px rgba(61,220,132,.25);
  display: inline-block;
}
.chat-header-status { font-size: .7rem; color: rgba(255,255,255,.65); }
.chat-close-btn, .chat-reset-btn { cursor: pointer; opacity: .8; transition: opacity .15s ease; font-size: .95rem; }
.chat-close-btn:hover, .chat-reset-btn:hover { opacity: 1; }

.chat-body { flex: 1; padding: 14px; overflow-y: auto; background: #FAFAFA; display: flex; flex-direction: column; }
.chat-msg {
  position: relative;
  margin-bottom: 12px;
  max-width: 85%;
  padding: 9px 12px 16px;
  border-radius: 14px;
  font-size: .85rem;
  line-height: 1.4;
  word-wrap: break-word;
}
.chat-msg.chat-msg-enter { animation: chatMsgIn .25s ease; }
@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-msg.bot { background: #fff; border: 1px solid #EFEFF2; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: var(--brand-yellow); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg-time {
  position: absolute; bottom: 4px; right: 12px;
  font-size: .62rem; opacity: .55; font-weight: 500;
}
.chat-msg.bot .chat-msg-time { color: #6B6B76; }
.chat-msg.user .chat-msg-time { color: #6b5a12; }

.chat-typing { display: flex; align-items: center; gap: 4px; padding: 12px 14px; }
.chat-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #B8B8C2;
  animation: chatDotBounce 1.2s infinite;
}
.chat-dot:nth-child(2) { animation-delay: .15s; }
.chat-dot:nth-child(3) { animation-delay: .3s; }
@keyframes chatDotBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .5; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-quick-replies {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; margin-bottom: 8px;
}
.chat-quick-replies button {
  border: 1px solid #E4E4E9; background: #fff; color: var(--brand-dark);
  font-size: .74rem; font-weight: 600; border-radius: 20px;
  padding: 6px 12px; cursor: pointer; transition: .15s ease;
}
.chat-quick-replies button:hover { background: var(--brand-yellow); border-color: var(--brand-yellow); transform: translateY(-1px); }

.chat-input { display: flex; align-items: center; gap: 8px; border-top: 1px solid #eee; padding: 8px 10px; flex-shrink: 0; }
.chat-input input {
  border: 1px solid #E4E4E9; flex: 1; padding: 9px 12px; font-size: .85rem;
  border-radius: 20px; background: #F7F7F9; transition: border-color .15s ease, background .15s ease;
}
.chat-input input:focus { outline: none; border-color: var(--brand-yellow); background: #fff; }
.chat-input button {
  border: none; background: var(--brand-yellow); color: #fff;
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .1s ease;
}
.chat-input button:hover { background: var(--brand-yellow-dark); }
.chat-input button:active { transform: scale(.92); }

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .hero-title { font-size: 2.5rem; }
  .affiliate-section { padding: 34px; border-radius: 22px; }
  .section-title { font-size: 1.6rem; }
}

@media (max-width: 767px) {
  .hero-section { padding: 40px 0 24px; text-align: center; }
  .hero-title { font-size: 2.1rem; }
  .hero-badge { margin-inline: auto; }
  .hero-section p.text-muted { margin-inline: auto; }
  .hero-section .col-lg-6 .d-flex.flex-column.gap-3 { align-items: center !important; }
  .hero-feature-pill { align-self: center !important; width: 100%; max-width: 340px; }
  .order-card, .order-preview-panel { padding: 20px; }
  .type-tab { padding: 7px 12px; font-size: .8rem; }
  .affiliate-section { padding: 24px; border-radius: 18px; }
  .section-title { font-size: 1.4rem; }
  .sub-plan-price { font-size: 1.6rem; }
  #chatbotWindow { width: 92vw; right: 4vw; height: 70vh; max-height: 480px; }
  #chatbotToggle { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  footer.site-footer { text-align: center; }
  footer.site-footer .d-flex.gap-3 { justify-content: center; }
}

@media (max-width: 575px) {
  .hero-title { font-size: 1.75rem; }
  .order-card a.btn-brand, .sub-plan-card .btn { width: 100%; }
  .pkg-row { flex-wrap: wrap; }
  .order-card .row > .col-6 { flex: 0 0 100%; max-width: 100%; margin-bottom: 14px; }
}

:root{ --brand-navy-2: #241456; } /* secondary dark navy-purple for gradients */

/* =====================================================================
   NEW HOMEPAGE SECTIONS (added to match reference design)
   Reuses the --brand-* variables above, so it always stays in sync
   with the rest of the theme.
   ===================================================================== */

/* ---------- Generic square icon badge (homepage sections) ---------- */
.icon-box {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-yellow); color: #fff; font-size: 1.1rem;
}

/* ---------- Get started (dark panel with 4 product cards) ---------- */
.getstarted-section {
  background-image: url('/assets/img/home/getstarted-bg.webp');
  background-size: cover;
  background-position: center;
  background-color: var(--brand-dark);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
  color: #fff;
}
.getstarted-section h2 { color: #fff; }
.gs-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 24px;
  height: 100%;
  transition: transform .2s ease, background .2s ease;
}
.gs-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.gs-card { position: relative; }
.gs-card .icon-box {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-yellow); color: #fff; margin-bottom: 14px; font-size: 1.1rem;
}
.gs-card-badge {
  position: absolute; top: -1px; left: -1px;
  background: #E4483F; color: #fff;
  font-size: .65rem; font-weight: 700;
  padding: 3px 10px; border-radius: 12px 0 12px 0;
}
.gs-card-list { margin: 10px 0 16px; }
.gs-card-list li {
  font-size: .78rem; color: rgba(255,255,255,.65);
  padding: 2px 0 2px 16px; position: relative;
}
.gs-card-list li::before {
  content: "•"; position: absolute; left: 2px; color: rgba(255,255,255,.4);
}
.gs-card-link {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .82rem; font-weight: 600; color: #fff;
  transition: background .15s ease;
}
.gs-card-link:hover { background: var(--brand-yellow); border-color: var(--brand-yellow); color: #fff; }

/* ---------- How it works (numbered steps) ---------- */
.step-num {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand-yellow); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
}
.step-visual {
  background: var(--brand-cream);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(108,92,231,.15);
}

/* ---------- Step 4: code integration mockup ---------- */
.code-step-visual {
  background: var(--brand-dark);
  overflow: hidden;
  border: none;
}
.code-lang-tabs { padding: 14px 16px 0; }
.code-lang-tab {
  font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 6px 12px;
}
.code-lang-tab.active { background: var(--brand-yellow); color: #fff; }
.code-block {
  margin: 14px 16px 16px;
  background: #241456;
  border-radius: 10px;
  padding: 16px;
  font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
  font-size: .76rem;
  line-height: 1.6;
  color: #d8d3f5;
  max-height: 260px;
  overflow: auto;
}
.code-block .cd-kw { color: #ff9d76; }
.code-block .cd-str { color: #7ee787; }
.code-block .cd-type { color: #79c0ff; }

/* ---------- FAQ/Help/Chat mini support cards ---------- */
.support-mini-row { background: #FAFAFC; border-radius: var(--radius-lg); padding: 28px 12px; margin-left: 0; margin-right: 0; }
.support-mini-card { padding: 8px 16px; }
.support-mini-link {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #E4E4E9; border-radius: 8px;
  padding: 7px 14px; font-size: .8rem; font-weight: 600; color: var(--brand-dark);
}
.support-mini-link:hover { border-color: var(--brand-yellow); color: var(--brand-yellow-dark); }

/* ---------- Business use-case tabs ---------- */
.usecase-tabs .type-tab { margin: 2px; }
.usecase-panel {
  background: linear-gradient(120deg, var(--brand-yellow) 0%, var(--brand-yellow-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
}
.usecase-panel h3, .usecase-panel .badge { color: var(--brand-dark); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--brand-yellow) 0%, var(--brand-yellow-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  color: #fff;
  text-align: center;
}

/* ---------- FAQ accordion ---------- */
.accordion-item { border: 1px solid #F0F0F0; border-radius: 12px !important; margin-bottom: 12px; overflow: hidden; }
.accordion-button { font-weight: 700; color: var(--brand-dark); }
.accordion-button:not(.collapsed) { color: var(--brand-yellow-dark); background: var(--brand-cream); }
.accordion-button:focus { box-shadow: none; border-color: rgba(108,92,231,.25); }
