
:root {
  --color-primary: #0a192f; /* Deep Space Navy */
  --color-secondary: #00bcd4; /* Cyber Cyan */
  --color-accent: #64ffda; /* Neon Green/Cyan */
  --color-text: #334155;
  --color-text-light: #64748b;
  --color-bg: #f4f7f6;
  --color-white: #ffffff;
  --color-border: rgba(0, 0, 0, 0.05);
  --font-base: 'Outfit', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-base); color: var(--color-text); line-height: 1.6; background-color: var(--color-bg); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--color-primary); }
a { color: var(--color-primary); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--color-secondary); }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 800px; }

/* HEADER */
.site-header { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--color-border); padding: 15px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); }
.site-header__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.site-nav { display: flex; gap: 25px; font-weight: 500; font-family: var(--font-heading); }
.site-nav a { padding: 5px 0; position: relative; }
.site-nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--color-secondary); transition: width 0.3s ease; }
.site-nav a:hover::after { width: 100%; }

/* HERO */
.hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); color: var(--color-white); padding: 100px 20px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at center, rgba(0, 188, 212, 0.1) 0%, transparent 70%); pointer-events: none; }
.hero-title { font-size: 3.5rem; margin-bottom: 20px; font-weight: 700; letter-spacing: -1px; text-shadow: 0 2px 10px rgba(0,0,0,0.3); color: #fff;}
.hero-subtitle { font-size: 1.25rem; max-width: 700px; margin: 0 auto 40px; color: #cbd5e1; font-weight: 300;}
.hero-btn { display: inline-block; background: transparent; color: var(--color-accent); padding: 15px 35px; border: 2px solid var(--color-accent); border-radius: 4px; font-family: var(--font-heading); font-weight: bold; text-transform: uppercase; letter-spacing: 1.5px; transition: all 0.3s; box-shadow: 0 0 10px rgba(100, 255, 218, 0.2); }
.hero-btn:hover { background: rgba(100, 255, 218, 0.1); transform: translateY(-2px); box-shadow: 0 0 20px rgba(100, 255, 218, 0.4); color: var(--color-accent); }

/* PAGE HEADER */
.page-header { background: var(--color-white); padding: 50px 20px; margin-bottom: 50px; border-bottom: 1px solid var(--color-border); text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.page-title { font-size: 2.5rem; color: var(--color-primary); letter-spacing: -0.5px;}

/* MAIN CONTENT */
main { padding: 40px 20px; min-height: 50vh; }
.section-title { font-size: 2rem; padding-bottom: 10px; margin-bottom: 30px; color: var(--color-primary); position: relative; display: inline-block;}
.section-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background: var(--color-secondary); }

/* HOME FEATURES */
.home-features { margin-bottom: 60px; }
.feature-block { display: flex; align-items: center; gap: 40px; margin-bottom: 50px; background: var(--color-white); padding: 40px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.feature-block--reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-image { flex: 1; position: relative; overflow: hidden; border-radius: 12px; }
.feature-image img { transition: transform 0.5s ease; }
.feature-block:hover .feature-image img { transform: scale(1.05); }
.feature-text p { font-size: 1.1rem; color: var(--color-text-light); line-height: 1.8; }
@media (max-width: 768px) { .feature-block, .feature-block--reverse { flex-direction: column; padding: 20px; } }

/* GRID CARDS (Services) */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin-bottom: 40px; }
.card { background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(10px); border: 1px solid var(--color-border); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.02); padding: 30px; transition: all 0.3s ease; position: relative; top: 0;}
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); border-color: rgba(0, 188, 212, 0.3); }
.card h3 { margin-bottom: 15px; font-size: 1.5rem; }
.card p { color: var(--color-text-light); margin-bottom: 25px; font-size: 1rem; }
.card a { display: inline-flex; align-items: center; font-weight: 600; font-family: var(--font-heading); color: var(--color-secondary); text-transform: uppercase; letter-spacing: 0.5px; }

/* BLOG GRID */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin-bottom: 40px; }
.blog-card { background: var(--color-white); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: transform 0.3s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.blog-card__thumb { display: block; overflow: hidden; }
.blog-card__thumb img { transition: transform 0.5s ease; width: 100%; }
.blog-card:hover .blog-card__thumb img { transform: scale(1.05); }
.blog-card__content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card__content h3 { font-size: 1.25rem; margin-bottom: 15px; line-height: 1.4; }
.blog-card__content h3 a { color: var(--color-primary); }
.blog-card__content h3 a:hover { color: var(--color-secondary); }
.blog-card__content p { color: var(--color-text-light); font-size: 0.95rem; margin-bottom: 0; }

/* ARTICLE BODY */
.content-body { max-width: 800px; margin: 0 auto; background: var(--color-white); padding: 50px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.03); }
.content-body h2 { font-size: 2rem; color: var(--color-primary); margin: 40px 0 20px; }
.content-body h3 { font-size: 1.5rem; color: var(--color-secondary); margin: 30px 0 15px; }
.content-body p { margin-bottom: 20px; font-size: 1.15rem; line-height: 1.8; color: #334155; }
.content-body ul, .content-body ol { margin-bottom: 25px; padding-left: 20px; font-size: 1.15rem; color: #334155; }
.content-body li { margin-bottom: 12px; }
.lead { font-size: 1.3rem !important; font-weight: 500; color: #475569 !important; border-left: 4px solid var(--color-secondary); padding-left: 20px; }
.article-image { margin: 40px 0; }
.article-image img { width: 100%; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.article-image figcaption { text-align: center; font-style: italic; color: #94a3b8; margin-top: 15px; font-size: 0.95rem; }

/* BREADCRUMB & META */
.breadcrumb { max-width: 800px; margin: 0 auto 25px; font-size: 0.95rem; color: var(--color-text-light); }
.article-meta { max-width: 800px; margin: 0 auto 40px; display: flex; align-items: center; gap: 15px; font-size: 0.95rem; color: var(--color-text-light); padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }

/* AUTHOR BOX */
.author-box { display: flex; gap: 25px; background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); padding: 30px; border-radius: 12px; margin: 50px auto; max-width: 800px; align-items: center; border-left: 4px solid var(--color-secondary); }
.author-box__avatar img { border-radius: 50%; object-fit: cover; border: 3px solid var(--color-white); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.author-box__info h3 { color: var(--color-primary); margin-bottom: 8px; }
.author-box__info p { margin-bottom: 0; font-size: 1rem; color: #475569; }

/* RELATED POSTS */
.related-posts { max-width: 800px; margin: 0 auto 50px; background: rgba(255, 255, 255, 0.5); border: 1px solid var(--color-border); padding: 40px; border-radius: 16px; }
.related-posts h3 { margin-bottom: 25px; font-size: 1.5rem; color: var(--color-primary); }
.related-posts ul { list-style: none; padding: 0; }
.related-posts li { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px dashed #cbd5e1; font-size: 1.1rem; }
.related-posts li::before { content: "»"; color: var(--color-secondary); margin-right: 12px; font-weight: bold; }
.related-posts li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

/* FOOTER */
.site-footer { background: #0f172a; color: #94a3b8; padding: 80px 20px 30px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 50px; margin-bottom: 50px; }
.footer-col h3 { color: var(--color-white); margin-bottom: 25px; font-size: 1.3rem; font-family: var(--font-heading); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: #94a3b8; transition: color 0.3s; }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid #1e293b; font-size: 0.95rem; }

@media (max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .content-body { padding: 30px 20px; }
  .author-box { flex-direction: column; text-align: center; }
}
