* {
  box-sizing: border-box;
}

:root {
  /* Light theme - Vibrant Modern Palette */
  --bg: #f8f6ff;
  --surface: #ffffff;
  --text: #0f0e1e;
  --text-light: #4a4a6a;
  --muted: #7a7a8e;
  --border: #e5e1f5;
  --accent: #00d4ff;
  --accent-dark: #0099cc;
  --accent-light: #e0f7ff;
  --accent-2: #ff00ff;
  --accent-3: #00ff88;
  --accent-4: #ffaa00;
  --success: #00ff88;
  --warning: #ffaa00;
  --danger: #ff1744;
  --shadow-sm: 0 2px 8px rgba(255, 0, 255, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 212, 255, 0.12);
  --shadow-lg: 0 12px 32px rgba(255, 0, 255, 0.15);
  --shadow-xl: 0 20px 48px rgba(0, 212, 255, 0.2);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body,
button,
input,
a {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: min(1140px, 94vw);
  margin: 0 auto;
}

/* Header styling */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 0;
}

.brand {
  font-size: 1.6rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.5px;
  transition: var(--transition);
  background: linear-gradient(135deg, #00d4ff, #ff00ff, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand:hover {
  filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.4));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 255, 0.05));
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
}

.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.theme-toggle {
  border: 2px solid var(--accent);
  background: var(--surface);
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.theme-toggle:hover {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 255, 0.05));
  border-color: var(--accent-2);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
  transform: scale(1.1);
}

/* Hero section */
.hero {
  position: relative;
  padding: 6rem 0 4.5rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 25%, #ff00ff 50%, #ff1744 75%, #ffaa00 100%);
  opacity: 0.98;
  z-index: -2;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  color: white;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 3.8rem);
  font-family: 'Playfair Display', serif;
  margin: 0 0 1rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  padding: 0.85rem 1.8rem;
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: white;
  color: var(--accent-dark);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.5), inset 0 0 20px rgba(0, 212, 255, 0.2);
  background: #f0ffff;
}

.btn-secondary {
  background: linear-gradient(135deg, #00d4ff, #ff00ff);
  color: white;
  box-shadow: 0 8px 25px rgba(255, 0, 255, 0.3);
  font-weight: 700;
  border: none;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #00ffff, #ff1744);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 0, 255, 0.5), inset 0 0 20px rgba(0, 212, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: white;
  color: var(--accent-dark);
}

/* Section styling */
.featured,
.latest-posts,
.cta,
.newsletter {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-family: 'Playfair Display', serif;
  margin: 0 0 0.8rem;
  color: var(--text);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin: 0;
  font-weight: 400;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.card {
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--border);
}

.card:hover {
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.4), 0 0 60px rgba(255, 0, 255, 0.2);
  transform: translateY(-12px);
  border: 1px solid var(--accent);
}

.card-image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-image img {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
  opacity: 0;
  transition: var(--transition);
}

.card:hover .card-overlay {
  opacity: 1;
}

.card-content {
  padding: 1.8rem 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  width: fit-content;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.category.design {
  background: linear-gradient(135deg, #00ffff, #0099cc);
  color: #0a0e27;
  font-weight: 800;
}

.category.marketing {
  background: linear-gradient(135deg, #ff00ff, #ffaa00);
  color: #ffffff;
  font-weight: 800;
}

.category.writing {
  background: linear-gradient(135deg, #00ff88, #00ffff);
  color: #0a0e27;
  font-weight: 800;
}

.card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
  color: var(--text);
}

.card h3 a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

.card h3 a:hover {
  color: var(--accent);
}

.card p {
  color: var(--text-light);
  margin: 0 0 1.2rem;
  flex-grow: 1;
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.read-time {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.read-more {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.read-more:hover {
  color: var(--accent-2);
  transform: translateX(6px);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
}

/* Latest posts section */
.post-list {
  display: grid;
  gap: 2rem;
}

.post-item {
  background: var(--surface);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.post-item:hover {
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.3), 0 0 50px rgba(255, 0, 255, 0.15);
  border-color: var(--accent);
  transform: translateY(-6px);
}

.post-header {
  margin-bottom: 1rem;
}

.post-item h3 {
  margin: 0 0 0.8rem;
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  color: var(--text);
}

.post-item h3 a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

.post-item h3 a:hover {
  color: var(--accent);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

.post-item p {
  color: var(--text-light);
  margin: 1rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Newsletter section */
.newsletter {
  background: linear-gradient(120deg, #00d4ff 0%, #0099cc 30%, #ff00ff 70%, #ffaa00 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.newsletter-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-header h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  font-family: 'Playfair Display', serif;
  margin: 0 0 0.8rem;
}

.newsletter-header p {
  font-size: 1.05rem;
  margin: 0 0 2rem;
  opacity: 0.95;
}

.newsletter-form {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  justify-content: center;
}

.newsletter-form input {
  flex: 1;
  min-width: 220px;
  padding: 0.9rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.newsletter-form input::placeholder {
  color: #999;
}

.newsletter-form input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* CTA section */
.cta {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(255, 0, 255, 0.15));
  border-radius: 14px;
  text-align: center;
  border: 2px solid var(--accent);
  box-shadow: inset 0 0 30px rgba(0, 212, 255, 0.1);
}

.cta h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-family: 'Playfair Display', serif;
  margin: 0 0 1rem;
  color: var(--text);
}

.cta p {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-weight: 400;
}

/* About page */
.about-hero {
  background: linear-gradient(120deg, #00d4ff 0%, #0099cc 35%, #ff00ff 65%, #ffaa00 100%);
  color: white;
  padding: 3rem 0;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.about-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-family: 'Playfair Display', serif;
  margin: 0.5rem 0;
  position: relative;
  z-index: 1;
}

.about-hero .lead {
  font-size: 1.1rem;
  margin: 0;
  opacity: 0.95;
}

.about-content {
  padding: 2rem 0 4rem;
}

.about-article {
  max-width: 800px;
  margin: 0 auto;
}

.about-article section {
  margin-bottom: 3rem;
}

.about-article h2 {
  font-size: 1.8rem;
  font-family: 'Playfair Display', serif;
  color: var(--text);
  margin: 2rem 0 1rem;
}

.about-article h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin: 1.5rem 0 0.8rem;
  font-weight: 600;
}

.about-article p {
  color: var(--text-light);
  line-height: 1.8;
  margin: 0.8rem 0;
  font-size: 0.95rem;
}

.about-article ul,
.about-article ol {
  color: var(--text-light);
  line-height: 1.8;
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.about-article li {
  margin-bottom: 0.8rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-card {
  background: var(--surface);
  padding: 1.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.3), 0 0 50px rgba(255, 0, 255, 0.15);
  transform: translateY(-6px);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 255, 0.05));
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin: 0.5rem 0 0.8rem;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.why-list {
  list-style: none;
  padding: 0;
}

.why-list li {
  margin-bottom: 1.2rem;
  padding-left: 2rem;
  position: relative;
  color: var(--text-light);
}

.why-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Post page styles */
.post-page {
  padding: 2rem 0 4rem;
}

.post-container {
  max-width: 900px;
  margin: 0 auto;
}

.post-navigation {
  margin-bottom: 2rem;
}

.post-navigation a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.post-navigation a:hover {
  color: var(--accent-dark);
}

.post-page h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  font-family: 'Playfair Display', serif;
  margin: 1rem 0;
  line-height: 1.2;
  color: var(--text);
}

.post-meta-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
  margin: 1.5rem 0;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.post-meta-header strong {
  color: var(--text);
}

.post-tags {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.tag {
  display: inline-block;
  background: linear-gradient(135deg, #00ffff, #00d4ff);
  color: #0a0e27;
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.tag:hover {
  background: linear-gradient(135deg, #00ffff, #ff00ff);
  color: white;
  box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4), 0 0 20px rgba(255, 0, 255, 0.2);
  transform: translateY(-2px);
}

.post-hero {
  width: 100%;
  border-radius: 12px;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-lg);
}

.post-body {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

.post-body p {
  margin: 1.2rem 0;
}

.post-body .lead {
  font-size: 1.1rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}

.post-body h2 {
  font-size: 1.7rem;
  font-family: 'Playfair Display', serif;
  margin: 2rem 0 1rem;
  color: var(--text);
}

.post-body h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.8rem;
  color: var(--text);
  font-weight: 600;
}

.post-body ul,
.post-body ol {
  margin: 1.2rem 0;
  padding-left: 1.8rem;
}

.post-body li {
  margin-bottom: 0.8rem;
}

.post-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 1.5rem 1.5rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 255, 0.05));
  border-radius: 8px;
  font-style: italic;
  color: var(--text);
  box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.post-body blockquote p {
  margin: 0 0 0.5rem;
}

.quote-source {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem !important;
}

.post-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}

.post-share {
  margin-bottom: 3rem;
}

.post-share h3 {
  margin-top: 0;
  color: var(--text);
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.share-btn:hover {
  background: linear-gradient(135deg, #00d4ff, #ff00ff);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

.post-author {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 255, 0.05));
  border-radius: 12px;
  border: 2px solid var(--border);
  margin-bottom: 3rem;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.1);
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.author-info h4 {
  margin: 0 0 0.5rem;
  color: var(--text);
}

.author-info p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.author-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.author-link:hover {
  color: var(--accent-dark);
}

.related-posts h3 {
  color: var(--text);
  margin-bottom: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.related-card {
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.related-card:hover {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.25), 0 0 40px rgba(255, 0, 255, 0.15);
  border-color: var(--accent);
  transform: translateY(-5px);
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.03), rgba(255, 0, 255, 0.03));
}

.related-card h4 {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
}

.related-card h4 a {
  color: var(--text);
  text-decoration: none;
  transition: var(--transition);
}

.related-card h4 a:hover {
  color: var(--accent);
}

.related-card p {
  margin: 0.5rem 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.related-card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

/* Code styling */
code {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(255, 0, 255, 0.1));
  color: var(--accent);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  border: 1px solid var(--accent);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

/* Glowing animations */
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 0, 255, 0.4);
  }
}

.card:hover {
  animation: glow 2s ease-in-out infinite;
}

/* Footer */
.site-footer {
  background: var(--text);
  color: #cbd5e1;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-title {
  font-size: 1.3rem;
  font-family: 'Playfair Display', serif;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: white;
}

.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: white;
  margin: 0;
  font-weight: 600;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: white;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0 1.5rem;
}

.copyright {
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
}

/* Dark theme */
.dark-theme {
  --bg: #0a0e27;
  --surface: #141829;
  --text: #f1f5ff;
  --text-light: #b8c5e0;
  --muted: #8a95b8;
  --border: #2a3050;
  --accent: #00ffff;
  --accent-light: rgba(0, 255, 255, 0.15);
}

.dark-theme .site-header {
  background: var(--surface);
  border-bottom-color: var(--border);
}

.dark-theme .hero-background {
  opacity: 0.85;
}

/* Responsive design */
@media (max-width: 768px) {
  .header-inner {
    gap: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border);
    display: none;
    width: 100%;
  }

  .main-nav.open {
    display: flex;
  }

  .nav-link {
    padding: 0.8rem 1rem;
    border-radius: 0;
  }

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .featured,
  .latest-posts,
  .cta,
  .newsletter {
    padding: 3rem 0;
  }

  .cards-grid {
    gap: 1.5rem;
  }

  .card-image {
    height: 200px;
  }

  .post-item {
    padding: 1.5rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .post-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .about-article section {
    margin-bottom: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .post-body blockquote {
    padding: 1rem;
    border-left: 2px solid var(--accent);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }

  .card-content {
    padding: 1.2rem;
  }

  .post-meta {
    flex-wrap: wrap;
  }

  .post-page h1 {
    font-size: 1.6rem;
  }

  .post-body h2 {
    font-size: 1.3rem;
  }

  .post-meta-header {
    font-size: 0.85rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .post-meta-header .separator {
    display: none;
  }

  .footer-title {
    font-size: 1.1rem;
  }
}
