/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #000000;
  --bg-secondary: #050505;
  --bg-tertiary: #0a0a0a;
  --bg-card: rgba(20, 20, 20, 0.7);
  --bg-glass: rgba(15, 15, 15, 0.6);
  --bg-glass-hover: rgba(25, 25, 25, 0.75);
  
  --text-primary: #ffffff;
  --text-secondary: #e5e5e5;
  --text-tertiary: #a3a3a3;
  --text-muted: #737373;
  
  --accent-primary: #fbbf24;
  --accent-secondary: #f59e0b;
  --accent-gold: #fcd34d;
  --accent-yellow: #fde047;
  --accent-electric: #facc15;
  
  --border-color: rgba(251, 191, 36, 0.2);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-light: rgba(255, 255, 255, 0.05);
  
  --gradient-primary: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
  --gradient-gold: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(251, 191, 36, 0.3) 0%, transparent 70%);
  
  --success: #22c55e;
  --warning: #f97316;
  --danger: #ef4444;
  --info: #3b82f6;
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.8), 0 2px 4px -2px rgba(0, 0, 0, 0.8);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.8), 0 4px 6px -4px rgba(0, 0, 0, 0.8);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 8px 10px -6px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 40px rgba(251, 191, 36, 0.4), 0 0 80px rgba(251, 191, 36, 0.2);
  --shadow-glow-soft: 0 0 20px rgba(251, 191, 36, 0.25);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  background: radial-gradient(ellipse at top, #050505 0%, #000000 50%, #000000 100%);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
}

.logo-loader {
  margin-bottom: 2rem;
  animation: pulseGlow 2s ease-in-out infinite;
}

.logo-loader .bullish {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-loader .bengaluru {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.8em;
  color: var(--text-primary);
  margin-top: 0.5rem;
}

.loader-bar {
  width: 300px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-progress {
  height: 100%;
  background: var(--gradient-gold);
  width: 0%;
  animation: loaderProgress 2s ease-in-out forwards;
}

@keyframes loaderProgress {
  0% { width: 0%; }
  50% { width: 70%; }
  100% { width: 100%; }
}

@keyframes pulseGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(251, 191, 36, 0.3)); }
  50% { filter: drop-shadow(0 0 40px rgba(251, 191, 36, 0.5)); }
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

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

.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.w-full { width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: translateY(2px);
}

.btn-primary {
  background: var(--gradient-primary);
  color: #000000;
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: var(--shadow-glow-soft);
  font-weight: 700;
}

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px) scale(1.02);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border-color: var(--border-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(251, 191, 36, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--accent-primary);
}

.btn-outline:hover {
  background: rgba(251, 191, 36, 0.1);
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.3);
  transform: translateY(-2px);
}

.btn-warning {
  background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
  color: white;
  font-weight: 700;
  border-color: rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.4);
}

.btn-warning:hover {
  box-shadow: 0 0 40px rgba(239, 68, 68, 0.6);
  transform: translateY(-2px) scale(1.02);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  border-bottom-color: var(--border-color);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.nav-brand a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  line-height: 1;
}

.nav-brand .bullish {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-brand .bengaluru {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.55em;
  color: var(--text-primary);
  margin-top: 0.25rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-gold);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* Glass Card */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}

.glass-card:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-color);
  box-shadow: var(--shadow-lg), var(--shadow-glow-soft);
  transform: translateY(-4px);
}

/* Sections */
section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-tertiary);
  font-weight: 400;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(251, 191, 36, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 191, 36, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
  animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.25) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
  bottom: -150px;
  left: -150px;
  animation-delay: 7s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.15) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 14s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -80px) scale(1.05); }
  66% { transform: translate(-50px, 50px) scale(0.95); }
}

.candlestick-container {
  position: absolute;
  bottom: 20%;
  right: 5%;
  width: 400px;
  height: 200px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  z-index: 1;
  opacity: 0.6;
}

.candle {
  width: 12px;
  background: linear-gradient(to top, var(--accent-primary), var(--accent-gold));
  border-radius: 2px 2px 0 0;
  position: relative;
  animation: candleGrow 3s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.4);
}

.candle.wick {
  width: 2px;
  background: var(--text-primary);
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 1px;
}

.candle.green { background: linear-gradient(to top, #22c55e, #4ade80); box-shadow: 0 0 10px rgba(34, 197, 94, 0.4); }
.candle.red { background: linear-gradient(to top, #ef4444, #f87171); box-shadow: 0 0 10px rgba(239, 68, 68, 0.4); }

@keyframes candleGrow {
  0%, 100% { height: calc(var(--h) * 1px); }
  50% { height: calc(var(--h) * 1.15px); }
}

/* Stock Ticker */
.stock-ticker {
  position: absolute;
  top: 90px;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  z-index: 2;
  overflow: hidden;
  padding: 0.625rem 0;
}

.ticker-content {
  display: flex;
  gap: 3rem;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.ticker-item .up {
  color: var(--success);
  margin-left: 0.5rem;
}

.ticker-item .down {
  color: var(--danger);
  margin-left: 0.5rem;
}

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

/* Floating Memes */
.floating-memes {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.meme-float {
  position: absolute;
  padding: 0.875rem 1.25rem;
  max-width: 220px;
  animation: floatMeme 12s ease-in-out infinite;
  pointer-events: none;
}

.meme-1 {
  top: 25%;
  left: 5%;
  animation-delay: 0s;
  font-size: 0.875rem;
}

.meme-2 {
  top: 35%;
  left: 3%;
  animation-delay: 3s;
  font-size: 0.875rem;
}

.meme-3 {
  top: 60%;
  left: 7%;
  animation-delay: 6s;
  font-size: 0.875rem;
}

.meme-4 {
  top: 50%;
  left: 2%;
  animation-delay: 9s;
  font-size: 0.875rem;
}

@keyframes floatMeme {
  0%, 100% { transform: translate(0, 0) rotate(-2deg); }
  25% { transform: translate(15px, -25px) rotate(2deg); }
  50% { transform: translate(-10px, -15px) rotate(-1deg); }
  75% { transform: translate(10px, -30px) rotate(1deg); }
}

/* Bengaluru Skyline */
.bengaluru-skyline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  z-index: 1;
  opacity: 0.3;
}

.vidhana-soudha {
  width: 40px;
  height: 100px;
  background: linear-gradient(to top, rgba(251, 191, 36, 0.5), transparent);
  position: relative;
  margin: 0 12px;
}

.vidhana-soudha::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: linear-gradient(to top, rgba(251, 191, 36, 0.6), transparent);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.building {
  width: 24px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.2), transparent);
}

.b1 { height: 70px; }
.b2 { height: 90px; }
.b3 { height: 60px; }
.b4 { height: 80px; }
.b5 { height: 75px; }

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 60px rgba(251, 191, 36, 0.3);
}

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

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-tertiary);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-trust {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  animation: fadeInOut 2s ease-in-out infinite;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--border-color);
  border-radius: 15px;
  margin: 0 auto 0.75rem;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--accent-primary);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: wheelScroll 2s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

@keyframes wheelScroll {
  0% { top: 8px; opacity: 1; }
  100% { top: 25px; opacity: 0; }
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}