/* ==========================================================================
   OCTRO RUMMY LANDING PAGES - MODERN DESIGN SYSTEM
   Colors: Deep Emerald Felt, Midnight Charcoal, Metallic Gold, Pure White
   Typography: Outfit (Headings), Inter (Body)
   ========================================================================== */

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

:root {
  --bg-dark: #05140b;
  --bg-surface: #0a2113;
  --bg-card: #0e2a19;
  --bg-card-hover: #143b23;
  --border-subtle: #19462a;
  --border-gold: rgba(255, 201, 36, 0.35);
  
  --gold-primary: #ffc924;
  --gold-light: #ffe58f;
  --gold-dark: #d49200;
  --gold-gradient: linear-gradient(135deg, #ffe17d 0%, #ffc924 50%, #d89602 100%);
  --gold-hover-gradient: linear-gradient(135deg, #fff3c4 0%, #ffd54f 50%, #e6a005 100%);
  
  --emerald-accent: #10b981;
  --emerald-dark: #065f46;
  --emerald-gradient: linear-gradient(135deg, #10b981 0%, #059669 100%);
  
  --text-white: #ffffff;
  --text-primary: #f1f5f3;
  --text-secondary: #cadad0;
  --text-muted: #8ba594;
  --text-gold: #ffc924;
  
  --danger-red: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.12);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 22px rgba(255, 201, 36, 0.3);
  --glow-green: 0 0 30px rgba(16, 185, 129, 0.2);
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  --container-max: 1180px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(ellipse at 50% 0%, #0d381e 0%, transparent 65%),
    radial-gradient(circle at 10% 30%, rgba(16, 185, 129, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(255, 201, 36, 0.03) 0%, transparent 40%);
  background-attachment: fixed;
  line-height: 1.68;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   NAVIGATION / TOPBAR
   ========================================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(5, 20, 11, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-wrapper:hover {
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.5px;
  color: var(--text-white);
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold-primary);
  letter-spacing: 0.3px;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--emerald-accent);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.page-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--emerald-accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald-accent);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-gradient);
  color: #122817 !important;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.4px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.topbar-cta:hover {
  background: var(--gold-hover-gradient);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 201, 36, 0.45);
}

.topbar-cta svg {
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   HERO / PROMOTIONAL CARD
   ========================================================================== */
.hero-promo {
  padding: 36px 0 24px;
}

.promo-card {
  position: relative;
  background: linear-gradient(145deg, #0d301b 0%, #081e11 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 40px;
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--glow-green);
}

.promo-card::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 201, 36, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.promo-card::after {
  content: "♠ ♥ ♦ ♣";
  position: absolute;
  right: 20px;
  bottom: 10px;
  font-size: 72px;
  letter-spacing: 12px;
  color: rgba(255, 255, 255, 0.025);
  font-family: serif;
  user-select: none;
  pointer-events: none;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  align-items: center;
  gap: 36px;
  position: relative;
  z-index: 1;
}

.promo-tag-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.promo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 201, 36, 0.15);
  border: 1px solid rgba(255, 201, 36, 0.4);
  color: var(--gold-light);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.promo-headline {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.promo-headline .highlight-gold {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.promo-subtext {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Benefits Triple Badge Row */
.benefits-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.benefit-badge {
  background: rgba(5, 18, 10, 0.7);
  border: 1px solid rgba(255, 201, 36, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.benefit-badge:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.benefit-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 1.5px solid rgba(239, 68, 68, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger-red);
}

.benefit-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.benefit-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.promo-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald-accent);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.promo-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-dl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--gold-gradient);
  color: #102616 !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.5px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 24px rgba(255, 201, 36, 0.45);
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary-dl:hover {
  background: var(--gold-hover-gradient);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 201, 36, 0.55);
}

.btn-primary-dl svg {
  width: 20px;
  height: 20px;
}

.btn-secondary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn-secondary-action:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--gold-primary);
  color: var(--gold-primary) !important;
}

/* Promo Visual Preview */
.promo-visual {
  position: relative;
  display: flex;
  justify-content: center;
  cursor: pointer;
}

.promo-visual-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 201, 36, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-visual-inner:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), var(--glow-green);
  border-color: var(--gold-primary);
}

.promo-visual-badge {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(5, 20, 11, 0.92);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  pointer-events: none;
}

/* ==========================================================================
   MAIN CONTENT STYLES
   ========================================================================== */
.content-area {
  padding: 36px 0 60px;
}

.content-area h1 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text-white);
  margin: 0 0 16px;
  letter-spacing: -0.5px;
}

.content-area h2 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  color: var(--text-white);
  margin: 48px 0 18px;
  line-height: 1.28;
  position: relative;
  padding-bottom: 10px;
  letter-spacing: -0.3px;
}

.content-area h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.content-area h3 {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  color: var(--gold-light);
  margin: 28px 0 12px;
  line-height: 1.35;
}

.content-area p {
  color: var(--text-secondary);
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 20px;
}

.lead-p {
  font-size: 18px;
  color: #e6ede8;
  line-height: 1.7;
}

/* Notice Cards (Regulatory & Legal) */
.notice-card {
  background: linear-gradient(135deg, rgba(255, 201, 36, 0.08) 0%, rgba(20, 40, 26, 0.6) 100%);
  border-left: 4px solid var(--gold-primary);
  border-top: 1px solid rgba(255, 201, 36, 0.2);
  border-right: 1px solid rgba(255, 201, 36, 0.2);
  border-bottom: 1px solid rgba(255, 201, 36, 0.2);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 18px 22px;
  margin: 28px 0;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.notice-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--gold-primary);
  margin-top: 2px;
}

.notice-text {
  font-size: 15px;
  color: #fce8a6;
  line-height: 1.6;
}

/* Feature Grid / Variant Cards */
.variant-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0 36px;
}

.variant-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.variant-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 201, 36, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.variant-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.variant-icon-badge {
  width: 42px;
  height: 42px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--emerald-accent);
  font-size: 20px;
}

.variant-title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.25;
}

.variant-desc {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  flex-grow: 1;
}

/* Step-by-Step Timeline / List Cards */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 36px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  transition: border-color 0.2s ease;
}

.step-item:hover {
  border-color: rgba(255, 201, 36, 0.35);
}

.step-number {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #122817;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(255, 201, 36, 0.35);
}

.step-body h4 {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}

.step-body p {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}

/* Terminology Definition List */
dl.terms-list {
  margin: 20px 0 30px;
}

dl.terms-list dt {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 18px;
}

dl.terms-list dd {
  margin: 4px 0 0 0;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.65;
}

/* General Lists */
.content-area ul, .content-area ol {
  padding-left: 24px;
  margin: 16px 0 24px;
  color: var(--text-secondary);
}

.content-area li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.content-area li strong {
  color: var(--text-white);
}

/* Responsive Tables */
.table-scroll {
  overflow-x: auto;
  margin: 24px 0 32px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 420px;
}

th, td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 15px;
}

th {
  background: #092414;
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.3px;
  border-bottom: 2px solid rgba(255, 201, 36, 0.3);
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.suit-red {
  color: #ff5252;
  font-size: 16px;
}

/* Mid-Content CTA Box */
.mid-content-cta {
  background: linear-gradient(135deg, #0e301b 0%, #081e11 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 44px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-md);
}

.mid-cta-text h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
  margin: 0 0 6px;
}

.mid-cta-text p {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0;
}

/* ==========================================================================
   FAQS (ACCORDION)
   ========================================================================== */
.faq-section {
  margin: 48px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: rgba(255, 201, 36, 0.4);
}

.faq-summary {
  padding: 18px 22px;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 22px 20px;
  color: var(--text-secondary);
  font-size: 15.5px;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
}

.faq-content p {
  margin-bottom: 12px;
}

.faq-content p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #030c06;
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 32px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 52ch;
  margin-bottom: 12px;
}

.footer-links-col h5 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
}

.footer-nav-list a {
  color: var(--text-secondary);
  font-size: 13.5px;
}

.footer-nav-list a:hover {
  color: var(--gold-primary);
}

.regulatory-notice {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #9cb3a5;
}

.regulatory-badge {
  background: #b91c1c;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
}

/* ==========================================================================
   POPUP MODAL (OCTRO RUMMY PROMOTIONAL POPUP)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 10, 5, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-container {
  position: relative;
  max-width: 960px;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.2);
  border: 2px solid var(--gold-primary);
  background: #000;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-container {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}

.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #000;
  transform: rotate(90deg);
}

.modal-link-wrap {
  display: block;
  width: 100%;
  text-decoration: none;
  line-height: 0;
}

.popup-img-desktop {
  width: 100%;
  height: auto;
  display: block;
}

.popup-img-mobile {
  display: none;
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

body.modal-open {
  overflow: hidden;
}

/* ==========================================================================
   FLOATING OFFER PILL & MOBILE STICKY BAR
   ========================================================================== */
.floating-offer-pill {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 35;
  background: var(--gold-gradient);
  color: #122817;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 25px rgba(255, 201, 36, 0.5);
  border: 2px solid #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: float-pulse 3s infinite ease-in-out;
}

@keyframes float-pulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.floating-offer-pill:hover {
  background: var(--gold-hover-gradient);
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 30px rgba(255, 201, 36, 0.65);
}

.mobile-dl-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 38;
  background: rgba(5, 18, 10, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border-gold);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.mobile-dl-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-dl-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-dl-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.mobile-dl-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.15;
}

.mobile-dl-sub {
  font-size: 11px;
  color: var(--gold-primary);
  font-weight: 500;
}

.mobile-dl-btn {
  background: var(--gold-gradient);
  color: #122817 !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 3px 12px rgba(255, 201, 36, 0.4);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */
@media (max-width: 900px) {
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .mid-content-cta {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px; /* Space for mobile sticky bar */
  }
  
  .promo-card {
    padding: 24px 20px;
  }
  
  .benefits-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .benefit-badge {
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px 14px;
    gap: 12px;
  }
  
  .topbar-nav .page-badge {
    display: none;
  }
  
  .promo-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .btn-primary-dl, .btn-secondary-action {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 15px;
  }
  
  .mobile-dl-bar {
    display: block;
  }
  
  .floating-offer-pill {
    bottom: 80px;
    right: 16px;
    padding: 9px 15px;
    font-size: 12.5px;
  }
  
  .popup-img-desktop {
    display: none;
  }
  
  .popup-img-mobile {
    display: block;
  }
  
  .modal-container {
    max-width: 360px;
  }
}

/* ==========================================================================
   STRATEGY HUB & PORTAL STYLES (INDEX PAGE)
   ========================================================================== */
.hub-intro {
  margin-bottom: 24px;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin: 28px 0 44px;
}

@media (max-width: 768px) {
  .hub-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.hub-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.hub-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 201, 36, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hub-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 201, 36, 0.5);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.hub-card:hover::before {
  opacity: 1;
}

.hub-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.hub-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 201, 36, 0.12);
  border: 1px solid rgba(255, 201, 36, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.hub-card-badge {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-accent);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hub-card-title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.hub-card-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 22px;
  flex-grow: 1;
}

.hub-card-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gold-primary);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  margin-top: auto;
}

.hub-card:hover .hub-card-action {
  color: #fff;
  transform: translateX(4px);
}

.hub-card-action svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.hub-card:hover .hub-card-action svg {
  transform: translateX(3px);
}

