/* ===== DIAMOND CAPITAL — Professional Trading UI ===== */
:root {
  --black: #000000;
  --black-soft: #060606;
  --black-card: #0d0d0d;
  --black-elevated: #141414;
  --black-glass: rgba(13, 13, 13, 0.72);
  --gold: #d4af37;
  --gold-light: #f0d060;
  --gold-dark: #9a7b2c;
  --gold-gradient: linear-gradient(135deg, #f5d76e 0%, #d4af37 45%, #9a7b2c 100%);
  --gold-shine: linear-gradient(105deg, transparent 40%, rgba(255, 215, 0, 0.15) 50%, transparent 60%);
  --gold-glow: rgba(212, 175, 55, 0.35);
  --gold-glow-soft: rgba(212, 175, 55, 0.12);
  --text-primary: #f5f5f5;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --positive: #34d399;
  --negative: #f87171;
  --border-gold: rgba(212, 175, 55, 0.18);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Tajawal', sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.15);
  --shadow-gold-strong: 0 12px 40px rgba(212, 175, 55, 0.22);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 76px;
  --ticker-height: 38px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--ticker-height));
}

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(212, 175, 55, 0.06), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 40%, rgba(212, 175, 55, 0.03), transparent 50%),
    radial-gradient(ellipse 50% 40% at 100% 60%, rgba(212, 175, 55, 0.03), transparent 50%),
    var(--black);
  color: var(--text-primary);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

::selection {
  background: rgba(212, 175, 55, 0.3);
  color: #fff;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb {
  background: var(--gold-dark);
  border-radius: 4px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gold-shimmer {
  background-size: 200% auto;
  animation: gold-shimmer 4s linear infinite;
}

@keyframes gold-shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.glass-card {
  background: linear-gradient(145deg, rgba(18, 18, 18, 0.85), rgba(8, 8, 8, 0.75));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.glass-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  box-shadow: var(--shadow-elevated), 0 0 0 1px rgba(212, 175, 55, 0.06);
}

.glass-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.25), transparent 40%, transparent 60%, rgba(212, 175, 55, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--positive);
  border-radius: 50%;
  animation: live-pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px var(--positive);
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

/* ===== PRELOADER ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  width: 140px;
  animation: float 2s ease-in-out infinite;
  filter: drop-shadow(0 0 30px var(--gold-glow));
}

.preloader-bar {
  width: 160px;
  height: 2px;
  background: var(--border-gold);
  border-radius: 2px;
  margin: 24px auto 0;
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold-gradient);
  border-radius: 2px;
  transition: width 0.15s ease;
}

.preloader-brand {
  font-family: var(--font-serif);
  font-size: 0.7rem;
  letter-spacing: 5px;
  color: var(--gold);
  margin-top: 16px;
  opacity: 0.8;
}

.preloader-pct {
  display: block;
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ===== TICKER ===== */
.ticker-wrap {
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #0c0c0c 0%, var(--black-soft) 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  height: var(--ticker-height);
  position: relative;
  z-index: 1001;
  box-shadow: 0 1px 0 rgba(212, 175, 55, 0.08);
}

.ticker-live {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--positive);
  border-left: 1px solid var(--border-gold);
  flex-shrink: 0;
  height: 100%;
}

.ticker-track {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.ticker-track:hover .ticker {
  animation-play-state: paused;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  border-left: 1px solid var(--border-subtle);
  height: var(--ticker-height);
  line-height: var(--ticker-height);
}

.ticker-symbol {
  color: var(--gold);
  font-weight: 700;
  font-family: var(--font-serif);
  letter-spacing: 0.5px;
}

.ticker-change.positive { color: var(--positive); font-weight: 600; }
.ticker-change.negative { color: var(--negative); font-weight: 600; }

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: var(--ticker-height);
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: var(--transition);
}

.header.scrolled {
  top: 0;
  background: rgba(0, 0, 0, 0.94);
  border-bottom-color: rgba(212, 175, 55, 0.25);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-logo-img {
  height: 46px;
  width: auto;
  filter: drop-shadow(0 0 12px var(--gold-glow-soft));
}

.nav-logo-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.nav-logo-sub {
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 9px 18px;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  right: 18px;
  left: 18px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.nav-cta.active::after { display: none; }

.nav-cta {
  background: var(--gold-gradient) !important;
  color: var(--black) !important;
  font-weight: 800 !important;
  padding: 10px 22px !important;
  margin-right: 4px;
  box-shadow: 0 2px 16px rgba(212, 175, 55, 0.25);
}

.nav-cta:hover {
  box-shadow: 0 4px 28px var(--gold-glow);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--black);
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.35);
  letter-spacing: 0.02em;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold-shine);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover {
  box-shadow: 0 6px 36px var(--gold-glow);
  transform: translateY(-2px);
}

.btn-primary:hover::after { transform: translateX(100%); }

.btn-outline {
  background: rgba(212, 175, 55, 0.05);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.12);
  border-color: var(--gold);
  box-shadow: 0 0 24px var(--gold-glow-soft);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: calc(var(--header-height) + var(--ticker-height));
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 80%);
}

#chartCanvas {
  width: 100%;
  height: 100%;
  opacity: 0.12;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.hero-glow-1 {
  top: 10%;
  right: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  animation: pulse-glow 5s ease-in-out infinite;
}

.hero-glow-2 {
  bottom: 10%;
  left: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  animation: pulse-glow 7s ease-in-out infinite reverse;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.08); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  padding: 72px 28px 100px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.1);
}

.hero-tag {
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 600;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.85;
}

body.loaded .hero-badge,
body.loaded .hero-tag,
body.loaded .hero-title,
body.loaded .hero-subtitle,
body.loaded .hero-stats,
body.loaded .hero-buttons,
body.loaded .hero-trust {
  animation: hero-fade-in 0.8s ease forwards;
}

body.loaded .hero-tag { animation-delay: 0.1s; opacity: 0; }
body.loaded .hero-title { animation-delay: 0.2s; opacity: 0; }
body.loaded .hero-subtitle { animation-delay: 0.35s; opacity: 0; }
body.loaded .hero-stats { animation-delay: 0.45s; opacity: 0; }
body.loaded .hero-buttons { animation-delay: 0.55s; opacity: 0; }
body.loaded .hero-trust { animation-delay: 0.65s; opacity: 0; }

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.stat-card {
  flex: 1;
  min-width: 120px;
  padding: 20px 22px;
  background: linear-gradient(160deg, rgba(20, 20, 20, 0.9), rgba(10, 10, 10, 0.8));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0.7;
}

.stat-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-trust > span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-trust-logos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-trust-logos span {
  font-family: var(--font-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-secondary);
  padding: 6px 14px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.hero-trust-logos span:hover {
  color: var(--gold);
  border-color: var(--border-gold);
}

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.hero-showcase {
  position: relative;
  padding: 40px;
}

.showcase-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--gold-glow-soft) 0%, transparent 65%);
  pointer-events: none;
}

.hero-logo-wrap {
  position: relative;
  z-index: 1;
}

.hero-logo {
  width: 300px;
  max-width: 100%;
  filter: drop-shadow(0 0 50px var(--gold-glow));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.diamond-sparkle {
  position: absolute;
  top: 8%;
  right: 44%;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #fff 0%, var(--gold-light) 40%, transparent 70%);
  border-radius: 50%;
  animation: sparkle 2.5s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.2; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.3); }
}

.showcase-card {
  position: absolute;
  padding: 10px 16px;
  background: var(--black-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.showcase-card-1 {
  top: 10%;
  left: -10%;
  animation-delay: -1s;
}

.showcase-card-2 {
  bottom: 15%;
  right: -8%;
  animation-delay: -2s;
}

.showcase-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 2px;
}

.showcase-value {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
}

.showcase-value.positive { color: var(--positive); }

.skyline-wrap {
  width: 100%;
  max-width: 360px;
  position: relative;
}

.skyline-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 100px;
  padding: 0 16px;
}

.skyline-bar {
  flex: 1;
  max-width: 22px;
  background: var(--gold-gradient);
  border-radius: 3px 3px 0 0;
  animation: bar-grow 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0.85;
  transition: var(--transition);
  box-shadow: 0 0 12px transparent;
}

.skyline-bar:hover {
  opacity: 1;
  box-shadow: 0 0 16px var(--gold-glow);
}

@keyframes bar-grow {
  from { height: 0 !important; opacity: 0; }
  to { opacity: 0.85; }
}

.skyline-base {
  height: 2px;
  background: var(--gold-gradient);
  margin-top: 4px;
  border-radius: 2px;
  opacity: 0.5;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  z-index: 1;
  text-decoration: none;
  transition: color var(--transition);
}

.hero-scroll:hover { color: var(--gold); }

.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 110px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 700;
  padding: 6px 16px;
  border: 1px solid var(--border-gold);
  border-radius: 100px;
  background: rgba(212, 175, 55, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 24px;
  line-height: 1.85;
}

.diamond-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.diamond-divider::before,
.diamond-divider::after {
  content: '';
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.diamond-divider span {
  width: 8px;
  height: 8px;
  background: var(--gold-gradient);
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--gold-glow);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ABOUT ===== */
.about {
  background: linear-gradient(180deg, var(--black) 0%, var(--black-soft) 50%, var(--black) 100%);
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, var(--gold-glow-soft) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.about-card {
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.about-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.about-card.featured {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.08) 0%, var(--black-glass) 50%);
  border-color: rgba(212, 175, 55, 0.35);
}

.about-icon-wrap {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  color: var(--gold);
}

.about-icon-wrap svg { width: 24px; height: 24px; }

.about-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
}

.about-logo img {
  width: 160px;
  margin-bottom: 18px;
  filter: drop-shadow(0 0 24px var(--gold-glow));
}

.about-quote {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold) !important;
  letter-spacing: 2px;
  margin-bottom: 20px !important;
}

.about-years {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--border-gold);
  width: 100%;
}

.about-years-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-light);
}

.about-years-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  padding: 32px 26px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.service-card:hover {
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-gold);
}

.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: 0.05s; }
.service-card:nth-child(3) { transition-delay: 0.1s; }

.service-card:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.service-icon {
  width: 52px;
  height: 52px;
  color: var(--gold);
  margin-bottom: 20px;
  padding: 11px;
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04));
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.06);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.2);
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.service-card > p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 18px;
  flex: 1;
  line-height: 1.75;
}

.service-features {
  list-style: none;
  margin-bottom: 18px;
}

.service-features li {
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 5px 0;
  padding-right: 18px;
  position: relative;
}

.service-features li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 12px;
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
}

.service-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--gold-light);
  padding-right: 4px;
}

/* ===== MARKETS ===== */
.markets {
  background: var(--black-soft);
}

.markets-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 22px;
}

.market-chart-panel,
.stocks-table-panel {
  padding: 26px;
}

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

.chart-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chart-title-group h3,
.stocks-header h3 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  font-size: 1.05rem;
}

.chart-live {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--positive);
  font-weight: 600;
}

.chart-tabs {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.4);
  padding: 4px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.chart-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.chart-tab.active {
  background: var(--gold-gradient);
  color: var(--black);
}

.chart-tab:hover:not(.active) {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.chart-canvas-wrap {
  position: relative;
  height: 260px;
}

#marketChart {
  width: 100%;
  height: 100%;
}

.chart-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 8px;
}

.chart-price {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  margin-left: 10px;
}

.chart-change {
  font-size: 0.9rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}

.chart-change.positive {
  color: var(--positive);
  background: rgba(52, 211, 153, 0.12);
}

.chart-change.negative {
  color: var(--negative);
  background: rgba(248, 113, 113, 0.12);
}

.chart-updated {
  font-size: 0.72rem;
  color: var(--text-muted);
}

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

.stocks-count {
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 3px 10px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: 100px;
  border: 1px solid var(--border-gold);
}

.stocks-table-head {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  padding: 8px 12px;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 4px;
}

.stock-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.stock-row:hover {
  background: rgba(212, 175, 55, 0.06);
}

.stock-name {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.stock-symbol {
  font-weight: 700;
  color: var(--gold-light);
  font-size: 0.88rem;
  font-family: var(--font-serif);
  letter-spacing: 0.5px;
}

.stock-company {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.stock-price {
  font-weight: 600;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.stock-change {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  min-width: 72px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.stock-change.positive {
  background: rgba(52, 211, 153, 0.12);
  color: var(--positive);
}

.stock-change.negative {
  background: rgba(248, 113, 113, 0.12);
  color: var(--negative);
}

/* ===== WHY US ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.feature-card {
  padding: 28px 22px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
  border-color: rgba(212, 175, 55, 0.35);
}

.feature-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 14px;
  color: var(--gold);
  padding: 10px;
  background: rgba(212, 175, 55, 0.08);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
}

.feature-icon svg { width: 100%; height: 100%; }

.feature-num {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-serif);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.5;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-family: var(--font-serif);
  color: var(--gold-light);
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px;
}

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

.trust-icon-wrap {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--gold);
}

.trust-icon-wrap svg { width: 22px; height: 22px; }

.trust-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.trust-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: linear-gradient(180deg, var(--black) 0%, var(--black-soft) 100%);
}

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

.testimonial-card {
  padding: 32px 26px;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-4px);
}

.testimonial-card.featured {
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.1) 0%, var(--black-glass) 60%);
  border-color: rgba(212, 175, 55, 0.3);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-card > p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.85;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.testimonial-card footer span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 0 0 110px;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 52px 56px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.14) 0%, rgba(10, 10, 10, 0.95) 45%, rgba(212, 175, 55, 0.08) 100%);
  border-color: rgba(212, 175, 55, 0.35);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--gold-glow-soft) 0%, transparent 70%);
  pointer-events: none;
}

.cta-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 10px;
  position: relative;
}

.cta-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  position: relative;
}

.cta-inner .btn { flex-shrink: 0; position: relative; }

/* ===== CONTACT ===== */
.contact {
  background: var(--black-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: start;
}

.contact-info .section-title {
  text-align: right;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.85;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--black-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-item:hover {
  border-color: var(--border-gold);
  background: rgba(212, 175, 55, 0.04);
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--gold);
}

.contact-icon svg { width: 20px; height: 20px; }

.contact-item strong {
  display: block;
  color: var(--gold-light);
  margin-bottom: 4px;
  font-size: 0.88rem;
}

.contact-item p {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.contact-form {
  padding: 40px 36px;
}

.contact-form h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  margin-bottom: 28px;
  color: var(--gold-light);
}

.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-alert-success {
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: var(--positive);
}

.form-alert-error {
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: var(--negative);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
  background: rgba(0, 0, 0, 0.75);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  padding-left: 36px;
}

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

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, var(--black-soft) 0%, #000 100%);
  border-top: 1px solid transparent;
  padding: 72px 0 32px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 44px;
}

.footer-logo {
  width: 110px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 12px var(--gold-glow-soft));
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.footer-disclaimer {
  font-size: 0.72rem !important;
  color: var(--text-muted) !important;
  margin-top: 14px !important;
  line-height: 1.6 !important;
}

.footer-links h4 {
  font-family: var(--font-serif);
  color: var(--gold);
  margin-bottom: 18px;
  font-size: 0.95rem;
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
  padding-right: 4px;
}

.footer-newsletter p {
  color: var(--text-secondary);
  font-size: 0.82rem;
  margin-bottom: 14px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 11px 14px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--border-gold);
}

.newsletter-form .btn {
  padding: 11px 18px;
  font-size: 0.82rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--gold);
  text-decoration: none;
  background: rgba(0, 0, 0, 0.35);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold-gradient);
  color: var(--black);
  border-color: transparent;
  transform: translateY(-2px);
}

/* ===== SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  height: 3px;
  width: 0%;
  background: var(--gold-gradient);
  z-index: 10002;
  box-shadow: 0 0 12px var(--gold-glow);
  transition: width 0.1s linear;
}

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: var(--black-glass);
  backdrop-filter: blur(12px);
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.back-top svg { width: 20px; height: 20px; }

.back-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--gold-gradient);
  color: var(--black);
  border-color: transparent;
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

/* ===== FLOATING CALL ===== */
.floating-call {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-direction: row-reverse;
}

.floating-call-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: var(--gold-gradient);
  color: var(--black);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  flex-shrink: 0;
}

.floating-call-btn svg {
  width: 24px;
  height: 24px;
}

.floating-call-btn:hover,
.floating-call.open .floating-call-btn {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 12px 36px rgba(212, 175, 55, 0.45);
  border-color: transparent;
}

.floating-call-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding: 14px 16px;
  min-width: 210px;
  background: var(--black-glass);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-gold);
  animation: floatingCallIn 0.3s ease;
}

.floating-call-panel[hidden] {
  display: none;
}

@keyframes floatingCallIn {
  from {
    opacity: 0;
    transform: translateX(12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.floating-call-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.floating-call-phone {
  font-size: 1rem;
  color: var(--gold-light);
  font-weight: 700;
  direction: ltr;
  letter-spacing: 0.02em;
}

.floating-call-action {
  width: 100%;
  padding: 10px 16px;
  font-size: 0.85rem;
  text-align: center;
  text-decoration: none;
  margin-top: 4px;
}

.floating-call-action:hover {
  color: var(--black);
}

/* ===== PARTICLES ===== */
.particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.5;
}

/* ===== HERO ORBIT ===== */
.hero-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 340px;
  height: 340px;
  margin: -170px 0 0 -170px;
  border: 1px dashed rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  animation: orbit-spin 30s linear infinite;
}

.hero-orbit::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--gold-light);
  border-radius: 50%;
  box-shadow: 0 0 14px var(--gold-glow);
  transform: translateX(-50%);
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: linear-gradient(90deg, var(--black-soft), rgba(212, 175, 55, 0.06), var(--black-soft));
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 20px 0;
  overflow: hidden;
}

.stats-strip-track {
  display: flex;
  width: max-content;
  animation: strip-scroll 35s linear infinite;
}

.stats-strip-track:hover {
  animation-play-state: paused;
}

.stats-strip-inner {
  display: flex;
  gap: 48px;
  padding: 0 24px;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.strip-item strong {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--gold-light);
}

.strip-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

/* ===== PLATFORM ===== */
.platform {
  background: var(--black);
  overflow: hidden;
}

.platform::before {
  content: '';
  position: absolute;
  left: -10%;
  top: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--gold-glow-soft) 0%, transparent 70%);
  transform: translateY(-50%);
  pointer-events: none;
}

.platform-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: center;
}

.platform-content .section-desc {
  text-align: right;
  margin-bottom: 28px;
}

.platform-features {
  list-style: none;
  margin-bottom: 32px;
}

.platform-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.platform-features li:last-child { border-bottom: none; }

.pf-icon {
  color: var(--gold);
  font-size: 0.5rem;
  margin-top: 8px;
}

.platform-features strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.platform-features span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.mockup-frame {
  padding: 0;
  overflow: hidden;
  box-shadow: var(--shadow-card), 0 0 60px rgba(212, 175, 55, 0.08);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s ease;
}

.mockup-frame:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-gold);
}

.mockup-dots span:first-child { background: #f87171; }
.mockup-dots span:nth-child(2) { background: #fbbf24; }
.mockup-dots span:last-child { background: var(--positive); }

.mockup-title {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.mockup-live {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--positive);
  letter-spacing: 1px;
}

.mockup-body {
  display: flex;
  min-height: 320px;
}

.mockup-sidebar {
  width: 90px;
  padding: 12px 8px;
  border-left: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.3);
}

.mockup-nav-item {
  font-size: 0.65rem;
  color: var(--text-muted);
  padding: 10px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
  text-align: center;
  transition: var(--transition);
}

.mockup-nav-item.active {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.mockup-main {
  flex: 1;
  padding: 16px;
}

.mockup-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.mockup-stat {
  padding: 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.mockup-stat span {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.mockup-stat strong {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  display: block;
}

.mockup-stat em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
}

.mockup-stat em.positive,
.mockup-stat strong.positive { color: var(--positive); }

.mockup-chart-area {
  height: 120px;
  margin-bottom: 14px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

#mockChart {
  width: 100%;
  height: 100%;
}

.mockup-positions {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-position {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  font-size: 0.72rem;
}

.mock-position .sym {
  color: var(--gold);
  font-weight: 700;
  font-family: var(--font-serif);
}

.mock-position .pnl.positive { color: var(--positive); font-weight: 700; }
.mock-position .pnl.negative { color: var(--negative); font-weight: 700; }

/* ===== STEPS ===== */
.steps-section {
  background: linear-gradient(180deg, var(--black-soft) 0%, var(--black) 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: stretch;
}

.step-card {
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-gold);
}

.step-num {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-serif);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.6;
}

.step-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  color: var(--gold);
}

.step-icon svg { width: 24px; height: 24px; }

.step-card h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.step-connector {
  width: 40px;
  align-self: center;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: 80px;
  }

  .hero-subtitle { margin: 0 auto 36px; }
  .hero-stats { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-badge { margin: 0 auto 20px; }

  .showcase-card-1 { left: 0; }
  .showcase-card-2 { right: 0; }

  .about-grid { grid-template-columns: 1fr; }
  .about-card.featured { order: -1; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .markets-layout { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 36px 28px;
  }

  .platform-layout { grid-template-columns: 1fr; }
  .platform-content { text-align: center; }
  .platform-content .section-desc { text-align: center; }
  .mockup-frame { transform: none; }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .step-connector { display: none; }
  .market-indices { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }

  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: calc(var(--header-height) + var(--ticker-height));
    right: -100%;
    width: min(300px, 85vw);
    height: calc(100vh - var(--header-height) - var(--ticker-height));
    background: rgba(0, 0, 0, 0.97);
    flex-direction: column;
    padding: 28px 20px;
    border-left: 1px solid var(--border-gold);
    transition: var(--transition);
    gap: 4px;
  }

  .nav-menu.open { right: 0; }

  .header.scrolled .nav-menu {
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 14px;
  }

  .hero-stats { flex-direction: column; align-items: center; }
  .stat-card { width: 100%; max-width: 280px; text-align: center; }

  .services-grid,
  .features-grid,
  .trust-bar { grid-template-columns: 1fr; }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-logo { width: 240px; }
  .hero-orbit { width: 260px; height: 260px; margin: -130px 0 0 -130px; }
  .showcase-card { display: none; }
  .back-top { bottom: 20px; left: 20px; }
  .floating-call { bottom: 82px; right: 16px; }
  .mobile-cta { display: block; }
  .faq-layout { grid-template-columns: 1fr !important; }
  .partners-grid { grid-template-columns: repeat(2, 1fr) !important; }
  body { padding-bottom: 72px; }
}

/* ===== MARKET INDICES ===== */
.market-indices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.index-card {
  padding: 18px 20px;
  background: var(--black-glass);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.index-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity var(--transition);
}

.index-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

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

.index-name {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.index-value {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

.index-change {
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.index-change.positive { color: var(--positive); }
.index-change.negative { color: var(--negative); }

.index-value.flash-up { color: var(--positive); }
.index-value.flash-down { color: var(--negative); }

.stock-price.flash-up,
.stock-change.flash-up { animation: flash-green 0.6s ease; }

.stock-price.flash-down,
.stock-change.flash-down { animation: flash-red 0.6s ease; }

@keyframes flash-green {
  0%, 100% { background: transparent; }
  30% { background: rgba(52, 211, 153, 0.2); border-radius: 4px; }
}

@keyframes flash-red {
  0%, 100% { background: transparent; }
  30% { background: rgba(248, 113, 113, 0.2); border-radius: 4px; }
}

/* ===== PARTNERS ===== */
.partners-section {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--black-soft);
}

.partners-label {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  opacity: 0.6;
}

.partner-logo:hover {
  opacity: 1;
  color: var(--gold);
  border-color: var(--border-gold);
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-2px);
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--black);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.faq-intro .section-desc {
  text-align: right;
  margin-bottom: 28px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: linear-gradient(145deg, rgba(16, 16, 16, 0.9), rgba(8, 8, 8, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.faq-item.active {
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: var(--shadow-gold);
  background: linear-gradient(145deg, rgba(20, 18, 12, 0.95), rgba(10, 10, 10, 0.9));
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
  transition: color var(--transition);
}

.faq-question:hover { color: var(--gold-light); }

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.35s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 22px 18px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.85;
}

/* ===== MOBILE CTA ===== */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-gold);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.mobile-cta .btn {
  padding: 13px 24px;
  font-size: 0.9rem;
}

.mobile-cta.hidden {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
}

/* ===== SECTION WATERMARK ===== */
.section::before {
  content: attr(data-watermark);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-serif);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 700;
  color: rgba(212, 175, 55, 0.02);
  pointer-events: none;
  white-space: nowrap;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

/* ===== FOCUS & A11Y ===== */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ===== NEWS PAGE ===== */
.news-page-body {
  --header-height: 76px;
}

.news-page-body .header {
  top: 0;
}

.news-page {
  padding-top: calc(var(--header-height) + 24px);
  min-height: 100vh;
}

.news-hero {
  padding: 48px 0 24px;
  position: relative;
}

.news-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212, 175, 55, 0.08), transparent 70%);
  pointer-events: none;
}

.news-hero .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.news-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.news-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(13, 13, 13, 0.6);
}

.news-section {
  padding: 24px 0 80px;
}

.news-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.news-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.45);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-gold);
  max-width: 100%;
}

.news-tab {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.news-tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.news-tab.active {
  background: var(--gold-gradient);
  color: var(--black);
  box-shadow: var(--shadow-gold);
}

.news-tab.active .news-tab-count {
  background: rgba(0, 0, 0, 0.15);
  color: var(--black);
}

.news-tab:hover:not(.active) {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

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

.news-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  height: 100%;
}

.news-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--black-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(13, 13, 13, 0.95));
}

.news-card-image-fallback span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  background: rgba(0, 0, 0, 0.35) center / 28px no-repeat;
}

.news-card-image-forex span {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='1.8'%3E%3Cpath d='M7 10h10M7 14h6'/%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3C/svg%3E");
}

.news-card-image-saudi span {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='1.8'%3E%3Cpath d='M4 19V5M8 19V9M12 19V12M16 19V7M20 19V4'/%3E%3C/svg%3E");
}

.news-card-image-us span {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='1.8'%3E%3Cpath d='M3 19h18M6 16l3-5 3 3 4-7 2 4'/%3E%3C/svg%3E");
}

.news-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.news-card-source {
  color: var(--gold);
  font-weight: 600;
}

.news-card-title {
  font-size: 1.05rem;
  line-height: 1.5;
  font-weight: 700;
}

.news-card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
}

.news-card-title a:hover {
  color: var(--gold-light);
}

.news-card-summary {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
  flex: 1;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: auto;
  transition: gap var(--transition);
}

.news-card-link:hover {
  gap: 10px;
}

.news-card-link svg {
  transform: rotate(180deg);
}

.news-loading {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  grid-column: 1 / -1;
}

.news-skeleton {
  height: 320px;
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--black-card) 25%, var(--black-elevated) 50%, var(--black-card) 75%);
  background-size: 200% 100%;
  animation: newsShimmer 1.5s infinite;
  border: 1px solid var(--border-subtle);
}

@keyframes newsShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.news-empty,
.news-error {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-md);
  background: rgba(13, 13, 13, 0.5);
}

.news-error {
  color: var(--negative);
  border-color: rgba(248, 113, 113, 0.3);
}

@media (max-width: 1024px) {
  .news-grid,
  .news-loading {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-hero {
    padding-top: 32px;
  }

  .news-tabs {
    width: 100%;
    padding: 4px;
  }

  .news-tab {
    flex: 1 1 calc(50% - 4px);
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .news-grid,
  .news-loading {
    grid-template-columns: 1fr;
  }

  .news-card-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== PROFESSIONAL POLISH — refinements ===== */
.feature-card {
  background: linear-gradient(160deg, rgba(16, 16, 16, 0.85), rgba(8, 8, 8, 0.9));
}

.testimonial-card {
  background: linear-gradient(160deg, rgba(16, 16, 16, 0.9), rgba(8, 8, 8, 0.85));
}

.contact-item {
  background: linear-gradient(145deg, rgba(14, 14, 14, 0.9), rgba(8, 8, 8, 0.8));
}

.mockup-frame,
.platform-mockup {
  box-shadow: var(--shadow-elevated), 0 0 60px rgba(212, 175, 55, 0.06);
}

.nav-logo-img {
  transition: filter 0.4s ease, transform 0.4s ease;
}

.nav-logo:hover .nav-logo-img {
  filter: drop-shadow(0 0 18px var(--gold-glow));
  transform: scale(1.03);
}

.hero-logo {
  filter: drop-shadow(0 0 60px var(--gold-glow)) drop-shadow(0 0 120px rgba(212, 175, 55, 0.15));
}

.preloader {
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.05), var(--black) 70%);
}

.news-card.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated), var(--shadow-gold);
}

/* ===== PERFORMANCE PAGE ===== */
.performance-page-body {
  --header-height: 76px;
}

.performance-page-body .header {
  top: 0;
}

.performance-page {
  padding-top: calc(var(--header-height) + 24px);
  min-height: 100vh;
}

.performance-hero {
  padding: 48px 0 24px;
  position: relative;
}

.performance-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212, 175, 55, 0.1), transparent 70%);
  pointer-events: none;
}

.performance-hero .section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.performance-meta {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.performance-meta-item {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--border-gold);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: rgba(13, 13, 13, 0.6);
}

.performance-section {
  padding: 24px 0 80px;
}

.performance-section .news-tabs-wrap {
  margin-bottom: 28px;
}

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

.performance-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  height: 100%;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.performance-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.performance-card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--black-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.performance-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.performance-card:hover .performance-card-image img {
  transform: scale(1.04);
}

.performance-card-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(13, 13, 13, 0.95));
  font-size: 2.2rem;
}

.performance-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.performance-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.45;
  color: var(--gold-light);
}

.performance-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.85;
  white-space: pre-line;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.performance-card-more {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
}

.performance-loading {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  grid-column: 1 / -1;
}

.performance-skeleton {
  height: 380px;
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, var(--black-card) 25%, var(--black-elevated) 50%, var(--black-card) 75%);
  background-size: 200% 100%;
  animation: newsShimmer 1.5s infinite;
  border: 1px solid var(--border-subtle);
}

.performance-empty,
.performance-error {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-md);
  background: rgba(13, 13, 13, 0.5);
}

.performance-error {
  color: var(--negative);
  border-color: rgba(248, 113, 113, 0.3);
}

.performance-card.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated), var(--shadow-gold);
}

@media (max-width: 900px) {
  .performance-grid,
  .performance-loading {
    grid-template-columns: 1fr;
  }
}

body.performance-modal-open {
  overflow: hidden;
}

.performance-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.performance-modal[hidden] {
  display: none;
}

.performance-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
}

.performance-modal-dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: min(92vh, 900px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(24, 24, 24, 0.98), rgba(8, 8, 8, 0.99));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated), 0 0 80px rgba(212, 175, 55, 0.12);
  animation: performanceModalIn 0.35s ease;
}

@keyframes performanceModalIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.performance-modal-close {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: var(--gold-light);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.performance-modal-close:hover {
  background: rgba(212, 175, 55, 0.15);
  transform: scale(1.05);
}

.performance-modal-close svg {
  width: 20px;
  height: 20px;
}

.performance-modal-content {
  overflow-y: auto;
  max-height: min(92vh, 900px);
}

.performance-modal-image-wrap {
  background: var(--black-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.performance-modal-image-wrap img {
  display: block;
  width: 100%;
  max-height: min(58vh, 520px);
  object-fit: contain;
  background: #0a0a0a;
}

.performance-modal-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(13, 13, 13, 0.95));
  font-size: 4rem;
}

.performance-modal-body {
  padding: 28px 32px 36px;
}

.performance-modal-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.45;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.performance-modal-desc {
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 2;
  white-space: pre-line;
}

@media (max-width: 600px) {
  .performance-modal {
    padding: 12px;
  }

  .performance-modal-body {
    padding: 22px 20px 28px;
  }

  .performance-modal-desc {
    font-size: 0.98rem;
    line-height: 1.9;
  }
}
