/* ================================================================
   ADAM CAPITALS .AI - Global Stylesheet
   Design: White + Blue Market Dashboard Theme
   ================================================================ */

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

:root {
  --bg-primary: #f6f9ff;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.86);
  --bg-card-hover: #ffffff;

  --gold: #1268e8;
  --gold-light: #4f9bff;
  --gold-dim: rgba(18, 104, 232, 0.1);
  --gold-gradient: linear-gradient(135deg, #1268e8 0%, #35a7ff 100%);
  --gold-glow: 0 16px 44px rgba(18, 104, 232, 0.22);

  --blue-deep: #0b2f73;
  --blue-soft: #eaf3ff;
  --green: #16a34a;
  --red: #dc2626;

  --text-primary: #10233f;
  --text-secondary: #4f6685;
  --text-muted: #8393aa;

  --border: rgba(18, 104, 232, 0.22);
  --border-subtle: rgba(15, 45, 90, 0.1);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow: 0 8px 28px rgba(20, 58, 110, 0.1);
  --shadow-lg: 0 24px 70px rgba(20, 58, 110, 0.16);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-height: 80px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font); }
input, textarea, select { font-family: var(--font); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.text-gold { color: var(--gold); }
.text-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 850;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--gold-gradient);
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(18, 104, 232, 0.22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(18, 104, 232, 0.3);
}
.btn-outline {
  background: #ffffff;
  color: var(--gold);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  background: var(--blue-soft);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.btn-ghost {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover {
  background: var(--blue-soft);
  border-color: var(--border);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 36px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-sm { padding: 9px 20px; font-size: 13px; }

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--border);
  box-shadow: 0 12px 36px rgba(20, 58, 110, 0.09);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 210px;
}
.nav-logo img {
  height: 46px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-logo-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a, .nav-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
  position: relative;
}
.nav-links a:hover, .nav-dropdown-trigger:hover, .nav-links a.active {
  color: var(--gold);
  background: var(--blue-soft);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
}
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  width: 100%;
}
.nav-dropdown-menu a:hover { background: var(--blue-soft); color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0; bottom: 0;
  background: #ffffff;
  z-index: 999;
  overflow-y: auto;
  padding: 24px;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: var(--transition);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-mobile a:hover { color: var(--gold); background: var(--blue-soft); }
.nav-mobile .mobile-section {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 16px 16px 8px;
}
.nav-mobile .mobile-cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

.page-header {
  padding: calc(var(--nav-height) + 80px) 0 80px;
  background: linear-gradient(180deg, #eaf3ff 0%, #f6f9ff 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(18,104,232,0.14) 0%, transparent 70%);
  pointer-events: none;
}
.page-header h1 {
  position: relative;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  margin-bottom: 16px;
}
.page-header p {
  position: relative;
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.breadcrumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--gold); }
.breadcrumb-sep { color: var(--text-muted); }

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 52%, #f8fbff 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 55% at 76% 28%, rgba(53,167,255,0.2) 0%, transparent 62%),
    radial-gradient(ellipse 45% 45% at 18% 78%, rgba(18,104,232,0.12) 0%, transparent 60%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(18,104,232,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,104,232,0.07) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 74% 74% at 74% 30%, black 0%, transparent 72%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-home-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--blue-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(1.3); }
}
.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: 0;
}
.hero h1 span { display: block; }
.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 14px;
  margin-top: 42px;
}
.hero-stats > div {
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.hero-stat-value {
  font-size: 25px;
  font-weight: 850;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 5px;
}
.hero-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.2px;
}
.hero-visual { display: none; }

.market-dashboard {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(20, 58, 110, 0.18);
  padding: 22px;
  overflow: hidden;
}
.market-dashboard::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18,104,232,0.08), transparent 42%);
  pointer-events: none;
}
.market-dashboard-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}
.market-dashboard-title {
  font-size: 14px;
  font-weight: 850;
  color: var(--text-primary);
}
.market-dashboard-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.market-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green);
  background: rgba(22, 163, 74, 0.1);
  border: 1px solid rgba(22, 163, 74, 0.18);
  border-radius: 100px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 750;
}
.market-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.market-chart-panel {
  position: relative;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 16px;
}
.market-chart-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.market-symbol {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 800;
}
.market-price-main {
  font-size: 28px;
  line-height: 1.1;
  margin-top: 2px;
  font-weight: 900;
  color: var(--text-primary);
}
.market-change {
  color: var(--green);
  background: rgba(22,163,74,0.1);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 800;
}
.market-chart-svg {
  width: 100%;
  height: 180px;
  display: block;
}
.market-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.market-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(20, 58, 110, 0.07);
}
.market-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.market-card-symbol {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 850;
}
.market-pill {
  font-size: 11px;
  font-weight: 800;
  border-radius: 100px;
  padding: 3px 7px;
}
.market-pill.up { color: var(--green); background: rgba(22,163,74,0.1); }
.market-pill.down { color: var(--red); background: rgba(220,38,38,0.1); }
.market-card-price {
  font-size: 17px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 9px;
}
.sparkline {
  width: 100%;
  height: 34px;
  display: block;
}
.spark-up { stroke: var(--green); }
.spark-down { stroke: var(--red); }

.hero-dashboard {
  min-height: auto;
  padding: calc(var(--nav-height) + 54px) 0 44px;
  align-items: flex-start;
  background:
    radial-gradient(circle at 10% 24%, rgba(18,104,232,0.08), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(53,167,255,0.12), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f3f8ff 58%, #ffffff 100%);
}
.hero-dashboard .hero-grid {
  background-size: 34px 34px;
  opacity: 0.65;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.hero-dashboard::before,
.hero-dashboard::after {
  content: '';
  position: absolute;
  width: 320px;
  height: 220px;
  opacity: 0.28;
  pointer-events: none;
  background-image: radial-gradient(#1268e8 1.2px, transparent 1.2px);
  background-size: 10px 10px;
}
.hero-dashboard::before {
  left: -54px;
  top: 142px;
  clip-path: polygon(0 18%, 78% 0, 100% 44%, 76% 100%, 14% 82%);
}
.hero-dashboard::after {
  right: -42px;
  top: 102px;
  clip-path: polygon(12% 0, 100% 18%, 88% 74%, 28% 100%, 0 54%);
}
.hero-dashboard-content {
  position: relative;
  z-index: 2;
  max-width: 1130px;
  margin: 0 auto;
  text-align: center;
}
.hero-dashboard .hero-badge {
  margin-bottom: 18px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 10px 26px rgba(20, 58, 110, 0.08);
}
.hero-dashboard .hero h1,
.hero-dashboard h1 {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(38px, 4.6vw, 58px);
}
.hero-dashboard .hero-desc {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 26px;
  max-width: 660px;
}
.hero-dashboard .hero-cta {
  justify-content: center;
  margin-bottom: 28px;
}
.live-market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}
.live-market-card {
  position: relative;
  min-height: 218px;
  overflow: hidden;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(18,104,232,0.13);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(20, 58, 110, 0.1);
}
.live-market-card .tradingview-widget-container {
  position: relative;
  z-index: 2;
  height: 220px;
}
.live-market-card iframe {
  border-radius: 16px;
}
.hero-ticker-card {
  margin-top: 18px;
  overflow: hidden;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(18,104,232,0.13);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(20, 58, 110, 0.09);
}
.hero-dashboard .hero-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: 18px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(18,104,232,0.13);
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(20, 58, 110, 0.1);
  overflow: hidden;
}
.hero-dashboard .hero-stats > div {
  border: none;
  border-right: 1px solid var(--border-subtle);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  padding: 18px 14px;
}
.hero-dashboard .hero-stats > div:last-child {
  border-right: none;
}
.hero-dashboard .hero-stat-value {
  font-size: 22px;
}
.hero-dashboard .hero-stat-label {
  font-size: 11px;
}

.ticker-wrap {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  padding: 8px 0;
}
.tradingview-widget-container { width: 100%; }
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  border-right: 1px solid var(--border-subtle);
  white-space: nowrap;
}
.ticker-symbol { font-size: 13px; font-weight: 700; color: var(--text-primary); }
.ticker-price { font-size: 13px; color: var(--text-secondary); }
.ticker-change { font-size: 12px; font-weight: 600; }
.ticker-change.up { color: var(--green); }
.ticker-change.down { color: var(--red); }

section { padding: 100px 0; }
.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-subtitle { margin: 0 auto; }

.card, .account-card, .feature-card, .instrument-card, .contact-info-card, .contact-form-card, .highlight-box, .instrument-detail {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card { padding: 32px; }
.card:hover, .account-card:hover, .feature-card:hover, .instrument-card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: var(--transition);
}
.card:hover::before { opacity: 1; }

.account-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.account-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.account-card.featured {
  border-color: var(--border);
  background: linear-gradient(160deg, rgba(18,104,232,0.08) 0%, #ffffff 66%);
}
.account-card.featured::after {
  content: 'POPULAR';
  position: absolute;
  top: 20px; right: -28px;
  background: var(--gold-gradient);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 5px 36px;
  transform: rotate(45deg);
}
.account-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--blue-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.account-price { font-size: 42px; font-weight: 900; line-height: 1; margin-bottom: 4px; }
.account-price-label { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.account-specs {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  padding: 16px;
  background: var(--blue-soft);
  border-radius: var(--radius);
}
.account-spec { text-align: center; flex: 1; }
.account-spec-val { font-size: 15px; font-weight: 800; color: var(--gold); }
.account-spec-key { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.account-desc { font-size: 14px; color: var(--text-secondary); margin-bottom: 24px; line-height: 1.6; }
.account-features {
  margin-bottom: 32px;
  flex: 1;
}
.account-card > .btn {
  margin-top: auto;
}
.account-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.account-features li:last-child { border: none; }
.account-features li::before {
  content: '';
  width: 16px; height: 16px; flex-shrink: 0;
  background: var(--blue-soft);
  border: 1px solid var(--border);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231268e8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { padding: 32px 28px; }
.feature-icon, .contact-info-icon, .instrument-detail-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.feature-icon {
  width: 52px; height: 52px;
  margin-bottom: 20px;
  font-size: 22px;
}
.feature-title { font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.65; }

.instruments-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.instrument-card {
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
}
.instrument-card:hover {
  border-color: var(--border);
  background: var(--blue-soft);
}
.instrument-icon { font-size: 32px; margin-bottom: 12px; }
.instrument-img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.instrument-name { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.instrument-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.about-tabs {
  display: flex;
  gap: 4px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 6px;
  margin-bottom: 36px;
  width: fit-content;
  box-shadow: var(--shadow);
}
.about-tab-btn {
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
}
.about-tab-btn.active {
  background: var(--gold-gradient);
  color: #ffffff;
}
.about-tab-content { display: none; }
.about-tab-content.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-grid::before {
  content: '';
  position: absolute;
  top: 40px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.28;
}
.process-step { text-align: center; padding: 32px 20px; position: relative; }
.process-number {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  background: var(--gold-gradient);
  color: #ffffff;
  font-size: 20px;
  font-weight: 900;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: var(--gold-glow);
}
.process-title { font-size: 16px; font-weight: 800; margin-bottom: 10px; }
.process-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

.download-section {
  background: linear-gradient(135deg, #ffffff 0%, #eaf3ff 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.download-store-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  color: var(--text-primary);
  box-shadow: var(--shadow);
}
.store-btn:hover { border-color: var(--gold); background: var(--blue-soft); transform: translateY(-2px); }
.store-btn-icon { font-size: 24px; }
.store-btn-text { display: flex; flex-direction: column; }
.store-btn-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.store-btn-name { font-size: 15px; font-weight: 800; }
.download-img { width: 100%; max-width: 380px; margin: 0 auto; }
.download-img img { width: 100%; filter: drop-shadow(0 20px 60px rgba(18,104,232,0.18)); }
.download-visual {
  position: relative;
  width: min(100%, 430px);
  height: 420px;
  margin: 0 auto;
  border-radius: 32px;
  background:
    radial-gradient(circle at 72% 28%, rgba(53,167,255,0.18), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #eaf3ff 100%);
  overflow: hidden;
}
.download-visual::before {
  content: '';
  position: absolute;
  inset: 28px;
  border-radius: 28px;
  background-image:
    linear-gradient(rgba(18,104,232,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,104,232,0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}
.phone-mockup {
  position: absolute;
  width: 190px;
  height: 330px;
  padding: 12px;
  border-radius: 34px;
  background: #0f172a;
  box-shadow: 0 28px 60px rgba(20,58,110,0.24);
}
.phone-back {
  right: 52px;
  top: 42px;
  transform: rotate(2deg);
}
.phone-front {
  left: 50px;
  top: 94px;
  transform: rotate(-2deg);
}
.phone-top {
  position: absolute;
  left: 50%;
  top: 12px;
  width: 64px;
  height: 18px;
  transform: translateX(-50%);
  border-radius: 0 0 12px 12px;
  background: #0f172a;
  z-index: 2;
}
.phone-screen {
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff, #f5f9ff);
  padding: 38px 14px 14px;
  overflow: hidden;
}
.mock-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 16px;
}
.mock-balance {
  font-size: 24px;
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.mock-tabs {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 18px;
}
.mock-tabs .active { color: var(--gold); }
.mock-chart { width: 100%; height: 138px; display: block; }
.mock-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--blue-soft);
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 800;
}
.mock-toggle span:first-child {
  color: #ffffff;
  background: var(--gold);
  border-radius: 9px;
  padding: 8px;
}
.mock-toggle span:last-child {
  color: var(--text-muted);
  padding: 8px;
}
.mock-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 8px 18px rgba(20,58,110,0.07);
}
.mock-row strong {
  font-size: 12px;
  color: var(--text-primary);
}
.mock-row span {
  font-size: 12px;
  font-weight: 900;
  color: var(--gold);
}

.strategy-list { display: flex; flex-direction: column; gap: 12px; margin: 28px 0; }
.strategy-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
}
.strategy-item:hover { border-color: var(--border); background: var(--blue-soft); }
.strategy-item::before {
  content: '->';
  color: var(--gold);
  font-weight: 800;
  font-size: 16px;
}

.footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand-logo {
  height: 50px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  margin-bottom: 20px;
}
.footer-brand-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 24px; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue-soft);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 15px;
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); background: var(--gold-dim); color: var(--gold); }
.footer-heading { font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--text-primary); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--text-secondary); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.footer-contact-item span { flex-shrink: 0; color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 24px 0;
  background: #f8fbff;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-risk {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 800px;
}
.footer-risk strong { color: var(--text-secondary); }
.footer-copy { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.footer-copy a { color: var(--gold); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info-card, .contact-form-card { padding: 40px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.contact-info-item:last-child { border: none; }
.contact-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  font-size: 18px;
}
.contact-info-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-info-value { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--text-secondary); }
.form-input {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font);
  transition: var(--transition);
  outline: none;
}
.form-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }
.form-input::placeholder { color: var(--text-muted); }
textarea.form-input { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.platform-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 0; }
.platform-tab-btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-bottom: none;
  background: #ffffff;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.platform-tab-btn.active {
  background: var(--blue-soft);
  color: var(--gold);
  border-color: var(--border);
}
.platform-tab-panel {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}
.platform-tab-panel.active { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.platform-panel-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.instrument-detail { margin-bottom: 20px; }
.instrument-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  transition: var(--transition);
}
.instrument-detail-header:hover { background: var(--blue-soft); }
.instrument-detail-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-weight: 800;
}
.instrument-detail-icon {
  width: 44px; height: 44px;
  font-size: 20px;
}
.instrument-chevron { color: var(--text-muted); font-size: 18px; transition: var(--transition); }
.instrument-detail.open .instrument-chevron { transform: rotate(180deg); color: var(--gold); }
.instrument-detail-body {
  display: none;
  padding: 0 28px 28px;
  border-top: 1px solid var(--border-subtle);
}
.instrument-detail.open .instrument-detail-body { display: block; }
.instrument-points { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.instrument-point {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
  padding: 12px 16px;
  background: var(--blue-soft);
  border-radius: var(--radius-sm);
}
.instrument-point::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}

.about-intro { max-width: 800px; }
.about-intro p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.highlight-box { padding: 32px; }
.highlight-box h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.highlight-box p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.bullet-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.bullet-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--text-secondary); line-height: 1.6;
}
.bullet-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 8px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@media (max-width: 1024px) {
  .hero-home-grid { grid-template-columns: 1fr; padding: 40px 0 70px; }
  .live-market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-dashboard .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-dashboard .hero-stats > div:nth-child(3) { border-right: none; }
  .account-cards { grid-template-columns: 1fr 1fr; }
  .instruments-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .download-grid { gap: 36px; }
  .platform-tab-panel.active { grid-template-columns: 1fr; }
  .platform-panel-img { display: none; }
}
@media (max-width: 768px) {
  :root { --nav-height: 68px; }
  section { padding: 70px 0; }
  .nav-logo { min-width: 180px; }
  .nav-logo img { height: 40px; max-width: 180px; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding-top: var(--nav-height); min-height: auto; }
  .hero-dashboard { padding-top: calc(var(--nav-height) + 34px); }
  .hero-home-grid { gap: 34px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-dashboard .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-dashboard .hero-stats > div { border-right: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
  .hero-dashboard .hero-stats > div:nth-child(2),
  .hero-dashboard .hero-stats > div:nth-child(4) { border-right: none; }
  .hero-dashboard .hero-stats > div:nth-child(5) { grid-column: 1 / -1; border-right: none; border-bottom: none; }
  .live-market-grid { grid-template-columns: 1fr; }
  .market-grid { grid-template-columns: 1fr 1fr; }
  .market-dashboard { padding: 16px; border-radius: 20px; }
  .market-chart-svg { height: 150px; }
  .account-cards { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .instruments-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid::before { display: none; }
  .download-grid { grid-template-columns: 1fr; }
  .download-img { display: none; }
  .download-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .about-cols { grid-template-columns: 1fr; }
  .platform-tab-panel { padding: 28px; }
  .platform-tabs { overflow-x: auto; }
}
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .instruments-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-dashboard .hero-cta { align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero h1 { font-size: 36px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .market-grid { grid-template-columns: 1fr; }
  .market-dashboard-header { align-items: flex-start; flex-direction: column; }
}
