/* static/styles.css — Dark Fintech Theme + Grid Layout */

:root{
  --bg-primary:#111827;
  --bg-secondary:#1F2937;
  --border-color:#374151;
  --text-primary:#F9FAFB;
  --text-secondary:#9CA3AF;
  --accent-primary:#3B82F6;
  --accent-success:#22C55E;
  --accent-danger:#EF4444;
}

/* Base  */
html{height:100%; scroll-behavior:smooth;}
body{
  margin:0;
  font-family:'Poppins',sans-serif;
  background-color:#0a0f1f; /* dark base */
  background-image:
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:40px 40px;
  color:var(--text-primary);
}

/* ---------- GRID LAYOUT ---------- */
.layout{
  display:grid;
  grid-template-columns:300px 1fr;   /* sidebar | content */
  grid-template-rows:auto 1fr auto;  /* (header) | main | footer */
  min-height:100vh;
}

/* Sidebar (left) */
#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh; /* sidebar fills viewport */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  z-index: 1; /* lower than footer so footer overlaps */

  color: var(--text-primary);
  background:
    radial-gradient(circle at 50% -20%, rgba(0, 200, 255, 0.1), transparent 70%),
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    #1F2937;
  background-size: auto, 40px 40px, 40px 40px;
  box-shadow: inset -12px 0 18px -12px rgba(0, 0, 0, 0.6);
}

.main-content {
  margin-left: 280px; /* offset for sidebar */
  padding: 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-footer {
  position: relative; /* stays in flow */
  z-index: 2; /* above sidebar */
  background-color: rgba(15, 23, 42, 0.9); /* translucent dark navy */
  backdrop-filter: blur(6px); /* optional: frosted glass effect */
  -webkit-backdrop-filter: blur(6px); /* Safari support */
  padding: 16px;
  text-align: center;
  color: #9aa4b2;
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* subtle separator */
}





/* ================================
   Sidebar neon glow controls
   ================================ */

/* Labels look a bit brighter on dark */
#sidebar .form-label {
  color: #cdd6f4; /* slightly brighter than secondary */
}

/* --- Select (dropdown) --- */
#sidebar .form-select {
  background-color: rgba(255,255,255,0.04);
  color: #e5e7eb;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 10px 12px;
  transition: box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
  box-shadow: inset 0 0 0 1px rgba(0,200,255,0.06);
}
#sidebar .form-select:hover {
  background-color: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 3px rgba(0,200,255,0.12);
}
#sidebar .form-select:focus {
  background-color: rgba(255,255,255,0.08);
  border-color: rgba(0,200,255,0.6);
  box-shadow: 0 0 0 4px rgba(0,200,255,0.22);
  outline: none;
}

/* --- Range slider --- */
#sidebar .form-range {
  height: 2rem; /* give space for thumb */
  padding: .6rem 0;
}
#sidebar .form-range:focus {
  outline: none;
}

/* WebKit (Chrome, Edge, Safari) */
#sidebar .form-range::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(90deg, rgba(0,200,255,0.45), rgba(59,130,246,0.45));
  border-radius: 999px;
  box-shadow: inset 0 0 6px rgba(0,200,255,0.25);
}
#sidebar .form-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px; margin-top: -7px;
  border-radius: 50%;
  background: #e6faff;
  border: 2px solid #22d3ee;
  box-shadow: 0 0 12px rgba(34,211,238,0.6), 0 0 24px rgba(59,130,246,0.35);
  transition: transform .15s ease, box-shadow .2s ease;
}
#sidebar .form-range:active::-webkit-slider-thumb {
  transform: scale(1.07);
  box-shadow: 0 0 16px rgba(34,211,238,0.8), 0 0 30px rgba(59,130,246,0.5);
}

/* Firefox */
#sidebar .form-range::-moz-range-track {
  height: 4px;
  background: linear-gradient(90deg, rgba(0,200,255,0.45), rgba(59,130,246,0.45));
  border-radius: 999px;
  box-shadow: inset 0 0 6px rgba(0,200,255,0.25);
}
#sidebar .form-range::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #e6faff;
  border: 2px solid #22d3ee;
  box-shadow: 0 0 12px rgba(34,211,238,0.6), 0 0 24px rgba(59,130,246,0.35);
  transition: transform .15s ease, box-shadow .2s ease;
}
#sidebar .form-range:active::-moz-range-thumb {
  transform: scale(1.07);
  box-shadow: 0 0 16px rgba(34,211,238,0.8), 0 0 30px rgba(59,130,246,0.5);
}

/* --- Primary button (Get Prediction) --- */
#sidebar .btn.btn-primary {
  background-image: linear-gradient(135deg, #3b82f6, #22d3ee);
  background-color: transparent; /* use gradient above */
  border: none;
  color: #fff;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  letter-spacing: .2px;
  box-shadow: 0 10px 30px rgba(59,130,246,0.35), 0 3px 10px rgba(34,211,238,0.25);
  transition: transform .12s ease, box-shadow .15s ease, filter .2s ease;
}
#sidebar .btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(59,130,246,0.45), 0 6px 16px rgba(34,211,238,0.35);
  filter: brightness(1.05);
}
#sidebar .btn.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 8px 24px rgba(59,130,246,0.35), 0 3px 10px rgba(34,211,238,0.25);
}

/* --- Accessible focus ring for all sidebar controls --- */
#sidebar .form-select {
  background-color: rgba(17, 24, 39, 0.95); /* dark */
  color: #f9fafb;
  border: 1px solid rgba(0,200,255,0.35);
  border-radius: 10px;
  padding: 10px 12px;
}

/* Options */
#sidebar .form-select option {
  background-color: #111827;   /* dark */
  color: #e5e7eb;              /* light gray text */
}

/* Highlighted/hovered option */
#sidebar .form-select option:checked,
#sidebar .form-select option:hover {
  background-color: #3b82f6;   /* blue highlight */
  color: #fff;
}

#sidebar .form-select:focus-visible,
#sidebar .form-range:focus-visible,
#sidebar .btn:focus-visible {
  outline: 3px solid rgba(34,211,238,0.55);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(34,211,238,0.18);
}


.sidebar-header {
  padding: 20px;
  text-align: center;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  /* Glowing separator */
  box-shadow: 0 2px 10px rgba(0, 200, 255, 0.25);
  background: linear-gradient(to right, rgba(0,200,255,0.08), rgba(0,200,255,0));
}
/* #sidebar .form-label{font-size:.9rem;color:var(--text-secondary)} */
.sidebar-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 15px;
  margin-top: auto;
  font-size: 0.8rem;
  color: var(--text-secondary);

  /* Glowing separator */
  box-shadow: 0 -2px 10px rgba(0, 200, 255, 0.25);
  background: linear-gradient(to right, rgba(0,200,255,0.08), rgba(0,200,255,0));
}

/* Main content (right) */
#main-content {
  grid-column: 2;
  grid-row: 1 / 3;
  padding: 0;             /* remove extra padding */
  overflow-y: auto;
}


.text-muted{ color:var(--text-secondary)!important; }
h1,h2,h3,h4,h5,h6{ color:var(--text-primary); }

/* Cards + metrics */
.card{ border:1px solid var(--border-color); border-radius:.75rem; background-color:var(--bg-secondary); transition:all .2s }
.card.shadow-sm:hover{ transform:translateY(-3px); border-color:var(--accent-primary) }
.card .card-subtitle{ color:var(--text-secondary) }

.metric-icon{ width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.2rem; margin-right:1rem }
.metric-icon.bg-info-subtle{ background-color:rgba(59,130,246,.1)!important; color:var(--accent-primary)!important }
.metric-icon.bg-success-subtle{ background-color:rgba(34,197,94,.1)!important; color:var(--accent-success)!important }
.metric-icon.bg-warning-subtle{ background-color:rgba(245,158,11,.1)!important; color:#F59E0B!important }

#prediction-direction.up{ color:var(--accent-success); text-shadow:0 0 18px rgba(34,197,94,.6) }
#prediction-direction.down{ color:var(--accent-danger); text-shadow:0 0 18px rgba(239,68,68,.6) }
#prediction-confidence{ color:var(--text-primary); text-shadow:0 0 18px rgba(59,130,246,.4) }

/* Tables */
.table{
  font-size:.95rem;
  --bs-table-bg:transparent;
  --bs-table-border-color:var(--border-color);
  --bs-table-color:var(--text-primary);
  --bs-table-hover-color:var(--text-primary);
  --bs-table-hover-bg:rgba(255,255,255,.05);
}
.table thead th{ font-weight:500; color:var(--text-secondary) }

/* How it Works / FAQ small tweaks */
#how-it-works .badge{ border:1px solid rgba(255,255,255,.12) }
#faq .accordion-button{ box-shadow:none!important }
#faq .accordion-button::after{ filter:invert(1) opacity(.75) }

/* Footer (spans both columns) 
.site-footer{
  grid-column:1 / -1; grid-row:3;
  position:relative; width:100%; padding:20px 16px; margin-top:0;
  background:
    radial-gradient(circle at 50% -20%, rgba(0,200,255,.1), transparent 70%),
    linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px),
    #0f172a;
  background-size:auto,40px 40px,40px 40px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#9aa4b2; text-align:center;
}
.site-footer nav{ display:inline-flex; gap:12px }
.site-footer a{ color:#9ecbff; text-decoration:none; font-weight:500 }
.site-footer a:hover{ text-decoration:underline }
.site-footer .dot{ opacity:.5 }
.site-footer .fineprint{ margin-top:4px; font-size:12px; opacity:.75 } */



.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;  /* center horizontally */
  gap: 8px;                 /* small space between logo and text */
}

.footer-logo {
  height: 32px; /* adjust size */
  width: auto;
}
/* .gradient-text {
  font-weight: bold;
  font-size: 1.4rem;
  background: linear-gradient(90deg, #7b2ff7, #00c9a7);  Purple → Green 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 3s infinite alternate;
} */

@keyframes gradientMove {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.footer-links {
  margin: 12px 0;
}

.footer-links a {
  color: #00e0ff;
  margin: 0 12px;
  text-decoration: none;
  font-weight: 500;
}


.footer-links a:hover {
  text-decoration: none;
} 

.footer-links .dot {
  opacity: 0.6;
}

.fineprint {
  font-size: 12px;
  margin-top: 8px;
  opacity: 0.8;
}

/* Gradient text for TechTaur brand */
/* Gradient text for TechTaur brand */

/* Gradient text for TechTaur brand */
.gradient-text {
  background: linear-gradient(90deg, #8A2BE2, #00C896);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
white-space: nowrap; 
} 



/* Responsive: stack layout */
@media (max-width: 992px){
  .layout{ grid-template-columns:1fr; grid-template-rows:auto auto auto }
  #sidebar{ position:relative; height:auto; grid-row:1; grid-column:1 }
  #main-content{ grid-row:2; grid-column:1 }
  .site-footer{ grid-row:3; grid-column:1 }
}
/* Make the main column edge-to-edge */
#main-content { padding: 0; }

/* Results area should fill all available width */
#results-area { width: 100%; }

/* Ensure cards don’t cap width inside rows */
#results-area .card { width: 100%; }

/* Optional: remove Bootstrap container max-width if any wrapper is used */
.container-xxl#results-area { max-width: 100% !important; }

/* ====== Top Navigation ====== */
.top-nav {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 12px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 15, 31, 0.9); /* semi-transparent dark */
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 1100;
}

.top-nav .brand {
  font-size: 20px;
  font-weight: 700;
  color: #3b82f6;
}

.top-nav .nav-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-nav .nav-right a {
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.top-nav .nav-right a:hover {
  color: #3b82f6;
}

.top-nav .nav-right .btn-nav {
  padding: 6px 14px;
  border: 1px solid #3b82f6;
  border-radius: 6px;
  color: #3b82f6;
  transition: all 0.2s;
}

.top-nav .nav-right .btn-nav:hover {
  background: #3b82f6;
  color: #fff;
}
/* Brand with logo + text */
.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo {
  height: 28px;       /* adjust to match text height */
  width: auto;
  display: block;
}

.brand {
  font-size: 2.0rem;
  font-weight: 700;
  color: #3b82f6;
  letter-spacing: .2px;
}
.brand-tech {
  font-size: 2.0rem;
  font-weight: 700;
  background: linear-gradient(90deg, #7B61FF, #6A00FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand-taur {
 font-size: 2.0rem;
 font-weight: 700;
  background: linear-gradient(90deg, #00CC99, #00FFCC);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-left: 1px; /* adjust spacing between Tech and Taur */
}
.main-content {
  margin-left: 280px; /* same as sidebar width */
  padding: 20px;
}
 html, body {
  overflow-x: hidden;
} 
a.email-link {
  color: #00E5FF;          /* same cyan as About */
  text-decoration: none;   /* remove underline */
  font-weight: 500;        /* optional: make it look balanced */
}

a.email-link:hover {
  text-decoration: underline; /* optional: only show underline on hover */
}
.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;   /* space between logo and text */
}

.logo span {
  font-size: 2.0rem;
  font-weight: bold;
}

.brand-tech {
  color: #00E5FF;
}

.brand-taur {
  color: #B84DFF;
}
.taglines {
  color: #40C4FF;
  font-style: italic;
  font-size: 20px;
}
.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-link:hover {
  text-decoration: none;
}
.hero-brand {
  font-size: 64px;
  font-weight: 800;
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #7d2ae8, #00c853);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  overflow: hidden;
}

.hero-brand::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
} 
/*.hero-brand {
  font-size: 64px;
  font-weight: 800;
  position: relative;
  display: inline-block;
  background: linear-gradient(270deg, #7d2ae8, #00c853, #7d2ae8);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;  slow color loop 
  overflow: hidden;
}

.hero-brand::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.7),
    transparent
  );
  animation: shimmer 4s infinite; light sweep 
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes shimmer {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}
*/
#sidebar select {
  width: 100%;
  margin-bottom: 12px;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  background: #111827;
  color: white;
}
.up {
  color: green;
}
.down {
  color: red;
}
.neutral {
  color: gray;
}
/* ========================
   SaaS-style Prediction Colors
   ======================== */
.pred-up {
  color: #00e676 !important;  /* neon green */
  text-shadow: 0 0 12px rgba(0, 230, 118, 0.8);
}

.pred-down {
  color: #ff1744 !important;  /* neon red */
  text-shadow: 0 0 12px rgba(255, 23, 68, 0.8);
}

.pred-neutral {
  color: #ff9100 !important;  /* bright orange */
  text-shadow: 0 0 12px rgba(255, 145, 0, 0.8);
}

.conf-high {
  color: #00e5ff !important;  /* bright cyan */
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.9);
}

.conf-medium {
  color: #ffd600 !important;  /* vivid yellow */
  text-shadow: 0 0 12px rgba(255, 214, 0, 0.9);
}

.conf-low {
  color: #9e9e9e !important;  /* soft gray */
  text-shadow: 0 0 12px rgba(158, 158, 158, 0.7);
}

/* 🔥 Fade + Glow Animation */
.fade-glow {
  animation: fadeGlow 0.8s ease-in-out;
}

@keyframes fadeGlow {
  0% {
    opacity: 0;
    transform: scale(0.8);
    text-shadow: none;
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
/* SaaS Loader */
#loader {
  display: none; /* hidden by default */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 250px; /* adjust based on section height */
  color: #ffffff;
  text-align: center;
}

/* Modern glowing spinner */
.loader-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(0, 200, 255, 0.15);
  border-top: 6px solid #00e5ff;
  border-radius: 50%;
  animation: spin 1s linear infinite, glowPulse 1.5s ease-in-out infinite;
  margin-bottom: 18px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.6), 0 0 30px rgba(0, 229, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 22px rgba(0, 229, 255, 0.9), 0 0 45px rgba(0, 229, 255, 0.5);
  }
}

/* Loading text with gradient */
.loader-text {
  font-size: 1.2rem;
  font-weight: 600;
  background: linear-gradient(90deg, #00e5ff, #7b61ff, #00c853);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
/*Saas Look */
/* SaaS Headline */
.saas-headline {
  font-size: 1.8rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #00e5ff, #7b61ff, #00c853);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 5s ease infinite;
  letter-spacing: 0.5px;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* SaaS Subtitle */
.saas-subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #9ca3af;
  text-align: center;
  max-width: 850px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.25);
}
/* Remove on MVP */
.prediction-message {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 15px;
  margin: 20px 0;
  font-size: 1.1em;
  font-weight: bold;
  text-align: center;
  border-radius: 8px;
}










