/* =========================================
   COLOUR TOKENS
   --bg:        #080c14  deep navy-black
   --surface:   #0e1520  card base
   --surface2:  #141d2e  elevated card
   --gold:      #c4a64c  champagne gold
   --gold-hi:   #dbbf6e  hover / highlight
   --gold-dim:  #9e8340  subdued gold
   --slate:     #b8c8d8  muted text / borders
   --text:      #e2e8f0  primary text
   --text-sub:  #cbd5e1  body copy
   ========================================= */

/* =========================================
   1. RESET & BASE STYLES
   ========================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  width: 100%; height: 100vh; background: #080c14;
  font-size: 1.0em;
  font-family: 'Rajdhani', 'Orbitron', 'Exo 2', system-ui, -apple-system, sans-serif;
  color: #e2e8f0;
}
body { min-height: 100%; }

/* =========================================
   2. TYPOGRAPHY
   ========================================= */
h1 { font-size: 2.2rem; font-weight: 600; letter-spacing: 0.05em; color: #c4a64c; text-shadow: 0 0 12px rgba(196,166,76,0.25); }
h2 { font-size: 1.35rem; font-weight: 500; color: #e2e8f0; transition: color 0.3s ease; border-left: none; padding-left: 0; }
h3 { font-size: 1.2rem; padding: 0.5rem; color: #e2e8f0; font-weight: 500; }
h4 { font-weight: 400; padding: 0.5rem; color: #e2e8f0; }
p { padding: 0.5rem; line-height: 1.6; color: #cbd5e1; }
a:link, a:visited { color: #c4a64c; text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #dbbf6e; text-shadow: 0 0 8px rgba(196,166,76,0.35); }
a:active { color: #9e8340; }

/* =========================================
   3. GLOBAL LAYOUT
   ========================================= */
#container {
  display: grid; height: 100vh;
  grid-template-columns: [left] auto [right];
  grid-template-rows: [top] auto auto auto [bottom];
  grid-template-areas: "head" "mainbody" "foot";
}
#header {
  grid-area: head;
  background: linear-gradient(180deg, #0a0f1c 0%, rgba(8,12,20,0.85) 100%);
  border-bottom: 1px solid rgba(196,166,76,0.3);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  display: flex; flex-direction: row;
  justify-content: space-between; align-items: baseline;
  padding: 1.5rem 2rem;
}
#header img { height: 5rem; margin-left: 1.5rem; }
#mainbody {
  display: flex; flex-direction: column; grid-area: mainbody;
  justify-self: center; width: 100%; max-width: 1400px;
  padding: 2rem; margin: 0 auto;
}
section { padding: 0.5rem; flex-grow: 1; }
#footer {
  grid-area: foot; display: flex; flex-direction: column;
  justify-content: center; align-items: center; padding: 1.5rem;
  background: linear-gradient(0deg, #0a0f1c 0%, rgba(8,12,20,0.85) 100%);
  border-top: 1px solid rgba(196,166,76,0.3);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}
#panel { display: none; }
.headspace, .panspace, .footspace, .bodyspace { flex-grow: 1; }

.instruction-img {
  display: block; max-width: 100%; height: auto; margin: 1.5rem auto;
  border-radius: 8px; border: 1px solid rgba(148,163,184,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, border-color 0.3s ease;
  image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges;
}
.instruction-img:hover { border-color: rgba(196,166,76,0.5); transform: scale(1.02); }

/* =========================================
   4. NAVIGATION & MENUS
   ========================================= */
.navitem { font-weight: 400; padding: 0 0.5rem 0 1rem; color: #e2e8f0; transition: color 0.3s ease; }
.navitem:hover { color: #c4a64c; }
#menu {
  position: fixed; inset: 0;
  background: rgba(5,8,14,0.7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  z-index: 999; display: flex; justify-content: flex-end;
  visibility: hidden; opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
#menu.menu-open { visibility: visible; opacity: 1; pointer-events: all; }
#menuitems { display: flex; flex-direction: column; padding: 1rem; }
#menuitems h3 { border-top: 1px solid rgba(148,163,184,0.15); transition: background-color 0.2s ease; }
#menuitems .sectrule { border-color: rgba(196,166,76,0.4); }
#menuitems .menuhead { border-top: none; }
#menuitems h3:hover { background-color: rgba(196,166,76,0.08); }
#menuitems .alignright { text-align: right; }
.menubutton { text-align: right; cursor: pointer; user-select: none; }
#header h1.menubutton { display: none; border: 2px solid transparent; }
#header .placeholder { color: transparent; user-select: none; }
.menu-links {
  background: var(--surface2, #141d2e); border-left: 1px solid rgba(196,166,76,0.2);
  width: 72vw; max-width: 300px; height: 100%;
  display: flex; flex-direction: column; padding: 5rem 2rem 2rem; gap: 0.25rem;
  animation: slideIn 0.25s ease;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.menu-links a { color: var(--text,#e2e8f0); text-decoration: none; font-size: 1.2rem; padding: 0.85rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); transition: color 0.2s; }
.menu-links a:hover { color: var(--gold,#c4a64c); }
.menu-close { position: absolute; top: 1.2rem; right: 1.2rem; background: none; border: none; color: var(--slate,#b8c8d8); font-size: 1.4rem; cursor: pointer; padding: 0.4rem 0.6rem; line-height: 1; transition: color 0.2s; }
.menu-close:hover { color: var(--gold,#c4a64c); }

.example-caption { margin-top: 0.75rem; font-size: 0.9rem; color: var(--slate,#b8c8d8); line-height: 1.6; }
.footer-social { display: flex; gap: 1.25rem; justify-content: center; margin-top: 0.85rem; }
.footer-social-link { display: flex; align-items: center; opacity: 0.45; transition: opacity 0.2s; }
.footer-social-link:hover { opacity: 1; }
.social-icon { width: 28px; height: 28px; filter: invert(1); }
.lang-switcher { display: flex; align-items: center; gap: 0.35rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; margin-left: 1rem; }
.lang-switcher a { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--slate,#b8c8d8); text-decoration: none; transition: color 0.2s; }
.lang-switcher a:hover, .lang-switcher a.lang-active { color: var(--gold,#c4a64c); }
.lang-switcher span { color: var(--slate,#b8c8d8); opacity: 0.4; }
.lang-switcher-mobile { margin: 1rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06); font-size: 1rem; }

/* =========================================
   5. GENERAL COMPONENTS
   ========================================= */
#partners, #sections { display: flex; flex-direction: row; flex-wrap: wrap; align-content: flex-start; gap: 1rem; }
.sectionlink, .partnerlink {
  border-radius: 0.25rem; font-weight: 400; font-size: 1.1rem; padding: 0.75rem;
  width: 8rem; margin-bottom: 1rem;
  background: linear-gradient(135deg,#0e1520 0%,#1e293b 100%);
  border: 1px solid rgba(196,166,76,0.35);
  transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.sectionlink:hover, .partnerlink:hover { background: linear-gradient(135deg,#1e293b 0%,#0e1520 100%); box-shadow: 0 4px 16px rgba(196,166,76,0.2); transform: translateY(-2px); }
.partnerlink { height: 8rem; }
.partnerlink.wide { margin: 0.5rem 1rem 0.5rem 0; }
.clickable-area { height: 100%; }

.eventitem, .announceitem, .motditem { margin-bottom: 1rem; padding: 1rem; background: rgba(14,21,32,0.5); border-left: 3px solid #c4a64c; border-radius: 0.25rem; transition: background 0.3s ease; }
.eventitem:hover, .announceitem:hover, .motditem:hover { background: rgba(14,21,32,0.8); }
.title { font-style: normal; font-weight: 500; font-size: 1.15rem; color: #c4a64c; letter-spacing: 0.02em; }
.date, .ingredient { font-style: italic; font-size: 0.9rem; padding: 0 0 0.01rem 0.5rem; color: #b8c8d8; }

table { border-collapse: collapse; width: 100%; margin-bottom: 1.5rem; background: rgba(14,21,32,0.4); border-radius: 0.5rem; overflow: hidden; }
th { text-align: left; background: #0e1520; color: #c4a64c; font-weight: 600; letter-spacing: 0.05em; }
tr { margin: 4rem 0 0 0; border-bottom: 1px solid rgba(196,166,76,0.12); transition: background 0.2s ease; }
tr:hover { background: rgba(148,163,184,0.06); }
td, th { padding: 0.75rem; vertical-align: top; }
td.price { white-space: nowrap; color: #c4a64c; font-weight: 600; }
td.qty, th.qty { text-align: center; }
span.perunit { opacity: 0.6; color: #b8c8d8; }

/* =========================================
   6. INFO BANNER
   ========================================= */
.info-banner {
  background: rgba(14,21,32,0.95); padding: 1rem 2rem !important;
  display: flex; justify-content: center; align-items: center;
  position: relative; border-bottom: 1px solid rgba(196,166,76,0.35);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.info-banner::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg,#c4a64c,#9e8340); }
.banner-content { display: flex; align-items: center; gap: 1rem; max-width: 1200px; width: 100%; justify-content: center !important; text-align: center; }
.banner-icon { font-size: 1.3rem; flex-shrink: 0; }
.banner-text { color: #cbd5e1; font-size: 1.05rem !important; margin: 0; padding: 0; flex-grow: 1; text-align: center; }
.banner-text strong { color: #c4a64c; font-weight: 700; font-size: 1.05rem !important; }
.banner-link, .banner-link:link, .banner-link:visited { color: #dbbf6e !important; text-decoration: underline; text-underline-offset: 3px; font-weight: 600; text-shadow: none !important; }
.banner-link:hover { color: #e8d08a !important; text-shadow: none !important; }
.banner-link:active { color: #c4a64c !important; }
.banner-close { background: transparent; border: none; color: #b8c8d8; font-size: 1.2rem; cursor: pointer; padding: 0.5rem; line-height: 1; transition: color 0.2s ease, transform 0.2s ease; }
.banner-close:hover { color: #e2e8f0; transform: scale(1.2); }
.info-banner.hidden { display: none; }

/* =========================================
   6.5. FORMS & AUTHENTICATION
   ========================================= */
#contactForm, #registerForm, #loginForm { max-width: 600px; margin: 2rem 0; }
.controls-card { display: flex; flex-direction: column !important; align-items: center; padding: 1rem; justify-content: flex-start !important; }
.controls-card h2 { margin-bottom: 1.5rem; text-align: center; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: #c4a64c; font-weight: 500; }
.form-group input, .form-group textarea { width: 100%; padding: 0.75rem; background: rgba(14,21,32,0.6); border: 1px solid rgba(148,163,184,0.2); border-radius: 0.25rem; color: #e2e8f0; font-family: inherit; font-size: 1rem; transition: border-color 0.3s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: rgba(196,166,76,0.6); box-shadow: 0 0 10px rgba(196,166,76,0.15); }
#tradeForm .form-group { margin-bottom: 1.5rem; }
#tradeForm label { display: block; margin-bottom: 0.5rem; color: #c4a64c; font-weight: 500; font-size: 1rem; }
#tradeForm select, #tradeForm input[type="number"] { padding: 0.75rem; background: rgba(14,21,32,0.7); border: 1px solid rgba(148,163,184,0.2); border-radius: 0.25rem; color: #e2e8f0; font-family: inherit; font-size: 1rem; transition: border-color 0.3s ease; }
#tradeForm select { width: 100%; }
#tradeForm input[type="number"] { width: 87.5%; }
#tradeForm select:focus, #tradeForm input[type="number"]:focus { outline: none; border-color: rgba(196,166,76,0.6); box-shadow: 0 0 10px rgba(196,166,76,0.15); }
#tradeForm select option { background: #0e1520; color: #e2e8f0; }
.input-hint { display: block; margin-top: 0.25rem; font-size: 0.85rem; color: #b8c8d8; font-style: italic; }
.password-wrapper { position: relative; display: flex; align-items: center; }
.password-wrapper input { flex: 1; padding-right: 3rem; }
.toggle-password { position: absolute; right: 1rem; cursor: pointer; font-size: 1.2rem; user-select: none; opacity: 0.7; transition: opacity 0.3s ease; }
.toggle-password:hover { opacity: 1; }
.auth-card { max-width: 520px; margin: 0 auto; background: rgba(14,21,32,0.6); border: 1px solid rgba(196,166,76,0.15); border-radius: 0.75rem; padding: 2.5rem 2.5rem 2rem; box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.auth-intro { color: var(--slate,#b8c8d8); font-size: 0.95rem; margin-bottom: 1.5rem; padding: 0.75rem 1rem; background: rgba(196,166,76,0.06); border-left: 2px solid rgba(196,166,76,0.4); border-radius: 0 0.25rem 0.25rem 0; }
.auth-intro strong { color: var(--gold-hi,#dbbf6e); }
.auth-tabs { display: flex; gap: 1rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(148,163,184,0.2); }
.tab-button { background: transparent; border: none; color: #b8c8d8; padding: 1rem 2rem; font-size: 1.2rem; font-weight: 600; font-family: 'Rajdhani','Orbitron','Exo 2',system-ui,sans-serif; letter-spacing: 0.05em; cursor: pointer; transition: all 0.3s ease; border-bottom: 2px solid transparent; margin-bottom: -1px; text-transform: uppercase; }
.tab-button:hover { color: #dbbf6e; background: rgba(196,166,76,0.06); }
.tab-button.active { color: #c4a64c; border-bottom-color: #c4a64c; background: rgba(196,166,76,0.08); }
.tab-content { display: none; }
.tab-content.active { display: block; }
.remember-me { margin: 1rem 0; }
.checkbox-label { display: flex; align-items: center; gap: 1.5rem; cursor: pointer; color: #e2e8f0; font-size: 1rem; }
.checkbox-label input[type="checkbox"] { width: auto; cursor: pointer; accent-color: #c4a64c; }
.checkbox-label:hover { color: #c4a64c; }
.login-link, .register-link { margin-top: 1rem; padding: 0.5rem; text-align: center; }
.login-link a, .register-link a { color: #c4a64c; font-weight: 500; }
.forgot-password-link { text-align: center; margin-top: 1rem; padding: 0.5rem; }
.forgot-password-link a { color: #b8c8d8; font-size: 0.9rem; }
.forgot-password-link a:hover { color: #c4a64c; }
#contactForm button, #registerForm button, #loginForm button, button[type="submit"] { background: linear-gradient(135deg,#0e1520 0%,#1e293b 100%); border: 1px solid rgba(196,166,76,0.5); color: #e2e8f0; padding: 0.875rem 2.5rem; font-size: 1.15rem; font-weight: 600; font-family: 'Rajdhani','Orbitron','Exo 2',system-ui,sans-serif; letter-spacing: 0.05em; border-radius: 0.375rem; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.3); text-transform: uppercase; margin-top: 1rem; width: 100%; }
#contactForm button:hover, #registerForm button:hover, #loginForm button:hover, button[type="submit"]:hover { background: linear-gradient(135deg,#c4a64c 0%,#9e8340 100%); color: #080c14; border-color: #dbbf6e; box-shadow: 0 6px 20px rgba(196,166,76,0.25); transform: translateY(-2px); }
#contactForm button:active, #registerForm button:active, #loginForm button:active, button[type="submit"]:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(196,166,76,0.2); }
#tradeForm button { width: 100%; margin-top: 1rem; }
.success-message { background: rgba(76,175,80,0.12); border-left: 3px solid #4caf50; color: #4caf50; padding: 1rem 1rem 1rem 1.25rem; margin-bottom: 1.5rem; border-radius: 0.25rem; display: flex; align-items: center; gap: 0.6rem; }
.error-message { background: rgba(244,67,54,0.12); border-left: 3px solid #f44336; color: #f44336; padding: 1rem; margin-bottom: 1.5rem; border-radius: 0.25rem; }
.g-recaptcha { margin: 1rem 0; display: flex; justify-content: center; }

/* =========================================
   6.9 HOMEPAGE
   ========================================= */
#mainbody::before { content: ''; position: fixed; inset: 0; background-image: linear-gradient(rgba(196,166,76,0.012) 1px,transparent 1px),linear-gradient(90deg,rgba(196,166,76,0.012) 1px,transparent 1px); background-size: 60px 60px; pointer-events: none; z-index: 0; }
.hero-section { position: relative; z-index: 1; padding: 5rem 2rem 4rem; text-align: center; overflow: hidden; background: radial-gradient(ellipse 70% 50% at 50% -10%,rgba(196,166,76,0.07) 0%,transparent 70%),#080c14; }
.hero-section::after { content: ''; position: absolute; bottom: 0; left: 15%; right: 15%; height: 1px; background: linear-gradient(90deg,transparent,rgba(196,166,76,0.3),transparent); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #c4a64c; background: rgba(196,166,76,0.07); border: 1px solid rgba(196,166,76,0.25); padding: 6px 16px; border-radius: 100px; margin-bottom: 1.75rem; }
.hero-section h1 { font-size: clamp(1.6rem,3.5vw,2.4rem) !important; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; color: #c4a64c; text-shadow: 0 0 50px rgba(196,166,76,0.15); max-width: 820px; margin: 0 auto 1.25rem; }
.hero-lead { font-size: 1.1rem !important; color: #b8c8d8; max-width: 600px; margin: 0 auto 2.25rem; line-height: 1.75; font-weight: 300; padding: 0; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 0.5rem; }
.hero-btns-equal { flex-wrap: wrap; }
.hero-btns-equal a { flex: 1 1 160px; text-align: center; }
.hero-oneliner { font-size: 1rem !important; font-style: italic; color: #e2e8f0; border-left: 3px solid rgba(196,166,76,0.5); margin: 1.5rem auto 0; padding: 0.75rem 1.25rem; max-width: 520px; text-align: left; background: rgba(196,166,76,0.04); border-radius: 0 6px 6px 0; line-height: 1.6; }
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(196,166,76,0.1); }
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-num { font-family: 'Orbitron','Rajdhani',system-ui; font-size: 1.6rem; font-weight: 700; color: #c4a64c; line-height: 1; }
.stat-label { font-size: 0.72rem; color: #b8c8d8; letter-spacing: 0.06em; text-transform: uppercase; }

.homepage-section { position: relative; z-index: 1; padding: 3.5rem 0 2.5rem; border-bottom: 1px solid rgba(196,166,76,0.06); text-align: center; }
.homepage-section:last-of-type { border-bottom: none; }
.section-label { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: #c4a64c; margin-bottom: 0.75rem; padding: 0 0.5rem; }
.section-label::before { content: ''; display: block; width: 22px; height: 1px; background: #c4a64c; flex-shrink: 0; }
.homepage-section h2 { font-size: clamp(1.35rem,3vw,1.93rem); font-weight: 700; color: #dbbf6e; letter-spacing: -0.015em; line-height: 1.15; margin-bottom: 0.75rem; padding: 0 0.5rem; border-left: none; text-shadow: 0 0 25px rgba(196,166,76,0.1); }
.section-intro { font-size: calc(0.92rem + 0.1666rem); color: #b8c8d8; max-width: 680px; line-height: 1.75; margin: 0 auto 2rem; font-weight: 300; padding: 0 0.5rem; }
.section-callout { margin-top: 1.5rem; padding: 0.75rem 1rem 0.75rem 1.25rem; border-left: 2px solid rgba(196,166,76,0.4); color: #b8c8d8; font-size: calc(0.88rem + 0.1666rem); font-style: italic; background: rgba(196,166,76,0.03); border-radius: 0 6px 6px 0; max-width: 680px; margin-left: auto; margin-right: auto; }
.section-callout a { color: #c4a64c; font-weight: 600; }
.section-cta { display: flex; justify-content: center; margin-top: 1.5rem; }

.homepage-section .scenario-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin: 1.75rem 0 1rem; }
.homepage-section .scenario-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 7px; padding: 1.25rem 1rem; background: rgba(14,21,32,0.6); border: 1px solid rgba(196,166,76,0.12); border-top: 2px solid rgba(196,166,76,0.6); border-radius: 6px; transition: background 0.25s,transform 0.25s,box-shadow 0.25s; }
.homepage-section .scenario-item:hover { background: rgba(196,166,76,0.06); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); border-color: rgba(196,166,76,0.35); }
.scenario-icon { font-size: 2rem; line-height: 1; }
.scenario-name { display: block; font-size: calc(0.88rem+0.0833rem); font-weight: 600; color: #c4a64c; letter-spacing: 0.02em; }
.scenario-desc { display: none; }

.assets-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.5rem; justify-content: center; }
.asset-chip { display: inline-flex; align-items: center; gap: 10px; background: rgba(14,21,32,0.6); border: 1px solid rgba(196,166,76,0.18); border-radius: 100px; padding: 9px 18px 9px 12px; font-size: calc(0.88rem+0.0833rem); font-weight: 500; color: #e2e8f0; transition: border-color 0.2s,background 0.2s; }
.asset-chip:hover { border-color: rgba(196,166,76,0.45); background: rgba(196,166,76,0.05); }
.asset-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.asset-coming { font-size: 0.7rem; color: #b8c8d8; margin-left: 2px; }

.homepage-section .step-container { max-width: 720px; margin-left: auto; margin-right: auto; text-align: center; }
.homepage-section .eventitem { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; padding: 1.5rem; margin-bottom: 1px; border-radius: 0 !important; border-left: none; border-top: 3px solid rgba(196,166,76,0.2); background: rgba(14,21,32,0.4); transition: background 0.2s,border-color 0.2s; }
.homepage-section .eventitem:first-child { border-radius: 8px 8px 0 0 !important; }
.homepage-section .eventitem:last-child { border-radius: 0 0 8px 8px !important; margin-bottom: 0; }
.homepage-section .eventitem:hover { background: rgba(14,21,32,0.7); border-top-color: #c4a64c; border-left-color: transparent; }
.homepage-section .eventitem .instruction-img { max-width: 420px; margin: 1rem auto 0; }
.homepage-section .step-container .eventitem:nth-child(1) .instruction-img,
.homepage-section .step-container .eventitem:nth-child(3) .instruction-img { max-width: 210px; }
.homepage-section .step-number { background: linear-gradient(135deg,#c4a64c,#9e8340); color: #080c14; width: 34px; height: 34px; min-width: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: 'Orbitron','Rajdhani',system-ui; font-weight: 800; font-size: 0.8rem; flex-shrink: 0; margin-top: 2px; }
.step-body { flex: 1; }
.homepage-section .eventitem h3 { font-size: 1rem; font-weight: 600; color: #e2e8f0; margin-bottom: 0.4rem; padding: 0; }
.homepage-section .eventitem p { font-size: calc(0.875rem+0.1666rem); color: #b8c8d8; padding: 0; line-height: 1.65; }
.step-tip { margin-top: 0.75rem; padding: 0.6rem 0.9rem; background: rgba(196,166,76,0.05); border-left: 2px solid rgba(196,166,76,0.45); border-radius: 0 5px 5px 0; font-size: calc(0.8rem+0.1666rem); color: rgba(196,166,76,0.75); line-height: 1.5; }

.insights-section .motditem p { font-size: calc(0.9rem+0.1666rem); line-height: 1.75; }
.insights-section .motditem strong { color: #c4a64c; }
.motditem { text-align: center; }

.example-block { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(196,166,76,0.06); }
.example-block:last-child { border-bottom: none; margin-bottom: 0; }
.example-meta { margin-bottom: 0.6rem; }
.example-tag { display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 9px; border-radius: 4px; margin-bottom: 0.5rem; }
.example-tag.tag-btc { background: rgba(247,147,26,0.12); color: #e8a030; }
.example-tag.tag-gold { background: rgba(196,166,76,0.12); color: #c4a64c; }
.example-block h3 { font-size: 1.05rem; font-weight: 600; color: #e2e8f0; margin-bottom: 0.4rem; padding: 0 0.5rem; }
.example-block > p { font-size: 0.875rem; color: #b8c8d8; margin-bottom: 1rem; padding: 0 0.5rem; }
.example-img-row { display: flex; flex-direction: column; }
.example-img-row .instruction-img { margin: 0 auto 0 0; }
.example-block .instruction-img { max-width: 75%; display: block; margin: 0 auto; }

.cta-section { text-align: center; padding: 4rem 2rem; background: radial-gradient(ellipse 55% 60% at 50% 110%,rgba(196,166,76,0.06) 0%,transparent 70%),rgba(14,21,32,0.5); border: 1px solid rgba(196,166,76,0.12); border-radius: 10px; margin: 0.5rem 0.5rem 1.5rem; }
.cta-section h2 { font-size: clamp(1.43rem,3vw,2.23rem); font-weight: 700; color: #c4a64c; letter-spacing: -0.02em; margin-bottom: 0.75rem; text-shadow: 0 0 35px rgba(196,166,76,0.15); padding: 0; border-left: none; }
.cta-section p { font-size: calc(0.95rem+0.0833rem); color: #b8c8d8; max-width: 480px; margin: 0 auto 2rem; line-height: 1.75; padding: 0; }

.disclaimer-block { display: flex; gap: 12px; align-items: flex-start; background: rgba(255,255,255,0.02); border: 1px solid rgba(148,163,184,0.12); border-radius: 8px; padding: 1rem 1.25rem; margin-top: 1.5rem; text-align: center; }
.disclaimer-icon { font-size: 1rem; flex-shrink: 0; margin-top: 3px; }
.disclaimer-block p { font-size: calc(0.78rem+0.0833rem); color: #64748b; line-height: 1.65; padding: 0; margin: 0; }
.disclaimer-block strong { color: #b8c8d8; }

/* =========================================
   7. DASHBOARD & TRADING
   ========================================= */
.dashboard-content { width: 100%; max-width: 100%; margin: 0; padding: 1rem; background: transparent; border: none; }
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(196,166,76,0.25); }
.dashboard-card { background: rgba(14,21,32,0.5); border: 1px solid rgba(148,163,184,0.12); border-left: 2px solid rgba(196,166,76,0.4); border-radius: 0.5rem; padding: 0.5rem; height: 100%; display: flex; flex-direction: column; overflow: hidden; transition: all 0.3s ease; }
.dashboard-card:hover { background: rgba(14,21,32,0.75); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.dashboard-card h2 { margin-bottom: 0.5rem; font-size: 1.2rem !important; text-align: center; border-left: none; padding-left: 0; flex-shrink: 0; }
.card-scroll-area { flex-grow: 1; overflow-y: auto; padding: 0.5rem; }
.chart-card { padding: 0.5rem; touch-action: none; }
#tradingview-widget { width: 100%; height: 100%; min-height: 0; touch-action: none; }
.logout-button { background: linear-gradient(135deg,#0e1520 0%,#1e293b 100%); border: 1px solid rgba(244,67,54,0.4); color: #e2e8f0; padding: 0.5rem 1rem; border-radius: 0.25rem; cursor: pointer; transition: all 0.3s; }
.logout-button:hover { border-color: #f44336; color: #f44336; }

/* =========================================
   7.5 DASHBOARD GRID & RIGHT COLUMN
   ========================================= */
.dashboard-grid {
  display: grid !important;
  grid-template-columns: 2fr 3fr !important;
  grid-template-rows: 1fr !important;
  gap: 0.75rem !important;
  height: calc(100vh - 160px);
  align-items: stretch;
  margin-top: 0.5rem;
  box-sizing: border-box;
}

/* Right column: switcher + results stacked */
.dashboard-right-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem;
  height: 100%;
  min-height: 0;
}

/* ── TOP PANEL SWITCHER ──────────────────────────────────────────────────
   Wraps both #pivot-panel (Auto) and .controls-card (Manual).
   Always occupies the same flex share regardless of which child is shown.
   ─────────────────────────────────────────────────────────────────────── */
.top-panel-switcher {
  flex: 1 1 0 !important;
  min-height: 0;
  position: relative;
}
.top-panel-switcher #pivot-panel,
.top-panel-switcher .controls-card {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

/* Results: always takes 2× the space of the top panel */
.dashboard-right-col .results-card {
  flex: 2 1 0 !important;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.dashboard-right-col .results-card .card-scroll-area {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

@media screen and (min-width: 769px) {
  .dashboard-grid .chart-card { height: 100%; }
  .dashboard-grid .chart-card #tradingview-widget { height: calc(100% - 40px); }
  .dashboard-grid .dashboard-right-col { height: 100%; }
}
@media screen and (max-width: 768px) {
  .dashboard-grid { grid-template-columns: 1fr !important; grid-template-rows: auto !important; height: auto !important; }
  .dashboard-right-col { height: auto !important; display: contents; }
  .top-panel-switcher { flex: none !important; height: auto; }
  .top-panel-switcher .controls-card,
  .top-panel-switcher #pivot-panel { height: auto; }
}

/* ── Pivot Panel ── */
#pivot-panel { margin-top: 0; }
.pivot-panel-inner { background: rgba(14,21,32,0.8); border: 1px solid rgba(196,166,76,0.2); border-radius: 8px; padding: 0.85rem 1rem; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; }
.pivot-panel-body { display: flex; gap: 0.75rem; flex: 1; min-height: 0; }
.pivot-chart-col { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.pivot-data-col { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 0.5rem; min-width: 0; }
.pivot-data-row { display: flex; gap: 0.75rem; flex: 1; }
.pivot-data-row .pivot-preview-field { flex: 1; }
.pivot-data-row .pivot-preview-value { font-size: 1.1rem; font-weight: 700; color: #e2e8f0; }
.pivot-chart-wrap { flex: 1; min-height: 0; height: 80px !important; background: #080c14; border-radius: 6px; overflow: hidden; border: 1px solid rgba(148,163,184,0.08); }
#pivot-mini-chart { width: 100%; height: 80px; display: block; }
.pivot-legend { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.pivot-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.pivot-dot-high { background: #f87171; }
.pivot-dot-low { background: #4ade80; }
.pivot-dot-potential { background: #ffaa00; }
.pivot-legend-label { font-size: 0.82rem; color: #94a3b8; margin-right: 6px; }
.pivot-divider { border: none; border-top: 1px solid rgba(148,163,184,0.08); margin: 8px 0; }
.pivot-label { font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #c4a64c; margin-bottom: 5px; }
.pivot-badges { display: flex; gap: 5px; margin-bottom: 4px; flex-wrap: wrap; }
.pivot-badge { font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; letter-spacing: 0.04em; }
.pivot-badge-bullish { background: rgba(74,222,128,0.12); color: #4ade80; border: 1px solid rgba(74,222,128,0.3); }
.pivot-badge-bearish { background: rgba(248,113,113,0.12); color: #f87171; border: 1px solid rgba(248,113,113,0.3); }
.pivot-badge-potential { background: rgba(255,170,0,0.1); color: #ffaa00; border: 1px solid rgba(255,170,0,0.3); }
.pivot-badge-neutral { background: rgba(148,163,184,0.1); color: #94a3b8; border: 1px solid rgba(148,163,184,0.2); }
.pivot-value { font-size: 18px; font-weight: 600; color: #e2e8f0; line-height: 1.2; }
.pivot-sub { font-size: 10px; color: #64748b; margin-top: 2px; }
.pivot-autofill-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pivot-autofill-label { font-size: 0.75rem; color: #64748b; letter-spacing: 0.04em; text-transform: uppercase; flex: 0 0 100%; margin-bottom: 4px; }
.pivot-inputs-preview { display: flex; gap: 8px; flex: 1; }
.pivot-preview-field { flex: 1; }
.pivot-preview-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #c4a64c; margin-bottom: 3px; }
.pivot-preview-value { background: #0e1520; border: 1px solid rgba(196,166,76,0.3); border-radius: 5px; padding: 5px 8px; font-size: 0.9rem; color: #e2e8f0; }
.pivot-footer { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; font-size: 0.82rem; }
.pivot-ghost-btn { background: transparent; border: 1px solid rgba(184,200,216,0.15); color: #94a3b8; border-radius: 5px; padding: 4px 10px; font-size: 0.82rem; cursor: pointer; }
.pivot-ghost-btn:hover { border-color: rgba(196,166,76,0.3); color: #c4a64c; }
.pivot-status-text { font-size: 10px; color: #4ade80; }
.pivot-last-pivot { font-size: 0.78rem; color: var(--slate,#b8c8d8); margin-bottom: 6px; opacity: 0.8; }
@media screen and (max-width: 768px) {
  .pivot-panel-body { flex-direction: column; }
  .pivot-chart-col { display: none; }
  .pivot-data-col { width: 100%; }
  .pivot-data-row { gap: 1.5rem; justify-content: center; margin: 0.5rem 0; }
  .pivot-data-row .pivot-preview-value { font-size: 1.5rem !important; font-weight: 700; color: var(--gold,#c4a64c); }
  .pivot-data-row .pivot-preview-label { font-size: 0.8rem; text-align: center; }
  .pivot-last-pivot { font-size: 0.78rem; text-align: center; }
  .pivot-footer { justify-content: center; }
}

/* ── Controls card ── */
.controls-title { text-align: center; font-size: 1rem !important; color: var(--gold,#c4a64c); margin-bottom: 0.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(196,166,76,0.15); }
.controls-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; }

/* ── Inline params row ── */
.params-row {
  display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important;
  align-items: flex-end !important; gap: 1rem !important;
  padding: 1rem !important; width: 100% !important; box-sizing: border-box !important;
}
.params-field {
  flex: 1 1 0% !important; min-width: 0 !important;
  display: flex !important; flex-direction: column !important; gap: 0.3rem !important; width: auto !important;
}
.params-field input { width: 100% !important; min-width: 0 !important; box-sizing: border-box !important; padding: 0.6rem 0.75rem !important; font-size: 1rem !important; }
.params-field label { font-size: 0.8rem !important; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gold,#c4a64c); margin: 0; }
.params-btn { flex: 0 0 auto !important; width: auto !important; min-width: 100px !important; align-self: flex-end !important; white-space: nowrap !important; height: auto !important; padding: 0.65rem 1rem !important; font-size: 0.9rem !important; margin-top: 0 !important; margin-bottom: 0 !important; box-sizing: border-box !important; }
@media screen and (max-width: 768px) {
  .params-row { flex-direction: column !important; }
  .params-btn { width: 100% !important; }
}

/* ── Params hints row ── */
.params-hints-row { display: flex; gap: 1rem; padding: 0.25rem 1rem 0.75rem; box-sizing: border-box; }
.params-hints-row .input-hint { flex: 1; min-width: 0; font-size: 0.75rem !important; color: var(--slate,#b8c8d8); font-style: italic; }
.params-hint-spacer { flex: 0 0 auto; width: 120px; }
@media screen and (max-width: 768px) {
  .params-hints-row { flex-direction: column; gap: 0.15rem; padding: 0.25rem 1rem 0.5rem; }
  .params-hint-spacer { display: none; }
}

/* =========================================
   8. RESULTS & SCENARIOS
   ========================================= */
.results-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin-top: 2rem; }
.results-full-width { margin-top: 2rem; width: 100%; }
.results-card { background: rgba(14,21,32,0.5); border: 1px solid rgba(148,163,184,0.12); border-left: 2px solid rgba(196,166,76,0.4); border-radius: 0.5rem; padding: 0.5rem; }
.results-card h2 { margin-bottom: 0 !important; padding-bottom: 0.1rem !important; border-left: none; padding-left: 0; text-align: center; }
.results-card.scenarios-card h2 { margin-bottom: 1.5rem; }
.result-row { display: flex; justify-content: space-between; padding: 0.25rem 0; border-bottom: 1px solid rgba(148,163,184,0.1); }
.result-row:last-child { border-bottom: none; }
.result-row .label { color: #b8c8d8; font-size: 0.95rem; }
.result-row .value { color: #e2e8f0; font-weight: 600; }
.result-row.large { font-size: 1.3rem; padding: 1rem 0; }
.result-row.large .value { color: #c4a64c; font-size: 1.5rem; }
.impossible-text { color: #f44336 !important; }
.scenario-column { width: 100%; margin: 0 0 0.5rem; padding: 0.5rem; background: rgba(196,166,76,0.02); border-radius: 0.5rem; border: 1px solid rgba(148,163,184,0.1); display: flex; flex-direction: column; gap: 0.1rem; }
.scenario-column.impossible { background: rgba(244,67,54,0.07); border-color: rgba(244,67,54,0.25); }
.scenario-column h3 { font-size: 1.1rem !important; font-weight: 700; color: #c4a64c; text-align: center; margin-bottom: 0 !important; padding-bottom: 0.1rem !important; border-bottom: none !important; }
.scenario-odds { font-size: 1rem; font-weight: 600; color: var(--slate,#b8c8d8); text-align: center; margin: 0.1rem 0 0.3rem; }
.probability-display { background: rgba(196,166,76,0.08); border: 1px solid rgba(196,166,76,0.3); border-radius: 0.25rem; padding: 0.3rem 0.6rem; text-align: center; margin-bottom: 0.2rem; width: 100%; box-sizing: border-box; }
.probability-display.impossible { background: rgba(244,67,54,0.08); border-color: rgba(244,67,54,0.3); }
.probability-value { color: #c4a64c; font-size: 1.1rem !important; font-weight: 700; }
.probability-value.impossible-text { color: #f44336 !important; font-size: 1.3rem; }
.probability-label { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold,#c4a64c); margin-top: 0.3rem; }
.dashboard-subtitle { color: var(--slate,#b8c8d8); font-size: 1.1rem !important; margin: 0.25rem 0 0; }
.placeholder-text { text-align: center; padding: 2rem 1rem; color: var(--slate,#b8c8d8); font-size: 0.95rem !important; }
.subscription-banner { margin-top: 2rem; padding: 1rem 1rem 1.25rem; background: rgba(196,166,76,0.06); border: 1px solid rgba(196,166,76,0.2); border-radius: 0.5rem; text-align: center; }
.subscription-banner p { font-size: calc(0.85rem+0.0833rem); color: var(--slate,#b8c8d8); margin: 0 0 0.85rem; line-height: 1.4; }
.subscription-banner-link { margin: 0.75rem 0 0 !important; }
.subscription-banner-link a { color: var(--slate,#b8c8d8); font-size: calc(0.85rem+0.0833rem); text-decoration: none; transition: color 0.2s; }
.subscription-banner-link a:hover { color: var(--gold,#c4a64c); }
.subscription-banner .btn-primary { display: block; width: 100%; padding: 0.6rem 1rem; font-size: 0.9rem; }
.chart-container { width: 100%; height: 75px !important; position: relative; background: rgba(8,12,20,0.4); border-radius: 4px; margin-top: 1.25px; }
canvas { display: block; width: 100% !important; height: 100% !important; }

/* =========================================
   9. TOP BAR
   ========================================= */
.dashboard-top-bar { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.dashboard-top-bar .dashboard-asset-bar { margin: 0; flex: 1; }
#mode-toggle { display: flex !important; align-items: center; background: rgba(14,21,32,0.8); border: 1px solid rgba(196,166,76,0.25); border-radius: 8px; padding: 3px; gap: 2px; flex-shrink: 0; }
.mode-btn { background: transparent; border: none; color: var(--slate,#b8c8d8); border-radius: 6px; padding: 0.35rem 1rem; font-size: 0.82rem; font-weight: 600; cursor: pointer; letter-spacing: 0.04em; transition: all 0.15s; }
.mode-btn-active { background: rgba(196,166,76,0.15); color: var(--gold,#c4a64c); border: 1px solid rgba(196,166,76,0.3); }
.dashboard-asset-bar { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; padding: 0.6rem 0.85rem; background: var(--surface2,#141d2e); border: 1px solid rgba(196,166,76,0.2); border-radius: 6px; }
.dashboard-asset-bar label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold,#c4a64c); white-space: nowrap; margin: 0; }
.dashboard-asset-bar select { flex: 1; background: var(--surface,#0e1520); border: 1px solid rgba(196,166,76,0.3); color: var(--text,#e2e8f0); padding: 0.4rem 0.6rem; border-radius: 4px; font-size: 0.95rem; }
@media screen and (min-width: 769px) {
  .dashboard-asset-bar { margin-left: calc(40% + 0.5rem); width: calc(60% - 0.5rem); box-sizing: border-box; margin-bottom: 0.5rem; }
}

/* =========================================
   10. MOBILE DASHBOARD
   ========================================= */
.dashboard-tabs { display: none; }
@media screen and (max-width: 768px) {
  .dashboard-content { padding: 0.75rem; }
  .chart-card { height: 420px; overflow: hidden; }
  #tradingview-widget { height: 100%; min-height: 380px; }
  .dashboard-tabs { display: flex; gap: 0; margin-bottom: 0.75rem; border-radius: 6px; overflow: hidden; border: 1px solid rgba(196,166,76,0.25); }
  .dashboard-tab { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 0.15rem; line-height: 1.2; padding: 0.6rem 0.5rem; background: var(--surface,#0e1520); color: var(--slate,#b8c8d8); border: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; transition: all 0.2s; border-right: 1px solid rgba(196,166,76,0.15); }
  .dashboard-tab:last-child { border-right: none; }
  .dashboard-tab.active { background: rgba(196,166,76,0.12); color: var(--gold,#c4a64c); }
  .dashboard-card.mobile-hidden { display: none; }
  .results-card { max-height: none; }
  .scenarios-list { display: flex; flex-direction: column; gap: 0.75rem; }
  .dashboard-top-bar { flex-direction: column; align-items: stretch; }
}
.tab-icon { display: block; font-size: 1.1rem; line-height: 1; }
.tab-label { display: block; font-size: 0.72rem; line-height: 1.2; }

/* Chart fullscreen mobile */
#scroll-blocker { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; background: transparent; }
html.chart-tab-active, html.chart-tab-active body { overflow: hidden; overscroll-behavior: none; touch-action: none; }
html.chart-tab-active .chart-card, html.chart-tab-active .chart-card * { touch-action: auto; }
html.chart-tab-active .dashboard-tabs, html.chart-tab-active .dashboard-header, html.chart-tab-active .dashboard-asset-bar { touch-action: auto; }
#chart-expand-hint { display: none; }
@media screen and (max-width: 768px) {
  body.chart-active { overflow: hidden; }
  .chart-card { position: relative; cursor: pointer; z-index: 11; }
  .chart-card.chart-fs { position: fixed !important; top: 0 !important; left: 0 !important; width: 100vw !important; height: 100vh !important; height: 100dvh !important; z-index: 9998 !important; border-radius: 0 !important; padding: 0 !important; margin: 0 !important; overflow: hidden !important; cursor: default; }
  .chart-card.chart-fs #tradingview-widget, .chart-card.chart-fs #tradingview-widget iframe { width: 100% !important; height: 100% !important; }
  #chart-close-btn { display: none; position: absolute; top: 0.6rem; right: 0.6rem; z-index: 9999; background: rgba(14,21,32,0.92); color: var(--gold,#c4a64c); border: 1px solid var(--gold,#c4a64c); border-radius: 50%; width: 32px; height: 32px; font-size: 0.9rem; font-weight: 700; cursor: pointer; line-height: 1; }
  .chart-fs #chart-close-btn { display: flex; align-items: center; justify-content: center; }
  .mobile-chart-tip { font-size: 0.82rem; color: var(--slate,#b8c8d8); background: rgba(196,166,76,0.06); border-left: 2px solid rgba(196,166,76,0.4); border-radius: 4px; padding: 0.65rem 0.85rem; margin-top: 0.5rem; line-height: 1.5; cursor: pointer; }
  .chart-tap-hint { position: absolute; bottom: 0.5rem; right: 0.5rem; background: rgba(14,21,32,0.85); color: var(--gold,#c4a64c); border: 1px solid rgba(196,166,76,0.4); border-radius: 6px; padding: 0.3rem 0.6rem; font-size: 0.72rem; font-weight: 600; pointer-events: none; z-index: 10; }
  .chart-fs .chart-tap-hint { display: none; }
  #chart-tap-overlay { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5; background: transparent; cursor: pointer; }
  .chart-fs #chart-tap-overlay { display: none; }
  .dashboard-tabs { position: relative; z-index: 12; }
  .dashboard-asset-bar { position: relative; z-index: 12; }
  .dashboard-header { position: relative; z-index: 12; }
}

/* =========================================
   11. DEMO ELEMENTS
   ========================================= */
.demo-upgrade-banner { display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 0.75rem; padding: 0.85rem 1.25rem; background: rgba(196,166,76,0.06); border: 1px solid rgba(196,166,76,0.2); border-radius: 0.5rem; flex-wrap: wrap; text-align: center; }
.demo-upgrade-banner p { margin: 0; font-size: 0.9rem; color: var(--slate,#b8c8d8); width: 100%; }
.demo-banner-examples { font-size: 0.85rem; color: var(--slate,#b8c8d8); text-decoration: none; white-space: nowrap; transition: color 0.2s; }
.demo-banner-examples:hover { color: var(--gold,#c4a64c); }

/* =========================================
   12. GUIDE OVERLAY
   ========================================= */
#guide-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 10000; }
#guide-highlight { position: absolute; border: 2px solid var(--gold,#c4a64c); border-radius: 8px; box-shadow: 0 0 0 4000px rgba(0,0,0,0.6); pointer-events: none; z-index: 10001; transition: all 0.3s ease; }
#guide-tooltip { display: none; position: fixed !important; bottom: 5rem; right: 1.5rem; left: auto !important; transform: none !important; top: auto !important; width: 320px; max-width: calc(100vw - 3rem); background: var(--surface2,#141d2e); border: 1px solid var(--gold,#c4a64c); border-radius: 10px; padding: 1.25rem 1.5rem; z-index: 10002; box-shadow: 0 8px 32px rgba(0,0,0,0.5); }
.guide-step-count { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-dim,#9e8340); margin-bottom: 0.4rem; }
.guide-step-title { font-size: 1rem; font-weight: 700; color: var(--gold,#c4a64c); margin: 0 0 0.6rem; }
.guide-step-text { font-size: 0.9rem; color: var(--slate,#b8c8d8); line-height: 1.6; margin: 0 0 1rem; }
.guide-actions { display: flex; gap: 0.5rem; justify-content: flex-end; align-items: center; }
.guide-skip { background: none; border: none; color: var(--slate,#b8c8d8); font-size: 0.8rem; cursor: pointer; margin-right: auto; padding: 0; opacity: 0.6; }
.guide-skip:hover { opacity: 1; }
.guide-prev { background: none; border: 1px solid rgba(196,166,76,0.3); color: var(--gold,#c4a64c); border-radius: 6px; padding: 0.4rem 0.8rem; font-size: 0.85rem; cursor: pointer; }
.guide-next { background: var(--gold,#c4a64c); border: none; color: #080c14; border-radius: 6px; padding: 0.4rem 1rem; font-size: 0.85rem; font-weight: 700; cursor: pointer; }
.guide-next:hover { background: var(--gold-hi,#dbbf6e); }
#guide-relaunch { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 38px; height: 38px; border-radius: 50%; background: var(--surface2,#141d2e); border: 1px solid var(--gold,#c4a64c); color: var(--gold,#c4a64c); font-size: 1rem; font-weight: 700; cursor: pointer; z-index: 9000; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 12px rgba(0,0,0,0.4); transition: background 0.2s; }
#guide-relaunch:hover { background: rgba(196,166,76,0.15); }

/* =========================================
   13. BADGES & MISC
   ========================================= */
.prerelaease-badge { display: inline-flex; align-items: center; gap: 0.35rem; background: rgba(196,166,76,0.12); border: 1px solid rgba(196,166,76,0.4); color: var(--gold,#c4a64c); border-radius: 20px; padding: 0.2rem 0.75rem; font-size: 0.75rem !important; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.prerelaease-badge-wrap { display: flex; justify-content: center; margin-bottom: 0.6rem; }
#ticker-display { background: rgba(196,166,76,0.08) !important; border-color: rgba(196,166,76,0.4) !important; color: #c4a64c !important; font-weight: 600; cursor: default; }
.spots-counter { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 1.25rem; padding: 0.5rem 1.25rem; background: rgba(196,166,76,0.08); border: 1px solid rgba(196,166,76,0.3); border-radius: 20px; width: fit-content; margin-left: auto; margin-right: auto; }
.spots-number { font-size: 1.6rem !important; font-weight: 700; color: var(--gold,#c4a64c); line-height: 1; }
.spots-label { font-size: 1rem !important; color: var(--slate,#b8c8d8); font-weight: 500; }

/* =========================================
   14. BUTTONS
   ========================================= */
.btn-primary, .btn-secondary { display: inline-block; background: #2a6496; color: #ffffff !important; padding: 14px 36px; border-radius: 6px; font-weight: 700; font-size: 1rem !important; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; border: 2px solid #2a6496; box-shadow: 0 4px 18px rgba(42,100,150,0.35); transition: all 0.25s ease; cursor: pointer; }
.btn-primary:hover, .btn-secondary:hover { background: #3580be; border-color: #3580be; box-shadow: 0 6px 26px rgba(42,100,150,0.5); transform: translateY(-2px); color: #ffffff !important; text-shadow: none; }
.params-btn, button[type="submit"] { font-size: 0.9rem !important; }
.logout-button { font-size: calc(1rem+0.0833rem); }

/* =========================================
   15. RESPONSIVE
   ========================================= */
@media screen and (max-width: 60rem) {
  .results-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; align-items: stretch; }
  .form-row button { width: 100%; }
}
@media screen and (max-width: 45rem) {
  #header { padding: 1rem; }
  #mainbody { padding: 1rem; }
  #header h1.menubutton { display: inline; }
  .navitem { display: none; }
  h1 { font-size: 1.8rem; }
  .dashboard-header { flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .info-banner { padding: 0.75rem 1rem !important; }
  .banner-content { flex-wrap: wrap; gap: 0.5rem; }
  .banner-text { font-size: 0.9rem !important; }
  .hero-section { padding: 3rem 1rem 2.5rem; }
  .hero-section h1 { font-size: 1.8rem !important; }
  .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .homepage-section .scenario-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cta-section { padding: 2.5rem 1rem; margin: 0.5rem 0; }
  .homepage-section h2 { font-size: 1.35rem; }
}
@media screen and (max-width: 900px) {
  .homepage-section .scenario-grid { grid-template-columns: repeat(2,1fr); }
  .hero-stats { gap: 28px; }
}

/* =========================================
   16. PRICING
   ========================================= */
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; max-width: 720px; margin-left: auto; margin-right: auto; }
@media (max-width: 700px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card { background: var(--surface2,#141d2e); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px; padding: 2rem 1.75rem; display: flex; flex-direction: column; gap: 1rem; }
.pricing-card.pricing-featured { border-color: var(--gold,#c4a64c); }
.pricing-card.pricing-vip { border-color: rgba(196,166,76,0.35); }
.pricing-badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold,#c4a64c); background: rgba(196,166,76,0.1); border-radius: 20px; padding: 0.2rem 0.75rem; width: fit-content; }
.badge-vip { color: var(--gold-hi,#dbbf6e); background: rgba(196,166,76,0.15); }
.pricing-card h3 { font-size: 1.3rem !important; font-weight: 700; color: var(--text,#e2e8f0); margin: 0; }
.pricing-amount { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.pricing-amount-row { display: flex; align-items: baseline; gap: 0.35rem; }
.pricing-crossed { font-size: 1.1rem; color: var(--slate,#b8c8d8); text-decoration: line-through; opacity: 0.6; }
.pricing-price { font-size: 1.3rem !important; font-weight: 700; color: var(--gold,#c4a64c); line-height: 1; }
.pricing-period { font-size: 0.85rem; color: var(--slate,#b8c8d8); }
.pricing-perks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; flex-grow: 1; }
.pricing-perks li { font-size: calc(0.9rem+0.0833rem); color: var(--slate,#b8c8d8); padding-left: 1.25rem; position: relative; }
.pricing-perks li::before { content: '✓'; position: absolute; left: 0; color: var(--gold,#c4a64c); font-weight: 700; }
.pricing-vip-note { font-size: 0.95rem !important; color: var(--slate,#b8c8d8); border-left: 2px solid var(--gold-dim,#9e8340); padding-left: 0.75rem; margin: 0; }
.pricing-footnote { margin-top: 1.5rem; font-size: 1rem !important; color: var(--slate,#b8c8d8); text-align: center; }
.pricing-oneliner { text-align: center; font-size: 1.2rem !important; font-style: italic; color: var(--gold,#c4a64c); margin-top: 0.75rem; opacity: 1 !important; font-weight: 700 !important; }

/* =========================================
   17. EXAMPLES & LANDING SECTIONS
   ========================================= */
.examples-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem auto; max-width: 720px; }
@media (max-width: 600px) { .examples-cta-grid { grid-template-columns: 1fr; } }
.examples-cta-item { background: var(--surface2,#141d2e); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1rem; }
.examples-cta-asset { font-size: 1.75rem; flex-shrink: 0; }
.examples-cta-item p { font-size: calc(0.9rem+0.0833rem); color: var(--slate,#b8c8d8); margin: 0; line-height: 1.5; }
.examples-cta-section .btn-primary { display: block; width: fit-content; margin: 0 auto; }
.examples-legend { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-top: 0.5rem; }
.examples-legend-item { display: flex; align-items: center; gap: 0.75rem; background: var(--surface2,#141d2e); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 0.85rem 1.25rem; }
.examples-legend-score { font-size: 1.6rem; font-weight: 800; color: var(--gold,#c4a64c); min-width: 3rem; text-align: center; }
.examples-legend-item p { font-size: calc(0.88rem+0.0833rem); color: var(--slate,#b8c8d8); margin: 0; max-width: 220px; line-height: 1.4; }
.example-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; margin-top: 1.25rem; }
@media (max-width: 700px) { .example-stats { grid-template-columns: 1fr; } }
.example-stat { background: var(--surface2,#141d2e); border: 1px solid rgba(255,255,255,0.07); border-radius: 8px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.4rem; text-align: left; }
.example-stat-full { grid-column: 1 / -1; }
.example-stat-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold,#c4a64c); }
.example-stat-value { font-size: calc(0.88rem+0.0833rem); color: var(--slate,#b8c8d8); line-height: 1.55; }
.example-phases { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.example-phases-table { width: 100%; border-collapse: collapse; font-size: calc(0.85rem+0.0833rem); text-align: left; }
.example-phases-table th { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold,#c4a64c); padding: 0.5rem 0.85rem; border-bottom: 1px solid rgba(196,166,76,0.2); }
.example-phases-table td { padding: 0.6rem 0.85rem; color: var(--slate,#b8c8d8); border-bottom: 1px solid rgba(255,255,255,0.04); vertical-align: top; }
.example-phases-table tr:last-child td { border-bottom: none; }
.example-phases-table tr:hover td { background: rgba(196,166,76,0.03); }

.problem-section { max-width: 680px; margin: 0 auto; padding: 2.5rem 1rem; text-align: center; }
h2.section-heading, h2.problem-h2, h2.example-h2, h2#videos-heading, h2#pricing-heading { font-size: 1.7rem !important; font-weight: 700 !important; }
.problem-sub { font-size: 1.1rem !important; color: var(--slate,#b8c8d8); line-height: 1.7; margin-bottom: 1.25rem; }
.problem-quote { font-size: 1rem !important; font-style: italic; color: #e2e8f0; border-left: 3px solid rgba(196,166,76,0.5); margin: 1.25rem auto; padding: 0.75rem 1.25rem; max-width: 480px; text-align: left; background: rgba(196,166,76,0.04); border-radius: 0 6px 6px 0; }
.problem-body { font-size: 1.1rem !important; color: var(--slate,#b8c8d8); line-height: 1.7; margin-top: 1rem; }
.videos-subtitle { font-size: 0.95rem; color: var(--slate,#b8c8d8); text-align: center; max-width: 620px; margin: 0 auto 1.5rem; line-height: 1.6; }
.auto-mode-preview { margin: 0 auto 2rem; max-width: 900px; text-align: center; }
.auto-mode-img { width: 100%; border-radius: 10px; border: 1px solid rgba(196,166,76,0.2); box-shadow: 0 4px 24px rgba(0,0,0,0.4); }
.auto-mode-caption { font-size: 1rem !important; color: var(--slate,#b8c8d8); margin-top: 0.75rem; font-style: italic; opacity: 0.8; }
.how-it-works-block { margin-bottom: 2.5rem; }
.how-it-works-lead { font-size: 1.1rem !important; color: var(--slate,#b8c8d8); text-align: center; margin-bottom: 1.25rem; line-height: 1.6; }

.example-section { padding: 2.5rem 1rem; }
.example-h2 { font-size: 1.5rem; font-weight: 700; color: var(--gold,#c4a64c); text-align: center; margin-bottom: 1.5rem; }
.example-card { display: flex; flex-direction: column !important; gap: 1.5rem !important; align-items: center; background: rgba(14,21,32,0.6); border: 1px solid rgba(196,166,76,0.2); border-radius: 12px; padding: 2rem; max-width: 960px; margin: 0 auto; }
.example-text-row { display: flex; gap: 2rem; align-items: flex-start; flex-wrap: wrap; }
.example-text-left { flex: 2; min-width: 200px; text-align: center; }
.example-card .example-img { width: 100%; max-width: 100%; }
.example-img-col { display: none; }
.example-asset { font-size: 0.95rem !important; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold,#c4a64c); margin-bottom: 0.4rem; }
.example-title { font-size: 1.4rem !important; font-weight: 700; color: #e2e8f0; margin-bottom: 1.25rem; line-height: 1.4; }
.example-body { font-size: 0.95rem; color: var(--slate,#b8c8d8); line-height: 1.7; margin-bottom: 1rem; }
.example-result { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-size: 1.1rem !important; font-weight: 600; color: #4ade80; margin-top: 1rem; }
.example-result-icon { font-size: 1rem; }

/* =========================================
   18. VIDEOS
   ========================================= */
.videos-grid { display: grid; grid-template-columns: auto auto auto; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }
@media (max-width: 700px) { .videos-grid { grid-template-columns: 1fr; } }
.video-item { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 0; }
.video-item video { height: 420px; width: auto; max-width: 100%; object-fit: contain; background: #000; border-radius: 8px; border: 1px solid rgba(196,166,76,0.2); }
.video-label { font-size: 1.1rem !important; font-weight: 700; color: var(--gold,#c4a64c); text-align: center; margin: 0; letter-spacing: 0.02em; }

/* =========================================
   19. ABOUT PAGE
   ========================================= */
.about-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; margin-top: 1.5rem; }
@media (max-width: 700px) { .about-cards { grid-template-columns: 1fr; } }
.about-card { background: var(--surface2,#141d2e); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 1.5rem 1.25rem; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.6rem; }
.about-card-icon { font-size: 2rem; }
.about-card h3 { font-size: calc(0.95rem+0.0833rem); font-weight: 700; color: var(--gold,#c4a64c); margin: 0; }
.about-card p { font-size: calc(0.88rem+0.0833rem); color: var(--slate,#b8c8d8); margin: 0; line-height: 1.55; }
.about-score-visual { display: flex; gap: 0; margin-top: 1.5rem; border-radius: 10px; overflow: hidden; }
.about-score-item { flex: 1; padding: 1.25rem 1rem; background: var(--surface2,#141d2e); border: 1px solid rgba(255,255,255,0.07); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.about-score-item + .about-score-item { border-left: none; }
.about-score-mid { background: rgba(196,166,76,0.07); border-color: rgba(196,166,76,0.2); }
.about-score-high { background: rgba(196,166,76,0.13); border-color: rgba(196,166,76,0.35); }
.about-score-num { font-size: 1.8rem; font-weight: 800; color: var(--gold,#c4a64c); line-height: 1; }
.about-score-item p { font-size: calc(0.85rem+0.0833rem); color: var(--slate,#b8c8d8); margin: 0; line-height: 1.45; }
@media (max-width: 600px) { .about-score-visual { flex-direction: column; } .about-score-item + .about-score-item { border-left: 1px solid rgba(255,255,255,0.07); border-top: none; } }

/* =========================================
   20. CONTACT FORM
   ========================================= */
#contactForm { margin-left: auto; margin-right: auto; }
