/* --- Tech / Futuristic Theme Variables --- */
:root {
    --heading-font: 'Fira Code', monospace;
    --body-font: 'Fira Code', monospace;
    --dark-navy: #0a192f;
    --navy: #112240;
    --light-navy: #233554;
    --lightest-navy: #303C55;
    --slate: #8892b0;
    --light-slate: #a8b2d1;
    --lightest-slate: #ccd6f6;
    --white: #e6f1ff;
    --neon-accent: #64ffda;
    --header-height: 80px;
    --container-width: 1200px;
    --border-radius: 4px;
}

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

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--slate);
    background-color: var(--dark-navy);
    font-size: 16px;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--lightest-slate);
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; color: var(--neon-accent);}
h3 { font-size: 1.4rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--neon-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, filter 0.3s ease;
}

a:hover {
    color: var(--neon-accent);
    filter: brightness(1.2);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

/* --- Header & Navigation --- */
.site-header {
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--light-navy);
}

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

.logo a {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neon-accent);
}

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

.main-navigation a {
    font-size: 1rem;
    font-weight: 400;
    color: var(--light-slate);
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--neon-accent);
}

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

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

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

/* --- Hero Section --- */
.hero {
    text-align: left;
    padding: 3rem 1rem;
    margin-bottom: 3rem;
}

.hero h1 {
    color: var(--lightest-slate);
    margin-bottom: 1.5rem;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--slate);
    max-width: 700px;
}

.seo-content {
    margin-bottom: 3rem;
    background-color: var(--navy);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-navy);
}

/* --- Blog Articles Section --- */
.blog-articles h2 {
    margin-bottom: 2.5rem;
}

.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(--navy);
    border: 1px solid var(--light-navy);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
    padding: 1.5rem;
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-accent);
}

.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card h3 {
    font-size: 1.25rem;
    color: var(--lightest-slate);
    margin-bottom: 1rem;
}

.article-card p {
    flex-grow: 1;
    color: var(--slate);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.read-more {
    font-weight: 500;
    font-family: var(--body-font);
    align-self: flex-start;
    font-size: 0.9rem;
}

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

.sidebar .widget h3 {
    margin-top: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--light-navy);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--neon-accent);
}

.widget-list li {
    padding: 0.5rem 0;
}

.widget-list a {
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--light-slate);
}

.widget-promo {
    text-align: left;
    padding: 1.5rem;
    background-color: var(--light-navy);
    color: var(--lightest-slate);
    border-radius: var(--border-radius);
}

.widget-promo h4 {
    font-size: 1.1rem;
    color: var(--white);
}
.widget-promo a {
    color: var(--neon-accent);
}

/* --- Footer --- */
.site-footer {
    background-color: var(--dark-navy);
    color: var(--slate);
    padding: 2rem 0;
    margin-top: 3rem;
    text-align: center;
    border-top: 1px solid var(--light-navy);
}

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

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

.footer-links a {
    color: var(--slate);
    margin: 0 15px;
    font-size: 0.9rem;
}

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

.copyright {
    font-size: 0.8rem;
    color: var(--light-navy);
}

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

.full-article .article-meta {
    font-size: 0.9rem;
    color: var(--slate);
    margin-top: -1rem;
}

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

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

.full-article .article-content ul {
    list-style-type: none;
    padding-left: 0;
}

.full-article .article-content ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    position: relative;
}
.full-article .article-content ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--neon-accent);
    font-weight: 700;
}

.full-article .article-content ol {
    list-style: none;
    counter-reset: item;
    padding-left: 0;
}
.full-article .article-content ol li {
    counter-increment: item;
    margin-bottom: 1rem;
    padding-left: 2.5rem;
    position: relative;
}
.full-article .article-content ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    color: var(--neon-accent);
    border: 1px solid var(--neon-accent);
    border-radius: 50%;
    text-align: center;
    line-height: 25px;
    font-weight: 700;
    font-size: 0.8rem;
}


.cta-section {
    background: var(--navy);
    border: 1px solid var(--light-navy);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-top: 3rem;
    text-align: center;
}

.cta-section h3 {
    margin-top: 0;
    color: var(--lightest-slate);
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    border: 1px solid var(--neon-accent);
    color: var(--neon-accent);
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-family: var(--body-font);
    margin-top: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background-color: rgba(100, 255, 218, 0.1);
    color: var(--neon-accent);
}

/* --- Other Pages (Offers, About, Contact) --- */
.page-header {
    text-align: left;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-navy);
    margin-bottom: 3rem;
}

.page-content {
    background-color: var(--navy);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--light-navy);
}

.page-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 1rem;
}

.page-content ul li::before {
    content: '>>';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--neon-accent);
}

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

.contact-form label {
    font-weight: 500;
    font-size: 1rem;
    display: block;
    margin-bottom: 0.5rem;
    color: var(--light-slate);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--light-navy);
    border-radius: var(--border-radius);
    font-family: var(--body-font);
    font-size: 1rem;
    background-color: var(--dark-navy);
    color: var(--lightest-slate);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--neon-accent);
    box-shadow: 0 0 8px rgba(100, 255, 218, 0.2);
}

.contact-form button {
    align-self: flex-start;
    padding: 12px 28px;
    border: 1px solid var(--neon-accent);
    border-radius: var(--border-radius);
    background-color: transparent;
    color: var(--neon-accent);
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--body-font);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: rgba(100, 255, 218, 0.1);
}