/* Global styles for TokenSignals.io site */

/* Import a Google Font for clean typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

/* Theme color variables for easy customization */
:root {
  --color-bg: #0a0e23;
  --color-surface: #13192d;
  --color-primary: #00baff;
  --color-secondary: #4f46e5;
  --color-text: #e5eaf5;
  --color-muted: #7582a7;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

header {
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 140px 20px 100px;
  position: relative;
}

header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8));
  z-index: 0;
}

header .content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  animation: fadeUp 1s ease both;
}

header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

header p {
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: var(--color-muted);
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Navigation bar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

nav .logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: var(--color-text);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: var(--color-primary);
}

.btn {
  background-image: linear-gradient(to right, var(--color-primary), var(--color-secondary));
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

/* Price ticker bar */
.price-ticker {
  background-color: var(--color-surface);
  padding: 8px 0;
  font-size: 0.85rem;
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1px solid #1c2340;
  /* Make ticker sticky at the top */
  position: sticky;
  top: 0;
  z-index: 50;
}

.price-ticker span {
  display: inline-block;
  margin: 0 20px;
  font-weight: 600;
}

.price-up {
  color: #38b000;
}

.price-down {
  color: #e60000;
}

.price-neutral {
  color: #f7b500;
}

/* Search bar for signals page */
.search-bar {
  width: 100%;
  padding: 12px 16px;
  margin: 20px 0;
  border-radius: 8px;
  border: none;
  background-color: var(--color-surface);
  color: var(--color-text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  font-size: 0.95rem;
}

.search-bar::placeholder {
  color: var(--color-muted);
}

/* Advertisement placeholder */
.ad-placeholder {
  background-color: var(--color-surface);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  margin-top: 40px;
  color: var(--color-muted);
}

main {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

section {
  margin-bottom: 60px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 20px;
  text-align: center;
  color: var(--color-primary);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
  margin: 8px auto 0;
}

/* Signals table */
.signals-table {
  width: 100%;
  border-collapse: collapse;
}

/* Container to round table edges and add shadow */
.table-container {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  margin-top: 20px;
}

.signals-table th,
.signals-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #1c2340;
}

.signals-table th {
  background-color: var(--color-surface);
  font-weight: 600;
  color: var(--color-text);
}

 .signals-table tr:nth-child(even) {
  background-color: #0d1331;
 }

 .signals-table tr:hover {
  background-color: #1c2340;
  cursor: pointer;
 }

.signal-buy {
  color: #38b000;
  font-weight: 700;
}

.signal-sell {
  color: #e60000;
  font-weight: 700;
}

.signal-hold {
  color: #f7b500;
  font-weight: 700;
}

/* Allow the reason column to wrap text */
.signals-table td:last-child {
  white-space: normal;
  line-height: 1.4;
}

/* Why trust section */
.trust-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
}

.trust-card {
  background-color: var(--color-surface);
  padding: 30px;
  border-radius: 16px;
  flex: 1 1 280px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  animation: fadeUp 1s ease both;
}

.trust-card h3 {
  margin-top: 8px;
  margin-bottom: 6px;
  color: var(--color-primary);
  font-size: 1.2rem;
}

.trust-card p {
  font-size: 0.9rem;
  color: #b1bfd8;
}

/* Icon inside trust cards */
.trust-card i {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* Premium section */
.premium-section {
  background-color: var(--color-surface);
  border-radius: 16px;
  padding: 50px 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  animation: fadeUp 1s ease both;
}

.premium-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
  display: inline-block;
}

.premium-list li {
  margin-bottom: 12px;
  padding-left: 24px;
  position: relative;
  color: var(--color-text);
}

.premium-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

footer {
  background-color: var(--color-surface);
  padding: 25px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* Fade up animation for subtle entrance effects */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* How It Works section */
.process-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
}

.process-step {
  background-color: var(--color-surface);
  padding: 30px;
  border-radius: 16px;
  flex: 1 1 220px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  animation: fadeUp 1s ease both;
}

.process-step h3 {
  margin-top: 10px;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 1.2rem;
}

.process-step p {
  font-size: 0.9rem;
  color: #b1bfd8;
}

.process-step i {
  font-size: 2.4rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* Price Trend Section */
.trend-chart {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.trend-chart img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Latest News Section */
.news-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
}

.news-item {
  background-color: var(--color-surface);
  padding: 24px;
  border-radius: 16px;
  flex: 1 1 280px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  animation: fadeUp 1s ease both;
}

.news-item h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.news-item p {
  font-size: 0.9rem;
  color: #b1bfd8;
  line-height: 1.5;
}

/* Promise (Our Promise) section */
.promise-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
}

.promise-card {
  background-color: var(--color-surface);
  padding: 30px;
  border-radius: 16px;
  flex: 1 1 280px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  animation: fadeUp 1s ease both;
}

.promise-card h3 {
  margin-top: 8px;
  margin-bottom: 6px;
  color: var(--color-primary);
  font-size: 1.2rem;
}

.promise-card p {
  font-size: 0.9rem;
  color: #b1bfd8;
}

.promise-card i {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 12px;
}

/* FAQ section */
.faq-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
}

.faq-item {
  background-color: var(--color-surface);
  padding: 24px;
  border-radius: 16px;
  flex: 1 1 300px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  animation: fadeUp 1s ease both;
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.faq-item p {
  font-size: 0.9rem;
  color: #b1bfd8;
  line-height: 1.4;
}

/* Top movers section */
.movers-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 20px;
}

.mover-card {
  background-color: var(--color-surface);
  padding: 24px;
  border-radius: 16px;
  flex: 1 1 300px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  animation: fadeUp 1s ease both;
}

.mover-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: 1.2rem;
}

.mover-card p {
  font-size: 0.9rem;
  color: #b1bfd8;
  line-height: 1.4;
}