:root {
  --primary-color: #3f51b5;
  /* Indigo */
  --secondary-color: #ffc107;
  /* Amber */
  --text-color: #e0e0e0;
  /* Light Gray for text */
  --bg-color: #121212;
  /* Dark Background */
  --card-bg: #1e1e1e;
  /* Card Background */
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* Header */
header {
  background-color: #000000;
  /* Black Header */
  color: var(--white);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.8;
}

.btn-login {
  background-color: var(--secondary-color);
  color: #000;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
}

/* Hero Section */
/* Hero Section */
.hero {
  /* Premium Dark Stock Market Theme - Deep Indigo to Black Radial */
  background: radial-gradient(circle at center, #1a237e 0%, #000000 100%);
  position: relative;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  padding: 120px 20px;
}

/* Optional: Add a subtle grid pattern to simulate chart lines */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.store-btn {
  background-color: var(--white);
  color: #333;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.store-btn:hover {
  transform: translateY(-2px);
}

/* Sections */
section {
  padding: 60px 5%;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: var(--secondary-color);
}

p {
  color: #bdbdbd;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.news-card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-date {
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 10px;
  display: block;
}

.news-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.news-summary {
  font-size: 0.95rem;
  color: #ccc;
}

/* Footer */
footer {
  background-color: #000;
  color: #757575;
  text-align: center;
  padding: 40px 20px;
  margin-top: auto;
}

footer a {
  color: #9e9e9e;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  color: var(--white);
}

/* Account Page */
.account-container {
  max-width: 500px;
  margin: 80px auto;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  text-align: center;
}

h1,
h3,
h4,
strong {
  color: var(--white);
}

input {
  background-color: #2c2c2c;
  border: 1px solid #424242;
  color: white;
  padding: 10px;
  border-radius: 4px;
}

input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Markdown Content Styling */
ul {
  margin-left: 20px;
  color: #bdbdbd;
}

li {
  margin-bottom: 8px;
}