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

:root {
  --primary: #1a1a1a;
  --secondary: #f5f5f5;
  --accent: #d4af37;
  --text-dark: #333;
  --text-light: #666;
  --border: #e0e0e0;
  --success: #2ecc71;
  --danger: #e74c3c;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  background-color: var(--secondary);
  color: var(--text-dark);
  line-height: 1.6;
}

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


header {
  background-color: white;
  border-bottom: 2px solid var(--primary);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 3px;
  color: var(--primary);
  cursor: pointer;
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav a:hover,
nav a.active {
  color: var(--accent);
}

.search-box {
  background-color: var(--secondary);
  border: 1px solid var(--border);
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 12px;
  width: 180px;
}

.subscribe-btn {
  background-color: var(--primary);
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  transition: background-color 0.3s;
}

.subscribe-btn:hover {
  background-color: var(--accent);
  color: var(--primary);
}


.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2a2a2a 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

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

.hero h1 {
  font-size: 52px;
  margin-bottom: 20px;
  font-weight: normal;
  letter-spacing: 2px;
}

.hero p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: var(--primary);
  padding: 15px 40px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s, box-shadow 0.3s;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  cursor: pointer;
  border: none;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, #2a2a2a 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.page-header-content h1 {
  font-size: 42px;
  margin-bottom: 10px;
  font-weight: normal;
}

.page-header-content p {
  font-size: 16px;
  color: #ccc;
}


.market-data {
  background-color: white;
  padding: 40px 20px;
  border-bottom: 1px solid var(--border);
}

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

.market-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.market-header h2 {
  font-size: 24px;
  font-weight: normal;
  letter-spacing: 1px;
}

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

.market-card {
  background-color: white;
  border: 1px solid var(--border);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.market-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.market-symbol {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-light);
  margin-bottom: 10px;
}

.market-price {
  font-size: 32px;
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 10px;
}

.market-change {
  font-size: 14px;
  font-weight: bold;
}

.positive {
  color: var(--success);
}

.negative {
  color: var(--danger);
}


.articles {
  background-color: var(--secondary);
  padding: 60px 20px;
}

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

.section-title {
  font-size: 28px;
  margin-bottom: 40px;
  font-weight: normal;
  text-align: center;
  letter-spacing: 1px;
}

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

.article-card {
  background-color: white;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.article-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 14px;
  text-align: center;
  padding: 20px;
}

.article-content {
  padding: 25px;
}

.article-category {
  font-size: 11px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-weight: bold;
}

.article-title {
  font-size: 20px;
  margin-bottom: 12px;
  line-height: 1.4;
  color: var(--primary);
}

.article-excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 15px;
}

.article-date {
  font-size: 12px;
  color: var(--text-light);
}


.latest-news {
  background-color: white;
  padding: 60px 20px;
}

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

.news-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.news-item {
  display: flex;
  gap: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border);
  transition: opacity 0.3s;
  cursor: pointer;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item:hover {
  opacity: 0.7;
}

.news-date {
  min-width: 80px;
  font-size: 12px;
  color: var(--text-light);
  font-weight: bold;
}

.news-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-content p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.news-source {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}


.news-full {
  background-color: white;
  padding: 40px 20px;
}

.news-full-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}

.news-main h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--primary);
}

.featured-news {
  margin-bottom: 40px;
}

.featured-image {
  width: 100%;
  height: 400px;
  margin-bottom: 30px;
  border-radius: 4px;
}

.featured-news h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--primary);
  line-height: 1.3;
}

.article-meta {
  display: flex;
  gap: 15px;
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 15px;
}

.featured-news p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-dark);
}

.featured-news h3 {
  margin-top: 30px !important;
  margin-bottom: 20px !important;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.news-card {
  background-color: white;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}

.news-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.news-card-image {
  width: 100%;
  height: 180px;
}

.news-card-content {
  padding: 15px;
}

.news-card h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--primary);
  line-height: 1.3;
}

.news-card p {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.news-card small {
  display: block;
  color: #999;
  font-size: 11px;
}


.markets-full {
  background-color: white;
  padding: 40px 20px;
}

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

.market-section {
  margin-bottom: 50px;
}

.market-section h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 10px;
}

.market-table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  border-radius: 4px;
  overflow: hidden;
}

.market-table thead {
  background-color: var(--primary);
  color: white;
}

.market-table th,
.market-table td {
  padding: 15px;
  text-align: right;
  border-bottom: 1px solid var(--border);
}

.market-table th:first-child,
.market-table td:first-child {
  text-align: left;
}

.market-table tbody tr:hover {
  background-color: var(--secondary);
}


.analysis-full {
  background-color: white;
  padding: 40px 20px;
}

.analysis-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
}

.analysis-main h3 {
  font-size: 24px;
  margin-bottom: 30px;
  color: var(--primary);
}

.featured-analysis {
  margin-bottom: 40px;
}

.featured-analysis h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: var(--primary);
}

.featured-analysis p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.featured-analysis h3 {
  margin-top: 30px !important;
}

.recommendation-box {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.rec-item {
  padding: 15px;
  border-left: 4px solid;
  border-radius: 4px;
}

.rec-item.buy {
  background-color: #d4edda;
  border-color: var(--success);
}

.rec-item.hold {
  background-color: #fff3cd;
  border-color: #ffc107;
}

.rec-item.sell {
  background-color: #f8d7da;
  border-color: var(--danger);
}

.analysis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.analysis-card {
  background-color: white;
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}

.analysis-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.analysis-image {
  width: 100%;
  height: 180px;
}

.analysis-content {
  padding: 15px;
}

.analysis-card h4 {
  font-size: 15px;
  margin-bottom: 8px;
  color: var(--primary);
  line-height: 1.3;
}

.analysis-card p {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.analysis-sidebar .sidebar-widget {
  background-color: var(--secondary);
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.sidebar-widget h4 {
  font-size: 14px;
  margin-bottom: 15px;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.rating-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rating-item {
  padding: 10px;
  border-radius: 4px;
  font-size: 13px;
}

.rating-item.buy {
  background-color: #d4edda;
}

.rating-item.hold {
  background-color: #fff3cd;
}

.rating-item.sell {
  background-color: #f8d7da;
}

.sidebar-widget ul {
  list-style: none;
}

.sidebar-widget li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.sidebar-widget li:last-child {
  border-bottom: none;
}


.contact-full {
  background-color: white;
  padding: 40px 20px;
}

.contact-container {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--primary);
}

.contact-info > p {
  margin-bottom: 30px;
  color: var(--text-light);
}

.info-boxes {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-box h4 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 10px;
}

.info-box p {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.8;
}

.info-box a {
  color: var(--accent);
  text-decoration: none;
}

.contact-form {
  background-color: var(--secondary);
  padding: 30px;
  border-radius: 4px;
}

.contact-form h2 {
  font-size: 24px;
  margin-bottom: 25px;
  color: var(--primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: "Georgia", serif;
  font-size: 14px;
}

.form-group textarea {
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
}

.submit-btn:hover {
  background-color: var(--accent);
  color: var(--primary);
}

.faq-section {
  margin-top: 60px;
}

.faq-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 15px;
}

.faq-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.faq-item {
  background-color: var(--secondary);
  padding: 20px;
  border-left: 4px solid var(--accent);
  border-radius: 4px;
}

.faq-item h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 15px;
}

.faq-item p {
  color: var(--text-light);
  font-size: 13px;
  line-height: 1.6;
}


.news-sidebar,
.analysis-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-widget {
  background-color: var(--secondary);
  padding: 20px;
  border-radius: 4px;
}


footer {
  background-color: var(--primary);
  color: #ccc;
  padding: 50px 20px;
  margin-top: 50px;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section a {
  display: block;
  color: #ccc;
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
}


@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  nav {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .search-box {
    width: 100%;
  }

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

  .articles-grid,
  .news-grid,
  .analysis-grid {
    grid-template-columns: 1fr;
  }

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

  .news-full-container,
  .analysis-container,
  .contact-main {
    grid-template-columns: 1fr;
  }

  .news-item {
    flex-direction: column;
    gap: 10px;
  }

  .news-date {
    min-width: auto;
  }

  .featured-image {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 20px;
    letter-spacing: 2px;
  }

  nav {
    gap: 10px;
  }

  nav a {
    font-size: 11px;
  }

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

  .hero p {
    font-size: 14px;
  }

  .section-title {
    font-size: 20px;
  }

  .article-title {
    font-size: 16px;
  }

  .featured-news h2 {
    font-size: 24px;
  }

  .faq-items {
    grid-template-columns: 1fr;
  }
}



.subscribe-modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
}

.subscribe-modal-backdrop.is-visible {
  display: flex;
}

.subscribe-modal {
  background-color: #ffffff;
  max-width: 480px;
  width: 100%;
  border-radius: 10px;
  padding: 28px 24px 22px 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  position: relative;
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #555555;
}

.modal-close-btn:hover {
  color: #000000;
}

.subscribe-modal h2 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #111111;
}

.subscribe-modal-text {
  font-size: 14px;
  color: #555555;
  margin-bottom: 18px;
}

.subscribe-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333333;
}

.subscribe-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #cccccc;
  font-size: 14px;
  margin-bottom: 14px;
}

.subscribe-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.3);
}

.subscribe-submit-btn {
  width: 100%;
  padding: 11px 16px;
  border-radius: 6px;
  border: none;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.06em;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background-color 0.2s ease;
}

.subscribe-submit-btn:hover {
  background-color: var(--accent);
  color: var(--primary);
}

.subscribe-legal {
  font-size: 11px;
  color: #777777;
  line-height: 1.4;
}

.subscribe-legal a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .subscribe-modal {
    padding: 24px 18px 18px 18px;
  }

  .subscribe-modal h2 {
    font-size: 20px;
  }
}

