:root {
    --bg-color: #0b0d10;
    --accent-green: #386b40;
    --accent-light: #64b370;
    --accent-glow: rgba(56, 107, 64, 0.12);
    --text-primary: #ffffff;
    --text-secondary: #d2ded5;
    --text-muted: #8ba192;
    --glass-bg: rgba(255, 255, 255, 0.035);
    --glass-border: rgba(255, 255, 255, 0.09);
    --glass-hover: rgba(255, 255, 255, 0.06);
    --card-radius: 24px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol" !important;
}

html, body {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.8;
    position: relative;
}

/* Navigation Header */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(11, 13, 16, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    z-index: 1000;
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.logo-box {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, var(--accent-light) 0%, var(--accent-green) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(56, 107, 64, 0.3);
}

.logo-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-back:hover {
    background: var(--glass-hover);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.15);
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent-green) 0%, #203f26 100%);
    border: 1px solid rgba(92, 163, 103, 0.3);
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(56, 107, 64, 0.15);
    text-decoration: none;
    color: #fff;
    transition: var(--transition);
}

.nav-cta:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-green) 100%);
    box-shadow: 0 6px 16px rgba(92, 163, 103, 0.3);
    transform: translateY(-1px);
}

/* Hero Section (Blog Index) */
.hero {
    padding: 180px 8% 80px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    opacity: 0.85;
    max-width: 680px;
    margin: 0 auto;
}

/* Blog Grid Section (Blog Index) */
.blog-section {
    padding: 0 8% 120px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

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

.blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--card-radius);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    background: var(--glass-hover);
    border-color: rgba(92, 163, 103, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(56, 107, 64, 0.08);
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.card-tag {
    background: rgba(92, 163, 103, 0.1);
    border: 1px solid rgba(92, 163, 103, 0.2);
    color: var(--accent-light);
    padding: 4px 10px;
    border-radius: 12px;
}

.blog-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
    color: #ffffff;
    transition: var(--transition);
}

.blog-card:hover h2 {
    color: var(--accent-light);
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    opacity: 0.8;
    line-height: 1.6;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-light);
    margin-top: 10px;
}

.card-footer svg {
    transition: var(--transition);
}

.blog-card:hover .card-footer svg {
    transform: translateX(4px);
}

/* Article Container (Blog Posts) */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 160px 24px 100px;
}

/* Article Header (Blog Posts) */
header.post-header {
    margin-bottom: 48px;
}

.post-meta {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.post-tag {
    background: rgba(92, 163, 103, 0.1);
    border: 1px solid rgba(92, 163, 103, 0.2);
    color: var(--accent-light);
    padding: 4px 10px;
    border-radius: 12px;
}

h1.post-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.post-subheadline {
    font-size: 1.15rem;
    color: var(--text-secondary);
    opacity: 0.9;
    line-height: 1.6;
}

/* Article Content (Blog Posts) */
.post-content {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.post-content p {
    margin-bottom: 24px;
    opacity: 0.9;
}

.post-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 48px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 10px;
}

.post-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #ffffff;
    margin-top: 32px;
    margin-bottom: 16px;
}

.post-content ol, .post-content ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 12px;
    opacity: 0.9;
}

.post-content strong {
    color: #ffffff;
    font-weight: 600;
}

/* Callout Box (Blog Posts) */
.callout {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--accent-light);
    border-radius: 12px;
    padding: 24px;
    margin: 36px 0;
    position: relative;
}

.callout-title {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.callout p {
    margin-bottom: 0;
    font-size: 0.95rem;
    opacity: 0.85;
}

/* Codeblock/Settings Path Styling (Blog Posts) */
.step-path {
    font-family: monospace;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent-light);
    font-size: 0.9em;
}

/* Footer Section */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 40px 8%;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 40px auto 0;
    z-index: 10;
    position: relative;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    nav {
        padding: 0 5%;
    }
    .hero {
        padding: 140px 5% 60px;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .blog-section {
        padding: 0 5% 80px;
    }
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .article-container {
        padding-top: 120px;
    }
    h1.post-title {
        font-size: 2.2rem;
    }
    footer {
        flex-direction: column;
        gap: 16px;
    }
}
