:root {
  --navy: #07142f;
  --navy2: #0b1d40;
  --blue: #2864ff;
  --cyan: #43d5ef;
  --text: #172443;
  --muted: #74819a;
  --light: #f4f7ff;
  --border: #e8edf6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Space Grotesk", sans-serif;
}

a {
  text-decoration: none;
}

.section-padding {
  padding: 95px 0;
}

.section-label {
  display: inline-block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.section-title {
  font-size: clamp(30px, 4vw, 43px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1.5px;
}

.gradient-text {
  background: linear-gradient(90deg, #2864ff, #25b9e8);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* NAVBAR */

.navbar {
  padding: 18px 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #edf0f6;
}

.brand {
  font-family: "Space Grotesk";
  font-size: 25px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -1px;
}

.brand i {
  color: var(--blue);
  font-size: 23px;
  margin-right: 5px;
}

.navbar-nav {
  gap: 7px;
}

.navbar .nav-link {
  font-size: 20px;
  font-weight: 700;
  color: #45536d;
  padding: 10px 13px !important;
}

.navbar .nav-link:hover {
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-login {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 17px;
}

.btn-primary-custom {
  background: var(--blue);
  color: white;
  border: 1px solid var(--blue);
  padding: 13px 23px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: 0.3s;
}

.btn-primary-custom:hover {
  background: #174cdd;
  color: white;
  transform: translateY(-2px);
}

.btn-outline-custom {
  border: 1px solid #dce4f1;
  color: var(--navy);
  padding: 13px 22px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: 0.3s;
}

.btn-outline-custom:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* HERO */

.hero {
  background:
    radial-gradient(circle at 80% 40%, #163b7c 0%, transparent 38%),
    linear-gradient(120deg, #07142f, #0c2047 70%, #102f62);
  color: white;
  min-height: 650px;
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero:before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border: 1px solid #ffffff0e;
  border-radius: 50%;
  right: -100px;
  top: 30px;
  box-shadow:
    0 0 0 60px #ffffff05,
    0 0 0 120px #ffffff04;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border: 1px solid #ffffff24;
  background: #ffffff0c;
  color: #a8c8ff;
  font-size: 11px;
  border-radius: 30px;
  margin-bottom: 25px;
}

.hero-tag span {
  height: 7px;
  width: 7px;
  background: #3de0a5;
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(43px, 5.5vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -2.8px;
  margin-bottom: 23px;
}

.hero h1 span {
  color: var(--cyan);
}

.hero p {
  color: #aab9d4;
  font-size: 15px;
  line-height: 1.9;
  max-width: 470px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero .btn-outline-custom {
  border-color: #ffffff50;
  color: white;
}

.hero-note {
  color: #879bbd;
  font-size: 11px;
  margin-top: 25px;
}

/* DASHBOARD MOCKUP */

.hero-dashboard {
  position: relative;
  z-index: 2;
  max-width: 530px;
  margin-left: auto;
}

.dashboard-card {
  background: #0c1c3c;
  border: 1px solid #ffffff1a;
  border-radius: 16px;
  padding: 23px;
  box-shadow: 0 35px 80px #0008;
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9fb1ce;
  font-size: 12px;
  margin-bottom: 24px;
}

.dashboard-top strong {
  color: white;
  font-size: 14px;
}

.live-pill {
  color: #42e0a0;
  background: #42e0a018;
  border-radius: 30px;
  padding: 5px 10px;
  font-size: 10px;
}

.balance-label {
  color: #8194b4;
  font-size: 11px;
}

.balance-value {
  font-family: "Space Grotesk";
  font-size: 35px;
  color: white;
  font-weight: 700;
  margin: 6px 0;
}

.profit-text {
  color: #43dda0;
  font-size: 12px;
}

.chart-area {
  height: 210px;
  margin-top: 20px;
  position: relative;
  background: linear-gradient(180deg, #2864ff12, transparent);
  border-bottom: 1px solid #ffffff15;
  overflow: hidden;
}

.chart-area svg {
  width: 100%;
  height: 100%;
}

.chart-grid {
  stroke: #ffffff13;
  stroke-dasharray: 4 5;
}

.chart-line {
  fill: none;
  stroke: #42c9ff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-fill {
  fill: url(#chartGradient);
}

.dashboard-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.dashboard-stat {
  border-right: 1px solid #ffffff16;
}

.dashboard-stat:last-child {
  border: 0;
}

.dashboard-stat small {
  display: block;
  color: #8598b6;
  font-size: 10px;
}

.dashboard-stat strong {
  display: block;
  color: white;
  font-size: 14px;
  margin-top: 5px;
}

.floating-card {
  position: absolute;
  background: white;
  color: var(--navy);
  border-radius: 10px;
  padding: 12px 15px;
  box-shadow: 0 15px 35px #0004;
  font-size: 11px;
  z-index: 3;
}

.floating-card.one {
  top: 60px;
  left: -45px;
}

.floating-card.two {
  bottom: 55px;
  right: -35px;
}

.floating-card strong {
  display: block;
  font-size: 15px;
  margin-top: 4px;
}

.floating-card small {
  color: #78859a;
}

/* MARKET TICKER */

.market-ticker {
  background: #06122b;
  color: white;
  padding: 17px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  white-space: nowrap;
  overflow: hidden;
}

.ticker-item {
  font-size: 11px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.ticker-item strong {
  color: #dce8ff;
}

.up {
  color: #39d99a;
}

.down {
  color: #ff7185;
}

/* MARKET SECTION */

.market-section {
  background: #fff;
}

.market-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 15px 45px #142e5b08;
}

.market-heading {
  display: flex;
  justify-content: space-between;
  padding: 22px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.market-heading h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
}

.market-table {
  width: 100%;
  border-collapse: collapse;
}

.market-table th {
  color: #8792a7;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 15px 20px;
  background: #fafbfe;
}

.market-table td {
  padding: 17px 20px;
  border-top: 1px solid #f0f2f7;
  font-size: 12px;
  font-weight: 600;
}

.asset-icon {
  display: inline-flex;
  width: 30px;
  height: 30px;
  background: #eef3ff;
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-right: 9px;
}

.market-price {
  font-weight: 800;
  color: var(--navy);
}

.market-change {
  padding: 5px 9px;
  border-radius: 5px;
  background: #eafaf3;
  color: #169c6b;
  font-size: 10px;
}

.market-change.negative {
  background: #fff0f2;
  color: #ed546c;
}

.market-side-card {
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(145deg, #102b5b, #07142f);
  padding: 28px;
  color: white;
}

.market-side-card small {
  color: #91a9cf;
}

.market-side-card h3 {
  font-size: 30px;
  margin-top: 12px;
}

.mini-chart {
  width: 100%;
  height: 100px;
  margin: 15px 0;
}

.mini-chart svg {
  width: 100%;
  height: 100%;
}

/* ACCOUNT TYPES */

.accounts-section {
  background: var(--light);
}

.account-card {
  height: 100%;
  background: white;
  border: 1px solid #e6ebf5;
  border-radius: 13px;
  padding: 30px 25px;
  position: relative;
  transition: 0.3s;
}

.account-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 40px #102b5b12;
}

.account-card.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 15px 40px #2864ff12;
}

.account-badge {
  position: absolute;
  top: -13px;
  right: 20px;
  background: var(--blue);
  color: white;
  padding: 6px 13px;
  border-radius: 30px;
  font-size: 9px;
  font-weight: 800;
}

.account-card h4 {
  font-size: 19px;
  font-weight: 700;
}

.account-desc {
  font-size: 12px;
  color: var(--muted);
  min-height: 40px;
}

.account-price {
  font-size: 38px;
  font-weight: 800;
  font-family: "Space Grotesk";
  color: var(--navy);
  margin: 18px 0 5px;
}

.account-price small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.account-card ul {
  padding: 20px 0;
  margin: 15px 0 25px;
  border-top: 1px solid var(--border);
  list-style: none;
}

.account-card li {
  font-size: 12px;
  color: #66748c;
  padding: 8px 0;
}

.account-card li i {
  color: #22b98a;
  margin-right: 8px;
}

/* MOBILE TRADING */

.smart-section {
  background: white;
}

.smart-panel {
  background: #f3f6ff;
  border-radius: 20px;
  padding: 50px;
  overflow: hidden;
}

.phone-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.phone {
  width: 190px;
  background: #07142f;
  border: 6px solid #202d48;
  border-radius: 30px;
  padding: 15px 11px;
  box-shadow: 0 25px 50px #102b5b30;
  color: white;
  min-height: 365px;
}

.phone:nth-child(2) {
  transform: translateY(35px);
}

.phone-notch {
  height: 5px;
  width: 55px;
  background: #53617c;
  border-radius: 10px;
  margin: 0 auto 20px;
}

.phone small {
  color: #8193b2;
  font-size: 9px;
}

.phone h5 {
  color: white;
  font-size: 21px;
  margin: 8px 0 15px;
}

.phone-chart {
  height: 80px;
  margin: 15px 0;
}

.phone-chart svg {
  width: 100%;
  height: 100%;
}

.phone-row-item {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #ffffff17;
  padding: 12px 0;
  font-size: 9px;
}

.phone-row-item span:last-child {
  color: #3bdaa1;
}

/* FEATURES */

.features-section {
  background: #fff;
}

.feature-card {
  padding: 27px;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: 0.3s;
}

.feature-card:hover {
  border-color: #b5c9ff;
  box-shadow: 0 12px 30px #102b5b0b;
}

.feature-icon {
  width: 49px;
  height: 49px;
  border-radius: 12px;
  background: #edf3ff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-card h5 {
  font-size: 16px;
  font-weight: 700;
}

.feature-card p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0;
}

/* PLATFORM SECTION */

.platform-section {
  background: linear-gradient(120deg, #07142f, #102c5b);
  color: white;
  overflow: hidden;
}

.platform-section .section-label {
  color: var(--cyan);
}

.platform-section p {
  color: #a4b6d3;
  font-size: 13px;
  line-height: 1.9;
}

.terminal {
  background: #0a1935;
  border: 1px solid #ffffff1c;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 70px #0006;
}

.terminal-header {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff17;
  color: #9fb1ce;
  font-size: 11px;
}

.terminal-dots {
  display: flex;
  gap: 5px;
}

.terminal-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #52627d;
}

.terminal-body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  min-height: 280px;
}

.terminal-sidebar {
  border-right: 1px solid #ffffff16;
  padding: 20px 14px;
}

.terminal-sidebar div {
  font-size: 10px;
  color: #8499bc;
  padding: 11px 0;
}

.terminal-sidebar div.active {
  color: white;
}

.terminal-main {
  padding: 20px;
}

.terminal-main h5 {
  color: white;
  font-size: 20px;
}

.terminal-chart {
  height: 150px;
  margin-top: 20px;
}

.terminal-chart svg {
  width: 100%;
  height: 100%;
}

/* STEPS */

.steps-section {
  background: var(--light);
}

.step-card {
  text-align: center;
  padding: 25px;
  position: relative;
}

.step-number {
  width: 62px;
  height: 62px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  background: white;
  color: var(--blue);
  box-shadow: 0 10px 30px #102b5b10;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 22px;
}

.step-card h5 {
  font-size: 16px;
  font-weight: 700;
}

.step-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

/* ASSETS */

.assets-section {
  padding: 65px 0;
  text-align: center;
  overflow: hidden;
}

.asset-word {
  font-family: "Space Grotesk";
  font-weight: 800;
  color: #e9eef7;
  font-size: clamp(27px, 5vw, 58px);
  letter-spacing: -2px;
  margin: 5px 12px;
  display: inline-block;
}

/* CTA */

.cta-section {
  padding: 45px 0 90px;
}

.cta-box {
  background:
    radial-gradient(circle at 80% 30%, #2766d65c, transparent 40%),
    linear-gradient(120deg, #0b1e47, #07142f);
  border-radius: 20px;
  padding: 65px 25px;
  color: white;
  text-align: center;
  overflow: hidden;
}

.cta-box h2 {
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-box p {
  color: #a9b9d5;
  font-size: 13px;
  margin-bottom: 25px;
}

/* FOOTER */

.footer {
  background: #050e23;
  color: #94a5c1;
  padding: 70px 0 20px;
}

.footer .brand {
  color: white;
}

.footer-about {
  font-size: 12px;
  line-height: 1.9;
  max-width: 330px;
  margin-top: 20px;
}

.footer h5 {
  color: white;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 22px;
}

.footer-links a {
  display: block;
  font-size: 12px;
  color: #94a5c1;
  margin-bottom: 14px;
  transition: 0.3s;
}

.footer-links a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid #ffffff16;
  margin-top: 45px;
  padding-top: 20px;
  font-size: 11px;
}

.social-links {
  display: flex;
  gap: 9px;
}

.social-links a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff10;
  color: white;
  border-radius: 7px;
}

.social-links a:hover {
  background: var(--blue);
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .navbar-nav {
    padding: 15px 0;
    gap: 0;
  }

  .nav-actions {
    padding-bottom: 15px;
  }

  .hero {
    padding: 75px 0;
  }

  .hero-dashboard {
    margin: 55px auto 0;
  }

  .floating-card.one {
    left: -15px;
  }

  .floating-card.two {
    right: -10px;
  }

  .section-padding {
    padding: 75px 0;
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding: 60px 0;
  }

  .hero {
    padding: 65px 0 55px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 43px;
    letter-spacing: -1.8px;
  }

  .hero p {
    font-size: 13px;
  }

  .hero-dashboard {
    margin-top: 55px;
  }

  .dashboard-card {
    padding: 17px;
  }

  .balance-value {
    font-size: 28px;
  }

  .chart-area {
    height: 160px;
  }

  .floating-card {
    padding: 9px 11px;
  }

  .floating-card.one {
    top: -25px;
  }

  .floating-card.two {
    bottom: -25px;
  }

  .market-table th,
  .market-table td {
    padding: 13px 10px;
  }

  .market-table {
    min-width: 480px;
  }

  .market-box {
    overflow-x: auto;
  }

  .smart-panel {
    padding: 35px 15px;
  }

  .phone {
    width: 160px;
    min-height: 320px;
    padding: 12px 9px;
  }

  .phone h5 {
    font-size: 18px;
  }

  .terminal-body {
    grid-template-columns: 1fr;
  }

  .terminal-sidebar {
    display: flex;
    justify-content: space-around;
    border-right: 0;
    border-bottom: 1px solid #ffffff16;
    padding: 8px;
  }

  .terminal-sidebar div {
    font-size: 9px;
  }

  .dashboard-bottom {
    gap: 5px;
  }

  .dashboard-stat strong {
    font-size: 12px;
  }

  .ticker-track {
    justify-content: flex-start;
    animation: ticker 25s linear infinite;
    width: max-content;
  }

  @keyframes ticker {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-50%);
    }
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 37px;
  }

  .hero-buttons .btn-primary-custom,
  .hero-buttons .btn-outline-custom {
    width: 100%;
  }

  .phone-row {
    gap: 9px;
  }

  .phone {
    width: 48%;
    min-height: 295px;
    border-width: 4px;
    border-radius: 22px;
  }

  .phone:nth-child(2) {
    transform: translateY(18px);
  }

  .phone-row-item {
    font-size: 8px;
  }

  .floating-card.one {
    left: 0;
  }

  .floating-card.two {
    right: 0;
  }

  .cta-box {
    padding: 45px 18px;
  }

  .dashboard-stat small {
    font-size: 9px;
  }
}

/* =================================
   PREMIUM WEBSITE ANIMATIONS
================================= */

/* Smooth page scrolling */
html {
  scroll-behavior: smooth;
}

/* Hero entrance */
.hero-content {
  animation: heroContentIn 1s ease both;
}

.hero-dashboard {
  animation: dashboardIn 1.1s 0.2s ease both;
}

@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateX(-45px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes dashboardIn {
  from {
    opacity: 0;
    transform: translateX(45px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Hero heading glow */
.hero h1 span {
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from {
    text-shadow: 0 0 0 transparent;
  }
  to {
    text-shadow: 0 0 22px #43d5ef70;
  }
}

/* Floating dashboard cards */
.floating-card.one {
  animation: floatOne 4s ease-in-out infinite;
}

.floating-card.two {
  animation: floatTwo 4.5s ease-in-out infinite;
}

@keyframes floatOne {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-13px);
  }
}

@keyframes floatTwo {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(13px);
  }
}

/* Dashboard chart animation */
.chart-line,
.mini-chart path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawChart 2.5s ease forwards;
}

@keyframes drawChart {
  to {
    stroke-dashoffset: 0;
  }
}

/* Ticker */
.market-ticker {
  position: relative;
}

.ticker-track {
  animation: tickerMove 35s linear infinite;
  width: max-content;
}

.market-ticker:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes tickerMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Account cards */
.account-card {
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.account-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 22px 45px #102b5b18;
}

/* Feature cards */
.feature-card {
  transition: all 0.4s ease;
}

.feature-icon {
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: rotateY(180deg);
  background: var(--blue);
  color: white;
}

/* Phone floating animation */
.phone:first-child {
  animation: phoneFloat 4s ease-in-out infinite;
}

.phone:nth-child(2) {
  animation: phoneFloat 4s ease-in-out infinite 1s;
}

@keyframes phoneFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Phone second card base position */
.phone:nth-child(2) {
  animation-name: phoneFloatSecond;
}

@keyframes phoneFloatSecond {
  0%,
  100% {
    transform: translateY(35px);
  }
  50% {
    transform: translateY(20px);
  }
}

/* Platform glow */
.terminal {
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.terminal:hover {
  transform: translateY(-6px);
  box-shadow: 0 35px 80px #0009;
}

/* Step number animation */
.step-number {
  transition: all 0.4s ease;
}

.step-card:hover .step-number {
  transform: translateY(-7px) rotate(8deg);
  background: var(--blue);
  color: white;
}

/* CTA animation */
.cta-box {
  position: relative;
  isolation: isolate;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -50%;
  width: 40%;
  height: 300%;
  background: linear-gradient(90deg, transparent, #ffffff12, transparent);
  transform: rotate(25deg);
  animation: ctaShine 6s ease-in-out infinite;
  z-index: -1;
}

@keyframes ctaShine {
  0%,
  65% {
    left: -60%;
  }
  100% {
    left: 130%;
  }
}

/* Button effect */
.btn-primary-custom {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 100%;
  height: 100%;
  background: linear-gradient(100deg, transparent, #ffffff35, transparent);
  transition: 0.6s;
}

.btn-primary-custom:hover::before {
  left: 120%;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered reveal */
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.login-wrapper {
  display: grid;
  grid-template-columns: 54% 46%;
  min-height: 100vh;
}

/* LEFT SECTION */

.login-left {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 25px 5%;
  position: relative;
  background: #f3f6fc;
  animation: leftReveal 0.9s ease both;
}

@keyframes leftReveal {
  from {
    opacity: 0;
    transform: translateX(-35px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* LOGO */

.login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--navy);
  font-size: 25px;
  font-weight: 800;
  font-family: "Space Grotesk";
  text-decoration: none;
  letter-spacing: -1px;
}

.logo i {
  color: var(--blue);
}

.logo span {
  color: var(--blue);
}

.header-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header-actions a {
  color: var(--navy);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

/* LOGIN BOX */

.login-content {
  width: 100%;
  max-width: 440px;
  margin: auto;
  padding: 35px 0;
  animation: formReveal 1s 0.2s ease both;
}

@keyframes formReveal {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-card {
  background: white;
  border: 1px solid #e4eaf3;
  border-radius: 19px;
  padding: 32px;
  box-shadow: 0 15px 50px rgba(18, 43, 85, 0.05);
}

.login-card h2 {
  color: var(--navy);
  font-family: "Space Grotesk";
  font-weight: 700;
  font-size: 27px;
  margin-bottom: 8px;
}

.login-subtitle {
  color: #75829b;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 27px;
}

.form-label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-control {
  height: 49px;
  border-radius: 10px;
  border: 1px solid #d5dce9;
  padding: 12px 14px;
  font-size: 14px;
  box-shadow: none !important;
  transition: 0.3s;
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px #2864ff1a !important;
}

.input-group .form-control {
  border-radius: 10px 0 0 10px;
}

.password-toggle {
  border: 1px solid #d5dce9;
  border-left: 0;
  background: white;
  border-radius: 0 10px 10px 0;
  padding: 0 15px;
  color: #64748b;
}

.password-toggle:hover {
  color: var(--blue);
}

.forgot-link {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

.remember-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 19px 0;
}

.remember-row label {
  font-size: 12px;
  color: #69778f;
}

.form-check-input:checked {
  background-color: var(--blue);
  border-color: var(--blue);
}

.login-btn {
  width: 100%;
  height: 49px;
  border: none;
  border-radius: 10px;
  color: white;
  background: var(--blue);
  font-weight: 700;
  font-size: 14px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

.login-btn:hover {
  background: #174cdb;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px #2864ff35;
}

.login-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #ffffff40, transparent);
  transform: skewX(-20deg);
}

.login-btn:hover::before {
  animation: buttonShine 0.7s ease;
}

@keyframes buttonShine {
  to {
    left: 150%;
  }
}

.login-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
}

.register-text {
  text-align: center;
  color: #78869f;
  font-size: 13px;
  margin-top: 23px;
}

.register-text a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.login-footer {
  text-align: center;
  font-size: 11px;
  color: #8490a5;
  line-height: 1.8;
  margin-top: 15px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
}

.footer-links a {
  color: #65738b;
  font-size: 11px;
  text-decoration: none;
}

/* RIGHT PANEL */

.login-right {
  background:
    radial-gradient(circle at 80% 15%, #1b3e7d 0%, transparent 35%),
    linear-gradient(145deg, #07142f, #0d2047);
  min-height: 100vh;
  color: white;
  padding: 45px 8%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* GRID BACKGROUND */

.login-right::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff0a 1px, transparent 1px),
    linear-gradient(90deg, #ffffff0a 1px, transparent 1px);
  background-size: 55px 55px;
  animation: gridMove 25s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 55px 55px;
  }
}

.right-content,
.right-logo,
.right-bottom {
  position: relative;
  z-index: 2;
}

.right-logo {
  color: white;
  font-family: "Space Grotesk";
  font-size: 27px;
  font-weight: 800;
}

.right-logo span {
  color: var(--cyan);
}

.right-content {
  max-width: 520px;
  margin: auto 0;
  animation: rightReveal 1.1s 0.3s ease both;
}

@keyframes rightReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.right-content .small-tag {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
  display: inline-block;
}

.right-content h1 {
  font-family: "Space Grotesk";
  font-size: clamp(34px, 3.5vw, 47px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -1.8px;
  margin-bottom: 20px;
}

.right-content h1 span {
  color: var(--cyan);
}

.right-content p {
  color: #aabbd9;
  font-size: 14px;
  line-height: 1.9;
  max-width: 460px;
}

.right-features {
  margin-top: 30px;
}

.right-feature {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 18px 0;
  color: #e3eaf8;
  font-size: 13px;
  animation: featureReveal 0.6s ease both;
}

.right-feature:nth-child(2) {
  animation-delay: 0.2s;
}

.right-feature:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes featureReveal {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.feature-check {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff20;
  border-radius: 50%;
  color: var(--cyan);
  font-size: 12px;
}

/* FLOATING CIRCLES */

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.orb-one {
  width: 220px;
  height: 220px;
  border: 1px solid #43d5ef24;
  right: -70px;
  top: 15%;
  animation: orbFloat 8s ease-in-out infinite;
}

.orb-two {
  width: 350px;
  height: 350px;
  border: 1px solid #ffffff0b;
  right: -100px;
  bottom: -100px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}

.orb-three {
  width: 120px;
  height: 120px;
  background: #2864ff12;
  filter: blur(15px);
  top: 50%;
  left: 10%;
  animation: orbFloat 6s ease-in-out infinite;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-20px, 25px);
  }
}

/* PARTICLES */

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0.6;
  animation: particleMove 6s ease-in-out infinite;
}

.particle:nth-child(2) {
  animation-delay: 1s;
}

.particle:nth-child(3) {
  animation-delay: 2s;
}

@keyframes particleMove {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.2;
  }
  50% {
    transform: translateY(-35px);
    opacity: 0.9;
  }
}

/* FOOTER RIGHT */

.right-bottom {
  color: #8196b8;
  font-size: 11px;
}

/* ERROR MESSAGE */

.error-message {
  color: #e5485d;
  font-size: 12px;
  margin-top: 8px;
  display: none;
}

.success-message {
  background: #e8f9f0;
  color: #16895d;
  border-radius: 8px;
  font-size: 12px;
  padding: 12px;
  margin-bottom: 15px;
  display: none;
}

/* RESPONSIVE */

@media (max-width: 991px) {
  .login-wrapper {
    grid-template-columns: 1fr;
  }

  .login-left {
    min-height: 100vh;
    padding: 22px 6%;
  }

  .login-content {
    margin: 55px auto;
  }

  .login-right {
    min-height: 550px;
    padding: 50px 8%;
  }

  .right-content {
    margin: 80px 0;
  }
}

@media (max-width: 576px) {
  .login-left {
    padding: 20px;
  }

  .login-card {
    padding: 25px 20px;
    border-radius: 14px;
  }

  .login-content {
    margin: 45px auto;
  }

  .login-card h2 {
    font-size: 24px;
  }

  .logo {
    font-size: 21px;
  }

  .header-actions {
    gap: 10px;
  }

  .login-right {
    min-height: 480px;
    padding: 35px 25px;
  }

  .right-content h1 {
    font-size: 34px;
  }

  .right-content p {
    font-size: 13px;
  }

  .right-feature {
    font-size: 12px;
  }

  .footer-links {
    gap: 12px;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 200px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Tablet */
@media (max-width: 991px) {
  .brand img {
    width: 160px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .brand img {
    width: 130px;
  }
}

/* Small Mobile */
@media (max-width: 375px) {
  .brand img {
    width: 110px;
  }
}

.register-wrapper {
  width: 100%;
  min-height: 100vh;
}

/* LEFT SECTION */

.register-left {
  background: #f5f7fc;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
}

.register-header {
  width: 100%;
  min-height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  /*width: 75px;*/
  max-width: 100%;
  height: auto;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  color: #263450;
  font-size: 14px;
}

.register-content {
  width: 100%;
  max-width: 510px;
  margin: 25px auto 30px;
}

.register-card {
  width: 100%;
  background: #fff;
  border: 1px solid #e3e6ed;
  border-radius: 17px;
  padding: 30px;
}

.register-card h3 {
  font-size: 23px;
  font-weight: 600;
  color: #07142e;
  margin-bottom: 8px;
}

.subtitle {
  color: #66748e;
  font-size: 14px;
  margin-bottom: 24px;
}

.register-card label {
  font-size: 13px;
  color: #07142e;
  margin-bottom: 7px;
}

.register-card label span {
  color: red;
}

.register-card .form-control,
.register-card .form-select {
  height: 43px;
  border-radius: 10px;
  border: 1px solid #d5d9e2;
  font-size: 14px;
  box-shadow: none;
}

.register-card .form-control:focus,
.register-card .form-select:focus {
  border-color: #8daeff;
  box-shadow: 0 0 0 3px rgba(100, 145, 255, 0.12);
}

.register-card .form-check-label {
  line-height: 1.5;
  font-size: 13px;
}

.create-btn {
  height: 46px;
  background: #8fb2ff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
}

.signin-text {
  text-align: center;
  font-size: 14px;
  margin-top: 22px;
  color: #66748e;
}

.signin-text a {
  color: #0055d9;
  text-decoration: none;
  font-weight: 600;
}

.legal-text {
  text-align: center;
  color: #68758e;
  font-size: 12px;
  line-height: 1.6;
  margin-top: 35px;
  padding-bottom: 15px;
}

/* RIGHT SECTION */

.register-right {
  background-color: #09132f;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);

  background-size: 52px 52px;

  color: #fff;
  min-height: 100vh;
  padding: 40px 45px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.right-logo img {
  width: 85px;
  height: auto;
}

.right-content {
  width: 100%;
  max-width: 470px;
  margin: auto;
}

.right-content h1 {
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 18px;
}

.right-content p {
  font-size: 16px;
  line-height: 1.6;
  color: #d0d9ec;
}

.right-content ul {
  padding: 0;
  margin-top: 28px;
  list-style: none;
}

.right-content ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.right-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #263858;
  color: #8eb5ff;
  text-align: center;
  line-height: 20px;
}

.right-footer {
  color: #aab6cc;
  font-size: 12px;
}

/* LAPTOP */

@media (max-width: 1199px) {
  .register-left {
    padding: 0 25px;
  }

  .register-right {
    padding: 35px 30px;
  }

  .register-card {
    padding: 25px;
  }
}

/* TABLET */

@media (max-width: 991px) {
  .register-left {
    width: 100%;
    padding: 0 25px;
  }

  .register-content {
    max-width: 550px;
    margin-top: 20px;
  }

  .register-right {
    width: 100%;
    min-height: auto;
    padding: 35px 30px;
    gap: 35px;
  }

  .right-content {
    margin: 0 auto;
  }

  .right-content h1 {
    font-size: 32px;
  }
}

/* MOBILE */

@media (max-width: 767px) {
  .register-left {
    padding: 0 15px;
  }

  .register-header {
    min-height: 65px;
  }

  .brand img {
    width: 68px;
  }

  .header-actions {
    gap: 15px;
    font-size: 13px;
  }

  .register-content {
    margin: 15px auto 25px;
    max-width: 100%;
  }

  .register-card {
    padding: 22px 17px;
    border-radius: 13px;
  }

  .register-card h3 {
    font-size: 21px;
  }

  .register-card .form-control,
  .register-card .form-select {
    height: 45px;
  }

  .register-card .form-check-label {
    font-size: 12px;
  }

  .legal-text {
    margin-top: 25px;
    font-size: 11px;
  }

  .register-right {
    padding: 28px 22px;
    gap: 30px;
    min-height: auto;
  }

  .right-logo img {
    width: 75px;
  }

  .right-content h1 {
    font-size: 29px;
  }

  .right-content p {
    font-size: 14px;
  }

  .right-content ul li {
    font-size: 13px;
  }

  .right-footer {
    font-size: 11px;
    line-height: 1.6;
  }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
  .register-left {
    padding: 0 10px;
  }

  .register-card {
    padding: 18px 13px;
  }

  .register-card h3 {
    font-size: 19px;
  }

  .register-card .row > div {
    padding-left: 6px;
    padding-right: 6px;
  }

  .right-content h1 {
    font-size: 26px;
  }
}
.account-tabs {
  display: flex;
  width: 100%;
  padding: 3px;
  background: #f1f3f8;
  border: 1px solid #dce1eb;
  border-radius: 11px;
  gap: 3px;
}

.account-tab {
  flex: 1;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: #53617c;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.account-tab.active {
  background: #fff;
  border-color: #dce1eb;
  color: #07142e;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.language-btn {
  border: 1px solid var(--border);
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 12px;
  background: #fff;
  color: #14203e;
}

.login-link {
  text-decoration: none;
  font-size: 13px;
  color: #14203e;
}

.open-btn {
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  border-radius: 7px;
  padding: 10px 19px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

/* HERO */

.hero-section {
  padding: 90px 0 75px;
  border-bottom: 1px solid #edf0f5;
  background:
    radial-gradient(ellipse at 90% 0%, #e6efff 0%, transparent 35%), #fff;
}

.container-custom {
  max-width: 1200px;
  padding-left: 25px;
  padding-right: 25px;
  margin: auto;
}

.section-label {
  font-size: 11px;
  color: var(--primary);
  letter-spacing: 1.3px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-section h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.hero-section p {
  font-size: 15px;
  color: var(--muted);
  max-width: 470px;
  line-height: 1.7;
}

/* ACCOUNT CARDS */

.account-section {
  padding: 50px 0 35px;
}

.account-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 19px;
  padding: 28px 25px 23px;
  background: #fff;
  transition: 0.25s;
  position: relative;
}

.account-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(20, 45, 100, 0.07);
}

.account-card.raw {
  border-color: #cbdcff;
  background: linear-gradient(150deg, #f3f7ff 0%, #fff 45%);
}

.account-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.account-card h3 {
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 10px;
}

.account-card .description {
  font-size: 13px;
  color: var(--muted);
  min-height: 38px;
  line-height: 1.5;
}

.popular-badge {
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 20px;
  white-space: nowrap;
}

.spread-label {
  color: #71809d;
  font-size: 12px;
  margin-top: 14px;
}

.spread-value {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -2px;
}

.raw .spread-value {
  color: var(--primary);
}

.pips {
  font-size: 12px;
  color: var(--muted);
  margin-left: 4px;
}

.account-details {
  margin-top: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #edf0f5;
  font-size: 12px;
}

.detail-row span {
  color: var(--muted);
}

.detail-row strong {
  font-weight: 600;
  color: #101a37;
  text-align: right;
}

.account-button {
  width: 100%;
  margin-top: 15px;
  height: 43px;
  border-radius: 8px;
  border: 1px solid #d9deea;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #111c38;
  transition: 0.2s;
}

.account-button:hover {
  background: #f2f6ff;
  border-color: var(--primary);
}

.raw .account-button {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.raw .account-button:hover {
  background: #104fdf;
}

.account-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 22px;
}

.account-note span {
  color: var(--primary);
  margin-right: 5px;
}

/* COMPARE SECTION */

.compare-section {
  padding: 65px 0 0;
}

.compare-section h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.compare-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #dfe5f0;
  border-radius: 17px;
  background: #f4f6fb;
}

.compare-table {
  width: 100%;
  min-width: 550px;
  border-collapse: collapse;
  margin: 0;
}

.compare-table th,
.compare-table td {
  padding: 16px 22px;
  font-size: 12px;
  border-bottom: 1px solid #e6eaf2;
  text-align: center;
}

.compare-table th {
  font-size: 13px;
  font-weight: 600;
  color: #0d1939;
}

.compare-table th:nth-child(3) {
  color: var(--primary);
}

.compare-table td:first-child {
  color: var(--muted);
  text-align: left;
  width: 24%;
}

.compare-table td:not(:first-child) {
  font-weight: 600;
  color: #111c38;
}

.compare-table tr:last-child td {
  border-bottom: 0;
}

/* CTA SECTION */

.cta-section {
  padding: 100px 0 95px;
}

.cta-box {
  min-height: 420px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at center bottom, #1b3b83 0%, transparent 55%),
    #0c1b56;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 55px 20px;
  color: #fff;
}

.cta-content {
  max-width: 550px;
}

.cta-content h2 {
  font-size: clamp(35px, 5vw, 52px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.cta-content p {
  color: #c7d2f0;
  font-size: 14px;
  margin-bottom: 35px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-primary {
  background: #3478ff;
  color: #fff;
  border: 1px solid #3478ff;
  padding: 14px 25px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.cta-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #465987;
  padding: 14px 25px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 13px;
}
/* TABLET */

@media (max-width: 991px) {
  .navbar-nav {
    gap: 5px;
  }

  .nav-right {
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero-section {
    padding: 70px 0 55px;
  }

  .account-card {
    padding: 23px 18px;
  }

  .account-card h3 {
    font-size: 21px;
  }

  .spread-value {
    font-size: 42px;
  }

  .compare-section {
    padding-top: 45px;
  }

  .cta-section {
    padding: 70px 0;
  }

  .cta-box {
    min-height: 350px;
  }
}

/* MOBILE */

@media (max-width: 767px) {
  .navbar-container {
    padding: 0 16px;
  }

  .navbar-brand img {
    width: 75px;
  }

  .nav-right {
    margin-top: 15px;
    padding-bottom: 15px;
    justify-content: flex-start;
  }

  .hero-section {
    padding: 55px 0 45px;
  }

  .container-custom {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-section h1 {
    font-size: 40px;
    letter-spacing: -1.5px;
  }

  .hero-section p {
    font-size: 14px;
  }

  .account-section {
    padding: 30px 0 20px;
  }

  .account-card {
    padding: 25px 22px;
  }

  .account-card h3 {
    font-size: 23px;
  }

  .account-card .description {
    min-height: auto;
  }

  .spread-value {
    font-size: 46px;
  }

  .compare-section {
    padding-top: 45px;
  }

  .compare-section h2 {
    font-size: 26px;
  }

  .compare-table th,
  .compare-table td {
    padding: 14px 15px;
  }

  .cta-section {
    padding: 60px 0;
  }

  .cta-box {
    min-height: 330px;
    border-radius: 16px;
    padding: 40px 20px;
  }

  .cta-content h2 {
    font-size: 37px;
  }

  .main-footer {
    padding: 45px 0 25px;
  }

  .footer-logo {
    width: 90px;
    margin-bottom: 25px;
  }

  .footer-info-box {
    padding: 20px;
  }

  .footer-links {
    padding: 30px 0 20px;
  }

  .footer-bottom-links {
    gap: 12px 17px;
  }
}

/* SMALL MOBILE */

@media (max-width: 400px) {
  .hero-section h1 {
    font-size: 34px;
  }

  .account-card {
    padding: 21px 17px;
  }

  .cta-content h2 {
    font-size: 32px;
  }

  .cta-primary,
  .cta-secondary {
    padding: 12px 17px;
    font-size: 12px;
  }
}
/* HERO */

.hero-section {
  padding: 95px 0 80px;
  background:
    radial-gradient(ellipse at 90% 0%, #e7efff 0%, transparent 40%), #fff;
  border-bottom: 1px solid #edf0f5;
}

.section-label {
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.hero-section h1 {
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.hero-section p {
  max-width: 530px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin: 0;
}

/* PLATFORM SECTION */

.platform-section {
  background: #0a1539;
  background-image: radial-gradient(
    ellipse at 75% 50%,
    #14295c 0%,
    transparent 45%
  );
  padding: 65px 0;
  color: #fff;
}

.platform-content {
  display: flex;
  align-items: center;
  height: 100%;
}

.platform-features {
  width: 100%;
  max-width: 430px;
}

.platform-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 23px;
}

.platform-tag {
  display: inline-block;
  padding: 6px 11px;
  border: 1px solid #304574;
  border-radius: 20px;
  background: #142957;
  color: #d7e4ff;
  font-size: 11px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.feature-list li {
  position: relative;
  padding: 13px 0 13px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1.5;
  color: #e0e7f7;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  height: 7px;
  width: 7px;
  background: #347bff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(52, 123, 255, 0.12);
}

.platform-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.platform-buttons a {
  text-decoration: none;
  color: #e4eaff;
  border: 1px solid #34446e;
  border-radius: 7px;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 500;
  transition: 0.2s;
}

.platform-buttons a:hover {
  background: #2465ff;
  border-color: #2465ff;
  color: #fff;
}

/* PLATFORM IMAGE */

.platform-image {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-image img {
  display: block;
  width: 100%;
  max-width: 750px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

/* CTA */

.cta-section {
  padding: 100px 0 95px;
}

.cta-box {
  min-height: 420px;
  border-radius: 22px;
  background:
    radial-gradient(ellipse at center bottom, #1b3b83 0%, transparent 55%),
    #0c1b56;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 20px;
  color: #fff;
}

.cta-content {
  max-width: 550px;
}

.cta-content h2 {
  font-size: clamp(35px, 5vw, 52px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
}

.cta-content p {
  color: #c7d2f0;
  font-size: 14px;
  margin-bottom: 35px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-primary {
  background: #3478ff;
  color: #fff;
  border: 1px solid #3478ff;
  padding: 14px 25px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.cta-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid #465987;
  padding: 14px 25px;
  border-radius: 9px;
  text-decoration: none;
  font-size: 13px;
}
/* TABLET */

@media (max-width: 991px) {
  .navbar-nav {
    gap: 5px;
  }

  .nav-right {
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 15px;
    padding-bottom: 15px;
  }

  .hero-section {
    padding: 70px 0 60px;
  }

  .platform-section {
    padding: 55px 0;
  }

  .platform-content {
    margin-bottom: 35px;
  }

  .platform-features {
    max-width: 100%;
  }

  .platform-image img {
    max-width: 100%;
  }

  .cta-box {
    min-height: 350px;
  }
}

/* MOBILE */

@media (max-width: 767px) {
  .container-custom {
    padding-left: 18px;
    padding-right: 18px;
  }

  .navbar-container {
    padding: 0 16px;
  }

  .navbar-brand img {
    width: 75px;
  }

  .hero-section {
    padding: 55px 0 45px;
  }

  .hero-section h1 {
    font-size: 40px;
    letter-spacing: -1.5px;
  }

  .hero-section p {
    font-size: 14px;
  }

  .platform-section {
    padding: 40px 0 45px;
  }

  .platform-content {
    margin-bottom: 30px;
  }

  .feature-list li {
    font-size: 13px;
    padding: 12px 0 12px 25px;
  }

  .platform-buttons a {
    font-size: 11px;
    padding: 8px 11px;
  }

  .platform-image img {
    width: 100%;
  }

  .cta-section {
    padding: 60px 0;
  }

  .cta-box {
    min-height: 330px;
    border-radius: 16px;
    padding: 40px 20px;
  }

  .cta-content h2 {
    font-size: 37px;
  }

  .main-footer {
    padding: 45px 0 25px;
  }

  .footer-logo {
    width: 90px;
    margin-bottom: 25px;
  }

  .footer-info-box {
    padding: 20px;
  }

  .footer-links {
    padding: 30px 0 20px;
  }

  .footer-bottom-links {
    gap: 12px 17px;
  }
}

/* SMALL MOBILE */

@media (max-width: 400px) {
  .hero-section h1 {
    font-size: 34px;
  }

  .cta-content h2 {
    font-size: 32px;
  }

  .cta-primary,
  .cta-secondary {
    padding: 12px 17px;
    font-size: 12px;
  }
}
/* PLATFORM SECTION */

.platform-section {
  background: #0a1539;
  padding: 85px 0;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.platform-section .container-custom {
  width: 100%;
}

.platform-features {
  max-width: 470px;
  width: 100%;
}

.platform-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.platform-tag {
  background: #172c5b;
  border: 1px solid #304574;
  color: #dce6ff;
  padding: 6px 11px;
  border-radius: 20px;
  font-size: 11px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.feature-list li {
  position: relative;
  padding: 15px 0 15px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  line-height: 1.5;
  color: #e5eafa;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 21px;
  width: 7px;
  height: 7px;
  background: #347bff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(52, 123, 255, 0.15);
}

/* PLATFORM BUTTONS */

.platform-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.platform-buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  color: #fff;
  text-decoration: none;
  border: 1px solid #354875;
  border-radius: 7px;
  font-size: 12px;
  transition: 0.2s;
}

.platform-buttons a:hover {
  background: #2465ff;
  border-color: #2465ff;
}

/* RIGHT TERMINAL IMAGE */

.platform-preview {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.platform-preview img {
  width: 100%;
  max-width: 760px;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.25));
}

/* TABLET */

@media (max-width: 991px) {
  .platform-section {
    padding: 60px 0;
  }

  .platform-features {
    max-width: 100%;
  }

  .platform-preview {
    padding: 20px 0 0;
  }
}

/* MOBILE */

@media (max-width: 767px) {
  .platform-section {
    padding: 40px 0;
  }

  .feature-list li {
    font-size: 13px;
    padding: 13px 0 13px 25px;
  }

  .platform-preview {
    padding: 15px 0 0;
  }

  .platform-preview img {
    width: 100%;
  }

  .platform-buttons a {
    font-size: 11px;
    padding: 0 11px;
  }
}
.tradingview-widget-container {
  width: 100% !important;
  height: 420px !important;
}

.tradingview-widget-container iframe {
  width: 100% !important;
  height: 100% !important;
}

.platform-preview {
  width: 100%;
  min-width: 0;
  height: 430px;
  display: block;
  padding: 0;
  position: relative;
}

.tradingview-widget-container {
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
}

.tradingview-widget-container__widget {
  width: 100%;
  height: 100%;
}

.tradingview-widget-container__widget iframe {
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.tradingview-credit {
  display: none;
}

/* Tablet */
@media (max-width: 991px) {
  .platform-preview {
    height: 400px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .platform-preview {
    height: 350px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .platform-preview {
    height: 300px;
  }
}
/* HERO */
.page-hero {
  padding: 76px 0 62px;
  border-bottom: 1px solid #f0f2f7;
  background:
    radial-gradient(ellipse at 90% 0%, #e9f1ff, transparent 38%), #fff;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
  line-height: 0.99;
  letter-spacing: -2.6px;
  font-weight: 750;
  margin: 0 0 20px;
}

.page-hero p {
  font-size: 15px;
  color: #66718d;
}

/* MARKET SECTION */
.market-area {
  max-width: 1320px;
  margin: auto;
  padding: 42px 24px 0;
}

.market-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
}

.market-tab {
  white-space: nowrap;
  border: 1px solid #e0e5ef;
  background: #fff;
  border-radius: 30px;
  padding: 9px 15px;
  font-size: 11px;
  color: #26324e;
  cursor: pointer;
}

.market-tab span {
  font-size: 10px;
  margin-left: 5px;
}

.up {
  color: #1aaf73;
}
.down {
  color: #e45f65;
}

.market-tab.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* MARKET CARD */
.market-card {
  background: linear-gradient(125deg, #0a1748, #10265f 60%, #081333);
  color: #fff;
  border-radius: 24px;
  padding: 28px 30px 22px;
  overflow: hidden;
  box-shadow: 0 22px 45px #0a194626;
  position: relative;
}

.market-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#ffffff09 1px, transparent 1px),
    linear-gradient(90deg, #ffffff09 1px, transparent 1px);
  background-size: 48px 48px;
}

.market-card > * {
  position: relative;
}

.card-top {
  display: flex;
  justify-content: space-between;
}

.card-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: #64a0ff;
  font-weight: 700;
}

.illustration {
  font-size: 9px;
  border: 1px solid #ffffff20;
  padding: 6px 10px;
  border-radius: 20px;
  color: #b9c8e9;
}

.instrument {
  margin-top: 24px;
  font-size: 14px;
  font-weight: 700;
}

.instrument small {
  font-size: 11px;
  color: #9eaccd;
  font-weight: 400;
  margin-left: 7px;
}

.price-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price {
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -1.5px;
}

.change {
  background: #e85b6629;
  color: #ff9298;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
}

.today {
  font-size: 10px;
  color: #8796ba;
}

/* CHART ILLUSTRATION */
.chart {
  height: 245px;
  margin-top: 8px;
}

.chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chart-grid line {
  stroke: #ffffff17;
  stroke-width: 1;
}

.chart-area {
  fill: url(#areaFill);
}

.chart-line {
  fill: none;
  stroke: #3987ff;
  stroke-width: 2.1;
  stroke-linecap: round;
}

.chart-dot {
  fill: #fff;
  stroke: #3987ff;
  stroke-width: 4;
}

.chart-label {
  fill: #8c9abc;
  font-size: 9px;
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #ffffff20;
  border-bottom: 1px solid #ffffff19;
}

.stat {
  padding: 15px 16px;
  border-right: 1px solid #ffffff20;
}

.stat:first-child {
  padding-left: 0;
}
.stat:last-child {
  border: 0;
}

.stat small {
  display: block;
  color: #92a2c6;
  font-size: 9px;
  margin-bottom: 5px;
}

.stat strong {
  font-size: 16px;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  padding-top: 18px;
}

.card-bottom p {
  font-size: 11px;
  color: #b3c0dc;
  margin: 0 0 10px;
}

.ticker {
  display: inline-block;
  border: 1px solid #ffffff33;
  border-radius: 20px;
  padding: 4px 8px;
  font-size: 9px;
  color: #c4d0e8;
  margin-right: 5px;
}

/* INSTRUMENT TABLE */
.instrument-table {
  margin-top: 20px;
  border: 1px solid #e1e6f0;
  border-radius: 18px;
  overflow: hidden;
  background: #f7f9fd;
}

.instrument-table table {
  margin: 0;
  font-size: 12px;
}

.instrument-table th {
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7b87a2;
  padding: 16px;
}

.instrument-table td {
  padding: 14px 16px;
  color: #273451;
  border-top: 1px solid #e9edf5;
}

.instrument-table td:first-child {
  font-weight: 700;
  color: #111d3f;
}

.leverage {
  color: var(--blue) !important;
  font-weight: 600;
}

/* CTA */
.cta {
  max-width: 1320px;
  margin: 100px auto 90px;
  padding: 0 24px;
}

.cta-inner {
  border-radius: 24px;
  background: radial-gradient(ellipse at 50% 0%, #142c70, #0b1b52 55%, #0a1745);
  color: #fff;
  text-align: center;
  padding: 78px 20px;
}

.cta h2 {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -1.5px;
  font-weight: 700;
}

.cta p {
  font-size: 14px;
  color: #b7c5e7;
  margin: 18px 0 28px;
}

.btn-outline-light {
  border-color: #ffffff40;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 13px;
}
/* FOOTER */
.site-footer {
  background: #050c26;
  color: #c0c9df;
  padding: 60px 0 28px;
}

.footer-inner {
  max-width: 1320px;
  margin: auto;
  padding: 0 24px;
}

.footer-logo {
  width: 145px;
  margin-bottom: 24px;
}

.risk-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  border: 1px solid #ffffff19;
  border-radius: 12px;
  background: #ffffff09;
  padding: 22px;
  margin-bottom: 36px;
  max-width: 1000px;
}

.risk-box h6,
.footer-links h6 {
  font-size: 9px;
  letter-spacing: 1px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.risk-box p {
  font-size: 10px;
  line-height: 1.7;
  color: #a9b5d0;
  margin: 0;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 30px;
  padding-bottom: 28px;
  border-bottom: 1px solid #ffffff15;
  max-width: 1000px;
}

.footer-links a {
  display: block;
  color: #aebbd6;
  font-size: 11px;
  margin-bottom: 10px;
}

.legal {
  font-size: 9px;
  line-height: 1.7;
  color: #8290af;
  padding: 22px 0 12px;
  border-bottom: 1px solid #ffffff12;
  max-width: 1000px;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 18px 0;
  color: #d0d7e8;
  font-size: 9px;
}

.copyright {
  font-size: 9px;
  color: #7f8cab;
}

/* RESPONSIVE */
@media (max-width: 767px) {
  .site-nav {
    height: auto;
  }

  .nav-inner {
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .brand img {
    width: 112px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 24px;
    padding-top: 8px;
    margin: 0;
  }

  .nav-actions {
    gap: 12px;
  }
  .nav-actions .lang {
    display: none;
  }

  .nav-actions .btn {
    padding: 9px 12px;
    font-size: 11px;
  }

  .page-hero {
    padding: 54px 0 45px;
  }

  .market-area {
    padding: 28px 16px 0;
  }

  .market-card {
    padding: 22px 18px 18px;
    border-radius: 18px;
  }

  .chart {
    height: 190px;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat {
    padding: 12px;
    border-bottom: 1px solid #ffffff19;
  }

  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(3) {
    padding-left: 0;
  }

  .stat:nth-child(3),
  .stat:nth-child(4) {
    border-bottom: 0;
  }

  .card-bottom {
    align-items: start;
    flex-direction: column;
  }

  .card-bottom .btn {
    align-self: stretch;
  }

  .instrument-table {
    overflow-x: auto;
  }

  .instrument-table table {
    min-width: 580px;
  }

  .cta {
    margin: 65px auto;
    padding: 0 16px;
  }

  .cta-inner {
    padding: 58px 18px;
  }

  .risk-box {
    grid-template-columns: 1fr;
    padding: 18px;
    gap: 20px;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    padding: 0 16px;
  }
}

/* =====================================
   FOOTER MAIN
===================================== */

.footer {
  background: #050c26;
  color: #c0c9df;
  padding: 65px 0 25px;
  width: 100%;
  overflow: hidden;
}

.footer .container {
  max-width: 1320px;
}

/* BRAND */

.footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 27px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.footer .brand i {
  font-size: 29px;
  color: #347cff;
}

.footer .gradient-text {
  background: linear-gradient(90deg, #347cff, #65b5ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ABOUT */

.footer-about {
  max-width: 340px;
  font-size: 20px;
  line-height: 1.8;
  color: #9ba9c5;
  margin-bottom: 0;
}

/* SOCIAL LINKS */

.social-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #c0c9df;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #347cff;
  border-color: #347cff;
  color: #fff;
  transform: translateY(-3px);
}

/* FOOTER HEADINGS */

.footer h5 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
}

/* FOOTER LINKS */

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-links a {
  display: block;
  color: #9ba9c5;
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow-wrap: anywhere;
}

.footer-links a:hover {
  color: #4d91ff;
  padding-left: 5px;
}

.footer-links a i {
  color: #347cff;
  font-size: 14px;
}

/* FOOTER BOTTOM */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 45px;
  padding-top: 22px;
  color: #8190ae;
  font-size: 11px;
  gap: 12px;
}

.footer-bottom span {
  line-height: 1.7;
}

/* RISK DISCLOSURE */

.footer > .container > p {
  max-width: 1100px;
  font-size: 10px;
  color: #71809b;
  line-height: 1.8;
  margin-top: 22px;
}

/* =====================================
   TABLET RESPONSIVE
===================================== */

@media (max-width: 991px) {
  .footer {
    padding: 50px 0 25px;
  }

  .footer .row {
    --bs-gutter-y: 35px;
  }

  .footer-about {
    max-width: 100%;
  }

  .footer h5 {
    margin-bottom: 17px;
  }

  .footer-bottom {
    margin-top: 35px;
  }
}

/* =====================================
   MOBILE RESPONSIVE
===================================== */

@media (max-width: 767px) {
  .footer {
    padding: 42px 0 22px;
  }

  .footer .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .footer .row {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 32px;
  }

  .footer .brand {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .footer .brand i {
    font-size: 26px;
  }

  .footer-about {
    font-size: 12px;
    line-height: 1.8;
  }

  .social-links {
    gap: 10px;
  }

  .social-links a {
    width: 36px;
    height: 36px;
  }

  .footer h5 {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .footer-links {
    gap: 11px;
  }

  .footer-links a {
    font-size: 11px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-top: 32px;
    padding-top: 18px;
    font-size: 10px;
  }

  .footer > .container > p {
    font-size: 10px !important;
    line-height: 1.8 !important;
    margin-top: 20px !important;
  }
}

/* =====================================
   SMALL MOBILE
===================================== */

@media (max-width: 400px) {
  .footer .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .footer .row {
    --bs-gutter-x: 15px;
  }

  .footer .brand {
    font-size: 22px;
  }

  .footer h5 {
    font-size: 13px;
  }

  .footer-links a {
    font-size: 10px;
  }

  .footer-bottom {
    font-size: 9px;
  }
}

/* COMPANY DETAILS SECTION */

.company-details-section {
  width: 100%;
  background: #ffffff;
  padding: 65px 0 100px;
  min-height: 600px;
}

.company-details {
  max-width: 850px;
  margin: 0 auto;
}

.company-heading {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #64718b;
  margin-bottom: 32px;
}

.company-item {
  margin-bottom: 27px;
}

.company-label {
  color: #78849a;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
}

.company-value {
  color: #17223c;
  font-size: 19px;
  line-height: 1.65;
  font-weight: 400;
  overflow-wrap: anywhere;
}

/* TABLET */

@media (max-width: 991px) {
  .company-details-section {
    padding: 50px 0 80px;
  }

  .company-details {
    max-width: 100%;
  }

  .company-value {
    font-size: 18px;
  }
}

/* MOBILE */

@media (max-width: 767px) {
  .company-details-section {
    padding: 45px 0 90px;
    min-height: auto;
  }

  .company-details-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .company-heading {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .company-item {
    margin-bottom: 27px;
  }

  .company-label {
    font-size: 17px;
    margin-bottom: 7px;
  }

  .company-value {
    font-size: 17px;
    line-height: 1.6;
  }
}

/* SMALL MOBILE */

@media (max-width: 400px) {
  .company-details-section .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .company-label {
    font-size: 16px;
  }

  .company-value {
    font-size: 16px;
  }
}

/* CONTACT HERO BANNER */

.contact-hero {
  position: relative;
  width: 100%;
  min-height: 340px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 20%, #e5efff 0, transparent 35%),
    linear-gradient(110deg, #ffffff 0%, #f8faff 100%);
  border-bottom: 1px solid #edf0f6;
}

/*.contact-hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(52,124,255,.10);
    border-radius: 50%;
    right: 8%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow:
        0 0 0 35px rgba(52,124,255,.025),
        0 0 0 70px rgba(52,124,255,.02);
}*/

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero-content {
  max-width: 700px;
  padding: 65px 0;
}

.contact-eyebrow {
  display: inline-block;
  color: #347cff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.contact-hero h1 {
  color: #0b1536;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 750;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.contact-hero h1 span {
  color: #347cff;
}

.contact-hero p {
  color: #65718e;
  font-size: 15px;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 25px;
}

.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: #75819a;
}

.contact-breadcrumb a {
  color: #347cff;
  text-decoration: none;
  font-weight: 600;
}

.contact-breadcrumb i {
  font-size: 10px;
}

/* TABLET */

@media (max-width: 991px) {
  .contact-hero {
    min-height: 300px;
  }

  .contact-hero::after {
    right: -10%;
    opacity: 0.6;
  }

  .contact-hero-content {
    padding: 55px 0;
  }
}

/* MOBILE */

@media (max-width: 767px) {
  .contact-hero {
    min-height: 260px;
  }

  .contact-hero::after {
    width: 220px;
    height: 220px;
    right: -100px;
    opacity: 0.5;
  }

  .contact-hero-content {
    padding: 45px 0;
  }

  .contact-eyebrow {
    font-size: 10px;
    margin-bottom: 15px;
  }

  .contact-hero h1 {
    font-size: 43px;
    letter-spacing: -1.5px;
  }

  .contact-hero p {
    font-size: 13px;
    line-height: 1.7;
  }
}

/* SMALL MOBILE */

@media (max-width: 400px) {
  .contact-hero h1 {
    font-size: 37px;
  }

  .contact-hero-content {
    padding: 38px 0;
  }
}

/* =========================================
   AVO MARKETS - COMPANY DETAILS
========================================= */

.company-details-section {
  position: relative;
  width: 100%;
  padding: 90px 0 110px;
  background: #f6f8fc;
  overflow: hidden;
}

/* Background Decoration */

.company-details-section::before {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: rgba(52, 124, 255, 0.045);
  top: -200px;
  right: -120px;
  pointer-events: none;
}

.company-details-section::after {
  content: "";
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(52, 124, 255, 0.035);
  bottom: -180px;
  left: -120px;
  pointer-events: none;
}

/* Main Details Card */

.company-details {
  position: relative;
  z-index: 1;
  max-width: 1050px;
  margin: auto;
  padding: 48px;
  background: #ffffff;
  border: 1px solid #e8edf6;
  border-radius: 22px;
  box-shadow: 0 15px 50px rgba(12, 31, 76, 0.06);

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 22px;
}

/* Heading */

.company-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #0b1536;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 0 0 30px;
  padding-bottom: 22px;
  border-bottom: 1px solid #edf0f6;
}

.company-heading::before {
  content: "";
  width: 5px;
  height: 25px;
  background: #347cff;
  border-radius: 5px;
}

/* Individual Detail Item */

.company-item {
  position: relative;
  padding: 22px 20px;
  margin-bottom: 18px;
  background: #f8faff;
  border: 1px solid #edf1f8;
  border-radius: 13px;
  transition: all 0.3s ease;
  min-width: 0;
}

.company-item:hover {
  background: #ffffff;
  border-color: #b9d1ff;
  box-shadow: 0 8px 24px rgba(52, 124, 255, 0.09);
  transform: translateY(-3px);
}

/* Label */

.company-label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #77839a;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 0.2px;
}

.company-label::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #347cff;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Value */

.company-value {
  color: #14203e;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {
  .company-details-section {
    padding: 65px 0 80px;
  }

  .company-details {
    padding: 35px;
    gap: 0 15px;
  }

  .company-item {
    padding: 19px 16px;
  }

  .company-value {
    font-size: 14px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {
  .company-details-section {
    padding: 45px 0 65px;
  }

  .company-details-section .container {
    padding-left: 17px;
    padding-right: 17px;
  }

  .company-details {
    grid-template-columns: 1fr;
    padding: 24px 18px;
    border-radius: 17px;
    gap: 0;
  }

  .company-heading {
    font-size: 15px;
    margin-bottom: 22px;
    padding-bottom: 17px;
  }

  .company-item {
    padding: 18px 15px;
    margin-bottom: 13px;
    border-radius: 11px;
  }

  .company-item:hover {
    transform: none;
  }

  .company-label {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .company-value {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {
  .company-details {
    padding: 20px 13px;
  }

  .company-item {
    padding: 16px 13px;
  }

  .company-value {
    font-size: 13px;
  }
}
/* HERO */

.legal-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 15%, #e5efff 0, transparent 35%),
    linear-gradient(110deg, #fff, #f8faff);
  border-bottom: 1px solid #edf0f6;
  padding: 75px 0 65px;
}

.legal-hero .container {
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.legal-hero h1 {
  color: var(--navy);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 750;
  letter-spacing: -2px;
  margin-bottom: 18px;
}

.legal-hero p {
  color: #68758f;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 0;
}

.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 12px;
  color: #8490a6;
}

.breadcrumb-custom a {
  color: var(--blue);
  font-weight: 600;
}

/* DOCUMENT SECTION */

.risk-section {
  padding: 65px 0 100px;
  background: #f7f9fd;
}

.risk-container {
  max-width: 1000px;
  margin: auto;
}

.risk-document {
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 18px;
  padding: 45px;
  box-shadow: 0 12px 40px rgba(12, 31, 76, 0.045);
}

/* DOCUMENT HEADER */

.document-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /*gap: 20px;*/
  flex-wrap: wrap;
  /*padding-bottom: 25px;*/
  border-bottom: 1px solid #e9edf5;
  margin-bottom: 30px;
}

.document-header h2 {
  color: var(--navy);
  font-size: 23px;
  font-weight: 750;
  margin-bottom: 12px;
}

.document-meta {
  color: #8490a6;
  font-size: 12px;
  line-height: 1.8;
}

.document-meta strong {
  color: #263450;
}

.document-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.document-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #dfe6f1;
  color: #253452;
  background: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.document-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.document-btn.primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.document-btn.primary:hover {
  background: #1e65e8;
  color: #fff;
}

/* INTRODUCTION */

.risk-intro {
  background: #f2f6ff;
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 19px 22px;
  margin-bottom: 35px;
}

.risk-intro p {
  font-size: 13px;
  color: #4f5e7b;
  line-height: 1.8;
  margin: 0;
}

/* RISK CONTENT */

.risk-item {
  position: relative;
  padding: 0 0 27px 0;
  margin-bottom: 27px;
  border-bottom: 1px solid #edf0f5;
}

.risk-item:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.risk-item h3 {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  color: var(--navy);
  font-size: 17px;
  font-weight: 750;
  line-height: 1.5;
  margin-bottom: 13px;
}

.risk-number {
  min-width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf1ff;
  color: var(--blue);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.risk-item p {
  color: #68758d;
  font-size: 13px;
  line-height: 1.9;
  margin: 0 0 10px 44px;
}

.risk-item p:last-child {
  margin-bottom: 0;
}

/* ACKNOWLEDGEMENT */

.acknowledgement {
  background: #f2f6ff;
  border: 1px solid #e0eaff;
  border-radius: 12px;
  padding: 22px;
  margin-top: 35px;
}

.acknowledgement h4 {
  font-size: 15px;
  color: var(--navy);
  font-weight: 750;
  margin-bottom: 10px;
}

.acknowledgement p {
  font-size: 12px;
  line-height: 1.8;
  color: #64718a;
  margin: 0;
}
@media (max-width: 767px) {
 

  .legal-hero {
    padding: 50px 0 45px;
  }

  .legal-hero h1 {
    font-size: 39px;
    letter-spacing: -1.5px;
  }

  .risk-section {
    padding: 35px 0 60px;
  }

  .risk-container {
    padding: 0 15px;
  }

  .risk-document {
    padding: 22px 17px;
    border-radius: 13px;
  }

  .document-header {
    flex-direction: column;
    gap: 18px;
  }

  .document-header h2 {
    font-size: 20px;
  }

  .document-actions {
    width: 100%;
  }

  .document-btn {
    flex: 1;
    padding: 11px 9px;
    font-size: 11px;
  }

  .risk-item h3 {
    font-size: 15px;
    gap: 10px;
  }

  .risk-number {
    min-width: 28px;
    height: 28px;
  }

  .risk-item p {
    font-size: 12px;
    line-height: 1.85;
    margin-left: 38px;
  }

  .risk-intro {
    padding: 16px;
  }

  .risk-intro p {
    font-size: 12px;
  }

  .footer {
    padding: 40px 0 22px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
  }
}

@media (max-width: 400px) {
  .nav-links {
    gap: 15px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .legal-hero h1 {
    font-size: 34px;
  }

  .risk-document {
    padding: 19px 13px;
  }

  .risk-item p {
    margin-left: 0;
  }

  .document-actions {
    flex-direction: column;
  }
}

