:root {
  --bg-main: #121212;
  --surface: #1e1e1e;
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;
  --accent: #00aaff;
  --accent-hover: #0088cc;
  --border-color: #333333;
  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Roboto', sans-serif;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  background-color: rgba(30, 30, 30, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease-in-out;
  padding: 0.5rem 0;
}

.main-nav a:hover,
.page-home .nav-home a,
.page-offers .nav-offers a,
.page-about .nav-about a,
.page-contact .nav-contact a {
  color: var(--accent);
}

/* Main Content */
.main-content {
  flex-grow: 1;
  padding: 3rem 0;
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .main-grid {
    grid-template-columns: 2fr 1fr;
  }
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3rem); }
h2 { font-size: 1.8rem; margin-top: 2rem; border-bottom: 1px solid var(--border-color); padding-bottom: 0.5rem; }
h3 { font-size: 1.3rem; color: var(--accent); }
p { margin-bottom: 1.5rem; color: var(--text-secondary); font-size: 1.05rem; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s ease-in-out; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

.page-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.page-intro h1 {
    margin-bottom: 0.5rem;
}
.page-intro p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* Article Cards */
.article-card {
  background-color: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 1.5rem;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 170, 255, 0.1);
  border-color: var(--accent);
}
.article-card-content {
  padding: 1.5rem;
}
.read-more {
  font-weight: 700;
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Sidebar */
.sidebar-widget {
  background-color: var(--surface);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 2rem;
}
.sidebar-widget h3 {
  font-size: 1.2rem;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  font-family: var(--font-heading);
  color: var(--text-primary);
}
.sidebar-widget ul { list-style: none; }
.sidebar-widget li:not(:last-child) { margin-bottom: 0.75rem; }
.sidebar-widget li a {
    color: var(--text-secondary);
    font-weight: 500;
}
.sidebar-widget li a:hover {
    color: var(--accent);
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: #121212;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  text-decoration: none !important;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}
.cta-button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  color: #121212;
}

/* Article Page */
.article-full {
  background-color: var(--surface);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}
.article-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
  text-align: center;
}
.article-meta {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-style: italic;
}
.article-content {
  font-size: 1.1rem;
}
.article-content ul, .article-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}
.article-content h2, .article-content h3 {
    margin-top: 2.5rem;
}

/* Footer */
.site-footer {
  background-color: var(--surface);
  color: var(--text-secondary);
  margin-top: auto;
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.copyright {
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header .container {
    flex-direction: column;
    gap: 1rem;
  }
  .main-nav ul {
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  .article-full { padding: 1.5rem; }
}
