/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #00594f;
  --primary-dark: #003d36;
  --primary-light: #007a6c;
  --accent: #c8a84e;
  --accent-light: #e2c96a;
  --text-dark: #1a1a1a;
  --text-body: #444;
  --text-light: #666;
  --text-muted: #999;
  --bg-white: #ffffff;
  --bg-light: #f7f8fa;
  --bg-gray: #eef0f3;
  --border: #dde0e4;
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-lg: rgba(0, 0, 0, 0.15);
  --transition: 0.3s ease;
  --font-primary: 'Poppins', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar__left a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.3px;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-link span {
  display: inline-block;
}

.top-bar__left a:hover {
  color: var(--accent-light);
}

.top-bar__left a i {
  margin-right: 5px;
  font-size: 10px;
}

.top-bar__right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar__right .lang-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  padding: 3px 10px;
  font-size: 11px;
  cursor: pointer;
  border-radius: 3px;
  transition: all var(--transition);
  font-family: var(--font-primary);
}

.top-bar__right .lang-btn:hover,
.top-bar__right .lang-btn.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.top-bar__right .lang-btn.active {
  background: rgba(200, 168, 78, 0.25);
  border-color: var(--accent);
  color: var(--accent-light);
}

/* ===== HEADER / NAVBAR ===== */
.header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px var(--shadow-lg);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(200, 168, 78, 0.3);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__text-main {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.logo__text-sub {
  font-size: 10.5px;
  color: var(--accent);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.logo__image {
  height: 65px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: transform var(--transition);
}

.logo:hover .logo__image {
  transform: scale(1.05);
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav__link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}

.main-nav__link:hover,
.main-nav__link--active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.main-nav__link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

.btn-sign-in {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
  text-decoration: none;
}

.btn-sign-in:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-open-account {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  border: none;
  color: var(--primary-dark);
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-primary);
  box-shadow: 0 2px 8px rgba(200, 168, 78, 0.3);
  text-decoration: none;
}

.btn-open-account:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(200, 168, 78, 0.4);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

/* ===== HERO CAROUSEL ===== */
.hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  width: 100%;
}

.hero__slides {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
}

.hero__slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__slide--1 {
  background: linear-gradient(135deg, #003d36 0%, #00594f 30%, #007a6c 70%, #00a896 100%);
}

.hero__slide--2 {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
}

.hero__slide--3 {
  background: linear-gradient(135deg, #003d36 0%, #00594f 50%, #1a5c40 100%);
}

/* Decorative patterns on slides */
.hero__slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(200, 168, 78, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.hero__slide::after {
  content: '';
  position: absolute;
  right: -50px;
  top: -50px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(200, 168, 78, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero__slide::after {
    display: none;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 0 20px;
  padding-left: calc((100vw - 1200px) / 2 + 20px);
  width: 100%;
}

@media (max-width: 1240px) {
  .hero__content {
    padding-left: 40px;
  }
}

@media (max-width: 1024px) {
  .hero__content {
    padding-left: 30px;
  }
}

@media (max-width: 900px) {
  .hero__content {
    padding: 40px 20px 0 20px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero__content {
    padding: 40px 20px 0 20px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .hero__content {
    padding: 24px 16px 0 16px;
    max-width: 100%;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 168, 78, 0.15);
  border: 1px solid rgba(200, 168, 78, 0.3);
  color: var(--accent-light);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero__title span {
  color: var(--accent);
}

.hero__description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__buttons {
  display: flex;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: var(--font-primary);
}

.btn--primary {
  background: var(--accent);
  color: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(200, 168, 78, 0.35);
}

.btn--primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200, 168, 78, 0.45);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn--dark {
  background: var(--primary);
  color: #fff;
}

.btn--dark:hover {
  background: var(--primary-light);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 13px;
}

/* Hero graphic */
.hero__graphic {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 440px;
  height: 340px;
  z-index: 2;
}

@media (max-width: 1240px) {
  .hero__graphic {
    right: 60px;
  }
}

.hero__chart {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.hero__chart::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.chart-header__title {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.chart-header__value {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.chart-header__change {
  color: #4ecdc4;
  font-size: 12px;
  font-weight: 600;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 160px;
  padding-top: 20px;
}

.chart-bar {
  flex: 1;
  border-radius: 3px 3px 0 0;
  transition: height 0.5s ease;
  position: relative;
}

.chart-bar--green {
  background: linear-gradient(to top, rgba(78, 205, 196, 0.3), rgba(78, 205, 196, 0.8));
}

.chart-bar--red {
  background: linear-gradient(to top, rgba(255, 107, 107, 0.3), rgba(255, 107, 107, 0.7));
}

.chart-stats {
  display: flex;
  gap: 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chart-stat {
  text-align: center;
  flex: 1;
}

.chart-stat__label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.chart-stat__value {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-top: 2px;
}

/* ===== WEALTH CHART STYLES ===== */
.hero__wealth-chart {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  padding: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wealth-header {
  margin-bottom: 24px;
}

.wealth-title {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.wealth-total {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(200, 168, 78, 0.3), rgba(78, 205, 196, 0.3));
  padding: 12px 16px;
  border-radius: 8px;
}

.wealth-bars {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  height: 180px;
  padding-bottom: 12px;
}

.wealth-bar {
  flex: 1;
  background: linear-gradient(to top, var(--accent), rgba(200, 168, 78, 0.2));
  border-radius: 8px 8px 0 0;
  position: relative;
  animation: growBar 0.6s ease-out forwards;
  animation-delay: var(--delay);
  min-height: 20%;
  cursor: pointer;
  transition: all var(--transition);
}

.wealth-bar:hover {
  filter: brightness(1.2);
  transform: translateY(-2px);
}

@keyframes growBar {
  from {
    height: 0;
    opacity: 0;
  }
  to {
    height: var(--percentage);
    opacity: 1;
  }
}

.wealth-bar .bar-label {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  white-space: nowrap;
}

.wealth-footer {
  display: flex;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wealth-stat {
  flex: 1;
  text-align: center;
}

.stat-value {
  display: block;
  color: #4ecdc4;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.stat-label {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== TRADING CHART STYLES ===== */
.hero__trading-chart {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  padding: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.trading-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.trading-title {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trading-status {
  color: #4ecdc4;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.trading-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.candle-group {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 80px;
}

.candle {
  flex: 1;
  background: linear-gradient(to top, var(--color), rgba(46, 204, 113, 0.2));
  border-radius: 4px;
  position: relative;
  animation: candleRise 0.8s ease-out forwards;
  animation-delay: var(--delay);
  min-height: 20%;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.candle:hover {
  filter: brightness(1.3);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

@keyframes candleRise {
  from {
    height: 0;
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    height: var(--height);
    opacity: 1;
    transform: translateY(0);
  }
}

.trading-footer {
  display: flex;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trading-stat {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
}

.stat-icon {
  color: var(--accent);
  font-size: 16px;
}

.stat-text {
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Carousel controls */
.hero__dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.hero__dot--active {
  background: var(--accent);
  box-shadow: 0 0 10px rgba(200, 168, 78, 0.5);
  transform: scale(1.2);
}

.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all var(--transition);
  backdrop-filter: blur(5px);
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}

.hero__arrow--left {
  left: 24px;
}

.hero__arrow--right {
  right: 24px;
}

/* ===== MARKET TICKER ===== */
.ticker {
  background: var(--primary-dark);
  border-bottom: 2px solid var(--accent);
  padding: 0;
  overflow: hidden;
  position: relative;
}

.ticker__inner {
  display: flex;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 30px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.ticker__symbol {
  font-weight: 700;
  color: #fff;
}

.ticker__price {
  font-weight: 500;
}

.ticker__change--up {
  color: #4ecdc4;
  font-weight: 600;
}

.ticker__change--down {
  color: #ff6b6b;
  font-weight: 600;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: 80px 0;
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header__label {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-header__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-header__description {
  font-size: 16px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.feature-card__icon--teal {
  background: rgba(0, 89, 79, 0.08);
  color: var(--primary);
}

.feature-card__icon--gold {
  background: rgba(200, 168, 78, 0.1);
  color: var(--accent);
}

.feature-card__icon--blue {
  background: rgba(15, 52, 96, 0.08);
  color: #0f3460;
}

.feature-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.feature-card__text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

.feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  margin-top: 16px;
}

.feature-card__link:hover {
  color: var(--accent);
}

.feature-card__link i {
  font-size: 10px;
  transition: transform var(--transition);
}

.feature-card__link:hover i {
  transform: translateX(3px);
}

/* ===== ABOUT / WHY CHOOSE SECTION ===== */
.about {
  padding: 90px 0;
  background: var(--bg-light);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
}

.about__image {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 89, 79, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(45deg, transparent 30%, rgba(200, 168, 78, 0.1) 50%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255, 255, 255, 0.02) 40px, rgba(255, 255, 255, 0.02) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255, 255, 255, 0.02) 40px, rgba(255, 255, 255, 0.02) 41px);
}

.about__image::after {
  content: '\f200';
  font-family: 'Font Awesome 6 Pro';
  position: absolute;
  font-size: 180px;
  color: rgba(200, 168, 78, 0.15);
  z-index: 1;
  font-weight: 400;
}

.about__image-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 61, 54, 0.95), transparent);
}

.about__image-content h3 {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}

.about__image-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.about__floating-card {
  position: absolute;
  top: 30px;
  right: -30px;
  background: #fff;
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: 0 8px 30px var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.about__floating-card i {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 89, 79, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.about__floating-card span {
  display: flex;
  flex-direction: column;
}

.about__floating-card .value {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
}

.about__floating-card .label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about__content .section-header {
  text-align: left;
  margin-bottom: 30px;
}

.about__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.about__list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about__list-item i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 89, 79, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.about__list-item div {
  flex: 1;
}

.about__list-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.about__list-item p {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== MARKETS SECTION ===== */
.markets {
  padding: 80px 0;
  background: var(--bg-white);
}

.markets__table-wrapper {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
}

.markets__tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 4px;
  background: var(--bg-light);
}

.markets__tab {
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-primary);
}

.markets__tab:hover {
  color: var(--primary);
}

.markets__tab--active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: #fff;
}

.markets__table {
  width: 100%;
  border-collapse: collapse;
}

.markets__table th {
  background: var(--bg-light);
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.markets__table td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid var(--bg-gray);
  vertical-align: middle;
}

.markets__table tr:last-child td {
  border-bottom: none;
}

.markets__table tr:hover td {
  background: rgba(0, 89, 79, 0.02);
}

.markets__table .symbol {
  font-weight: 700;
  color: var(--text-dark);
}

.markets__table .company {
  color: var(--text-light);
  font-size: 12px;
  display: block;
}

.markets__table .price {
  font-weight: 600;
  color: var(--text-dark);
  font-variant-numeric: tabular-nums;
}

.markets__table .change--up {
  color: #2ecc71;
  font-weight: 600;
}

.markets__table .change--down {
  color: #e74c3c;
  font-weight: 600;
}

.markets__table .volume {
  color: var(--text-light);
  font-variant-numeric: tabular-nums;
}

.markets__table .sparkline {
  width: 80px;
  height: 30px;
}

/* ===== SERVICES SECTION ===== */
.services {
  padding: 80px 0;
  background: var(--primary-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(200, 168, 78, 0.06);
  pointer-events: none;
}

.services .section-header__title {
  color: #fff;
}

.services .section-header__description {
  color: rgba(255, 255, 255, 0.6);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(200, 168, 78, 0.2);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(200, 168, 78, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 20px;
}

.service-card__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card__text {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(200, 168, 78, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-banner__title {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner__text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner__buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
}

/* ===== TUTORIALS / NEWS SECTION ===== */
.news {
  padding: 80px 0;
  background: var(--bg-light);
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow);
  border-color: transparent;
}

.news-card__image {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.news-card__image--1 {
  background: linear-gradient(135deg, #0f3460, #16213e);
}

.news-card__image--2 {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.news-card__image--3 {
  background: linear-gradient(135deg, #2d3436, #636e72);
}

.news-card__image-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: rgba(255, 255, 255, 0.15);
}

.news-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  backdrop-filter: blur(5px);
}

.news-card__body {
  padding: 24px;
}

.news-card__date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
}

.news-card__text {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
}

.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}

.news-card__link:hover {
  color: var(--accent);
}

.news-card__link i {
  font-size: 10px;
  transition: transform var(--transition);
}

.news-card__link:hover i {
  transform: translateX(3px);
}

/* ===== STATS BAR ===== */
.stats {
  padding: 60px 0;
  background: var(--bg-white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}

.stat-item__number {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item__number span {
  color: var(--accent);
}

.stat-item__label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

/* ===== EXCHANGES SECTION ===== */
.exchanges {
  padding: 60px 0;
  background: var(--bg-gray);
}

.exchanges__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.exchange-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.5;
  transition: opacity var(--transition);
  cursor: pointer;
}

.exchange-logo:hover {
  opacity: 1;
}

.exchange-logo__icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--primary);
  box-shadow: 0 2px 10px var(--shadow);
  border: 1px solid var(--border);
}

.exchange-logo__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
  max-width: 100px;
}

/* ===== FOOTER ===== */
.footer {
  background: #0a1a17;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 64px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer__brand .logo {
  margin-bottom: 18px;
}

.footer__brand p {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

.footer__heading {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer__links a:hover {
  color: var(--accent);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 13.5px;
}

.footer__contact-item i {
  color: var(--accent);
  margin-top: 3px;
  font-size: 13px;
  width: 16px;
  text-align: center;
}

.footer__divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer__bottom-links {
  display: flex;
  gap: 20px;
}

.footer__bottom-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer__bottom-links a:hover {
  color: var(--accent);
}

.footer__regulatory {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer__regulatory p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 89, 79, 0.3);
  transition: all var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.scroll-top--visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== BLUE THEME ===== */
[data-theme="blue"] {
  --primary: #0281c2;
  --primary-dark: #034c8c;
  --primary-light: #0295d6;
  --accent: #f0b932;
  --accent-light: #f5cc5a;
}

[data-theme="blue"] .hero__slide--1 {
  background: linear-gradient(135deg, #034c8c 0%, #0281c2 30%, #0295d6 70%, #03a9e0 100%);
}

[data-theme="blue"] .hero__slide--2 {
  background: linear-gradient(135deg, #022b5e 0%, #034c8c 40%, #0268a3 100%);
}

[data-theme="blue"] .hero__slide--3 {
  background: linear-gradient(135deg, #034c8c 0%, #0281c2 50%, #037fb8 100%);
}

[data-theme="blue"] .about__image {
  background: linear-gradient(135deg, #034c8c 0%, #0295d6 100%);
  box-shadow: 0 20px 60px rgba(3, 76, 140, 0.2);
}

[data-theme="blue"] .about__image-content {
  background: linear-gradient(to top, rgba(3, 76, 140, 0.95), transparent);
}

[data-theme="blue"] .services {
  background: #034c8c;
}

[data-theme="blue"] .cta-banner {
  background: linear-gradient(135deg, #0281c2 0%, #0295d6 100%);
}

[data-theme="blue"] .scroll-top {
  background: #0281c2;
  box-shadow: 0 4px 16px rgba(2, 129, 194, 0.3);
}

[data-theme="blue"] .btn--primary {
  box-shadow: 0 4px 16px rgba(240, 185, 50, 0.35);
}

[data-theme="blue"] .btn--primary:hover {
  box-shadow: 0 6px 24px rgba(240, 185, 50, 0.45);
}

[data-theme="blue"] .logo__icon {
  box-shadow: 0 2px 8px rgba(240, 185, 50, 0.3);
}

[data-theme="blue"] .btn-open-account {
  box-shadow: 0 2px 8px rgba(240, 185, 50, 0.3);
}

[data-theme="blue"] .footer {
  background: #021e3a;
}

[data-theme="blue"] .ticker {
  background: #034c8c;
  border-bottom-color: var(--accent);
}

/* ===== RTL SUPPORT ===== */
[dir="rtl"] {
  --font-primary: 'Tajawal', 'Poppins', sans-serif;
  --font-heading: 'Tajawal', 'Poppins', sans-serif;
}

[dir="rtl"] .top-bar__left a i {
  margin-right: 0;
  margin-left: 5px;
}

[dir="rtl"] .hero__content {
  padding-left: 0;
  padding-right: calc((100vw - 1200px) / 2 + 20px);
}

@media (max-width: 1240px) {
  [dir="rtl"] .hero__content {
    padding-left: 0;
    padding-right: 60px;
  }
}

@media (max-width: 1024px) {
  [dir="rtl"] .hero__content {
    padding-left: 0;
    padding-right: 30px;
  }
}

@media (max-width: 900px) {
  [dir="rtl"] .hero__content {
    padding-right: 20px;
    padding-left: 20px;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  [dir="rtl"] .hero__content {
    padding-right: 20px;
    padding-left: 20px;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  [dir="rtl"] .hero__content {
    padding-right: 16px;
    padding-left: 16px;
    max-width: 100%;
  }
}

[dir="rtl"] .hero__graphic {
  right: auto;
  left: calc((100vw - 1200px) / 2 + 20px);
}

@media (max-width: 1240px) {
  [dir="rtl"] .hero__graphic {
    right: auto;
    left: 60px;
  }
}

@media (max-width: 1024px) {
  [dir="rtl"] .hero__graphic {
    right: auto;
    left: 8px;
  }
}

[dir="rtl"] .hero__chart::before {
  background: linear-gradient(270deg, var(--accent), transparent);
}

[dir="rtl"] .hero__slide::after {
  right: auto;
  left: -50px;
}

[dir="rtl"] .hero__arrow--left {
  left: auto;
  right: 24px;
}

[dir="rtl"] .hero__arrow--right {
  right: auto;
  left: 24px;
}

[dir="rtl"] .feature-card__link i,
[dir="rtl"] .news-card__link i,
[dir="rtl"] .about__list-item i {
  transform: scaleX(-1);
}

[dir="rtl"] .feature-card__link:hover i,
[dir="rtl"] .news-card__link:hover i {
  transform: scaleX(-1) translateX(3px);
}

[dir="rtl"] .feature-card::before {
  background: linear-gradient(270deg, var(--primary), var(--accent));
}

[dir="rtl"] .about__floating-card {
  right: auto;
  left: -30px;
}

[dir="rtl"] .about__content .section-header {
  text-align: right;
}

[dir="rtl"] .markets__table th {
  text-align: right;
}

[dir="rtl"] .footer__contact-item i {
  margin-top: 3px;
}

[dir="rtl"] .nav-cta {
  margin-left: 0;
  margin-right: 12px;
}

[dir="rtl"] .news-card__tag {
  left: auto;
  right: 14px;
}

[dir="rtl"] .services::before {
  right: auto;
  left: -200px;
}

[dir="rtl"] .btn i {
  transform: scaleX(-1);
}

[dir="rtl"] .ticker__inner {
  animation-name: ticker-scroll-rtl;
}

@keyframes ticker-scroll-rtl {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1240px) {
  .hero__graphic {
    width: 360px;
    height: 280px;
  }
}

@media (max-width: 1024px) {
  .hero {
    height: 480px;
  }

  .hero__graphic {
    width: 320px;
    height: 250px;
    right: 30px;
  }

  .hero__title {
    font-size: 36px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: 500px;
  }

  .hero__graphic {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: 300px;
    margin-top: 40px;
  }

  .hero__content {
    max-width: 100%;
    padding: 40px 20px 0;
  }
}

@media (max-width: 768px) {
  .top-bar__left {
    display: none;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: 0 8px 20px var(--shadow-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav--open {
    display: flex;
  }

  .main-nav__link {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    height: auto;
    min-height: 500px;
    padding: 0;
  }

  .hero__content {
    padding: 30px 20px 0;
    max-width: 100%;
  }

  .hero__title {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .hero__description {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .btn {
    padding: 11px 18px;
    font-size: 12px;
  }

  .hero__graphic {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: 180px;
    margin: 20px 0 0;
  }

  .hero__chart {
    padding: 14px;
  }

  .chart-header__value {
    font-size: 16px;
  }

  .chart-header__title {
    font-size: 9px;
  }

  .chart-bars {
    height: 120px;
    gap: 4px;
  }

  .wealth-header {
    gap: 8px;
  }

  .wealth-title {
    font-size: 12px;
  }

  .wealth-total {
    font-size: 16px;
  }

  .wealth-bars {
    height: 80px;
    gap: 5px;
  }

  .wealth-footer {
    gap: 10px;
  }

  .trading-header {
    margin-bottom: 10px;
  }

  .trading-title {
    font-size: 12px;
  }

  .candle-group {
    height: 40px;
    gap: 3px;
    margin-top: 4px;
  }

  .candle {
    width: 8px;
  }

  .trading-footer {
    gap: 8px;
  }

  .trading-stat {
    font-size: 10px;
  }

  .hero__dots {
    bottom: 16px;
  }

  .features__grid,
  .news__grid {
    grid-template-columns: 1fr;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__floating-card {
    right: 10px;
    top: 20px;
  }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .section-header__title {
    font-size: 28px;
  }

  .cta-banner__title {
    font-size: 26px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }


  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .markets__table-wrapper {
    overflow-x: auto;
  }

  .markets__table {
    min-width: 600px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 480px;
  }

  .hero__title {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .hero__badge {
    padding: 4px 12px;
    font-size: 10px;
  }

  .hero__description {
    font-size: 12px;
    margin-bottom: 16px;
    line-height: 1.5;
  }

  .btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  .btn--primary,
  .btn--outline {
    width: 100%;
  }

  .hero__graphic {
    height: 160px;
    margin: 16px 0 0;
  }

  .hero__chart {
    padding: 12px;
  }

  .chart-header__value {
    font-size: 14px;
  }

  .chart-header__title {
    font-size: 8px;
  }

  .chart-bars {
    height: 100px;
    gap: 3px;
  }

  .wealth-header {
    gap: 6px;
  }

  .wealth-title {
    font-size: 11px;
  }

  .wealth-total {
    font-size: 14px;
  }

  .wealth-bars {
    height: 70px;
    gap: 4px;
  }

  .wealth-bar .bar-label {
    display: none;
    font-size: 8px;
  }

  .wealth-footer {
    gap: 8px;
  }

  .trading-header {
    margin-bottom: 8px;
  }

  .trading-title {
    font-size: 11px;
  }

  .trading-status {
    font-size: 10px;
  }

  .candle-group {
    height: 35px;
    gap: 2px;
    margin-top: 4px;
  }

  .candle {
    width: 6px;
  }

  .trading-footer {
    gap: 6px;
  }

  .trading-stat {
    font-size: 9px;
  }

  .trading-footer {
    flex-direction: row;
    gap: 8px;
  }

  .trading-stat {
    font-size: 10px;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-item__number {
    font-size: 24px;
  }

  .menu-toggle {
    padding: 6px;
  }

  .hero__dots {
    gap: 8px;
    bottom: 12px;
  }

  .hero__dot {
    width: 8px;
    height: 8px;
  }

  .exchanges__grid {
    grid-template-columns: 1fr;
  }

  .section-header__title {
    font-size: 24px;
  }

  .cta-banner__title {
    font-size: 20px;
  }

  /* Section spacing */
  .ticker {
    padding: 0;
  }

  .ticker__item {
    padding: 8px 15px;
    gap: 8px;
    font-size: 11px;
  }

  /* Feature cards */
  .feature-card__title {
    font-size: 14px;
    margin: 12px 0 8px;
  }

  .feature-card__text {
    font-size: 12px;
  }

  .feature-card__link {
    font-size: 12px;
  }

  /* About section */
  .about__content {
    margin-bottom: 24px;
  }

  .about__content h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .about__content p {
    font-size: 12px;
  }

  .about__list-item {
    padding: 8px 0;
    font-size: 12px;
  }

  .about__list-item i {
    font-size: 12px;
  }

  .about__floating-card {
    padding: 16px;
    border-radius: 12px;
  }

  .floating-stat {
    margin-bottom: 12px;
  }

  .floating-stat-value {
    font-size: 18px;
  }

  .floating-stat-label {
    font-size: 11px;
  }

  /* Markets table */
  .markets__table {
    font-size: 12px;
  }

  .markets__table th {
    padding: 8px 4px;
    font-size: 11px;
  }

  .markets__table td {
    padding: 8px 4px;
  }

  /* Services section */
  .services__grid {
    gap: 16px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card__icon {
    font-size: 32px;
    width: 50px;
    height: 50px;
  }

  .service-card__title {
    font-size: 14px;
  }

  .service-card__text {
    font-size: 12px;
  }

  /* News cards */
  .news-card {
    margin-bottom: 16px;
  }

  .news-card__image {
    height: 180px;
  }

  .news-card__category {
    font-size: 10px;
    padding: 4px 10px;
  }

  .news-card__title {
    font-size: 14px;
    margin: 8px 0;
  }

  .news-card__meta {
    font-size: 11px;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 40px 20px;
  }

  .cta-banner__description {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .cta-banner__buttons {
    gap: 10px;
  }

  .cta-banner__buttons a {
    flex: 1;
    padding: 12px 16px;
    font-size: 12px;
  }

  /* Header optimization */
  .header {
    padding: 12px 0;
  }

  .logo__image {
    max-height: 32px;
  }

  /* Footer optimization */
  .footer {
    padding: 40px 0 20px;
  }

  .footer__section h4 {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .footer__section ul li {
    margin-bottom: 8px;
  }

  .footer__section a {
    font-size: 12px;
  }

  .footer__section p {
    font-size: 12px;
  }

  .footer__bottom {
    font-size: 11px;
    padding-top: 16px;
  }

  /* Scroll to top button */
  .scroll-top {
    width: 40px;
    height: 40px;
    bottom: 16px;
    right: 16px;
    font-size: 18px;
  }
}

/* ===== CONTACT FORM SECTION ===== */
.contact-form-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(0, 89, 79, 0.02) 0%, rgba(200, 168, 78, 0.02) 100%);
}

.contact-form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form-content {
  background: transparent;
}

/* Form Styles */
.contact-form {
  margin-top: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.required {
  color: #ff6b6b;
  margin-left: 3px;
}

.form-input,
.form-textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--text-dark);
  background: #fff;
  transition: all var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 89, 79, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
  font-family: var(--font-primary);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 24px;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary);
}

.btn--lg {
  padding: 14px 40px;
  font-size: 15px;
  min-width: 200px;
}

/* Contact Info Styles */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.contact-info-item:hover {
  box-shadow: 0 8px 24px rgba(0, 89, 79, 0.1);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-info-text p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-form-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-info-item {
    flex: 1;
    min-width: 250px;
    gap: 12px;
  }

  .form-label {
    font-size: 13px;
  }

  .form-input,
  .form-textarea {
    padding: 10px 14px;
    font-size: 13px;
  }

  .btn--lg {
    padding: 12px 32px;
    font-size: 14px;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .contact-form-section {
    padding: 40px 0;
  }

  .contact-form-wrapper {
    gap: 30px;
  }

  .contact-info {
    flex-direction: column;
    gap: 16px;
  }

  .contact-info-item {
    min-width: 100%;
    padding: 16px;
    gap: 12px;
  }

  .contact-info-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .contact-info-text h4 {
    font-size: 14px;
  }

  .contact-info-text p {
    font-size: 12px;
  }

  .form-label {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .form-input,
  .form-textarea {
    padding: 10px 12px;
    font-size: 14px;
  }

  .form-textarea {
    min-height: 120px;
  }

  .form-checkbox {
    font-size: 12px;
    gap: 8px;
  }

  .btn--lg {
    padding: 12px 20px;
    font-size: 13px;
    width: 100%;
  }
}

/* ===== POLICY PAGES ===== */
.policy-page {
  background: linear-gradient(135deg, rgba(0, 89, 79, 0.02) 0%, rgba(200, 168, 78, 0.02) 100%);
  padding: 0 0 80px 0;
  min-height: calc(100vh - 72px);
}

.policy-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 80px 0;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.policy-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 80% 50%, rgba(200, 168, 78, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

.policy-header .container {
  position: relative;
  z-index: 2;
}

.policy-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.policy-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
}

.policy-section {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.policy-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.policy-section p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

.policy-list {
  list-style: none;
  margin: 16px 0;
  padding-right: 20px;
}

.policy-list li {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 12px;
  padding-right: 24px;
  position: relative;
}

.policy-list li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 16px;
}

.warning-box {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 159, 64, 0.1) 100%);
  border: 2px solid #ff6b6b;
  border-radius: 12px;
  padding: 24px;
  margin: 32px 0;
}

.warning-box h3 {
  color: #ff6b6b;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.warning-box p {
  color: var(--text-body);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

.policy-updated {
  background: var(--bg-light);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 60px;
  color: var(--text-light);
  font-size: 13px;
  border: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
  .policy-header {
    padding: 60px 0;
    margin-bottom: 40px;
  }

  .policy-title {
    font-size: 36px;
  }

  .policy-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 20px;
  }

  .policy-section {
    margin-bottom: 36px;
    padding-bottom: 24px;
  }
}

@media (max-width: 480px) {
  .policy-header {
    padding: 40px 0;
    margin-bottom: 30px;
  }

  .policy-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .policy-subtitle {
    font-size: 14px;
  }

  .section-title {
    font-size: 18px;
  }

  .policy-section {
    margin-bottom: 28px;
    padding-bottom: 20px;
  }

  .policy-section p {
    font-size: 14px;
  }

  .policy-list li {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .warning-box {
    padding: 16px;
  }

  .warning-box h3 {
    font-size: 16px;
  }

  .warning-box p {
    font-size: 13px;
  }

  .policy-updated {
    padding: 16px;
    font-size: 12px;
  }
}
