:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #111827;
  --bg-card: #151d2e;
  --bg-card-hover: #1a2438;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #06b6d4;
  --accent-light: #22d3ee;
  --accent-dark: #0891b2;
  --accent-rgb: 6, 182, 212;
  --green: #22c55e;
  --red: #ef4444;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
  --header-height: 80px;
  --ticker-height: 48px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
}

.up {
  color: var(--green);
}

.down {
  color: var(--red);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(10, 14, 23, 0.45);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.header.scrolled {
  background: rgba(10, 14, 23, 0.88);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 56px;
  width: auto;
}

.footer-brand .logo img {
  height: 64px;
}

.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-toggle {
  position: relative;
  z-index: 2;
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  color: var(--text-primary) !important;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  font-weight: 500 !important;
  transition: border-color var(--transition), color var(--transition) !important;
}

.nav-cta:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  transform: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.hero-main {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: calc(100vh - var(--ticker-height));
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg-primary);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 23, 0.25) 0%, rgba(10, 14, 23, 0.55) 45%, rgba(10, 14, 23, 0.88) 100%),
    linear-gradient(90deg, rgba(10, 14, 23, 0.65) 0%, rgba(10, 14, 23, 0.2) 55%, rgba(10, 14, 23, 0.65) 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black, transparent);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.hero-glow--1 {
  width: 600px;
  height: 600px;
  background: rgba(var(--accent-rgb), 0.08);
  top: -200px;
  right: -100px;
}

.hero-glow--2 {
  width: 400px;
  height: 400px;
  background: rgba(59, 130, 246, 0.06);
  bottom: 0;
  left: -100px;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-height) + 24px);
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-title-accent {
  color: var(--accent);
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.stat {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-suffix {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
}

.stat-label {
  width: 100%;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-ticker {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  height: var(--ticker-height);
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.ticker-inner {
  display: flex;
  width: max-content;
  animation: ticker 35s linear infinite;
  will-change: transform;
}

.ticker-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
  white-space: nowrap;
  padding: 0 40px;
}

.ticker-track strong {
  margin-left: 8px;
  font-weight: 600;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.service-card--featured {
  border-color: rgba(var(--accent-rgb), 0.3);
  background: linear-gradient(145deg, rgba(var(--accent-rgb), 0.08), var(--bg-card));
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg-primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--accent-rgb), 0.1);
  border-radius: 12px;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-card h3 {
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card > p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 20px;
}

.service-features {
  margin-bottom: 24px;
}

.service-features li {
  position: relative;
  padding-left: 20px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.service-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--transition);
}

.service-link:hover {
  color: var(--accent-light);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-card--main {
  padding: 24px;
}

.about-chart {
  height: 160px;
  color: var(--accent);
}

.about-chart svg {
  width: 100%;
  height: 100%;
}

.chart-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawLine 2s ease forwards 0.5s;
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

.about-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.about-card-footer strong {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.value {
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.value strong {
  display: block;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.value span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Markets */
.markets-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.markets-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.markets-table th,
.markets-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.markets-table th {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.2);
}

.markets-table tbody tr:last-child td {
  border-bottom: none;
}

.markets-table tbody tr {
  transition: background var(--transition);
}

.markets-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.market-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 0.6875rem;
  font-weight: 700;
  margin-right: 12px;
  vertical-align: middle;
}

.market-icon.forex {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
}

.market-icon.stock {
  background: rgba(var(--accent-rgb), 0.15);
  color: var(--accent);
}

.market-icon.index {
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
}

.market-icon.commodity {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.markets-disclaimer {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Why */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-item {
  padding: 32px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.why-item:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  transform: translateY(-2px);
}

.why-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(var(--accent-rgb), 0.2);
  line-height: 1;
  margin-bottom: 16px;
}

.why-item h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.why-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* CTA */
.cta-box {
  text-align: center;
  padding: 64px 48px;
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.12), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  border-radius: var(--radius-lg);
}

.cta-box h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-top: 16px;
  max-width: 280px;
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Animations */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .logo img {
    height: 46px;
  }

  .section {
    padding: 72px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    left: 0;
    right: 0;
    top: var(--header-height);
    transform: translateY(-100%);
    flex-direction: column;
    gap: 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a {
    border-bottom: none;
    margin-top: 8px;
    text-align: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .cta-box {
    padding: 48px 24px;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 64px;
  }

  .logo img {
    height: 42px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
