@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary: #3a0b39;
  --primary-rgb: 58, 11, 57;
  --primary-dark: #250724;
  --accent: #7c3aed;
  --accent-rgb: 124, 58, 237;
  --accent-bright: #a78bfa;
  --accent-light: #ede9fe;
  --text: #1e293b;
  --text-muted: #64748b;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --border: #e5e7eb;
  --radius: 12px;
  --font: 'Inter', sans-serif;
  --color-accent-deep: #5b21b6;
  --gradient-dark: linear-gradient(135deg, var(--primary-dark), var(--primary));
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--color-accent-deep));

  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-400: #94a3b8;
  --neutral-500: #64748b;
  --neutral-600: #475569;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  --neutral-950: #020617;

  --primary-50: #f5f3ff;
  --primary-100: #ede9fe;
  --primary-200: #ddd6fe;
  --primary-300: #c4b5fd;
  --primary-400: #a78bfa;
  --primary-500: #8b5cf6;
  --primary-600: #7c3aed;
  --primary-700: #6d28d9;
  --primary-800: #5b21b6;
  --primary-900: #4c1d95;
  --primary-950: #2e1065;

  --success: #059669;
  --success-lifted: #047857;
  --success-accented: #065f46;
  --info: #2563eb;
  --info-lifted: #1d4ed8;
  --info-accented: #1e40af;
  --notice: #7c3aed;
  --notice-lifted: #6d28d9;
  --notice-accented: #5b21b6;
  --warning: #d97706;
  --warning-lifted: #b45309;
  --warning-accented: #92400e;
  --error: #dc2626;
  --error-lifted: #b91c1c;
  --error-accented: #991b1b;

  --text-inverted: #fff;
  --text-muted: var(--neutral-400);
  --border-muted: var(--neutral-200);
  --bg-muted: var(--neutral-50);
  --bg-inverted: var(--neutral-900);
}

/* ── BASE ───────────────────────────── */
html {
  font-size: 14px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: #fff; }
::-moz-selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 8px; background: var(--bg-light); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-bright); }

/* ── TYPOGRAPHY ─────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--text);
}
a {
  color: var(--accent);
  transition: color .2s ease;
}
a:hover, a:focus {
  color: var(--accent);
  text-decoration: none;
}

/* ── LAYOUT ─────────────────────────── */
.container {
  padding-right: 19px;
  padding-left: 19px;
}
#main-body {
  padding-top: 0;
  padding-bottom: 35px;
  background: var(--bg-light);
  min-height: 400px;
}
.page-header {
  border-bottom-color: var(--border);
  margin-top: 0;
}

/* ══════════════════════════════════════════════════════════════
   HEADER & NAVIGATION
   ══════════════════════════════════════════════════════════════ */

/* ── Top Bar ───────────────────────── */
.branex-topbar {
  background: var(--gradient-dark);
  height: 40px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.branex-topbar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.06) 50%, transparent 100%);
  pointer-events: none;
}
.branex-topbar-inner {
  width: 100%;
  height: 40px;
  position: relative;
}
.branex-notice-item {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}
.branex-notice-item.active { display: flex; }
.branex-topbar-text { color: #fff; white-space: nowrap; }

/* ── Sticky Header ─────────────────── */
.branex-header-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  border-bottom: 1px solid var(--border);
}
.branex-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 16px;
}

/* Logo */
.branex-header-logo { display: flex; align-items: center; flex-shrink: 0; }
.branex-header-logo img { max-height: 48px; width: auto; }

/* Desktop Nav */
.branex-desktop-nav { display: flex; align-items: center; flex: 1; justify-content: center; }

/* ── Header Actions ────────────────── */
.branex-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Support Dropdown */
.branex-support-dropdown { position: relative; }
.branex-btn-support {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all .3s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.branex-btn-support:hover { border-color: var(--accent); color: var(--primary); background: rgba(124,58,237,0.04); }
.branex-support-mega-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg);
  border-radius: 16px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  width: 340px;
  padding: 20px;
  display: none;
  z-index: 9999;
}
.branex-support-mega-menu::before {
  content: ''; position: absolute; top: -12px; right: 0; width: 100%; height: 12px; background: transparent;
}
.branex-support-dropdown:hover .branex-support-mega-menu { display: block; }
.psm-section { margin-bottom: 16px; }
.psm-section h4 { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--text); letter-spacing: .5px; margin-bottom: 10px; }
.psm-phone-box {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg-light); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px; color: var(--text); font-weight: 700; font-size: 15px;
  text-decoration: none; margin-bottom: 6px;
}
.psm-timing { text-align: center; font-size: 12px; color: var(--text-muted); }
.psm-chat-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.psm-chat-btn {
  background: var(--bg-light); border: 1px solid var(--border); border-radius: 10px;
  padding: 10px 8px; text-align: center; color: var(--text); text-decoration: none;
  font-weight: 600; font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 5px; transition: .2s;
}
.psm-chat-btn i { font-size: 18px; color: var(--accent); }
.psm-chat-btn:hover { background: var(--accent-light); }
.psm-links { border-top: 1px solid var(--border); margin-top: 12px; padding-top: 8px; }
.psm-link {
  display: flex; align-items: center; gap: 10px; padding: 8px 5px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 13px; border-radius: 6px; transition: .2s;
}
.psm-link i { color: var(--text-muted); width: 16px; }
.psm-link:hover { background: var(--bg-light); }

/* Account Button */
.branex-btn-account {
  background: var(--gradient-accent);
  color: #fff;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  transition: all .3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(124,58,237,0.2);
  border: none;
  text-decoration: none;
}
.branex-btn-account:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(124,58,237,0.35); color: #fff; }
.branex-btn-account i { font-size: 14px; }

/* Mobile */
.branex-mobile-actions { display: none; align-items: center; gap: 12px; }
.branex-mobile-btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-light); border-radius: 50%; color: var(--text); font-size: 16px; text-decoration: none;
}
.branex-mobile-toggle {
  background: none; border: none; width: 28px; height: 22px; position: relative; cursor: pointer; padding: 0;
}
.branex-mobile-toggle span {
  display: block; width: 100%; height: 3px; background: var(--primary);
  border-radius: 3px; position: absolute; transition: .3s;
}
.branex-mobile-toggle span:nth-child(1) { top: 0; }
.branex-mobile-toggle span:nth-child(2) { top: 9px; width: 70%; right: 0; }
.branex-mobile-toggle span:nth-child(3) { bottom: 0; }
.branex-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg); top: 9px; }
.branex-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.branex-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg); bottom: 9px; }

/* Mobile Sidebar */
.branex-mobile-sidebar {
  position: fixed; top: 0; right: -300px; width: 280px; height: 100%;
  background: var(--bg); z-index: 99999;
  box-shadow: -10px 0 30px rgba(0,0,0,0.1);
  transition: .4s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
}
.branex-mobile-sidebar.active { right: 0; }
.branex-ms-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); z-index: 99998;
  opacity: 0; visibility: hidden; transition: .3s;
}
.branex-ms-overlay.active { opacity: 1; visibility: visible; }
.branex-ms-header {
  padding: 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 12px;
}
.branex-ms-logo { max-height: 36px; }
.branex-ms-site-name { font-size: 15px; font-weight: 800; color: var(--text); margin-right: auto; }
.branex-ms-close { background: none; border: none; font-size: 28px; color: var(--text-muted); cursor: pointer; }
.branex-ms-body { flex: 1; overflow-y: auto; padding: 16px 0; }
.branex-ms-menu { list-style: none; padding: 0; margin: 0; }
.branex-ms-menu > li > a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; color: var(--text); font-size: 15px; font-weight: 600;
  text-decoration: none; border-bottom: 1px solid var(--border);
}
.branex-ms-menu > li > a i { color: var(--text-muted); font-size: 12px; }
.branex-ms-footer { padding: 20px; border-top: 1px solid var(--border); }
.branex-ms-btn {
  display: block; background: var(--gradient-accent); color: #fff;
  text-align: center; padding: 12px; border-radius: 10px;
  font-weight: 700; text-decoration: none; font-size: 14px;
}
.branex-ms-social { display: flex; justify-content: center; gap: 16px; margin-top: 12px; }
.branex-ms-social a { color: var(--text-muted); font-size: 18px; }

/* ── WHMCS Navbar Override ─────────── */
.navbar-main {
  margin-bottom: 0;
  background: transparent !important;
  border: 0;
  min-height: 0;
  font-family: 'Inter', sans-serif;
}
.navbar-main .navbar-nav > li > a {
  color: var(--text);
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: background .2s, color .2s;
}
.navbar-main .navbar-nav > li > a:hover,
.navbar-main .navbar-nav > li > a:focus {
  color: var(--primary);
  background: var(--bg-light);
}
.navbar-main .navbar-nav > .active > a,
.navbar-main .navbar-nav > .active > a:hover,
.navbar-main .navbar-nav > .active > a:focus {
  color: #fff;
  background: var(--accent);
  border-radius: 6px;
}
.navbar-main .navbar-nav > .open > a,
.navbar-main .navbar-nav > .open > a:hover,
.navbar-main .navbar-nav > .open > a:focus {
  background: transparent;
  color: var(--accent);
}
.navbar-main li.account {
  background: transparent !important;
}
.navbar-main .navbar-nav > li > a > i,
.navbar-main .navbar-nav > li > a .fas,
.navbar-main .navbar-nav > li > a .far {
  margin-right: 4px;
}
.navbar-main .dropdown-menu {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  padding: 8px;
  margin-top: 4px;
}
.navbar-main .dropdown-menu > li > a {
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}
.navbar-main .dropdown-menu > li > a:hover,
.navbar-main .dropdown-menu > li > a:focus {
  background: var(--accent-light);
  color: var(--accent);
}
.navbar-main .dropdown-menu > .active > a,
.navbar-main .dropdown-menu > .active > a:hover,
.navbar-main .dropdown-menu > .active > a:focus {
  background: var(--accent);
  color: #fff;
}
.navbar-default .navbar-toggle {
  border-color: transparent;
  margin-right: 0;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background: var(--accent);
}
.navbar-default .navbar-toggle .icon-bar {
  background: var(--text);
}
.navbar-default .navbar-toggle:hover .icon-bar,
.navbar-default .navbar-toggle:focus .icon-bar {
  background: #fff;
}
.navbar-collapse {
  border-color: var(--border);
}

/* ══════════════════════════════════════════════════════════════
   HOMEPAGE HERO BANNER
   ══════════════════════════════════════════════════════════════ */
section#home-banner {
  background: var(--gradient-dark);
  background-size: 300% 300%;
  animation: branex-hero-shift 20s ease infinite;
  padding: 100px 0 70px;
  position: relative;
  overflow: hidden;
}
section#home-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
section#home-banner::after {
  content: '';
  position: absolute;
  top: -20%; left: -10%;
  width: 120%; height: 120%;
  background: radial-gradient(ellipse at 20% 40%, rgba(124,58,237,0.12) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 60%, rgba(167,139,250,0.08) 0%, transparent 50%);
  pointer-events: none;
  animation: branex-blob-float 25s ease-in-out infinite;
}
section#home-banner > .container { position: relative; z-index: 1; }
section#home-banner h2 {
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}
section#home-banner .lead {
  color: rgba(255,255,255,0.75);
  font-size: 16px;
  margin-bottom: 30px;
  font-weight: 400;
}

/* Domain Search */
.branex-domain-search-wrap {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 50px;
  display: flex;
  padding: 6px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.branex-domain-search-wrap input {
  flex: 1;
  padding: 16px 22px;
  border: none;
  font-size: 15px;
  outline: none;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
}
.branex-domain-search-wrap input:focus {
  box-shadow: 0 0 0 2px var(--accent-light);
}
.branex-domain-search-wrap .btn {
  background: var(--gradient-accent);
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: .3s;
  border-radius: 50px;
  text-transform: none;
  letter-spacing: 0;
  height: auto;
  line-height: 1.4;
  overflow: visible;
}
.branex-domain-search-wrap .btn:hover {
  filter: brightness(1.12);
  box-shadow: 0 4px 20px var(--accent);
  background: var(--gradient-accent);
}
.branex-domain-search-wrap .btn.transfer {
  background: rgba(255,255,255,0.15);
  color: #fff;
  margin-left: 4px;
}
.branex-domain-search-wrap .btn.transfer:hover {
  background: rgba(255,255,255,0.25);
  box-shadow: none;
  filter: none;
}
.input-group-lg > .form-control { border-radius: 50px 0 0 50px; }

/* Home Shortcuts */
.home-shortcuts {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.home-shortcuts .lead {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin: 14px 0;
}
.home-shortcuts ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}
.home-shortcuts ul li {
  flex: 1;
  border-right: 1px solid var(--border);
}
.home-shortcuts ul li:last-child { border-right: none; }
.home-shortcuts ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: .2s;
  text-decoration: none;
}
.home-shortcuts ul li a:hover {
  color: var(--accent);
  background: var(--accent-light);
}
.home-shortcuts ul li a i {
  font-size: 22px;
  color: var(--accent);
  width: 30px;
  text-align: center;
}
.home-shortcuts ul li a p { margin: 0; }
.home-shortcuts ul li a p span { color: var(--accent); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */

/* ── Support Section ───────────────── */
.branex-support-modern {
  background: radial-gradient(circle at top right, var(--primary-dark), var(--primary));
  padding: 50px 0;
  color: #fff;
  position: relative;
}
.branex-support-phone-bar {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.08); border-radius: 30px;
  padding: 6px 18px; margin-bottom: 18px; font-size: 13px;
}
.branex-support-phone-bar i { color: var(--accent-bright); }
.branex-support-phone-bar a { color: #fff; font-weight: 600; text-decoration: none; }
.branex-support-title {
  font-size: 30px; font-weight: 900; color: #fff;
  margin-bottom: 14px; letter-spacing: -0.5px;
}
.branex-support-text {
  font-size: 15px; line-height: 1.7;
  color: rgba(255,255,255,0.8); margin-bottom: 28px; max-width: 600px;
}
.branex-support-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 700px;
}
.branex-s-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px; text-decoration: none; transition: all .4s ease;
  text-align: center; color: #fff; height: 105px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.branex-s-card i {
  font-size: 30px; margin-bottom: 10px;
  background: linear-gradient(135deg, #fff 30%, var(--accent-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  transition: transform .4s;
}
.branex-s-card span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.branex-s-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.3);
}
.branex-s-card:hover i { transform: scale(1.15) rotate(5deg); }

/* ── Footer ────────────────────────── */
.footer {
  background: var(--primary-dark);
  padding: 40px 0 0;
  color: rgba(255,255,255,0.72);
  font-family: 'Inter', sans-serif;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.03);
}
.footer .branex-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.footer .branex-fb-title {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}
.footer .branex-fb-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--accent);
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer ul li { margin-bottom: 8px; }
.footer ul li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 14px;
  transition: .3s;
}
.footer ul li a:hover {
  color: var(--accent-bright);
  padding-left: 4px;
}
.footer .branex-footer-logo { max-width: 180px; margin-bottom: 12px; }
.footer .branex-footer-desc { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.55); margin-bottom: 16px; }

.footer .branex-social-links {
  display: flex;
  gap: 10px;
}
.footer .branex-social-links a {
  width: 32px; height: 32px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: .3s;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.06);
}
.footer .branex-social-links a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  border-color: var(--accent);
}

.footer .branex-subscribe-form {
  display: flex;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 4px;
  transition: .3s;
}
.footer .branex-subscribe-form:focus-within {
  border-color: var(--accent);
  background: rgba(255,255,255,0.06);
}
.footer .branex-subscribe-form input {
  flex: 1; background: transparent; border: none;
  padding: 8px 14px; color: #fff; font-size: 12px; outline: none;
  font-family: 'Inter', sans-serif;
}
.footer .branex-subscribe-form button {
  background: var(--gradient-accent); color: #fff; border: none;
  width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; transition: .3s;
  display: flex; align-items: center; justify-content: center;
}
.footer .branex-subscribe-form button:hover {
  transform: rotate(45deg) scale(1.1);
  box-shadow: 0 4px 12px var(--accent);
}
.footer .branex-payment-icons {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px;
}
.footer .branex-payment-icons i {
  font-size: 24px; color: rgba(255,255,255,0.35); transition: .3s;
}
.footer .branex-payment-icons i:hover { color: #fff; transform: scale(1.1); }

.footer .branex-footer-bottom {
  margin-top: 30px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.footer .branex-footer-bottom span {
  color: var(--accent-bright);
  font-weight: 600;
}
.footer .branex-footer-bottom a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-weight: 600;
  margin-left: 12px;
}
.footer .branex-footer-bottom a:hover { color: var(--accent-bright); }

/* ══════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════ */
.btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 13px;
  border-radius: 8px;
  padding: 8px 20px;
  transition: all .25s ease;
  overflow: visible;
  text-transform: none;
  letter-spacing: 0;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--color-accent-deep);
  border-color: var(--color-accent-deep);
  color: #fff;
}
.btn-success {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}
.btn-success:hover {
  background: var(--success-lifted);
  border-color: var(--success-lifted);
}
.btn-info {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.btn-info:hover, .btn-info:focus {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-default {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}
.btn-default:hover, .btn-default:focus {
  background: var(--bg-light);
  border-color: var(--text-muted);
  color: var(--text);
}
.btn-warning {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-warning:hover, .btn-warning:focus {
  background: var(--accent-bright);
  border-color: var(--accent);
  color: #fff;
}
.btn-danger {
  background: var(--error);
  border-color: var(--error);
  color: #fff;
}
.btn-danger:hover {
  background: var(--error-lifted);
  border-color: var(--error-lifted);
}
.btn-link {
  color: var(--accent);
}
.btn-link:hover { color: var(--color-accent-deep); }
.btn-lg { padding: 10px 28px; font-size: 14px; border-radius: 10px; }
.btn-sm { padding: 6px 14px; font-size: 12px; border-radius: 6px; }

ul.top-nav > li.primary-action > a.btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
}
ul.top-nav > li.primary-action > a.btn:hover {
  background: var(--color-accent-deep);
}

/* ══════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════ */
.form-control {
  font-family: 'Inter', sans-serif;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  min-height: 42px;
  color: var(--text);
  box-shadow: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.1);
  outline: none;
}
.form-control[disabled], .form-control[readonly] {
  background: var(--bg-muted);
}
label {
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
}
.checkbox label, .radio label {
  font-weight: 400;
}

/* ══════════════════════════════════════════════════════════════
   PANELS / CARDS
   ══════════════════════════════════════════════════════════════ */
.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  font-size: .9em;
}
.panel-primary { border-color: var(--accent); }
.panel-primary > .panel-heading {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.panel-heading {
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}
.panel-body { padding: 16px; }
.panel-footer {
  padding: 12px 16px;
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
}
.panel-default > .panel-heading {
  background: var(--bg-muted);
  border-color: var(--border);
  color: var(--text);
}

/* ══════════════════════════════════════════════════════════════
   SIDEBARS
   ══════════════════════════════════════════════════════════════ */
.list-group {
  font-size: .9em;
}
.list-group-item {
  border: 1px solid var(--border);
  padding: 10px 16px;
  color: var(--text);
}
.list-group-item .badge {
  background: transparent;
  color: var(--text-muted);
}
a.list-group-item:hover, a.list-group-item:focus {
  background: var(--accent-light);
  color: var(--accent);
}
a.list-group-item.active, a.list-group-item.active:hover, a.list-group-item.active:focus {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
div.sidebar .list-group-item-selected {
  background: var(--accent) !important;
  color: #fff;
}
.sidebar .panel {
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.sidebar .panel-heading {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.sidebar .nav-tabs > li > a {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   TABLES
   ══════════════════════════════════════════════════════════════ */
.table {
  font-size: 13px;
}
.table > thead > tr > th {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text);
  border-bottom: 2px solid var(--border);
  padding: 10px 12px;
}
.table > tbody > tr > td {
  padding: 10px 12px;
  vertical-align: middle;
  border-top: 1px solid var(--border);
}
.table-striped > tbody > tr:nth-of-type(odd) {
  background: var(--bg-muted);
}
.table-hover > tbody > tr:hover {
  background: var(--accent-light);
}
.dataTables_wrapper .dataTables_info {
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 12px;
}
table.styled tr th {
  background: var(--accent);
  color: #fff;
}

/* ══════════════════════════════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════════════════════════════ */
.pagination {
  font-size: .85em;
  margin: 16px 0;
}
.pagination > li > a, .pagination > li > span {
  color: var(--text);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 6px !important;
  margin: 0 2px;
}
.pagination > li > a:hover, .pagination > li > span:hover {
  color: var(--accent);
  background: var(--accent-light);
  border-color: var(--accent);
}
.pagination > .active > a, .pagination > .active > span,
.pagination > .active > a:hover, .pagination > .active > span:hover,
.pagination > .active > a:focus, .pagination > .active > span:focus {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.pagination > .disabled > a, .pagination > .disabled > span {
  color: var(--text-muted);
  opacity: .5;
}

/* ══════════════════════════════════════════════════════════════
   ALERTS
   ══════════════════════════════════════════════════════════════ */
.alert {
  border-radius: var(--radius);
  font-size: 13px;
  border: none;
}
.alert-info {
  background: rgba(37,99,235,0.08);
  color: var(--info);
}
.alert-success {
  background: rgba(5,150,105,0.08);
  color: var(--success);
}
.alert-warning {
  background: rgba(217,119,6,0.08);
  color: var(--warning);
}
.alert-danger {
  background: rgba(220,38,38,0.08);
  color: var(--error);
}
/* ══════════════════════════════════════════════════════════════
   LABELS / BADGES
   ══════════════════════════════════════════════════════════════ */
.label {
  border-radius: 4px;
  font-weight: 600;
  font-size: 11px;
  padding: 3px 8px;
}
.label-primary { background: var(--accent); }
.label-success { background: var(--success); }
.label-info { background: var(--info); }
.label-warning { background: var(--warning); }
.label-danger { background: var(--error); }
.label-default { background: var(--text-muted); }
.badge {
  background: var(--accent);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   MODALS
   ══════════════════════════════════════════════════════════════ */
.modal-content {
  border-radius: var(--radius);
  border: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.modal-header {
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
}
.modal-header .close {
  font-size: 24px;
  color: var(--text-muted);
  opacity: .6;
}
.modal-body { padding: 20px; }
.modal-footer {
  border-top: 1px solid var(--border);
  padding: 12px 20px;
}

/* ══════════════════════════════════════════════════════════════
   LOGIN PAGE
   ══════════════════════════════════════════════════════════════ */
.logincontainer {
  background: var(--bg);
  padding: 40px 50px;
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  border: 1px solid var(--border);
  max-width: 520px;
  margin: 40px auto;
}
.logincontainer .header-lined h1 {
  margin-top: 0;
  font-size: 24px;
}
.logincontainer .btn-primary {
  padding: 10px 36px;
  font-size: 14px;
}

/* ══════════════════════════════════════════════════════════════
   HEADER LINED / PAGE HEADERS
   ══════════════════════════════════════════════════════════════ */
.header-lined {
  margin-bottom: 20px;
}
.header-lined h1 {
  color: var(--text);
  font-size: 24px;
  font-weight: 800;
  margin-top: 0;
}
.header-lined .breadcrumb {
  background: transparent;
  padding: 8px 0;
  margin: 0;
  font-size: 12px;
}
.header-lined .breadcrumb > li + li::before {
  color: var(--text-muted);
}
.header-lined .breadcrumb > .active {
  color: var(--accent);
  font-weight: 600;
}
.page-header h1 {
  font-size: 22px;
  font-weight: 800;
}

/* ══════════════════════════════════════════════════════════════
   TABS
   ══════════════════════════════════════════════════════════════ */
.nav-tabs {
  border-bottom: 1px solid var(--border);
}
.nav-tabs > li > a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 13px;
  border: none;
  padding: 10px 16px;
  margin-right: 2px;
  border-radius: 8px 8px 0 0;
  transition: .2s;
}
.nav-tabs > li > a:hover {
  background: var(--bg-muted);
  color: var(--text);
  border: none;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
  color: var(--accent);
  border: none;
  border-bottom: 2px solid var(--accent);
  background: transparent;
}

/* ══════════════════════════════════════════════════════════════
   PROGRESS BARS
   ══════════════════════════════════════════════════════════════ */
.progress {
  border-radius: 8px;
  background: var(--border);
  box-shadow: none;
}
.progress-bar {
  background: var(--accent);
  border-radius: 8px;
}

/* ══════════════════════════════════════════════════════════════
   WELLS
   ══════════════════════════════════════════════════════════════ */
.well {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: none;
}

/* ══════════════════════════════════════════════════════════════
   DROPDOWN (global)
   ══════════════════════════════════════════════════════════════ */
.dropdown-menu {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  padding: 6px;
}
.dropdown-menu > li > a {
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
  background: var(--accent-light);
  color: var(--accent);
}
.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
  background: var(--accent);
  color: #fff;
}
.nav-divider {
  background: var(--border) !important;
  margin: 4px 0;
}

/* ══════════════════════════════════════════════════════════════
   TICKET / KNOWLEDGEBASE
   ══════════════════════════════════════════════════════════════ */
.ticket-reply {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.ticket-reply .staff-reply {
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.kb-article {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 12px;
}
blockquote {
  border-left: 3px solid var(--accent);
  font-size: 14px;
}

/* ══════════════════════════════════════════════════════════════
   STORE / ORDER PAGES
   ══════════════════════════════════════════════════════════════ */
#order-boxes .fields-container {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
#order-boxes .fields-container .field-row:nth-child(even) {
  background: var(--bg-muted);
}
#order-boxes .fields-container .field-row:nth-child(odd) {
  background: var(--bg);
}
#order-standard_cart .view-cart-items-header {
  background: var(--accent);
  color: #fff;
}
#order-standard_cart .cart-summary {
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
#order-standard_cart .cart-summary .summary-header {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* ══════════════════════════════════════════════════════════════
   ANNOUNCEMENTS / HOMEPAGE CONTENT
   ══════════════════════════════════════════════════════════════ */
.announcement-single {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}
.announcement-single h3 { margin-top: 0; font-size: 18px; }

/* ══════════════════════════════════════════════════════════════
   TOOLTIP / POPOVER
   ══════════════════════════════════════════════════════════════ */
.popover {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.popover-title {
  font-weight: 700;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-muted);
}

/* ══════════════════════════════════════════════════════════════
   OVERLAY SPINNER
   ══════════════════════════════════════════════════════════════ */
#fullpage-overlay .outer-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
#fullpage-overlay .inner-wrapper {
  text-align: center;
  color: var(--text);
}

/* ══════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════ */
@keyframes branex-hero-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes branex-blob-float {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(30px, -30px) scale(1.05); }
  66%  { transform: translate(-20px, 20px) scale(0.95); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes branex-blob-float2 {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(-40px, -20px) scale(1.1); }
  100% { transform: translate(0, 0) scale(1); }
}

/* ══════════════════════════════════════════════════════════════
   CLIENT AREA SPECIFIC
   ══════════════════════════════════════════════════════════════ */
.client-home-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 20px;
  margin-bottom: 16px;
}
.client-home-panel h3 { margin-top: 0; font-size: 18px; }
.client-home-panel .icon {
  font-size: 32px;
  color: var(--accent);
}

/* ── Domain Pricing Page ───────────── */
.domain-pricing .tld-row {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.domain-pricing .tld-row .btn-order-now {
  background: var(--accent);
  color: #fff;
  border-radius: 50px;
  padding: 4px 18px;
  font-size: 12px;
  font-weight: 700;
}

/* ── Affiliates Page ───────────────── */
.affiliate-stat {
  text-align: center;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ── Mass Pay / Invoices ──────────── */
.invoice-summary {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

/* ══════════════════════════════════════════════════════════════
   BACK TO TOP / SUPPORT WIDGET
   ══════════════════════════════════════════════════════════════ */
.branex-back-to-top {
  position: fixed;
  bottom: 30px;
  left: 20px;
  width: 46px;
  height: 46px;
  background: var(--gradient-dark);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: all .3s ease;
  box-shadow: 0 6px 16px rgba(58,11,57,0.4);
  cursor: pointer;
  z-index: 9999;
  border: none;
}
.branex-back-to-top.show { display: flex; }
.branex-back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(58,11,57,0.5);
  color: #fff;
}
.branex-back-to-top i { font-size: 16px; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .footer .branex-footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .branex-support-modern { text-align: center; }
  .branex-support-text { margin: 0 auto 28px; }
  .branex-support-cards { margin: 0 auto; }
}
@media (max-width: 767px) {
  body { max-width: 100% !important; }
  #main-body { padding-top: 0 !important; }

  .branex-desktop-nav,
  .branex-header-actions { display: none; }
  .branex-mobile-actions { display: flex; }
  .branex-header-inner { height: 58px; }

  section#home-banner { padding: 60px 0 40px; }
  section#home-banner h2 { font-size: 24px; }
  .branex-domain-search-wrap { flex-direction: column; border-radius: 24px; }
  .branex-domain-search-wrap input { border-radius: 24px; }
  .branex-domain-search-wrap .btn { border-radius: 24px; margin: 4px 0 0 !important; }

  .home-shortcuts ul { flex-wrap: wrap; }
  .home-shortcuts ul li { flex: 1 1 50%; border: none; }
  .home-shortcuts ul li a { padding: 10px 12px; font-size: 12px; }
  .home-shortcuts .lead { display: none; }

  .footer .branex-footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .footer .branex-fb-title::after { left: 50%; transform: translateX(-50%); }
  .footer .branex-social-links { justify-content: center; }
  .footer .branex-subscribe-form { max-width: 300px; margin: 0 auto; }
  .footer .branex-footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .footer .branex-footer-bottom a { margin: 0 8px; }

  .logincontainer { padding: 24px 20px; margin: 20px auto; }

  .branex-support-title { font-size: 24px; }
  .branex-support-cards { grid-template-columns: repeat(2, 1fr); width: 100%; max-width: 100%; }
  .branex-s-card { height: 90px; }
  .branex-s-card i { font-size: 24px; }

  .navbar-main .navbar-nav > li > a { padding: 8px 14px; }
}
@media (max-width: 480px) {
  .home-shortcuts ul li { flex: 1 1 100%; }
}
