/* AlMalikVest — Premium Investment Platform CSS */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Rajdhani:wght@300;400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ═══════════════════════════════════════════════════
   CSS VARIABLES
═══════════════════════════════════════════════════ */
:root {
  --gold: #C9A84C;
  --gold-light: #E8C96B;
  --gold-dark: #8B6914;
  --gold-pale: rgba(201,168,76,0.10);
  --gold-border: rgba(201,168,76,0.25);
  --navy: #030B1A;
  --navy-mid: #071428;
  --navy-light: #0D2040;
  --navy-card: #0A1B2E;
  --ash: #B8C4CC;
  --ash-dim: #6E7D8A;
  --white: #F0EDE6;
  --black: #010509;
  --emerald: #00E5A0;
  --danger: #FF4B6E;
  --cyan: #00D4FF;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Rajdhani', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --glow-gold: 0 0 40px rgba(201,168,76,0.25), 0 0 80px rgba(201,168,76,0.08);
  --border-gold: 1px solid rgba(201,168,76,0.25);
  --border-subtle: 1px solid rgba(255,255,255,0.05);
  --ease: cubic-bezier(0.4,0,0.2,1);
  --transition: all 0.35s var(--ease);
  --nav-h: 72px;
  --sidebar-w: 300px;
}

/* ═══════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--navy);
  color: var(--ash);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem,5.5vw,5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem,3.5vw,3.2rem); }
h3 { font-size: clamp(1.3rem,2.5vw,1.9rem); }
h4 { font-size: clamp(1.05rem,2vw,1.3rem); }
p { color: var(--ash); line-height: 1.75; }
ul { list-style: none; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ═══════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════ */
.container { max-width: 1280px; margin: 0 auto; padding: 0 clamp(16px,4vw,48px); }
.section { padding: clamp(60px,8vw,120px) 0; position: relative; }
.section-sm { padding: clamp(40px,5vw,70px) 0; position: relative; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.serif { font-family: var(--font-serif); }
.mono { font-family: var(--font-mono); }
.flex { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center { display: flex; align-items: center; justify-content: center; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,4vw,60px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2.5vw,28px); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(14px,2vw,24px); }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.3em;
  color: var(--gold); text-transform: uppercase;
  border: 1px solid rgba(201,168,76,0.3); padding: 6px 14px;
  margin-bottom: 1.2rem;
}
.section-label::before { content:''; width:5px; height:5px; border-radius:50%; background:var(--gold); }
.section-divider { width: 56px; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); margin: 18px 0; }
.section-divider.center { margin-left: auto; margin-right: auto; }
.section-header { margin-bottom: clamp(36px,5vw,60px); }
.section-header.center { text-align: center; }
.section-header h2 em { font-style: normal; color: var(--gold); }
.gold-line-top { border-top: var(--border-gold); }
.gold-line-bottom { border-bottom: var(--border-gold); }

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 32px; font-family: var(--font-sans); font-size: 0.82rem;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  border: none; cursor: pointer; transition: var(--transition);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.06); transform: translateX(-101%);
  transition: transform 0.4s var(--ease);
}
.btn:hover::after { transform: translateX(0); }
.btn svg, .btn-icon { width: 15px; height: 15px; flex-shrink: 0; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 55%, var(--gold-light) 100%);
  color: var(--navy); box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}
.btn-gold:hover { box-shadow: 0 8px 36px rgba(201,168,76,0.55); transform: translateY(-2px); color: var(--navy); }
.btn-outline { background: transparent; color: var(--gold); border: 1px solid rgba(201,168,76,0.45); }
.btn-outline:hover { background: var(--gold-pale); border-color: var(--gold); color: var(--gold-light); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--ash); border: var(--border-subtle); }
.btn-ghost:hover { background: rgba(255,255,255,0.09); color: var(--white); }
.btn-lg { padding: 17px 44px; font-size: 0.88rem; }
.btn-sm { padding: 9px 20px; font-size: 0.72rem; }
.btn-full { width: 100%; }

/* ═══════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h); transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(3,11,26,0.96);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: var(--border-gold);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 700;
  color: var(--navy); flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name {
  font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--white) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.logo-sub { font-family: var(--font-mono); font-size: 0.47rem; letter-spacing: 0.26em; color: var(--gold); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ash);
  position: relative; padding-bottom: 3px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px;
  background: var(--gold); transition: width 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--gold); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; z-index: 1001; position: relative;
}
.nav-hamburger span {
  display: block; height: 2px; background: var(--ash); transition: var(--transition);
  transform-origin: center;
}
.nav-hamburger span:nth-child(1) { width: 26px; }
.nav-hamburger span:nth-child(2) { width: 20px; }
.nav-hamburger span:nth-child(3) { width: 26px; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 26px; background: var(--gold); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 26px; background: var(--gold); }

/* ═══════════════════════════════════════════════════
   MOBILE SIDEBAR NAV  ← the great sidebar
═══════════════════════════════════════════════════ */
.mobile-overlay {
  display: none; position: fixed; inset: 0; z-index: 950;
  background: rgba(1,5,9,0.75); backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.mobile-overlay.active { display: block; opacity: 1; }

.mobile-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(var(--sidebar-w), 88vw);
  background: var(--black);
  border-left: var(--border-gold);
  z-index: 960;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-sidebar.open { transform: translateX(0); }

.mobile-sidebar-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: var(--border-gold);
  flex-shrink: 0;
}
.mobile-sidebar-close {
  width: 40px; height: 40px; border: var(--border-gold); background: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--ash); font-size: 1.4rem;
  transition: var(--transition);
}
.mobile-sidebar-close:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-pale); }

.mobile-sidebar-nav { flex: 1; padding: 24px 0; }
.mobile-sidebar-nav a {
  display: flex; align-items: center; gap: 14px;
  padding: 15px 28px; font-family: var(--font-sans);
  font-size: 1rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ash);
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: var(--transition); position: relative;
}
.mobile-sidebar-nav a::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 0; background: linear-gradient(90deg, var(--gold-dark), transparent);
  transition: width 0.3s var(--ease); opacity: 0.5;
}
.mobile-sidebar-nav a:hover::before, .mobile-sidebar-nav a.active::before { width: 3px; }
.mobile-sidebar-nav a:hover { color: var(--white); background: rgba(201,168,76,0.05); padding-left: 36px; }
.mobile-sidebar-nav a.active { color: var(--gold); }
.mobile-sidebar-nav .nav-icon { font-size: 1.1rem; flex-shrink: 0; }
.mobile-sidebar-divider { height: 1px; background: var(--border-gold); margin: 12px 28px; }

.mobile-sidebar-ticker {
  padding: 16px 24px; border-top: var(--border-gold);
  font-family: var(--font-mono); font-size: 0.62rem;
  background: rgba(201,168,76,0.04);
}
.mobile-sidebar-ticker-title { color: var(--gold); letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 10px; }
.mobile-ticker-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.mobile-ticker-sym { color: var(--white); font-weight: 700; }
.mobile-ticker-val { color: var(--ash-dim); }
.mobile-ticker-chg.up { color: var(--emerald); }
.mobile-ticker-chg.down { color: var(--danger); }

.mobile-sidebar-cta { padding: 20px 24px; display: flex; flex-direction: column; gap: 10px; border-top: var(--border-gold); flex-shrink: 0; }

/* Live badge inside sidebar */
.live-dot {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.15em;
  color: var(--emerald); text-transform: uppercase;
}
.live-dot::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--emerald); animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.5;transform:scale(0.85);} }

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  min-height: 100svh; position: relative; overflow: hidden;
  display: flex; align-items: center; padding-top: var(--nav-h);
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(13,32,64,0.7) 0%, transparent 70%),
              radial-gradient(ellipse 50% 40% at 75% 20%, rgba(201,168,76,0.05) 0%, transparent 60%),
              var(--navy);
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: clamp(40px,6vh,80px) 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.07); border: var(--border-gold);
  padding: 7px 16px; border-radius: 100px; margin-bottom: 1.8rem;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
}
.hero h1 { margin-bottom: 1.4rem; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: clamp(0.95rem,1.5vw,1.1rem); color: var(--ash); margin-bottom: 2.4rem; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  display: flex; border-top: var(--border-gold);
  background: rgba(3,11,26,0.7); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-stat { flex: 1; padding: clamp(14px,2.5vw,26px) clamp(12px,2.5vw,28px); border-right: var(--border-gold); }
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--font-serif); font-size: clamp(1.4rem,2.5vw,2.1rem);
  font-weight: 600; color: var(--gold); line-height: 1;
}
.hero-stat-label { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ash-dim); margin-top: 4px; }

/* ═══════════════════════════════════════════════════
   TICKER BAR
═══════════════════════════════════════════════════ */
.ticker-bar {
  background: var(--navy-mid); border-top: var(--border-gold);
  border-bottom: var(--border-gold); padding: 11px 0;
  overflow: hidden; white-space: nowrap; position: relative;
}
.ticker-bar::before, .ticker-bar::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 60px; z-index: 1;
}
.ticker-bar::before { left: 0; background: linear-gradient(90deg, var(--navy-mid), transparent); }
.ticker-bar::after { right: 0; background: linear-gradient(-90deg, var(--navy-mid), transparent); }
.ticker-inner { display: inline-flex; gap: 48px; animation: tickScroll 35s linear infinite; }
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 0.68rem; }
.ticker-sym { color: var(--white); font-weight: 700; }
.ticker-price { color: var(--ash-dim); }
.ticker-chg { padding: 1px 5px; font-size: 0.6rem; }
.ticker-chg.up { color: var(--emerald); background: rgba(0,229,160,0.08); }
.ticker-chg.down { color: var(--danger); background: rgba(255,75,110,0.08); }
@keyframes tickScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ═══════════════════════════════════════════════════
   CARDS
═══════════════════════════════════════════════════ */
.card {
  background: var(--navy-card); border: var(--border-gold);
  padding: clamp(24px,3vw,36px); position: relative; overflow: hidden;
  transition: var(--transition);
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(201,168,76,0.45); box-shadow: var(--glow-gold); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 48px; height: 48px; border: var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-pale); margin-bottom: 18px; font-size: 1.3rem;
}

/* ═══════════════════════════════════════════════════
   PLAN CARDS
═══════════════════════════════════════════════════ */
.plan-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.plan-card {
  background: var(--navy-card); border: var(--border-gold);
  position: relative; overflow: hidden;
  transition: var(--transition); display: flex; flex-direction: column;
}
.plan-card.featured { border-color: var(--gold); box-shadow: var(--glow-gold); transform: scale(1.02); }
.plan-card-header { padding: clamp(20px,3vw,30px) clamp(20px,3vw,30px) 20px; border-bottom: var(--border-gold); }
.plan-tier { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.28em; color: var(--gold); text-transform: uppercase; margin-bottom: 6px; }
.plan-name { font-family: var(--font-serif); font-size: clamp(1.5rem,2.5vw,1.9rem); color: var(--white); }
.plan-roi { font-family: var(--font-serif); font-size: clamp(2.4rem,3.5vw,3.2rem); font-weight: 300; color: var(--gold); line-height: 1; margin-top: 4px; }
.plan-roi sub { font-size: 1.1rem; vertical-align: baseline; }
.plan-card-body { padding: 20px clamp(20px,3vw,30px); flex: 1; }
.plan-range { font-family: var(--font-mono); font-size: 0.68rem; color: var(--ash-dim); margin-bottom: 14px; }
.plan-features { display: flex; flex-direction: column; gap: 9px; }
.plan-features li { display: flex; align-items: center; gap: 9px; font-size: 0.85rem; }
.plan-features li::before { content: '◆'; color: var(--gold); font-size: 0.45rem; flex-shrink: 0; }
.plan-card-footer { padding: 0 clamp(20px,3vw,30px) clamp(20px,3vw,28px); }
.featured-badge {
  position: absolute; top: 14px; right: 14px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy); font-family: var(--font-mono); font-size: 0.56rem;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px;
}

/* ═══════════════════════════════════════════════════
   INVEST GRID
═══════════════════════════════════════════════════ */
.invest-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: rgba(201,168,76,0.08); }
.invest-item { background: var(--navy-card); padding: clamp(28px,3.5vw,44px) clamp(20px,2.5vw,32px); transition: var(--transition); overflow: hidden; position: relative; }
.invest-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg,rgba(201,168,76,0.04),transparent 60%); opacity:0; transition:opacity 0.4s; }
.invest-item:hover::after { opacity: 1; }
.invest-item:hover { background: var(--navy-light); }
.invest-img-wrap { height: clamp(140px,18vw,210px); overflow: hidden; margin-bottom: 18px; }
.invest-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); filter: brightness(0.65) saturate(0.7); }
.invest-item:hover .invest-img-wrap img { transform: scale(1.06); filter: brightness(0.85) saturate(1); }
.invest-num { font-family: var(--font-serif); font-size: clamp(2.5rem,4vw,4rem); font-weight: 300; color: rgba(201,168,76,0.1); line-height: 1; margin-bottom: 12px; }
.invest-title { font-size: clamp(1.1rem,1.8vw,1.35rem); color: var(--white); margin-bottom: 8px; }
.invest-desc { font-size: 0.82rem; color: var(--ash-dim); }

/* ═══════════════════════════════════════════════════
   AI SECTION
═══════════════════════════════════════════════════ */
.ai-visual {
  background: var(--navy-card); border: var(--border-gold);
  height: clamp(360px,45vw,520px); position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.ai-grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,0.035) 1px,transparent 1px),
                    linear-gradient(90deg,rgba(201,168,76,0.035) 1px,transparent 1px);
  background-size: 38px 38px;
}
.ai-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.18);
  animation: aiRing 5s ease-in-out infinite;
}
.ai-ring:nth-child(2) { width: 170px; height: 170px; animation-delay: 0s; }
.ai-ring:nth-child(3) { width: 270px; height: 270px; animation-delay: 1.2s; }
.ai-ring:nth-child(4) { width: 380px; height: 380px; animation-delay: 2.4s; }
@keyframes aiRing { 0%,100%{opacity:0.15;transform:scale(1);} 50%{opacity:0.4;transform:scale(1.04);} }
.ai-core {
  width: 76px; height: 76px; border-radius: 50%; z-index: 2;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  box-shadow: var(--glow-gold); display: flex; align-items: center; justify-content: center; font-size: 1.8rem;
}
.ai-feature { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.ai-feature:last-child { border-bottom: none; }
.ai-feature-icon {
  width: 40px; height: 40px; flex-shrink: 0; border: var(--border-gold);
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-pale); font-size: 1rem;
}

/* ═══════════════════════════════════════════════════
   SHARES TABLE
═══════════════════════════════════════════════════ */
.shares-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 0.74rem; }
.shares-table th { background: rgba(201,168,76,0.07); color: var(--gold); padding: 13px 18px; text-align: left; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; border-bottom: var(--border-gold); white-space: nowrap; }
.shares-table td { padding: 13px 18px; border-bottom: var(--border-subtle); color: var(--ash); }
.shares-table tr:hover td { background: rgba(201,168,76,0.025); }
.change-up { color: var(--emerald); }
.change-down { color: var(--danger); }

/* ═══════════════════════════════════════════════════
   PROPERTY CARDS
═══════════════════════════════════════════════════ */
.property-card { background: var(--navy-card); border: var(--border-gold); overflow: hidden; transition: var(--transition); }
.property-card:hover { transform: translateY(-5px); box-shadow: var(--glow-gold); }
.property-img { height: clamp(180px,22vw,220px); overflow: hidden; position: relative; }
.property-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); filter: brightness(0.75); }
.property-card:hover .property-img img { transform: scale(1.06); filter: brightness(0.9); }
.property-badge {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy); font-family: var(--font-mono); font-size: 0.58rem;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 9px;
}
.property-info { padding: clamp(16px,2.5vw,24px); }
.property-price { font-family: var(--font-serif); font-size: clamp(1.4rem,2.5vw,1.8rem); color: var(--gold); }
.property-loc { font-family: var(--font-mono); font-size: 0.64rem; color: var(--ash-dim); margin: 5px 0 8px; letter-spacing: 0.08em; }
.property-yield { font-family: var(--font-mono); font-size: 0.68rem; color: var(--emerald); }

/* ═══════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════ */
.testimonial-card { background: var(--navy-card); border: var(--border-gold); padding: clamp(24px,3vw,36px); transition: var(--transition); }
.testimonial-card:hover { border-color: rgba(201,168,76,0.45); transform: translateY(-3px); }
.stars { color: var(--gold); font-size: 0.72rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-quote { font-family: var(--font-serif); font-size: 2.8rem; color: var(--gold); line-height: 0.6; margin-bottom: 14px; }
.testimonial-text { font-family: var(--font-serif); font-size: clamp(0.95rem,1.4vw,1.05rem); color: var(--white); font-style: italic; margin-bottom: 22px; line-height: 1.75; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(201,168,76,0.3); flex-shrink: 0; }
.testimonial-name { font-weight: 700; color: var(--white); font-size: 0.88rem; }
.testimonial-role { font-size: 0.7rem; color: var(--gold); font-family: var(--font-mono); }

/* ═══════════════════════════════════════════════════
   TV WIDGET
═══════════════════════════════════════════════════ */
.tv-widget-wrap { background: var(--navy-card); border: var(--border-gold); overflow: hidden; }

/* ═══════════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-light) 100%);
  border-top: var(--border-gold); border-bottom: var(--border-gold);
  padding: clamp(60px,8vw,100px) 0; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 70%);
}

/* ═══════════════════════════════════════════════════
   PAGE HERO
═══════════════════════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + clamp(40px,7vw,80px)) 0 clamp(50px,6vw,80px);
  background: linear-gradient(180deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-bottom: var(--border-gold); position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(201,168,76,0.04) 0%, transparent 60%);
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.1em;
  color: var(--ash-dim); margin-bottom: 14px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: var(--ash-dim); }

/* ═══════════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════════ */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 7px; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: rgba(255,255,255,0.025); border: var(--border-gold);
  color: var(--white); padding: 13px 16px; font-family: var(--font-sans); font-size: 0.95rem;
  outline: none; transition: var(--transition); appearance: none; -webkit-appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold); background: rgba(201,168,76,0.03);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.07);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--ash-dim); }
.form-textarea { min-height: 110px; resize: vertical; }
.form-select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form-select option { background: var(--navy-card); color: var(--white); }
.alert { padding: 13px 16px; margin-bottom: 18px; font-size: 0.83rem; border-left: 3px solid; }
.alert-success { background: rgba(0,229,160,0.07); border-color: var(--emerald); color: var(--emerald); }
.alert-error { background: rgba(255,75,110,0.07); border-color: var(--danger); color: var(--danger); }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
footer { background: var(--black); border-top: var(--border-gold); padding: clamp(50px,7vw,80px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(30px,5vw,60px); margin-bottom: clamp(36px,5vw,56px); }
.footer-desc { font-size: 0.82rem; color: var(--ash-dim); line-height: 1.7; max-width: 300px; margin-top: 14px; }
.footer-heading { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 0.82rem; color: var(--ash-dim); transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 5px; }
.footer-reg { font-family: var(--font-mono); font-size: 0.58rem; color: var(--ash-dim); margin-top: 18px; padding: 12px 14px; border: var(--border-subtle); line-height: 1.7; }
.footer-socials { display: flex; gap: 9px; margin-top: 18px; }
.footer-social {
  width: 34px; height: 34px; border: 1px solid rgba(201,168,76,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.68rem; color: var(--gold); transition: var(--transition); font-family: var(--font-mono);
}
.footer-social:hover { background: var(--gold-pale); border-color: var(--gold); color: var(--gold-light); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: var(--border-subtle); padding-top: 22px; gap: 16px;
  font-family: var(--font-mono); font-size: 0.6rem; color: var(--ash-dim); flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════
   AUTH PAGES
═══════════════════════════════════════════════════ */
.auth-wrap { min-height: 100svh; display: flex; }
.auth-visual {
  flex: 1; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy-light));
  padding: 60px 48px;
}
.auth-visual-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.18; }
.auth-visual-content { position: relative; z-index: 1; max-width: 440px; }
.auth-panel {
  width: min(500px, 100%); flex-shrink: 0; background: var(--black);
  padding: clamp(32px,5vw,56px); display: flex; flex-direction: column; justify-content: center;
  border-left: var(--border-gold); overflow-y: auto;
}

/* ═══════════════════════════════════════════════════
   DASHBOARD
═══════════════════════════════════════════════════ */
.dash-layout { display: flex; min-height: 100svh; padding-top: var(--nav-h); }
.dash-sidebar {
  width: 240px; flex-shrink: 0; background: var(--black);
  border-right: var(--border-gold); position: sticky; top: var(--nav-h);
  height: calc(100svh - var(--nav-h)); overflow-y: auto;
}
.dash-nav a {
  display: flex; align-items: center; gap: 11px; padding: 13px 22px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em; color: var(--ash-dim);
  transition: var(--transition); border-left: 2px solid transparent;
}
.dash-nav a:hover, .dash-nav a.active { color: var(--gold); background: var(--gold-pale); border-left-color: var(--gold); }
.dash-content { flex: 1; padding: clamp(24px,3vw,40px); overflow-x: hidden; }
.dash-stat { background: var(--navy-card); border: var(--border-gold); padding: clamp(18px,2.5vw,26px); }
.dash-stat-val { font-family: var(--font-serif); font-size: clamp(1.6rem,2.5vw,2.3rem); color: var(--gold); }
.dash-stat-lbl { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ash-dim); margin-top: 3px; }

/* ═══════════════════════════════════════════════════
   BOND CARDS
═══════════════════════════════════════════════════ */
.bond-card {
  background: var(--navy-card); border: var(--border-gold); padding: clamp(20px,3vw,32px);
  display: flex; gap: 20px; align-items: flex-start; transition: var(--transition); flex-wrap: wrap;
}
.bond-card:hover { border-color: rgba(201,168,76,0.5); transform: translateX(4px); box-shadow: var(--glow-gold); }
.bond-rate { font-family: var(--font-serif); font-size: clamp(2rem,3.5vw,2.8rem); color: var(--gold); line-height: 1; flex-shrink: 0; }
.bond-divider { width: 1px; background: rgba(201,168,76,0.2); align-self: stretch; flex-shrink: 0; }
.bond-name { font-size: 1.1rem; color: var(--white); margin-bottom: 4px; }
.bond-meta { font-family: var(--font-mono); font-size: 0.66rem; color: var(--ash-dim); }

/* ═══════════════════════════════════════════════════
   PRIVACY / TERMS CONTENT
═══════════════════════════════════════════════════ */
.legal-content h3 { margin: 2rem 0 0.75rem; font-size: 1.2rem; color: var(--gold); }
.legal-content p { margin-bottom: 1rem; font-size: 0.9rem; line-height: 1.8; }
.legal-content ul { margin: 0.75rem 0 1rem 1.2rem; }
.legal-content ul li { margin-bottom: 0.5rem; font-size: 0.88rem; color: var(--ash); list-style: disc; }
.legal-content ul li::marker { color: var(--gold); }

/* ═══════════════════════════════════════════════════
   REVEAL ANIMATIONS
═══════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.animate-in { opacity: 0; animation: fadeUp 0.9s var(--ease) forwards; }
.animate-in.d1 { animation-delay: 0.1s; }
.animate-in.d2 { animation-delay: 0.25s; }
.animate-in.d3 { animation-delay: 0.4s; }
.animate-in.d4 { animation-delay: 0.55s; }
@keyframes fadeUp { from{opacity:0;transform:translateY(28px);} to{opacity:1;transform:translateY(0);} }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }

/* ═══════════════════════════════════════════════════
   ▼▼▼  RESPONSIVE  ▼▼▼
═══════════════════════════════════════════════════ */

/* --- Tablet 1100px --- */
@media (max-width: 1100px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-card.featured { transform: scale(1); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-desc { max-width: 100%; }
}

/* --- Tablet 900px --- */
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .invest-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { display: none; }
  .auth-visual { display: none; }
  .auth-panel { width: 100%; border-left: none; border-top: var(--border-gold); padding: 36px 24px; }
  .auth-wrap { flex-direction: column; }
  .dash-sidebar { display: none; }
  .dash-content { padding: 20px 16px; }
}

/* --- Mobile 620px --- */
@media (max-width: 620px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .invest-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }
  .bond-card { flex-direction: column; }
  .bond-divider { width: 100%; height: 1px; align-self: auto; }
  .shares-table { font-size: 0.65rem; }
  .shares-table th, .shares-table td { padding: 10px 10px; }
  /* hide less important columns on tiny screens */
  .shares-table .hide-xs { display: none; }
  .container { padding: 0 14px; }
  .cta-band .hero-actions { flex-direction: column; align-items: center; }
  .cta-band .hero-actions .btn { width: 100%; max-width: 320px; }
  .page-hero { padding-top: calc(var(--nav-h) + 30px); }
}

/* --- Extra small 400px --- */
@media (max-width: 400px) {
  .logo-sub { display: none; }
}

/* ═══════════════════════════════════════════════════
   ADDITIONAL RESPONSIVE POLISH
═══════════════════════════════════════════════════ */

/* Smooth sidebar animation */
@media (prefers-reduced-motion: reduce) {
  .mobile-sidebar, .mobile-overlay, .reveal, .reveal-left, .reveal-right,
  .animate-in, .card, .plan-card, .btn { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* Touch targets minimum 44px */
@media (max-width: 900px) {
  .btn { min-height: 44px; }
  .nav-hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .mobile-sidebar-nav a { min-height: 52px; }
  .form-input, .form-select, .form-textarea { font-size: 16px; } /* prevents iOS zoom */
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .hero-stat-num { font-size: 1.2rem; }
}

@media (max-width: 620px) {
  .plan-grid { grid-template-columns: 1fr; }
  .invest-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .two-col-form { grid-template-columns: 1fr !important; }
  h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; max-width: 340px; }
  .section-header h2 { font-size: clamp(1.6rem, 6vw, 2rem); }
  .bond-card { flex-wrap: wrap; gap: 14px; }
  .bond-divider { width: 100%; height: 1px; }
  .testimonial-card { padding: 22px 18px; }
  footer { padding: 40px 0 20px; }
  .footer-grid { gap: 28px; }
  .page-hero h1 { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .cta-band { padding: 50px 0; }
}

/* Landscape mobile */
@media (max-height: 500px) and (max-width: 900px) {
  .hero { min-height: auto; padding: calc(var(--nav-h) + 20px) 0 60px; }
  .hero-stats { display: none; }
}

/* Dark mode media (already dark — just ensure system preference respected) */
@media (prefers-color-scheme: light) {
  /* AlMalikVest is intentionally dark; keep dark on light-mode OS */
  :root { color-scheme: dark; }
}

/* Print */
@media print {
  .navbar, .mobile-sidebar, .mobile-overlay, .ticker-bar, footer, .btn, .cta-band { display: none !important; }
  body { background: white; color: black; }
  .card { border: 1px solid #ccc; }
}
