@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --ar-bg: #050505;
  --ar-text: #ffffff;
  --ar-text-muted: rgba(255, 255, 255, 0.6);
  --ar-accent: #ffffff;
  --ar-border: rgba(255, 255, 255, 0.1);
  --ar-font-heading: 'Playfair Display', serif;
  --ar-font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none !important; }

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--ar-bg);
  color: var(--ar-text);
  font-family: var(--ar-font-body);
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--ar-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s, height 0.3s, background 0.3s, mix-blend-mode 0.3s;
  mix-blend-mode: difference;
}
.custom-cursor.active {
  width: 50px; height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255,255,255,0.5);
  mix-blend-mode: normal;
  backdrop-filter: blur(2px);
}

/* Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 9998;
}

/* WebGL Container */
#canvas-container {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 0;
}
#canvas-container canvas {
  display: block;
}

/* Overlay dark vignette to ensure text is readable */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.6) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Navigation */
.ar-nav {
  position: fixed;
  top: 36px; /* Offset for top ticker */
  left: 0; right: 0;
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  mix-blend-mode: screen;
}
.logo-img {
  height: 100px;
  filter: grayscale(1) contrast(100) invert(1);
}
.ar-nav-links {
  display: flex;
  gap: 40px;
}
.ar-nav-links a {
  color: var(--ar-text);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Slider Wrapper */
.slider-wrapper {
  position: absolute;
  top: 50vh;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  text-align: center;
  z-index: 10;
  pointer-events: none;
}

/* Slide Content */
.slide-content {
  display: none;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  pointer-events: auto;
}
.slide-content.active {
  display: block;
  opacity: 1;
}

.slide-title {
  font-family: var(--ar-font-heading);
  font-size: 7vw;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  white-space: nowrap;
}
.slide-title em {
  font-style: italic;
  font-family: var(--ar-font-heading);
}
.hero-subtitle {
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ar-text-muted);
  margin-bottom: 20px;
}

/* Buttons */
.ar-btn-small {
  display: inline-block;
  color: var(--ar-text);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--ar-border);
  padding-bottom: 5px;
  text-transform: uppercase;
  transition: border-color 0.3s;
}
.ar-btn-small:hover {
  border-color: var(--ar-text);
}

.ar-hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.ar-btn {
  display: inline-block;
  padding: 15px 35px;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ar-text);
  border: 1px solid var(--ar-border);
  border-radius: 40px;
  transition: all 0.4s ease;
  background: transparent;
}
.ar-btn:hover {
  background: var(--ar-text);
  color: var(--ar-bg);
}
.ar-btn-primary {
  background: var(--ar-text);
  color: var(--ar-bg);
}
.ar-btn-primary:hover {
  background: transparent;
  color: var(--ar-text);
  border-color: var(--ar-text);
}

.big-center-logo {
  max-width: 500px;
  width: 80vw;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: grayscale(1) contrast(100) invert(1) drop-shadow(0 10px 20px rgba(0,0,0,0.5));
  mix-blend-mode: screen;
}
.ar-project-desc {
  font-size: 1rem;
  letter-spacing: 4px;
  color: var(--ar-text-muted);
}

/* Bottom Progress Lines */
.progress-footer {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  z-index: 20;
  width: 80%;
  max-width: 800px;
}
.progress-roman {
  font-family: var(--ar-font-heading);
  font-size: 1.2rem;
  color: var(--ar-text-muted);
}

/* ====================== WHATSAPP FLOAT ====================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: #000000 !important; /* Black as requested */
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
.whatsapp-tooltip {
  position: absolute;
  left: 70px;
  background: rgba(0,0,0,0.8);
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  white-space: nowrap;
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ====================== CHATBOT ====================== */
.chatbot-toggle {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #00008B !important; /* Dark Blue as requested */
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chatbot-toggle:hover {
  transform: scale(1.1);
}
.chatbot-window {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 350px;
  height: 500px;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chatbot-window.open {
  display: flex;
}
.chat-header {
  background: #00008B !important; /* Dark Blue */
  padding: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}
.chat-header-avatar {
  font-size: 1.5rem;
}
.chat-header-info h4 { margin: 0; font-size: 1rem; }
.chat-header-info span { font-size: 0.75rem; opacity: 0.8; }
.chat-close {
  margin-left: auto;
  color: white;
  font-size: 1.2rem;
}
.chat-messages {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.message {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 12px;
  font-size: 0.9rem;
}
.message.bot {
  background: rgba(255,255,255,0.1);
  color: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.message.user {
  background: #00008B;
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-input-area {
  display: flex;
  padding: 15px;
  background: rgba(0,0,0,0.5);
  border-top: 1px solid rgba(255,255,255,0.1);
  gap: 10px;
}
.chat-input {
  flex: 1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 10px 15px;
  border-radius: 20px;
  outline: none;
}
.chat-send {
  background: #00008B;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lead-wall {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  color: #fff;
}
.lead-wall input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 12px;
  border-radius: 8px;
}
.progress-lines-container {
  display: flex;
  flex: 1;
  gap: 10px;
}
.progress-line-wrapper {
  flex: 1;
  height: 30px; /* larger hit area */
  display: flex;
  align-items: center;
  position: relative;
}
.progress-line-bg {
  width: 100%;
  height: 2px;
  background: var(--ar-border);
  position: absolute;
}
.progress-line-fill {
  width: 0%;
  height: 2px;
  background: var(--ar-text);
  position: absolute;
  left: 0;
}

@media (max-width: 768px) {
  .slide-title { font-size: 12vw; }
  .ar-nav { padding: 20px; }
  .ar-hero-cta { flex-direction: column; gap: 10px; }
  .progress-footer { width: 90%; bottom: 30px; }
}

/* ====================== MOBILE NAV ====================== */
.ar-hamburger { display:none; flex-direction:column; gap:5px; padding:8px; z-index:1001; cursor:pointer !important; }
.ar-hamburger span { width:24px; height:2px; background:var(--ar-text); transition:all 0.3s; display:block; cursor:pointer !important; }
.ar-hamburger.open span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.ar-hamburger.open span:nth-child(2) { opacity:0; }
.ar-hamburger.open span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

.ar-mobile-menu { display:none; position:fixed; top:0; left:0; right:0; bottom:0; background:rgba(5,5,5,0.98); z-index:999; flex-direction:column; justify-content:center; align-items:center; gap:30px; }
.ar-mobile-menu.open { display:flex; }
.ar-mobile-menu a { color:var(--ar-text); font-size:1.5rem; letter-spacing:3px; text-transform:uppercase; font-family:var(--ar-font-heading); transition:color 0.3s; text-decoration:none; }
.ar-mobile-menu a:hover { color:var(--ar-accent); }
@media (max-width:992px) { .ar-nav-links, .ar-nav-right .ar-btn { display:none !important; } .ar-hamburger { display:flex !important; } }

/* Prevent Text Selection */
body { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }
input, textarea { -webkit-user-select: auto; -moz-user-select: auto; -ms-user-select: auto; user-select: auto; }

/* ====================== PREMIUM TICKERS ====================== */
.ticker-wrap {
  width: 100%;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2); /* Subtle Gold */
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 101;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 40s linear infinite;
  font-family: var(--ar-font-body);
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--ar-text);
}

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

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  padding: 0 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-item:last-child {
  border-right: none;
}

.ticker-value {
  margin-left: 10px;
  font-weight: 600;
}

.ticker-up { color: #00C853; } /* Premium Green */
.ticker-down { color: #D50000; } /* Premium Red */
.ticker-symbol {
  font-size: 0.7rem;
  margin-left: 5px;
}

/* Secondary Awareness Ticker */
.ticker-secondary-wrap {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  padding: 8px 0;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 20;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.02), transparent);
}

.ticker-secondary-content {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 50s linear infinite;
  font-family: var(--ar-font-heading);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ar-text-muted);
}

.ticker-secondary-item {
  display: inline-flex;
  padding: 0 40px;
}

/* ====================== EXIT INTENT & LEAD POPUPS ====================== */
.lead-popup-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lead-popup-overlay.active {
  display: flex;
  opacity: 1;
}

.lead-popup-box {
  background: linear-gradient(145deg, #111, #050505);
  border: 1px solid rgba(212, 175, 55, 0.3); /* Gold Accent */
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.lead-popup-overlay.active .lead-popup-box {
  transform: translateY(0);
}

.lead-popup-close {
  position: absolute;
  top: 15px; right: 20px;
  color: var(--ar-text-muted);
  font-size: 1.5rem;
  transition: color 0.3s;
}
.lead-popup-close:hover { color: var(--ar-text); }

.lead-popup-title {
  font-family: var(--ar-font-heading);
  font-size: 1.8rem;
  color: #D4AF37; /* Gold */
  margin-bottom: 10px;
}

.lead-popup-desc {
  font-size: 0.9rem;
  color: var(--ar-text-muted);
  margin-bottom: 25px;
  line-height: 1.5;
}

.lead-popup-form input {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 6px;
  outline: none;
  font-family: var(--ar-font-body);
}
.lead-popup-form input:focus {
  border-color: rgba(212, 175, 55, 0.5);
}

.lead-popup-btn {
  width: 100%;
  padding: 12px;
  background: var(--ar-text);
  color: var(--ar-bg);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}
.lead-popup-btn:hover {
  background: #D4AF37;
  color: #000;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* ====================== FUND DIRECTORY MODAL ====================== */
.fund-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.fund-modal-overlay.active { display: flex; opacity: 1; }

.fund-modal-box {
  background: linear-gradient(145deg, #0A0A0A, #000000);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  width: 95%;
  max-width: 1200px;
  height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 60px rgba(0,0,0,0.9);
  position: relative;
  transform: translateY(30px);
  transition: transform 0.4s ease;
  overflow: hidden;
}
.fund-modal-overlay.active .fund-modal-box { transform: translateY(0); }

.fund-modal-header {
  padding: 30px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}
.fund-modal-title {
  font-family: var(--ar-font-heading);
  font-size: 2rem;
  color: #D4AF37;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.fund-modal-subtitle {
  color: var(--ar-text-muted);
  font-size: 0.9rem;
}

.fund-modal-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* Sidebar */
.fund-sidebar {
  width: 280px;
  background: rgba(255,255,255,0.02);
  border-right: 1px solid rgba(255,255,255,0.05);
  overflow-y: auto;
  padding: 20px 0;
}
.fund-amc-list { list-style: none; }
.amc-item {
  padding: 15px 30px;
  font-size: 0.9rem;
  color: var(--ar-text-muted);
  border-left: 3px solid transparent;
  transition: all 0.3s;
}
.amc-item:hover, .amc-item.active {
  background: rgba(212, 175, 55, 0.1);
  color: #D4AF37;
  border-left: 3px solid #D4AF37;
}

/* Content Area */
.fund-content {
  flex: 1;
  padding: 40px;
  overflow-y: auto;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.03), transparent);
}
.fund-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.fund-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s;
}
.fund-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-3px);
  background: rgba(255,255,255,0.05);
}
.fund-card-category {
  font-size: 0.7rem;
  color: #D4AF37;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}
.fund-card-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}
.fund-card-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 15px;
  font-size: 0.8rem;
  color: var(--ar-text-muted);
}
.stat-value {
  display: block;
  font-weight: 600;
  color: #fff;
  margin-top: 4px;
}
.stat-positive { color: #00C853; }

@media (max-width: 768px) {
  .fund-modal-layout { flex-direction: column; }
  .fund-sidebar { width: 100%; height: 150px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .fund-content { padding: 20px; }
  .fund-modal-header { padding: 20px; }
  .fund-modal-title { font-size: 1.5rem; }
}
