/* Brand theme using provided palette
   primary: light #FFF9E0, DEFAULT #f7b80a, dark #C7A600
   secondary: #6B4C00, success: #28A745, error: #DC3545
   brand: bg #FFFDF5, text #2E2E2E, accent #007A5E
*/

:root {
  --color-primary-light: #FFF9E0;
  --color-primary: #f7b80a;
  --color-primary-dark: #C7A600;
  --color-secondary: #6B4C00;
  --color-success: #28A745;
  --color-error: #DC3545;
  --color-brand-bg: #FFFDF5;
  --color-brand-text: #2E2E2E;
  --color-brand-accent: #007A5E;
  --shadow-soft: 0 8px 30px rgba(0,0,0,0.08);
  --border-soft: 1px solid rgba(0,0,0,0.06);
}

/* Base */
body.theme-brand {
  background: var(--color-brand-bg);
  color: var(--color-brand-text);
}

/* Header */
.theme-brand .header-section .header-bottom {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-soft);
}
.theme-brand .header-section.scrolled .header-bottom,
.theme-brand .header-section.menu-fixed .header-bottom {
  background: rgba(255,255,255,0.95) !important;
}
.theme-brand .header-section .main-menu li a { color: var(--color-brand-text); }
.theme-brand .header-section .main-menu li a:hover { color: var(--color-primary-dark) !important; }

/* Sections and text */
.theme-brand .section-bg,
.theme-brand .statistics-section,
.theme-brand .price-section,
.theme-brand .latest-transaction-section,
.theme-brand .profit-calculator-section,
.theme-brand .commission-section { background: transparent !important; }

.theme-brand .section-title,
.theme-brand .hero-title,
.theme-brand .statistics-section .title {
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Cards */
.theme-brand .price-item,
.theme-brand .transaction-table-area {
  background: #ffffff;
  border: var(--border-soft);
  box-shadow: var(--shadow-soft);
  backdrop-filter: none;
}
.theme-brand .price-item { border-radius: 12px; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.theme-brand .price-item .package-name { color: var(--color-secondary); }
.theme-brand .price-item .package-feature-list li { color: var(--color-brand-text); }

/* Professional price cards (brand) */
.theme-brand .price-section .section-header { text-align: center; }
.theme-brand .price-item br { display: none; }
.theme-brand .price-card-header { margin-bottom: 10px; }
.theme-brand .plan-badge { display: inline-block; font-size: 12px; letter-spacing: 0.3px; padding: 6px 10px; border-radius: 999px; background: var(--color-primary-light); color: var(--color-secondary); border: 1px solid rgba(0,0,0,0.06); margin-bottom: 8px; }
.theme-brand .plan-badge.popular { background: var(--color-primary); color: var(--color-brand-text); border: 1px solid var(--color-primary-dark); box-shadow: 0 8px 20px rgba(247,184,10,0.25); }
.theme-brand .price-meta { color: var(--color-secondary); font-size: 14px; opacity: 0.95; }
.theme-brand .price-item .package-name { margin: 4px 0; font-weight: 700; }
.theme-brand .price-item .package-name + .package-name { color: var(--color-primary-dark); font-weight: 800; }
.theme-brand .price-item .package-feature-list { margin-top: 12px; }
.theme-brand .price-item .package-feature-list li { font-size: 14px; opacity: 0.95; }
.theme-brand .price-item .package-feature-list li::before { color: var(--color-primary); }
.theme-brand .price-item:hover { transform: translateY(-6px); border-color: rgba(0,0,0,0.12); box-shadow: 0 18px 55px rgba(0,0,0,0.10); }
.theme-brand .price-item .invest_input { margin-top: 16px; height: 48px; border-radius: 10px; }
.theme-brand .price-item .border-btn { margin-top: 14px; min-width: 100%; border-radius: 12px; padding: 14px 18px; }
.theme-brand .price-item .border-btn { background: var(--color-primary) !important; color: var(--color-brand-text) !important; border: 1px solid var(--color-primary-dark) !important; box-shadow: 0 8px 20px rgba(247,184,10,0.25) !important; }
.theme-brand .price-item .border-btn:hover { filter: brightness(0.98); transform: translateY(-1px); }
.theme-brand .price-item [id^="error-message"] { color: #DC3545 !important; margin-top: 8px; font-size: 13px; }

/* Buttons */
.theme-brand .cmn-btn {
  background: var(--color-primary) !important;
  color: var(--color-brand-text) !important;
  border: 1px solid var(--color-primary-dark) !important;
  box-shadow: 0 8px 20px rgba(247,184,10,0.25) !important;
}
.theme-brand .cmn-btn:hover { filter: brightness(0.98); transform: translateY(-1px); }

.theme-brand .border-btn {
  background: transparent !important;
  color: var(--color-secondary) !important;
  border: 1px solid var(--color-primary) !important;
  box-shadow: none !important;
}
.theme-brand .border-btn:hover {
  background: var(--color-primary-light) !important;
  color: var(--color-brand-text) !important;
}

/* Forms */
.theme-brand input:not([type="radio"]),
.theme-brand textarea,
.theme-brand select {
  color: var(--color-brand-text) !important;
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
}
.theme-brand input::placeholder,
.theme-brand textarea::placeholder { color: #888 !important; }

/* Tables */
.theme-brand .transaction-table thead tr {
  background: linear-gradient(90deg, var(--color-primary-light), #fff) !important;
}
.theme-brand .transaction-table thead tr th {
  color: var(--color-secondary) !important;
  border-right-color: rgba(0,0,0,0.06) !important;
}
.theme-brand .transaction-table tbody tr td {
  color: var(--color-brand-text) !important;
  border-right-color: rgba(0,0,0,0.06) !important;
}

/* Status colors */
.theme-brand .text-success { color: var(--color-success) !important; }
.theme-brand .text-error { color: var(--color-error) !important; }

/* Accent bits */
.theme-brand a { color: var(--color-brand-accent); }
.theme-brand a:hover { color: var(--color-secondary); }
/* Icon polish */
.theme-brand .plan-icon { color: var(--color-primary-dark); font-size: 16px; margin-right: 8px; vertical-align: middle; }
.theme-brand .hero-badge-icon { margin-right: 8px; }
.theme-brand .statistics-section .round-icon i { display: inline-block; width: 46px; text-align: center; line-height: 46px; font-size: 20px; color: var(--color-secondary); }

/* Hero overlay for contrast on light theme */
.theme-brand .hero-section::before {
  background: linear-gradient(180deg, rgba(255,253,245,0.7), rgba(255,253,245,0.2)) !important;
}

/* Hero redesign (content unchanged) */
.theme-brand .hero-section {
  position: relative;
  min-height: 85vh;
  display: block;
}
.theme-brand .hero-title {
  font-size: clamp(36px, 5vw, 54px) !important;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 0 rgba(0,0,0,0.03);
}

/* Remove excessive manual spacing */
.theme-brand .hero-section br { display: none; }

/* Badge panel for hero stats */
.theme-brand .hero-section .btn-area {
  margin-top: 28px !important;
  background: rgba(255,255,255,0.8);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: var(--shadow-soft);
  border-radius: 16px;
  padding: 14px 16px;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
}
.theme-brand .hero-section .btn-area .cmn-btn {
  background: var(--color-primary-light) !important;
  color: var(--color-secondary) !important;
  border: 1px solid rgba(0,0,0,0.05) !important;
  box-shadow: none !important;
  padding: 10px 14px !important;
  line-height: 1.1 !important;
}

/* Header enhancements */
.theme-brand .header-section .header-bottom {
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: relative;
}
.theme-brand .header-section .header-bottom::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), rgba(0,0,0,0));
  opacity: 0.5;
  pointer-events: none;
}
.theme-brand .header-section .main-menu li a {
  padding: 18px 10px !important;
  margin-top: 0 !important;
  position: relative;
}
.theme-brand .header-section .main-menu li a::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 10px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 200ms ease;
}
.theme-brand .header-section .main-menu li a:hover::after,
.theme-brand .header-section .main-menu li a.active::after { transform: scaleX(1); }
.theme-brand .header-section .main-menu #connect_btn {
  background: var(--color-primary) !important;
  color: var(--color-brand-text) !important;
  padding: 10px 16px !important;
  border-radius: 999px;
  border: 1px solid var(--color-primary-dark) !important;
  box-shadow: 0 8px 20px rgba(247,184,10,0.25) !important;
  margin-left: 8px;
}
.theme-brand .header-section .main-menu #connect_btn:hover { filter: brightness(0.98); transform: translateY(-1px); }
.theme-brand .header-section .main-menu #connect_btn::after { display: none; }
@media (max-width: 1199px) {
  .theme-brand .header-section .navbar-collapse {
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    padding: 8px 12px;
  }
}

/* Catchier hero (brand): dim video a bit, title accent, horizontal stats on desktop, light card */
.theme-brand .hero-section #myVideo { filter: brightness(0.65) saturate(1.05); z-index: -20; pointer-events: none; }
.theme-brand .hero-title { text-shadow: 0 2px 0 rgba(0,0,0,0.04); }
.theme-brand .hero-title::before {
  content: "";
  display: inline-block;
  width: 54px; height: 6px;
  margin-right: 10px; margin-bottom: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
}
.theme-brand .hero-section .col-lg-6.order-lg-2.order-1 {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: 24px 22px;
}
@media (min-width: 992px) {
  .theme-brand .hero-section .btn-area { flex-direction: row !important; align-items: center; gap: 16px; }
}

/* Footer finishing */
.theme-brand .footer-section .footer-top { padding-top: 40px; padding-bottom: 30px; }
.theme-brand .footer-section .footer-bottom { padding: 18px 0; border-top: 1px solid rgba(0,0,0,0.08); }
.theme-brand .footer-section .footer-copy { color: rgba(0,0,0,0.6); font-size: 14px; }
.theme-brand .footer-section .footer-description { color: var(--color-brand-text); line-height: 1.7; text-align: center; max-width: 980px; margin: 0 auto; }
.theme-brand .footer-section .social-media-links a { color: var(--color-secondary); }
.theme-brand .footer-section .social-media-links a:hover { color: var(--color-primary-dark); }

/* ========== User Statistics (wallets) ========== */
.theme-brand .statistics-section .statistics-item {
  background: #ffffff;
  border: var(--border-soft);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.theme-brand .statistics-section .statistics-item:hover { transform: translateY(-6px); box-shadow: 0 18px 55px rgba(0,0,0,0.12); }
.theme-brand .statistics-section .statistics-item .round-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--color-primary), var(--color-primary-light));
  box-shadow: inset 0 0 0 2px rgba(0,0,0,0.06), 0 6px 18px rgba(0,0,0,0.08);
}
.theme-brand .statistics-section .title .zoom { color: var(--color-secondary); }
.theme-brand .statistics-thumb img { filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12)); border-radius: 8px; }

/* ========== KEY POINTS (profit-calculator) ========== */
.theme-brand .profit-calculator-wrapper {
  background: #ffffff;
  border: var(--border-soft);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow-soft);
}
.theme-brand .profit-calculator-section label {
  display: block;
  padding: 10px 12px 10px 36px;
  margin-bottom: 10px;
  background: #FFFDFB;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  position: relative;
  color: var(--color-brand-text);
}
.theme-brand .profit-calculator-section label::before {
  content: "\f00c";
  font-family: 'FontAwesome';
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--color-primary-dark);
}
.theme-brand .profit-thumb img { filter: drop-shadow(0 20px 40px rgba(0,0,0,0.12)); border-radius: 14px; }

/* ========== Referral Commission (Reffral) ========== */
.theme-brand #Reffral .commission-content {
  background: #ffffff;
  border: var(--border-soft);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow-soft);
}
.theme-brand #Reffral .cmn-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.theme-brand #Reffral .cmn-list li::before {
  content: "\f005";
  font-family: 'FontAwesome';
  position: absolute; left: 0; top: 3px; color: var(--color-secondary);
}
.theme-brand #Reffral #ref-link {
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.12) !important;
  color: var(--color-brand-text) !important;
  border-radius: 12px; height: 46px;
}
.theme-brand #Reffral .border-btn { min-width: 140px; }
