
/*
Theme: Glassmorphism
Font: Poppins
Language: English (US)
Tone: Friendly & Casual
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
  --font-family: 'Poppins', sans-serif;
  --accent-color: #00f7ff;
  --text-primary: #e6f1ff;
  --text-secondary: #a8b2d1;
  --heading-color: #ffffff;
  --border-color: rgba(255, 255, 255, 0.18);
  --bg-color: #020c1b;
  --glass-bg: rgba(255, 255, 255, 0.05);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  background-image: linear-gradient(315deg, #020c1b 0%, #1f4287 74%);
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 17px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #ffffff;
  text-shadow: 0 0 8px var(--accent-color);
}

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

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 25px;
}

/* --- Header & Navigation --- */
.site-header {
  background: rgba(2, 12, 27, 0.5);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--heading-color);
}
.logo span {
  color: var(--accent-color);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.main-nav a {
  padding: 0.5rem;
  font-weight: 400;
  font-size: 1rem;
}

/* --- Glassmorphism Card Style --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 15px;
  border: 1px solid var(--border-color);
  padding: 2rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

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

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

.page-intro h1 {
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: 0.5rem;
  display: inline-block;
}

/* --- Blog Post List (Homepage) --- */
.blog-list .post-item {
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-list .post-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 247, 255, 0.15);
}

.post-item h3 {
  margin-bottom: 0.5rem;
}

.post-item h3 a {
  color: var(--heading-color);
}

.post-item h3 a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  padding: 10px 18px;
  border: 1px solid var(--accent-color);
  border-radius: 5px;
}

/* --- Sidebar --- */
.sidebar .widget {
  margin-bottom: 2.5rem;
}

.sidebar h3 {
  font-size: 1.3rem;
  color: var(--accent-color);
  padding-bottom: 0.5rem;
  position: relative;
}

.sidebar h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}


.sidebar ul {
  list-style: none;
  margin-top: 1rem;
}

.sidebar ul li {
  margin-bottom: 0.75rem;
  padding-left: 20px;
  position: relative;
}

.sidebar ul li::before {
    content: '»';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.sidebar ul li a {
    color: var(--text-primary);
}

.sidebar .promo-text p {
  color: var(--text-primary);
  font-weight: 300;
}

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

.article-header h1 {
    font-size: 2.5rem;
}

.article-meta {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.article-content h2, .article-content h3 {
    margin-top: 2.5rem;
    color: var(--accent-color);
}

.article-content ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.article-content ul li {
    color: var(--text-secondary);
    padding-left: 1rem;
    position: relative;
    margin-bottom: 0.5rem;
}
.article-content ul li::before {
    content: '✓';
    position: absolute;
    left: -1rem;
    color: var(--accent-color);
}


.cta-box {
    background: linear-gradient(135deg, rgba(0, 247, 255, 0.1), rgba(31, 66, 135, 0.1));
    border: 1px solid var(--accent-color);
    border-radius: 10px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}
.cta-box h3 {
    color: var(--heading-color);
}


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