/* --- Tech / Futuristic Theme Variables --- */
:root {
    --primary-font: 'Fira Code', monospace;
    --background-color: #0D1117;
    --text-color: #C9D1D9;
    --primary-color: #58A6FF;
    --primary-hover-color: #79c0ff;
    --border-color: #30363D;
    --card-background: #161B22;
    --header-height: 70px;
    --container-width: 1200px;
}

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

body {
    font-family: var(--primary-font);
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
    font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-hover-color);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: var(--primary-hover-color);
    text-decoration: none;
    text-shadow: 0 0 5px var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--card-background);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-hover-color);
    text-decoration: none;
}

.main-navigation ul {
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease, text-shadow 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
}

/* --- Main Layout Container --- */
.container {
    max-width: var(--container-width);
    margin: 2rem auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

main.main-content {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.hero h1 {
    color: #fff;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
}

.seo-content {
    margin-bottom: 2rem;
}

/* --- Blog Articles Section --- */
.blog-articles h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.article-card {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.2);
}

.article-card h3 {
    margin-top: 0;
    font-size: 1.25rem;
}

.article-card p {
    flex-grow: 1;
    color: var(--text-color);
}

.read-more {
    font-weight: 600;
    align-self: flex-start;
}

/* --- Sidebar --- */
.sidebar .widget {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar .widget h3 {
    margin-top: 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.widget-list li {
    margin-bottom: 0.75rem;
}

.widget-list a {
    font-weight: 500;
}

.widget-promo {
    text-align: center;
    padding: 1rem;
    background-color: rgba(88, 166, 255, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 500;
}

/* --- Footer --- */
.site-footer {
    background-color: #010409;
    color: #fff;
    padding: 2rem 0;
    margin-top: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.copyright {
    font-size: 0.9rem;
    color: #8B949E;
}

/* --- Article Page Specific Styles --- */
.full-article header {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.full-article .article-meta {
    font-size: 0.9rem;
    color: #8B949E;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.full-article .article-content h2,
.full-article .article-content h3 {
    margin-top: 2rem;
}

.full-article .article-content ul,
.full-article .article-content ol {
    margin-left: 20px;
    margin-bottom: 1rem;
}

.full-article .article-content ul {
    list-style: '› ';
}

.full-article .article-content ol {
    list-style: decimal;
}

.cta-section {
    background-color: var(--card-background);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    text-align: center;
}

.cta-section h3 {
    margin-top: 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    margin-top: 1rem;
    text-decoration: none;
    border: 1px solid var(--primary-color);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    background-color: var(--card-background);
    color: var(--primary-hover-color);
    text-decoration: none;
    box-shadow: 0 0 10px var(--primary-color);
}

/* --- Other Pages (Offers, About, Contact) --- */
.page-header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form label {
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--primary-font);
    font-size: 1rem;
    background-color: var(--background-color);
    color: var(--text-color);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
}

.contact-form button {
    align-self: flex-start;
    padding: 12px 25px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--primary-hover-color);
    box-shadow: 0 0 10px var(--primary-color);
}