
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    color: #e2e8f0;
}

h1 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

h2 {
    font-weight: 600;
}

p {
    line-height: 1.6;
}


.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.confidence-red-bar{
      height: 8px;
      border-radius: 6px;
      background #FF3131;
      overflow: hidden;
}

.confidence-bar {
      height: 8px;
      border-radius: 6px;
      background: #e5e7eb;
      overflow: hidden;
}
.confidence-fill {
     height: 100%;
     background: linear-gradient(90deg, #22c55e, #4ade80);
}

.hp-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: white;
    background: linear-gradient(135deg, #00c853, #1de9b6);
    border-radius: 20px;
    box-shadow: 0 0 12px rgba(0,255,150,0.6);
}

/* NAVBAR (STICKY) */
.navbar {
    background: #111827;
    border-bottom: 1px solid #1f2937;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    flex-direction: column;
}

.daily-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #28a745, #1e7e34);
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.nav-container {
     display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
}

/* LOGO */
.logo-container {
    text-align: center;
    padding:15px 0;
}

.logo-img  {
    max-width: 420px;
    width: 100%;
    height: auto;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
}

/* USER BAR */
.user-bar {
    display: flex;
    text-align: center;
    gap: 12px;
    font-size: 13px;
}

.subscription {
    background: #22c55e;
    color: #020617;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
}

.user-name {
    color: #cbd5f5;
}

.logout-btn {
    background: #ef4444;
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.logout-btn:hover {
    background: #dc2626;
}
/* HERO */
.hero {
    padding: 30px 0 20px 0;
    text-align: center;
}

.hero h1 {
    font-size: 32px;
}

.hero p {
    color: #94a3b8;
}

.primary-btn {
    margin-top: 20px;
    padding: 12px 25px;
    border: none;
    background: #22c55e;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

.primary-btn:hover {
    opacity: 0.9;
}

/* CARD */
.card {
    background: linear-gradient(145deg, #020617, #0f172a);
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
    padding: 5px;
    margin-top: 5px;
    border-radius: 12px;
    border: 1px solid #1e293b;
}

/* TABLE */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    text-align: left;
    padding: 10px;
    border-bottom: 1px solid #1e293b;
}

th {
    color: #94a3b8;
    font-size: 12px;
}

.positive {
    color: #22c55e;
}

.negative {
    color: #ef4444;
}

.hold {
    color: #FFFF00;
}


.badge-buy { background: #16a34a; }
        .badge-hold { background: #f59e0b; }
        .badge-sell { background: #dc2626; }

/* FOOTER */
footer {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #1e293b;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #64748b;
    margin-left: 15px;
    text-decoration: none;
    font-size: 14px;
}

.footer-links a:hover {
    color: #38bdf8;
}

.dashboard-icon {
            font-size: 2.2rem;
        }

/* MOBILE */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 10px;
    }

    .main-nav {
        display: inline-block;
        margin: 0 10px;
    }

    .user-bar {
        flex-wrap: column;
        gap: 5px;
    }

    .footer-content {
        flex-direction: column;
        gap: 10px;
    }

    .hero h1 {
        font-size: 24px;
    }

    table {
        font-size: 12px;
    }
}

/* Login */

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.login-card {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-subtext {
    color: #94a3b8;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.form-group label {
    font-size: 13px;
    margin-bottom: 5px;
    color: #94a3b8;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #1e293b;
    background: #020617;
    color: #e2e8f0;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #38bdf8;
}

.full-width {
    width: 100%;
}

.login-footer {
    margin-top: 20px;
    font-size: 14px;
}

.login-footer a {
    color: #38bdf8;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}
 
.page-header {
    padding: 60px 20px;
    text-align: center;
    background: #020617;
}

.faq-section {
    padding: 60px 20px;
}

.faq-item {
    background: #1e293b;
    margin-bottom: 20px;
    padding: 25px;
    border-radius: 8px;
    text-align: left;
}

.faq-item h3 {
    margin-top: 0;
    color: #22c55e;
}

.cta-section {
    padding: 60px 20px;
    text-align: center;
    background: #020617;
}

/* Coming Soon Page */

.coming-hero {
    background: linear-gradient(135deg,#020617,#0f172a);
    padding: 120px 20px;
    text-align: center;
}

.launch-text {
    font-size: 22px;
    margin-top: 20px;
}

.sub-text {
    color: #94a3b8;
    margin: 20px 0 30px;
}

.email-form {
    margin-top: 20px;
}

.email-form input {
    padding: 14px;
    width: 280px;
    border-radius: 6px;
    border: none;
    margin-right: 10px;
}

.email-form button {
    padding: 14px 22px;
    background: #22c55e;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.email-form button:hover {
    background: #16a34a;
}

.small-note {
    font-size: 14px;
    color: #94a3b8;
    margin-top: 15px;
}

.coming-features {
    padding: 70px 20px;
    text-align: center;
}

/* =========================
   NAV LINKS
========================= */

.main-nav a {
    color: #e5e7eb;
    text-decoration: none;
    margin-right: 25px;
    font-weight: 600;
    transition: 0.3s;
}

.main-nav a:hover {
    color: #22c55e;
}

/* =========================
   USER BAR
========================= */

.user-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #d1d5db;
    font-size: 13px;
}

.subscription {
    background: #22c55e;
    color: #000;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: bold;
}

/* =========================
   HEADER BASE
========================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background: #0b1220;
    font-family: Arial, Helvetica, sans-serif;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =========================
   LOGO BAR
========================= */

.brand-bar {
    width: 100%;
    background: #000;
}

.brand-logo {
    width: 100%;
    height: auto;
    display: block;
}

.nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1f2937;
    padding-bottom: 12px;
}

.main-nav {
    flex: 1;
    text-align: center;
}

.main-nav a {
    color: #94a3b8;
    margin: 0 18px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.main-nav a:hover {
    color: #22c55e;
}

.sell-icon {
    fill: #dc3545;   /* red */
    vertical-align: middle;
}

.sell-text {
    color: #dc3545;
    font-weight: 600;
    margin-left: 4px;
}

.buy-icon {
    fill: #28a745;
}

.buy-text {
    color: #28a745;
    font-weight: 600;
}

.watchlist-btn {
    background-color: #1e293b; /* default */
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.watchlist-btn.added {
    background-color: #16a34a; /* green */
    color: #ffffff;
    cursor: default;
    opacity: 0.9;
}

.signals-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
}

.signal-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border-left: 5px solid #ddd;
}

.signal-card.buy {
    border-left-color: #16a34a;
}

.signal-card.sell {
    border-left-color: #dc2626;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.stock-info h3 {
    margin: 0;
    font-size: 1.05rem;
    color: #111827;
}

.stock-info h3 span {
    color: #6b7280;
    font-weight: 500;
}

.price {
    margin: 6px 0 0 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.signal-badge {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    color: #fff;
    white-space: nowrap;
}

.buy-badge {
    background: #16a34a;
}

.sell-badge {
    background: #dc2626;
}

.card-middle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.metric {
    background: #f8fafc;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
}

.metric .label {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 4px;
}

.metric .value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
}

.value.new {
    color: #16a34a;
}

.value.aging {
    color: #d97706;
}

.value.gain {
    color: #16a34a;
}

.value.loss {
    color: #dc2626;
}

.card-bottom {
    display: flex;
    gap: 10px;
}

.card-bottom a {
    flex: 1;
    text-align: center;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
}


.btn-watchlist:hover {
    background: #e2e8f0;
}

.btn-details {
    background: #2563eb;
    color: #fff;
}

.btn-details:hover {
    background: #1d4ed8;
}

.related-stocks {
    margin-top: 30px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}
.search-result-item {
    display: block;
    padding: 8px 12px;
}
a {
  color: #4da3ff;
}
a:hover {
  color: #82c4ff;
}
a:visited {
  color: #b388ff;
}

.metrics-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.metric {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.metric-value {
  font-size: 28px;
  font-weight: bold;
}

.metric-label {
  color: #aaa;
  font-size: 14px;
}

.charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.chart-card {
  background: #1e1e1e;
  padding: 20px;
  border-radius: 12px;
}

.search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;   /* removes underline */
  
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #ffffff;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;

  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 114, 255, 0.3);
}

/* Hover */
.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 114, 255, 0.5);
  background: linear-gradient(135deg, #00aaff, #005ce6);
}

/* Click feel */
.search-btn:active {
  transform: scale(0.97);
}

/* Remove default visited purple */
.search-btn:visited {
  color: #ffffff;
}

/* Optional focus */
.search-btn:focus {
  outline: 2px solid #00c6ff;
  outline-offset: 2px;
}
.sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.sector-card {
  background: #111;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #222;
  transition: 0.3s;
}

.sector-card:hover {
  border-color: #00ffcc;
  transform: translateY(-3px);
}

.sector-card h3 {
  color: #00ffcc;
}

.sector-link {
  display: inline-block;
  margin-top: 10px;
  color: #00ffcc;
  text-decoration: none;
}
.stock-news {
  margin-top: 40px;
}

.stock-news h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.news-card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 14px;
}

.news-meta {
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 8px;
}

.news-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.news-card h3 a {
  color: #60a5fa;
  text-decoration: none;
}

.news-card h3 a:hover {
  text-decoration: underline;
}

.news-card p {
  color: #d1d5db;
  line-height: 1.5;
}
