/* ========================================
   SAGACAN - CLEAN FOUNDATION CSS
   Nuclear rebuild - simple, working, cross-browser
   ======================================== */

/* ========================================
   STOCK TICKER STYLES
   ======================================== */

.stock-ticker-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(90deg, #000000 0%, #1a1a2e 50%, #000000 100%);
  border-bottom: 2px solid var(--primary-color);
  overflow: hidden;
  z-index: 1000;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 255, 255, 0.3);
}

.stock-ticker-content {
  display: flex;
  align-items: center;
  white-space: nowrap;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}

.stock-ticker-item {
  display: flex;
  align-items: center;
  padding: 0 20px;
  margin-right: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-right: 1px solid rgba(0, 255, 255, 0.2);
  height: 100%;
}

.stock-ticker-item:hover {
  background: rgba(0, 255, 255, 0.1);
  transform: scale(1.05);
}

.stock-symbol {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 14px;
  margin-right: 8px;
  min-width: 50px;
}

.stock-price {
  font-weight: 600;
  color: #ffffff;
  font-size: 14px;
  margin-right: 8px;
  min-width: 80px;
}

.stock-change {
  font-weight: 600;
  font-size: 12px;
  min-width: 100px;
}

.stock-change.positive {
  color: #00ff41;
}

.stock-change.negative {
  color: #ff6b6b;
}

/* Responsive ticker adjustments */
@media (max-width: 768px) {
  .stock-ticker-container {
    height: 35px;
  }

  .stock-ticker-item {
    padding: 0 15px;
    margin-right: 20px;
  }

  .stock-symbol {
    font-size: 12px;
    min-width: 40px;
  }

  .stock-price {
    font-size: 12px;
    min-width: 70px;
  }

  .stock-change {
    font-size: 11px;
    min-width: 90px;
  }
}

@media (max-width: 480px) {
  .stock-ticker-container {
    height: 30px;
  }

  .stock-ticker-item {
    padding: 0 10px;
    margin-right: 15px;
  }

  .stock-symbol {
    font-size: 11px;
    min-width: 35px;
  }

  .stock-price {
    font-size: 11px;
    min-width: 60px;
  }

  .stock-change {
    font-size: 10px;
    min-width: 80px;
  }
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Orbitron', 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: #0a0a0a;
  overflow-x: hidden;
  position: relative;
}

/* Matrix Background Effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255, 0, 100, 0.1) 0%, transparent 50%);
  z-index: -2;
  animation: matrixGlow 20s ease-in-out infinite alternate;
}

/* Animated grid overlay */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 255, 65, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 65, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -1;
  animation: matrixGrid 30s linear infinite;
}

@keyframes matrixGlow {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }
  100% {
    opacity: 0.6;
    transform: scale(1.1);
  }
}

@keyframes matrixGrid {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  color: #00ff41;
}

h2 {
  font-size: 2.5rem;
  color: #00ffff;
}

h3 {
  font-size: 2rem;
  color: #00ff41;
}

p {
  margin-bottom: 1rem;
  color: #cccccc;
}

/* ========================================
   LAYOUT CONTAINERS
   ======================================== */

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

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #00ff41;
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 900;
  color: #00ff41;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #00ff41;
}


/* Category Tabs (global) */
.category-tabs { display:flex; gap:.5rem; padding:.5rem 2rem; background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); border-top: 1px solid rgba(0,255,255,0.12); border-bottom: 1px solid rgba(0,255,255,0.12); overflow-x:auto; -webkit-overflow-scrolling:touch; }
.category-tabs a { color:#9bd; text-decoration:none; padding:.4rem .8rem; border-radius:999px; border:1px solid rgba(0,255,255,0.18); background: rgba(0,255,255,0.06); white-space:nowrap; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.category-tabs a:hover, .category-tabs a:focus { color:#0ff; border-color: rgba(0,255,255,0.35); background: rgba(0,255,255,0.12); text-shadow: 0 0 10px rgba(0,255,255,0.2); }

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  min-height: 60vh;
  max-height: 80vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  padding-top: 120px; /* Space for fixed nav + ticker */
  position: relative;
  overflow: hidden;
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #00ff41, #00ffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced Hero Styles */
.hero-badge {
  margin-bottom: 1rem;
}

.badge-text {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--primary-color);
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  animation: pulse 2s infinite;
}

.hero-title-main {
  display: block;
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  background: linear-gradient(45deg, #00ff41, #00ffff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-title-sub {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

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

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

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

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #cccccc;
  font-weight: 500;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-element {
  position: absolute;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.element-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.element-2 {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.element-3 {
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

.element-4 {
  top: 40%;
  right: 30%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(45deg, #00ff41, #00ffff);
  color: #000000;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 255, 65, 0.3);
}

.btn-secondary {
  background: linear-gradient(45deg, #ff6b6b, #ffa500);
  color: #ffffff;
}

/* ========================================
   CARDS & SECTIONS
   ======================================== */

.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #00ff41;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

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

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 65, 0.2);
  border-color: #00ffff;
}

.card-title {
  color: #00ff41;
  margin-bottom: 1rem;
}

/* ========================================
   GRID LAYOUTS
   ======================================== */

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: #0a0a0a;
  border-top: 1px solid #00ff41;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: #00ff41;
  margin-bottom: 1rem;
}

.footer-links h4 {
  color: #00ffff;
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00ff41;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #666;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

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

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

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.hidden {
  display: none;
}

.visible {
  display: block;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px #00ff41;
  }
  50% {
    box-shadow: 0 0 20px #00ff41, 0 0 30px #00ff41;
  }
}

.glow {
  animation: glow 2s ease-in-out infinite alternate;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
.nav-link:focus,
.btn:focus {
  outline: 2px solid #00ff41;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero-title {
    color: #00ff41;
    -webkit-text-fill-color: #00ff41;
  }

  .card {
    border: 2px solid #00ff41;
    background: #000000;
  }
}

/* ========================================
   ENHANCED HERO SECTION STYLES
   ======================================== */

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(45deg, #ff0066, #ff3366);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(255, 0, 102, 0.4);
  animation: badgeFloat 3s ease-in-out infinite;
}

.badge-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: badgePulse 2s linear infinite;
}

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

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

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-align: center;
}

.title-line-1 {
  display: block;
  color: #00ff41;
  text-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
  animation: titleGlow 2s ease-in-out infinite alternate;
}

.title-line-2 {
  display: block;
  color: #00ffff;
  text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  animation: titleGlow 2s ease-in-out infinite alternate 0.5s;
}

.title-line-3 {
  display: block;
  color: #ff0066;
  text-shadow: 0 0 30px rgba(255, 0, 102, 0.5);
  animation: titleGlow 2s ease-in-out infinite alternate 1s;
}

@keyframes titleGlow {
  0% {
    text-shadow: 0 0 30px currentColor;
    transform: scale(1);
  }
  100% {
    text-shadow: 0 0 50px currentColor, 0 0 80px currentColor;
    transform: scale(1.02);
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.subtitle-static {
  color: #ffffff;
  display: block;
  margin-bottom: 0.5rem;
}

.subtitle-dynamic {
  color: #00ff41;
  font-weight: 700;
  display: inline-block;
  transition: all 0.3s ease;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(45deg, #00ff41, #00cc33);
  color: #000;
  box-shadow: 0 4px 20px rgba(0, 255, 65, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 255, 65, 0.5);
  background: linear-gradient(45deg, #00ff55, #00dd44);
}

.btn-secondary {
  background: transparent;
  color: #00ffff;
  border: 2px solid #00ffff;
  box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: #00ffff;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 255, 255, 0.4);
}

.btn-accent {
  background: linear-gradient(45deg, #ff0066, #ff3366);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 0, 102, 0.3);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 0, 102, 0.5);
}

.btn-badge {
  background: rgba(0, 0, 0, 0.2);
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

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

.trust-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: #00ff41;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.trust-label {
  display: block;
  font-size: 0.9rem;
  color: #00ffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.5rem;
}

/* ========================================
   ENHANCED METRICS SECTION
   ======================================== */

.metrics-section {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 20, 0, 0.6) 100%);
  border-top: 2px solid #00ff41;
  border-bottom: 2px solid #00ff41;
}

.metric-card {
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 255, 65, 0.3);
}

.metric-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.metric-trend {
  color: #00ff41;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

/* ========================================
   ENHANCED RANKINGS SECTION
   ======================================== */

.rankings-section {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 10, 20, 0.8) 100%);
}

.ranking-card {
  position: relative;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.ranking-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.ranking-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(45deg, #ffaa00, #ff8800);
  color: #000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(255, 170, 0, 0.4);
}

.ranking-score {
  margin: 1rem 0;
}

.score {
  font-size: 2.5rem;
  font-weight: 900;
  color: #00ff41;
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.score-max {
  font-size: 1.5rem;
  color: #00ffff;
  opacity: 0.7;
}

.ranking-tags {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.tag {
  background: rgba(0, 255, 255, 0.1);
  color: #00ffff;
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 255, 255, 0.3);
}

/* ========================================
   ENHANCED CTA SECTION
   ======================================== */

.cta-section {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 0, 0, 0.8) 100%);
  border-top: 2px solid #ff0066;
  border-bottom: 2px solid #ff0066;
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.cta-item {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 20, 0, 0.4) 100%);
  border: 2px solid rgba(0, 255, 65, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.cta-item:hover {
  border-color: #00ff41;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
}

.cta-item h3 {
  color: #00ff41;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.cta-item p {
  color: #cccccc;
  margin-bottom: 1.5rem;
}

/* ========================================
   ANIMATION UTILITIES
   ======================================== */

.animate-in {
  animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   MARKET OVERVIEW STYLES
   ======================================== */

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.market-card {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.market-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 48%, rgba(0, 255, 255, 0.05) 49%, rgba(0, 255, 255, 0.05) 51%, transparent 52%);
  background-size: 20px 20px;
  z-index: 0;
}

.market-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 32px rgba(0, 255, 255, 0.2);
}

.market-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.market-icon {
  font-size: 2rem;
  margin-right: 1rem;
}

.market-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.market-metrics {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.metric {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.metric-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.metric-value {
  color: #ffffff;
  font-weight: 600;
}

.market-performance {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.performance-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.performance-fill {
  height: 100%;
  background: linear-gradient(90deg, #00ff41, #00ffff);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.performance-text {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
}

.market-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.market-link:hover {
  color: #ffffff;
}

/* ========================================
   STOCK CARDS STYLES
   ======================================== */

.stocks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.stock-card {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.stock-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 48%, rgba(0, 255, 65, 0.05) 49%, rgba(0, 255, 65, 0.05) 51%, transparent 52%);
  background-size: 15px 15px;
  z-index: 0;
}

.stock-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 32px rgba(0, 255, 255, 0.2);
}

.stock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.stock-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.stock-symbol {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: 600;
  background: rgba(0, 255, 255, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
}

.stock-price {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.stock-change {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.stock-change.positive {
  color: #00ff41;
}

.stock-change.negative {
  color: #ff6b6b;
}

.stock-market-cap {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.stock-analysis {
  font-size: 0.9rem;
  color: #cccccc;
  margin-bottom: 1rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.stock-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.stock-link:hover {
  color: #ffffff;
}

/* ========================================
   INSIGHTS SECTION STYLES
   ======================================== */

.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.insight-card {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.insight-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 32px rgba(0, 255, 255, 0.2);
}

.insight-image {
  height: 200px;
  overflow: hidden;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.insight-content {
  padding: 1.5rem;
}

.insight-category {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.insight-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.insight-excerpt {
  color: #cccccc;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.insight-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.insight-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.insight-link:hover {
  color: #ffffff;
}

/* ========================================
   CONTACT SECTION STYLES
   ======================================== */

.contact-section {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
  border-top: 2px solid #00ff41;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #cccccc;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-details h4 {
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.contact-details p {
  color: var(--text-secondary);
  margin: 0;
}

.contact-form {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title-main {
    font-size: 3rem;
  }

  .hero-title-sub {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    gap: 2rem;
  }

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

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

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

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.news-section {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
  border-top: 2px solid #00ff41;
  border-bottom: 2px solid #00ff41;
  position: relative;
  overflow: hidden;
}

.news-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(45deg, transparent 48%, rgba(0, 255, 65, 0.05) 49%, rgba(0, 255, 65, 0.05) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(0, 255, 255, 0.05) 49%, rgba(0, 255, 255, 0.05) 51%, transparent 52%);
  background-size: 20px 20px;
  z-index: 0;
}

.news-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.news-subtitle {
  font-size: 1.1rem;
  color: #00ffff;
  margin-top: 0.5rem;
  opacity: 0.9;
}

.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

/* Featured Article */
.news-featured {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 20, 0, 0.6) 100%);
  border: 2px solid #00ff41;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.news-featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 65, 0.3);
  border-color: #00ffff;
}

.news-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

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

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

.news-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(45deg, #ff0066, #ff3366);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 0, 102, 0.4);
}

.news-content {
  padding: 1.5rem;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.news-category {
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-category.ai {
  background: linear-gradient(45deg, #00ff41, #00cc33);
  color: #000;
}

.news-category.security {
  background: linear-gradient(45deg, #ff3366, #ff0066);
  color: #fff;
}

.news-category.quantum {
  background: linear-gradient(45deg, #00ffff, #0099cc);
  color: #000;
}

.news-category.code {
  background: linear-gradient(45deg, #ffaa00, #ff8800);
  color: #000;
}

.news-date, .news-read-time {
  color: #00ffff;
  font-size: 0.9rem;
  opacity: 0.8;
}

.news-title {
  margin-bottom: 1rem;
}

.news-title a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.news-title a:hover {
  color: #00ff41;
  text-shadow: 0 0 10px rgba(0, 255, 65, 0.5);
}

.news-excerpt {
  color: #cccccc;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.news-stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #00ffff;
  opacity: 0.8;
}

/* Secondary Articles */
.news-secondary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-item {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 10, 20, 0.4) 100%);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 6px;
  padding: 1rem;
  transition: all 0.3s ease;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.news-item:hover {
  border-color: #00ff41;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 20, 0, 0.4) 100%);
  transform: translateX(5px);
}

.news-image-small {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 65, 0.3);
}

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

.news-item:hover .news-image-small img {
  transform: scale(1.1);
}

.news-content-small {
  flex: 1;
  min-width: 0;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.news-title-small {
  margin-bottom: 0.5rem;
}

.news-title-small a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-title-small a:hover {
  color: #00ff41;
}

.news-excerpt-small {
  color: #aaaaaa;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-stats-small {
  font-size: 0.8rem;
  color: #00ffff;
  opacity: 0.7;
}

.news-footer {
  text-align: center;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

/* ========================================
   AI RANKINGS STYLES
   ======================================== */

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

.rankings-header {
  text-align: center;
  margin-bottom: 3rem;
}

.rankings-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.rankings-header p {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.pagination-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.pagination-btn {
  padding: 0.8rem 1.5rem;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid var(--primary-color);
  border-radius: 8px;
  color: var(--primary-color);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.pagination-btn:hover,
.pagination-btn.active {
  background: var(--primary-color);
  color: #000;
  transform: translateY(-2px);
}

.rankings-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ranking-item {
  display: grid;
  grid-template-columns: 60px 1fr auto 300px;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.ranking-item:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 32px rgba(0, 255, 255, 0.2);
}

.rank-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-color);
  text-align: center;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.company-info {
  margin-bottom: 0.5rem;
}

.company-info a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.company-info a:hover {
  text-decoration: underline;
}

.market-cap {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-left: 0.5rem;
}

.category {
  color: var(--secondary-color);
  font-size: 0.9rem;
  font-weight: 500;
}

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

.score {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.score-bar {
  width: 100px;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.3s ease;
}

.performance-metrics {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.metric {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.metric-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.metric-value {
  color: #ffffff;
  font-weight: 600;
}

.analysis {
  grid-column: 1 / -1;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.analysis p {
  color: var(--text-secondary);
  font-style: italic;
  margin: 0;
}

.data-sources {
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
}

.data-sources h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.data-sources ul {
  list-style: none;
  padding: 0;
}

.data-sources li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

.data-sources strong {
  color: #ffffff;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
  .hero {
    min-height: 50vh;
    max-height: 70vh;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .hero-trust {
    gap: 2rem;
  }

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

@media (max-width: 768px) {
  .hero {
    min-height: 40vh;
    max-height: 60vh;
    padding-top: 100px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .trust-number {
    font-size: 1.5rem;
  }

  .hero-trust {
    gap: 1.5rem;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .news-featured {
    order: 1;
  }

  .news-secondary {
    order: 2;
  }

  .news-image {
    height: 200px;
  }

  .news-title a {
    font-size: 1.3rem;
  }

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

  .news-image-small {
    width: 100%;
    height: 120px;
    margin-bottom: 1rem;
  }

  .news-meta {
    justify-content: center;
  }

  .metric-card {
    padding: 1.5rem;
  }

  .ranking-card {
    padding: 1.5rem;
  }

  .cta-item {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 35vh;
    max-height: 50vh;
    padding-top: 80px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .hero-trust {
    gap: 1rem;
  }

  .trust-number {
    font-size: 1.3rem;
  }

  .trust-label {
    font-size: 0.8rem;
  }

  .news-header {
    margin-bottom: 2rem;
  }

  .news-subtitle {
    font-size: 1rem;
  }

  .news-content {
    padding: 1rem;
  }

  .news-title a {
    font-size: 1.2rem;
  }

  .news-meta {
    gap: 0.5rem;
  }

  .news-category {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }

  .metric-card {
    padding: 1rem;
  }

  .metric-icon {
    font-size: 2rem;
  }

  .ranking-card {
    padding: 1rem;
  }

  .ranking-badge {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .score {
    font-size: 2rem;
  }

  .cta-item {
    padding: 1rem;
  }

  .cta-item h3 {
    font-size: 1.3rem;
  }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-badge,
  .title-line-1,
  .title-line-2,
  .title-line-3,
  .badge-pulse {
    animation: none;
  }
}

/* Optimize for high DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-title {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Print styles */
@media print {
  .hero-badge,
  .btn,
  .nav,
  .footer {
    display: none;
  }

  .hero-title {
    color: #000 !important;
    text-shadow: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }
}
