/* ========== CSS Variables (Valutrades real palette) ========== */
:root {
  --bg-white: #ffffff;
  --bg-light: #f6f6f6;
  --bg-section: #f6f6f6;
  --bg-nav: #18232F;
  --bg-nav-dark: #2D4158;
  --accent-green: #00a562;
  --accent-green-light: #36c275;
  --green-gradient: linear-gradient(to right, #00d301, #36c275, #00a562);
  --text-dark: #202832;
  --text-primary: rgba(0, 0, 0, 0.87);
  --text-nav: #adb3c0;
  --text-muted: #6b7280;
  --text-footer: #45526c;
  --border-light: #e5e7eb;
  --radius-card: 12px;
  --radius-btn: 8px;
  --radius-pill: 90px;
  --max-width: 1200px;
  --font-stack: Roboto, Helvetica, Arial, sans-serif;
}

/* ========== Reset ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-stack);
  background: var(--bg-white);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-green); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-green-light); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ========== Utility ========== */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }
.section-title { font-size: 2.25rem; font-weight: 700; text-align: center; margin-bottom: 16px; color: var(--text-dark); }
.section-subtitle { font-size: 1rem; color: var(--text-muted); text-align: center; max-width: 700px; margin: 0 auto 28px; }
.text-center { text-align: center; }
.text-green { color: var(--accent-green); }
.text-muted { color: var(--text-muted); }

/* ========== Top bars ========== */
.top-bar-app {
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  gap: 16px;
}
.top-bar-app .app-icon {
  width: 36px; height: 32px;
  background: #374151;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.top-bar-app .app-text strong { color: #374151; font-size: .9rem; }
.top-bar-app .app-text p { color: #9ca3af; font-size: .7rem; }
.top-bar-app .install-btn {
  background: var(--accent-green);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: .85rem;
  font-weight: 500;
}
.top-bar-app .close-btn {
  background: none; border: none; cursor: pointer; color: #9ca3af;
  font-size: 1.2rem;
}
.risk-bar {
  background: var(--bg-nav-dark);
  color: #d1d5db;
  text-align: center;
  padding: 12px 20px;
  font-size: .85rem;
  font-weight: 300;
}
.risk-bar a { color: #fff; text-decoration: underline; }
.green-bar {
  background: var(--green-gradient);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  font-size: .9rem;
  font-weight: 500;
}
.green-bar a { color: #fff; display: flex; align-items: center; gap: 8px; }
.green-bar .green-bar-right { display: flex; gap: 28px; }
.green-bar .green-bar-right details summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
}
.green-bar .green-bar-right details summary::-webkit-details-marker { display: none; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-btn);
  font-size: .95rem; font-weight: 500; cursor: pointer;
  border: none; transition: all .2s; text-decoration: none;
}
.btn-green { background: var(--accent-green); color: #fff; }
.btn-green:hover { background: var(--accent-green-light); color: #fff; }
.btn-green-gradient { background: var(--green-gradient); color: #fff; }
.btn-outline-green {
  background: transparent;
  border: 1px solid var(--accent-green);
  color: var(--accent-green);
}
.btn-outline-green:hover { background: var(--accent-green); color: #fff; }
.btn-white { background: #fff; color: var(--accent-green); }
.btn-white:hover { background: #f0f0f0; }
.btn-nav-live { background: var(--green-gradient); color: #fff; border: none; }
.btn-nav-live:hover { opacity: .9; color: #fff; }

/* ========== Header (main nav) ========== */
.site-header {
  background: var(--bg-nav);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.brand-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; justify-content: center; }
.brand-name { font-size: 1.3rem; font-weight: 700; color: #fff; letter-spacing: 1px; line-height: 1; }
.brand-name span { color: var(--accent-green); }

/* Navigation */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 4px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; transition: .3s; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav ul { display: flex; gap: 28px; align-items: center; }
.primary-nav > ul > li { position: relative; }
.primary-nav > ul > li > a {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  padding: 0;
  transition: color .2s;
  white-space: nowrap;
}
.primary-nav > ul > li > a:hover { color: var(--accent-green); }
.primary-nav .arrow { font-size: .6rem; margin-left: 2px; opacity: .8; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
  padding: 8px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all .2s;
}
.primary-nav > ul > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block;
  padding: 12px 24px;
  color: var(--text-nav);
  font-size: 14px;
  font-weight: 400;
  transition: background .15s;
}
.dropdown a:hover { background: var(--bg-light); color: var(--accent-green); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.login-link { color: #fff; font-size: 12px; font-weight: 400; }
.login-link:hover { color: var(--accent-green); }
.header-cta .btn { padding: 12px 24px; font-size: 14px; font-weight: 500; }

/* ========== Hero ========== */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background: #0f2027;
  background-image: url('../images/bg-home-mobile.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero-slider { display: none; }
.hero-grid {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: 500px;
}
.hero-text { display: flex; flex-direction: column; justify-content: center; text-align: center; }
.hero-image { display: none; }
.hero-image img { width: 100%; max-width: 672px; height: auto; }
.hero h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  margin: 0;
  color: #fff;
}
.hero-subtitle {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  margin: 0 0 28px;
  color: var(--accent-green);
}
.hero p {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-nav);
  max-width: 576px;
  margin: 28px 0;
  line-height: 24px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-actions .btn { font-size: 16px; font-weight: 400; border-radius: 8px; padding: 16px 48px; min-width: 238px; text-align: center; }
.hero-actions .btn-outline-green {
  border-color: var(--accent-green);
  color: var(--accent-green);
}
.hero-actions .btn-outline-green:hover { background: var(--accent-green); color: #fff; }
.hero-dots { display: none; }

/* ========== Features / Get More ========== */
.get-more { background: var(--bg-white); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}
.feature-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  transform: translateY(-4px);
}
.feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,165,98,.12), rgba(54,194,117,.12));
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-green);
  font-size: 1.8rem;
}
.feature-card h3 {
  font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px;
}
.feature-card p { color: var(--text-muted); font-size: .92rem; line-height: 1.6; }

/* ========== Tools banner ========== */
.tools-section { background: var(--bg-light); }
.tools-banner {
  background: var(--bg-nav);
  border-radius: var(--radius-card);
  padding: 60px 48px;
  text-align: center;
  color: #fff;
}
.tools-banner h3 {
  font-size: 1.6rem; font-weight: 700; margin-bottom: 16px; color: #fff;
}
.tools-banner p { color: rgba(255,255,255,.8); margin-bottom: 24px; }
.tools-banner .btn-green { margin-top: 8px; }

/* ========== Account platform / stats ========== */
.platform-section { background: var(--bg-white); }
.platform-mock {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 40px;
  margin-top: 40px;
  min-height: 300px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
}
.stats-section {
  background: var(--bg-nav);
  color: #fff;
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-item .stat-value, .stat-item .stat-number {
  font-size: 2.5rem; font-weight: 800; color: var(--accent-green);
  margin-bottom: 8px;
}
.stat-item .stat-label { color: rgba(255,255,255,.75); font-size: .9rem; }

/* ========== Account Management Platform ========== */
.account-mgmt { background: var(--bg-white); }
.account-mgmt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.account-mgmt-text h3 { color: var(--text-dark); font-size: 1.8rem; margin-bottom: 16px; }
.account-mgmt-text p { color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }
.account-mgmt-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.account-mgmt-visual { display: flex; justify-content: center; }
.dashboard-mock {
  background: var(--bg-nav);
  border-radius: var(--radius-card);
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}
.mock-header {
  display: flex; gap: 6px; margin-bottom: 20px;
}
.mock-dot {
  width: 12px; height: 12px; border-radius: 50%;
}
.mock-row {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mock-row:last-child { border-bottom: none; }
.mock-label { color: rgba(255,255,255,.6); font-size: .88rem; }
.mock-value { color: #fff; font-weight: 600; font-size: .92rem; }
.mock-value.green { color: var(--accent-green-light); }

/* ========== CTA ========== */
.cta-section {
  background: linear-gradient(135deg, #18232F 0%, #2D4158 100%);
  color: #fff;
  text-align: center;
  padding: 80px 24px;
}
.cta-section h2 { color: #fff; font-size: 2rem; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.8); margin-bottom: 32px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== Demo CTA ========== */
.demo-cta { background: var(--bg-white); }
.demo-cta-box {
  background: linear-gradient(135deg, #18232F 0%, #2D4158 100%);
  border-radius: var(--radius-card);
  padding: 56px 48px;
  color: #fff;
  text-align: center;
}
.demo-cta-box h2 { color: #fff; font-size: 2rem; margin-bottom: 16px; }
.demo-cta-box p { color: rgba(255,255,255,.8); max-width: 720px; margin: 0 auto 24px; line-height: 1.7; }
.demo-cta-list {
  list-style: none;
  max-width: 560px;
  margin: 0 auto 32px;
  text-align: left;
}
.demo-cta-list li {
  color: rgba(255,255,255,.9);
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: .95rem;
}
.demo-cta-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 8px;
  color: var(--accent-green);
  font-weight: 700;
}
.demo-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ========== Account types page ========== */
.page-hero {
  background: var(--bg-white);
  color: #fff;
  padding: 40px 0 0;
  text-align: center;
}
.page-hero .container {
  position: relative;
  background-image: url('../images/bg-title-content.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 20px;
  padding: 32px 24px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.page-hero h1 { color: #fff; font-size: 2.4rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; }
.page-hero p { color: rgba(255,255,255,.8); margin: 0 auto; white-space: nowrap; }
.breadcrumb { color: var(--text-muted); font-size: .85rem; margin: 16px 0 0; padding: 0 24px; max-width: var(--max-width); margin-left: auto; margin-right: auto; }
.breadcrumb a { color: var(--accent-green); }

.section-content-img {
  width: 100%;
  border-radius: 20px;
  display: block;
  margin: 0 auto 28px;
  object-fit: cover;
}

.account-tabs {
  display: flex; gap: 20px; margin: 0 0 24px; width: 100%;
}
.account-tab {
  padding: 12px 0;
  border: none;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
  font-size: .95rem;
  cursor: pointer;
  transition: all .2s;
  flex: 1;
  text-align: center;
}
.account-tab.active {
  border-bottom-color: var(--accent-green);
  color: var(--accent-green);
  background: transparent;
}
.account-info { display: grid; gap: 24px; }
.account-panel { display: none; }
.account-panel.active { display: block; grid-column: 1 / -1; }
.account-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.account-card-header {
  background: var(--bg-nav);
  color: #fff;
  padding: 20px 28px;
}
.account-card-header h3 { color: #fff; font-size: 1.3rem; }
.account-info .info-row {
  display: flex; justify-content: space-between;
  padding: 14px 28px;
  border-bottom: 1px solid var(--border-light);
  font-size: .92rem;
}
.account-info .info-row:last-child { border-bottom: none; }
.account-info .info-row .label { color: var(--text-muted); }
.account-info .info-row .value { color: var(--text-dark); font-weight: 600; }

/* Account comparison table (side-by-side) */
.account-compare {
  margin: 32px auto 0;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}
.compare-header,
.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  align-items: center;
}
.compare-header {
  background: var(--bg-nav);
  color: #fff;
}
.compare-header .compare-cell {
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.compare-header .compare-label { background: transparent; text-align: left; font-size: 1.15rem; }
.compare-row {
  border-top: 1px solid var(--border-light);
}
.compare-row:nth-child(odd) {
  background: #fafbfc;
}
.compare-row .compare-cell {
  padding: 16px 24px;
  font-size: .92rem;
  color: var(--text-dark);
  text-align: center;
}
.compare-row .compare-label {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-weight: 600;
  color: var(--text-dark);
  background: #f6f8fa;
  border-right: 1px solid var(--border-light);
}
.compare-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(0,165,98,.12);
  color: var(--accent-green);
  flex-shrink: 0;
}
.compare-icon svg { width: 18px; height: 18px; }
@media (max-width: 768px) {
  .compare-header, .compare-row { grid-template-columns: 1fr; }
  .compare-header .compare-cell { padding: 8px 16px; font-size: .85rem; }
  .compare-row .compare-cell { padding: 8px 16px; text-align: left; }
  .compare-row .compare-label { border-right: none; border-bottom: 1px solid var(--border-light); }
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 40px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.product-card .product-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,165,98,.12), rgba(54,194,117,.12));
  color: var(--accent-green);
  display: flex; align-items: center; justify-content: center;
}
.product-card .product-icon svg { width: 32px; height: 32px; }
.product-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; }
.product-card p { font-size: .85rem; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 968px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* ========== Contract spec ========== */
.spec-table-wrap { display: none; }
.spec-table-wrap.active { display: block; }
.spec-filter-bar {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.spec-filter-label { font-size: .9rem; color: var(--text-muted); }
.spec-filter-select {
  flex: 1;
  max-width: 240px;
  padding: 10px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-btn);
  background: #fff;
  font-size: .9rem;
  font-family: inherit;
  color: var(--text-dark);
  cursor: pointer;
}
.spec-thead {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--accent-green);
  color: #fff;
  padding: 14px 24px;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.spec-thead > div { text-align: center; }
.spec-thead > div:first-child { text-align: left; }
.spec-accordion {
  border: 1px solid var(--border-light);
  border-top: none;
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  overflow: hidden;
  background: #fff;
}
.spec-row { border-bottom: 1px solid var(--border-light); }
.spec-row:last-child { border-bottom: none; }
.spec-row input[type="checkbox"] { display: none; }
.spec-row-label {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 16px 24px;
  cursor: pointer;
  transition: background .15s;
}
.spec-row-label:hover { background: var(--bg-light); }
.spec-row-product {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text-dark);
}
.spec-row-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .25s;
}
.spec-row-toggle {
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  transition: transform .25s;
}
.spec-row input:checked ~ .spec-row-label .spec-row-toggle { transform: rotate(180deg); }
.spec-row-product-img {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.spec-row-commission,
.spec-row-spread {
  text-align: center;
  font-size: .9rem;
  color: var(--text-dark);
}
.spec-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease-out;
  background: var(--bg-light);
}
.spec-row input:checked ~ .spec-details {
  max-height: 600px;
  padding: 16px 24px 24px;
}
.spec-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 32px;
}
.spec-detail-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec-detail-label {
  font-size: .8rem;
  color: var(--text-muted);
  font-weight: 400;
}
.spec-detail-value {
  font-size: .95rem;
  color: var(--text-dark);
  font-weight: 500;
}
@media (max-width: 768px) {
  .spec-thead { grid-template-columns: 1fr 1fr; }
  .spec-thead > div:last-child { display: none; }
  .spec-row-label { grid-template-columns: 1fr 1fr; }
  .spec-row-spread { display: none; }
}

.faq-section { margin-top: 60px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-btn);
  padding: 20px 24px;
  margin-bottom: 12px;
}
.faq-item h4 { color: var(--text-dark); margin-bottom: 8px; font-size: 1rem; }
.faq-item p { color: var(--text-muted); font-size: .9rem; }

/* ========== Trading tools ========== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.tool-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 28px;
  transition: box-shadow .25s;
}
.tool-card-wide {
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
  border: none;
}
.tool-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.08); }
.tool-card h3 { color: var(--text-dark); font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.tool-desc { color: var(--text-muted); font-size: .9rem; margin-bottom: 20px; line-height: 1.6; }

/* Signal cards */
.signal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.signal-card {
  border-radius: 12px;
  padding: 20px;
  color: #fff;
}
.signal-card.signal-buy { background: linear-gradient(135deg, #00a562, #36c275); }
.signal-card.signal-sell { background: linear-gradient(135deg, #ef4444, #f87171); }
.signal-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.signal-card-pair { font-weight: 700; font-size: 1.05rem; }
.signal-card-price { font-size: .85rem; opacity: .9; }
.signal-card-action { font-weight: 700; font-size: 1rem; margin-bottom: 12px; }
.signal-card-action.buy { color: #dcfce7; }
.signal-card-action.sell { color: #fee2e2; }
.signal-card-detail { display: flex; justify-content: space-between; margin-bottom: 12px; }
.signal-card-detail > div { display: flex; flex-direction: column; gap: 4px; }
.signal-card-label { font-size: .78rem; opacity: .85; }
.signal-card-value { font-weight: 700; font-size: .95rem; }
.signal-card-source { font-size: .8rem; opacity: .8; border-top: 1px solid rgba(255,255,255,.2); padding-top: 10px; }

/* Top Mover */
.mover-list { display: flex; flex-direction: column; gap: 12px; }
.mover-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 14px 18px;
  background: var(--bg-light);
  border-radius: 8px;
}
.mover-pair { font-weight: 600; color: var(--text-dark); }
.mover-change { font-weight: 700; text-align: center; }
.mover-change.buy { color: var(--accent-green); }
.mover-change.sell { color: #ef4444; }
.mover-profit { text-align: right; color: var(--text-muted); font-size: .9rem; }

/* Open Position Ratio */
.ratio-display { max-width: 480px; }
.ratio-pair { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ratio-values { display: flex; justify-content: space-between; margin-top: 8px; }
.ratio-values > div { display: flex; align-items: center; gap: 8px; }

/* Pivot Point */
.pivot-table { max-width: 480px; }
.pivot-header {
  background: var(--bg-light);
  padding: 14px 18px;
  border-radius: 8px 8px 0 0;
  font-weight: 700;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-light);
}
.pivot-grid { display: grid; grid-template-columns: 1fr 1fr; }
.pivot-cell {
  display: flex;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-light);
  background: #fff;
}
.pivot-cell:nth-child(odd) { border-right: 1px solid var(--border-light); }
.pivot-label { color: var(--text-muted); font-size: .88rem; }
.pivot-value { font-weight: 600; color: var(--text-dark); }

.tool-mock {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 16px;
  font-size: .85rem;
  color: var(--text-muted);
}
.tool-mock .signal-row { display: flex; justify-content: space-between; padding: 4px 0; align-items: center; }
.signal-pair { font-weight: 600; color: var(--text-dark); }
.signal-label { color: var(--text-muted); font-size: .82rem; }
.signal-value { color: var(--text-dark); font-weight: 500; }
.signal-action { font-weight: 600; font-size: .85rem; padding: 2px 8px; border-radius: 4px; }
.signal-action.buy { color: var(--accent-green); background: rgba(0,165,98,.1); }
.signal-action.sell { color: #ef4444; background: rgba(239,68,68,.1); }
.position-bar {
  height: 24px; background: #fee2e2; border-radius: 12px; overflow: hidden; margin: 12px 0;
  display: flex;
}
.position-bar-buy { background: var(--accent-green); }
.position-bar-sell { background: #ef4444; }

/* ========== About us ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text h2 { color: var(--text-dark); font-size: 2rem; margin-bottom: 16px; }
.about-text p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.7; }
.about-visual { display: flex; justify-content: center; }
.building-mock {
  background: var(--bg-light);
  border-radius: var(--radius-card);
  padding: 40px;
  min-height: 300px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%;
}
.building {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
}
.building-row { display: flex; gap: 6px; }
.window {
  width: 32px; height: 32px;
  background: rgba(0,165,98,.25);
  border-radius: 4px;
}
.window.lit { background: var(--accent-green); opacity: .9; }
.company-tag {
  display: flex; align-items: center; gap: 12px;
  color: var(--text-muted); font-weight: 600;
}
.company-tag-logo {
  width: 40px; height: 40px;
  background: var(--green-gradient);
  color: #fff;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
}
.company-tag-text { color: var(--text-dark); }

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.leader-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 32px;
  text-align: center;
}
.leader-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--green-gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 700;
  margin: 0 auto 16px;
}
.leader-card h3 { color: var(--text-dark); }
.leader-card .role { color: var(--text-muted); font-size: .88rem; }

/* ========== Regulation ========== */
.regulation-content p { color: var(--text-muted); margin-bottom: 14px; line-height: 1.7; }
.doc-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.doc-item {
  display: flex; align-items: center; gap: 16px;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-btn);
  padding: 16px 20px;
  transition: box-shadow .2s;
}
.doc-item:hover { box-shadow: 0 6px 20px rgba(0,0,0,.06); }
.doc-item .doc-icon { font-size: 1.5rem; }
.doc-item .doc-name { color: var(--text-dark); font-weight: 500; font-size: .92rem; }

/* ========== News ========== */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 32px;
}
.news-filter-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 500;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: var(--radius-btn);
  transition: all .2s;
  letter-spacing: .5px;
}
.news-filter-btn:hover { color: var(--accent-green); }
.news-filter-btn.active {
  color: #fff;
  background: var(--accent-green);
}
.news-filter-btn.filter-btn {
  margin-left: auto;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 24px;
  transition: box-shadow .25s, transform .25s;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  transform: translateY(-4px);
}
.news-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .5px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
  width: fit-content;
}
.tag-blast { background: #e0f2fe; color: #0369a1; }
.tag-technical { background: #dcfce7; color: #15803d; }
.tag-breaking { background: #fee2e2; color: #b91c1c; }
.news-date {
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.news-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}
.news-excerpt {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}
.news-symbols {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.symbol {
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}
.symbol-more {
  background: var(--accent-green);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}
@media (max-width: 968px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* ========== Referral ========== */
.referral-hero-text { text-align: center; max-width: 720px; margin: 0 auto; }
.referral-hero-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.referral-hero-text p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}
.referral-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.referral-feature {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}
.referral-feature:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
  transform: translateY(-4px);
}
.referral-feature-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,165,98,.12), rgba(54,194,117,.12));
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-green);
}
.referral-feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.referral-feature p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.tiering-overview {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.tier-card {
  background: #fff;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 32px 48px;
  text-align: center;
  min-width: 220px;
}
.tier-card.gold {
  border-color: var(--accent-green);
  box-shadow: 0 8px 24px rgba(0,165,98,.15);
}
.tier-label {
  font-size: .85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.tier-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1;
  margin-bottom: 8px;
}
.tier-unit {
  font-size: .9rem;
  color: var(--text-muted);
}
.tier-note {
  text-align: center;
  color: var(--text-muted);
  font-size: .82rem;
  margin-top: 16px;
}

.rebate-calculator {
  padding: 8px 0 32px;
  margin-top: 16px;
  text-align: center;
}
.calc-tabs {
  display: flex;
  width: fit-content;
  border-radius: var(--radius-btn);
  overflow: hidden;
  margin: 0 auto 32px;
  border: 1px solid var(--accent-green);
}
.calc-tab {
  background: #fff;
  border: none;
  color: var(--accent-green);
  padding: 8px 32px;
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  transition: all .2s;
}
.calc-tab.active {
  background: var(--accent-green);
  color: #fff;
}
.calc-formula {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.calc-item {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.calc-card {
  border: 1px solid var(--accent-green);
  border-radius: 16px;
  padding: 16px 20px;
  background: #fff;
  width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 100%;
}
.calc-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.calc-name {
  font-size: 1rem;
  font-weight: 400;
  color: #45526c;
  max-width: 150px;
  text-align: left;
}
.calc-upto {
  font-size: 1rem;
  color: #45526c;
  background: #EFF4F6;
  border-radius: 16px;
  padding: 4px 10px;
  white-space: nowrap;
}
.calc-amount-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.calc-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-green);
  line-height: 1;
}
.calc-amount.result {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-green);
  line-height: 1;
}
.calc-unit {
  font-size: .625rem;
  font-weight: 500;
  color: var(--accent-green);
}
.calc-op {
  font-size: 1.5rem;
  font-weight: 700;
  color: #45526c;
  align-self: center;
}
@media (max-width: 968px) {
  .calc-formula { flex-direction: column; align-items: center; }
  .calc-item { flex-direction: column; }
  .calc-op { transform: rotate(90deg); }
  .calc-card { width: 260px; }
}

.dashboard-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.dashboard-feature {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 28px 24px;
}
.dashboard-feature-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,165,98,.12), rgba(54,194,117,.12));
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-green);
  margin-bottom: 16px;
}
.dashboard-feature h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}
.dashboard-feature p {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.step-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.step-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--green-gradient);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.step-card p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 968px) {
  .referral-features,
  .dashboard-features,
  .steps-grid { grid-template-columns: 1fr; }
  .calc-formula { flex-direction: column; }
  .calc-plus { transform: rotate(90deg); }
}
.doc-link {
  display: block;
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-btn);
  padding: 16px 20px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: .92rem;
  transition: all .2s;
}
.doc-link:hover { background: var(--accent-green); color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.08); }

/* ========== Download ========== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.download-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}
.download-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.08); transform: translateY(-4px); }
.download-card .dl-icon { font-size: 3rem; margin-bottom: 16px; }
.download-card h3 { color: var(--text-dark); font-size: 1.3rem; margin-bottom: 12px; }
.download-card .tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 20px; }
.download-card .tag, .download-card .feature-tag {
  background: var(--bg-light);
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: .78rem;
}
.download-card .badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.download-card .badges .btn { padding: 10px 18px; font-size: .85rem; }

/* ========== Contact ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}
.contact-form { background: #fff; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: var(--text-dark); font-weight: 500; margin-bottom: 8px; font-size: .9rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-btn);
  font-size: .92rem;
  font-family: inherit;
  background: #fff;
  color: var(--text-dark);
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent-green);
}
.contact-info { background: var(--bg-light); border-radius: var(--radius-card); padding: 32px; }
.contact-info h3 { color: var(--text-dark); margin-bottom: 20px; }
.info-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.info-item .ic, .info-item .info-icon { font-size: 1.3rem; }
.info-item .label, .info-item .info-label { color: var(--text-muted); font-size: .82rem; }
.info-item .val, .info-item .info-value { color: var(--text-dark); font-weight: 500; }

/* ========== Footer ========== */
.site-footer {
  background: #0a0a0a;
  color: #9ca3af;
  padding: 60px 0 0;
  border-top: 1px solid #1f2937;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
}
.footer-brand p { color: #9ca3af; font-size: .88rem; margin-top: 12px; max-width: 280px; }
.footer-brand .company-name { color: #9ca3af; }
.footer-col h4 {
  color: #9ca3af;
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.footer-col ul li { margin-bottom: 10px; color: #9ca3af; font-size: .88rem; }
.footer-col ul li a {
  color: #9ca3af;
  font-size: .88rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--accent-green); }
.footer-bottom {
  margin-top: 48px;
  padding: 24px;
  border-top: 1px solid #1f2937;
  text-align: center;
  font-size: .8rem;
  color: #9ca3af;
}
.footer-legal {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
  font-size: .78rem;
  color: #9ca3af;
  line-height: 1.7;
  text-align: center;
}

/* ========== Responsive ========== */
@media (min-width: 969px) {
  .hero { background-image: url('../images/bg-home.svg'); }
  .hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: 32px;
  }
  .hero-text { text-align: left; }
  .hero-text p { margin-left: 0; margin-right: 0; }
  .hero-image { display: flex; justify-content: center; align-items: center; }
  .hero-actions { justify-content: flex-start; }
}

@media (max-width: 968px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--bg-nav);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    transform: translateY(-120%);
    transition: transform .3s;
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav ul { flex-direction: column; gap: 12px; width: 100%; }
  .primary-nav > ul > li > a { color: #fff; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,.05); }
  .dropdown a { color: rgba(255,255,255,.8); }
  .header-cta { flex-direction: column; width: 100%; }
  .header-cta .btn { width: 100%; justify-content: center; }
  .hero h1 { font-size: 20px; line-height: 28px; margin: 0; }
  .hero-subtitle { font-size: 20px; line-height: 28px; margin: 0; }
  .hero p { font-size: 12px; line-height: 22px; font-weight: 500; max-width: none; margin: 12px 0 0; }
  .hero-actions { justify-content: center; }
  .about-grid, .contact-grid, .account-mgmt-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section { padding: 56px 0; }
}
@media (max-width: 600px) {
  .top-bar-app, .green-bar { flex-direction: column; gap: 10px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}

/* ========== Account Modal ========== */
.account-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.4);
  overflow-x: hidden;
  overflow-y: auto;
}
.account-modal-overlay.active {
  display: flex;
}
.account-modal {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #1e2330;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  padding: 32px 28px 28px;
  text-align: center;
  animation: modalFadeIn .25s ease;
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.account-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .2s;
}
.account-modal-close:hover { color: #fff; }
.account-modal-close svg { width: 22px; height: 22px; }
.account-modal-illustration {
  width: 160px;
  height: auto;
  margin: 0 auto 16px;
  display: block;
}
.account-modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.4;
}
.account-modal-desc {
  font-size: .9rem;
  color: #9ca3af;
  line-height: 1.6;
  margin: 0 0 24px;
}
.account-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.account-modal-btn {
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  text-decoration: none;
  display: block;
  box-sizing: border-box;
}
.account-modal-btn-primary {
  background: linear-gradient(to right, #34d399, #00a562, #059669);
  color: #fff;
  border: none;
}
.account-modal-btn-primary:hover {
  box-shadow: 0 4px 16px rgba(52, 211, 153, 0.4);
}
.account-modal-btn-secondary {
  background: transparent;
  color: var(--accent-green);
  border: 1px solid var(--accent-green);
}
.account-modal-btn-secondary:hover {
  background: rgba(0, 165, 98, 0.1);
}
