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

:root {
  --bg-primary: #F6D7D2;
  --bg-secondary: #F8DCD6;
  --bg-card: #FFFFFF;
  --bg-section: #FDF0EE;

  --purple-primary: #7B4FA3;
  --purple-secondary: #8E5EBE;
  --purple-light: #C9A8E8;
  --purple-pale: #EDE0F7;

  --cyan: #4FB6D8;
  --blue: #3FA9F5;
  --blue-dark: #2D7BD4;
  --blue-pale: #D6EEFB;

  --magenta: #E94E89;
  --magenta-light: #F5A0C3;
  --magenta-pale: #FDE0EC;

  --text-primary: #2D1B3D;
  --text-secondary: #5A4B6A;
  --text-muted: #8A7A9A;

  --gradient-main: linear-gradient(135deg, #7B4FA3, #E94E89, #3FA9F5, #4FB6D8);
  --gradient-purple: linear-gradient(135deg, #7B4FA3, #8E5EBE);
  --gradient-magenta: linear-gradient(135deg, #E94E89, #F5A0C3);
  --gradient-blue: linear-gradient(135deg, #3FA9F5, #4FB6D8);
  --gradient-warm: linear-gradient(135deg, #F6D7D2, #F8DCD6, #FDF0EE);

  --shadow-sm: 0 2px 8px rgba(123, 79, 163, 0.08);
  --shadow-md: 0 8px 30px rgba(123, 79, 163, 0.12);
  --shadow-lg: 0 16px 48px rgba(123, 79, 163, 0.15);
  --shadow-glow: 0 4px 24px rgba(142, 94, 190, 0.25);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 50%;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --max-width: 1200px;
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(142, 94, 190, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(79, 182, 216, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(233, 78, 137, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

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

a:hover {
  color: var(--magenta);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ─── Geometric Background Elements ─── */

.geo-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.geo-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.geo-circle--1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--purple-primary), transparent);
  animation: floatCircle 20s ease-in-out infinite;
}

.geo-circle--2 {
  width: 300px;
  height: 300px;
  bottom: 10%;
  left: -80px;
  background: radial-gradient(circle, var(--cyan), transparent);
  animation: floatCircle 25s ease-in-out infinite reverse;
}

.geo-circle--3 {
  width: 200px;
  height: 200px;
  top: 40%;
  right: 15%;
  background: radial-gradient(circle, var(--magenta), transparent);
  animation: floatCircle 18s ease-in-out infinite 2s;
}

.geo-triangle {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0.08;
}

.geo-triangle--1 {
  border-left: 50px solid transparent;
  border-right: 50px solid transparent;
  border-bottom: 86px solid var(--purple-primary);
  top: 20%;
  left: 8%;
  transform: rotate(15deg);
  animation: floatTriangle 22s ease-in-out infinite;
}

.geo-triangle--2 {
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-bottom: 60px solid var(--cyan);
  bottom: 25%;
  right: 10%;
  transform: rotate(-10deg);
  animation: floatTriangle 19s ease-in-out infinite 3s;
}

.geo-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}

.geo-dot--1 {
  width: 12px;
  height: 12px;
  background: var(--magenta);
  top: 15%;
  left: 30%;
  animation: pulseDot 4s ease-in-out infinite;
}

.geo-dot--2 {
  width: 8px;
  height: 8px;
  background: var(--blue);
  top: 55%;
  left: 70%;
  animation: pulseDot 4s ease-in-out infinite 1s;
}

.geo-dot--3 {
  width: 16px;
  height: 16px;
  background: var(--purple-primary);
  top: 75%;
  left: 20%;
  animation: pulseDot 5s ease-in-out infinite 0.5s;
}

.geo-dot--4 {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  top: 30%;
  left: 85%;
  animation: pulseDot 3.5s ease-in-out infinite 1.5s;
}

/* Network lines SVG */
.geo-network {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.06;
}

@keyframes floatCircle {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

@keyframes floatTriangle {
  0%, 100% { transform: rotate(15deg) translateY(0); }
  50% { transform: rotate(15deg) translateY(-40px); }
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 0.12; }
  50% { transform: scale(1.8); opacity: 0.25; }
}

/* ─── Header ─── */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header.scrolled {
  background: rgba(246, 215, 210, 0.85);
  box-shadow: 0 1px 20px rgba(123, 79, 163, 0.10);
}

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

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text-primary);
}

.header__logo-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: white;
  font-weight: 800;
}

img.header__logo-icon {
  width: auto;
  height: 36px;
  background: transparent;
  display: inline;
  object-fit: contain;
}


.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.header__nav a:hover::after,
.header__nav a.active::after {
  width: 100%;
}

.header__nav a:hover {
  color: var(--purple-primary);
}

.header__search {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: none;
  background: var(--bg-card);
  color: var(--purple-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.header__search:hover {
  background: var(--gradient-main);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.header__menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}

.header__menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.header__menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.header__menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── Hero Section ─── */

.hero {
  padding: 140px 0 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__text {
  max-width: 540px;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--purple-pale);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple-primary);
  margin-bottom: 20px;
}

.hero__tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-primary);
  animation: pulseDot 2s ease-in-out infinite;
}

.hero__title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.hero__title-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__visual-inner {
  position: relative;
  width: 420px;
  height: 420px;
}

.hero__shape-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border-radius: var(--radius-xl);
  background: var(--gradient-main);
  opacity: 0.15;
  animation: floatShape 8s ease-in-out infinite;
}

.hero__shape-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 2px solid rgba(142, 94, 190, 0.15);
  animation: spinRing 30s linear infinite;
}

.hero__shape-ring--2 {
  width: 280px;
  height: 280px;
  border-color: rgba(79, 182, 216, 0.12);
  animation-direction: reverse;
  animation-duration: 25s;
}

.hero__shape-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

.hero__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.hero__dot:nth-child(1) { top: 20%; left: 50%; background: var(--purple-primary); }
.hero__dot:nth-child(2) { top: 50%; right: 15%; background: var(--cyan); }
.hero__dot:nth-child(3) { bottom: 25%; left: 25%; background: var(--magenta); }
.hero__dot:nth-child(4) { top: 30%; left: 20%; background: var(--blue); }
.hero__dot:nth-child(5) { bottom: 20%; right: 30%; background: var(--purple-secondary); }

.hero__illustration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 5rem;
  opacity: 0.2;
  animation: pulseIcon 6s ease-in-out infinite;
}

.hero__cards-float {
  position: absolute;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: floatCard 6s ease-in-out infinite;
  white-space: nowrap;
}

.hero__cards-float--1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.hero__cards-float--2 {
  bottom: 15%;
  left: -10%;
  animation-delay: 2s;
}

.hero__cards-float--3 {
  bottom: 5%;
  right: 5%;
  animation-delay: 4s;
}

.float-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.float-icon--purple { background: var(--purple-pale); color: var(--purple-primary); }
.float-icon--blue { background: var(--blue-pale); color: var(--blue); }
.float-icon--magenta { background: var(--magenta-pale); color: var(--magenta); }

@keyframes floatShape {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes spinRing {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulseIcon {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.3; }
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* ─── Buttons ─── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 4px 16px rgba(123, 79, 163, 0.3);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(123, 79, 163, 0.4);
  color: white;
}

.btn--secondary {
  background: var(--bg-card);
  color: var(--purple-primary);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--purple-primary);
}

.btn--small {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ─── Section Headers ─── */

.section {
  padding: 80px 0;
  position: relative;
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: var(--purple-pale);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section__title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ─── Posts Grid ─── */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.post-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.post-card__image {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.post-card__image-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform 0.6s ease;
  position: relative;
}

.post-card__image-inner[style*="background-image"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(45,27,61,0.3) 0%, transparent 50%);
  pointer-events: none;
}

.post-card:hover .post-card__image-inner {
  transform: scale(1.08);
}

.post-card__category {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  color: var(--purple-primary);
}

.post-card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.post-card__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

.post-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.post-card:hover .post-card__title {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.post-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
}

.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(123, 79, 163, 0.06);
}

.post-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-card__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
}

.post-card__author-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.post-card__read-time {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Thumb gradients */
.thumb--ai { background: linear-gradient(135deg, #7B4FA3, #8E5EBE); }
.thumb--web { background: linear-gradient(135deg, #3FA9F5, #4FB6D8); }
.thumb--mobile { background: linear-gradient(135deg, #E94E89, #F5A0C3); }
.thumb--cloud { background: linear-gradient(135deg, #4FB6D8, #3FA9F5); }
.thumb--design { background: linear-gradient(135deg, #8E5EBE, #E94E89); }
.thumb--marketing { background: linear-gradient(135deg, #E94E89, #4FB6D8); }

/* ─── Featured Post ─── */

.featured {
  padding: 60px 0 80px;
}

.featured__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}

.featured__card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.featured__visual {
  height: 100%;
  min-height: 340px;
  background: linear-gradient(135deg, #7B4FA3, #E94E89, #4FB6D8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.featured__visual::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
  animation: shimmer 10s ease-in-out infinite;
  z-index: 1;
}

.featured__visual[style*="background-image"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(45,27,61,0.3) 0%, transparent 50%);
  z-index: 2;
}

@keyframes shimmer {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-5%, -5%) rotate(5deg); }
}

.featured__info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  background: var(--purple-pale);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple-primary);
  margin-bottom: 14px;
  align-self: flex-start;
}

.featured__title {
  font-size: 1.7rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.featured__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* ─── Categories ─── */

.categories {
  padding: 40px 0;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.category-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.category-card__icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}

.category-card__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.category-card__count {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ─── Newsletter ─── */

.newsletter {
  padding: 80px 0;
}

.newsletter__box {
  background: linear-gradient(135deg, rgba(123, 79, 163, 0.05), rgba(233, 78, 137, 0.05), rgba(79, 182, 216, 0.05));
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(123, 79, 163, 0.08);
}

.newsletter__box::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 94, 190, 0.08), transparent);
}

.newsletter__box::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 182, 216, 0.06), transparent);
}

.newsletter__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
}

.newsletter__title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  position: relative;
}

.newsletter__desc {
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.newsletter__form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.newsletter__input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: 2px solid rgba(123, 79, 163, 0.12);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
  background: white;
  font-family: var(--font-sans);
}

.newsletter__input:focus {
  border-color: var(--purple-primary);
  box-shadow: 0 0 0 4px rgba(123, 79, 163, 0.1);
}

.newsletter__input::placeholder {
  color: var(--text-muted);
}

/* ─── Footer ─── */

.footer {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(123, 79, 163, 0.06);
  padding: 60px 0 30px;
  position: relative;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {
  max-width: 320px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.footer__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  font-weight: 800;
}

img.footer__logo-icon {
  width: auto;
  height: 32px;
  background: transparent;
  display: inline;
  object-fit: contain;
}

.footer__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.footer__social a:hover {
  background: var(--gradient-main);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.footer__heading {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.footer__links a:hover {
  color: var(--purple-primary);
  transform: translateX(4px);
}

.footer__bottom {
  border-top: 1px solid rgba(123, 79, 163, 0.06);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ─── Post Page ─── */

.post-page {
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
}

.post-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.post-header__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.post-header__category {
  padding: 4px 14px;
  background: var(--purple-pale);
  border-radius: 50px;
  font-weight: 600;
  color: var(--purple-primary);
}

.post-header__title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.post-header__desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.post-banner {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-xl);
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  position: relative;
  overflow: hidden;
}

.post-banner[style*="background-image"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(45,27,61,0.4) 0%, transparent 60%);
  pointer-events: none;
}

.post-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.15) 0%, transparent 60%);
  z-index: 1;
}

.post-content {
  max-width: 720px;
  margin: 0 auto;
}

.post-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 36px 0 16px;
  color: var(--text-primary);
}

.post-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text-primary);
}

.post-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

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

.post-content li {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 6px;
}

.post-content ul li {
  list-style: disc;
}

.post-content ol li {
  list-style: decimal;
}

.post-content strong {
  font-weight: 600;
  color: var(--text-primary);
}

.post-content code {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.88rem;
  background: var(--purple-pale);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--purple-primary);
}

.post-content pre {
  background: var(--text-primary);
  color: #e0d6f0;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin-bottom: 20px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.post-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.post-content blockquote {
  border-left: 4px solid var(--purple-primary);
  padding: 16px 20px;
  margin: 20px 0;
  background: var(--purple-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.post-content img {
  border-radius: var(--radius-md);
  margin: 20px 0;
}

.post-content a {
  color: var(--purple-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-content a:hover {
  color: var(--magenta);
}

.post-footer {
  max-width: 720px;
  margin: 48px auto 0;
  padding-top: 32px;
  border-top: 1px solid rgba(123, 79, 163, 0.08);
}

.post-footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.post-footer__tag {
  padding: 6px 14px;
  background: var(--purple-pale);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--purple-primary);
  transition: all 0.3s ease;
  cursor: pointer;
}

.post-footer__tag:hover {
  background: var(--gradient-purple);
  color: white;
}

.post-footer__share {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-footer__share-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.post-footer__share a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.post-footer__share a:hover {
  background: var(--gradient-main);
  color: white;
  transform: translateY(-2px);
}

/* ─── Related Posts ─── */

.related {
  padding: 60px 0;
  background: rgba(255,255,255,0.3);
}

.related__title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 28px;
  text-align: center;
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ─── Back to Top ─── */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-main);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-glow);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  z-index: 50;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(123, 79, 163, 0.4);
}

/* ─── Animations ─── */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-in--1 { animation-delay: 0.1s; }
.animate-in--2 { animation-delay: 0.2s; }
.animate-in--3 { animation-delay: 0.3s; }
.animate-in--4 { animation-delay: 0.4s; }

/* ─── Loading Skeleton ─── */

.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, rgba(123, 79, 163, 0.05) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmerSkeleton 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmerSkeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Responsive ─── */

@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__text {
    margin: 0 auto;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    display: none;
  }

  .hero__title {
    font-size: 2.5rem;
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured__card {
    grid-template-columns: 1fr;
  }

  .featured__visual {
    min-height: 240px;
  }

  .categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header__nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(246, 215, 210, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .header__nav.open {
    display: flex;
  }

  .header__search {
    display: none;
  }

  .header__menu-btn {
    display: flex;
  }

  .hero {
    padding: 110px 0 60px;
    min-height: auto;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .section__title {
    font-size: 1.7rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .newsletter__box {
    padding: 40px 24px;
  }

  .newsletter__form {
    flex-direction: column;
  }

  .newsletter__title {
    font-size: 1.4rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .post-header__title {
    font-size: 1.8rem;
  }

  .post-banner {
    height: 220px;
    font-size: 4rem;
  }

  .related__grid {
    grid-template-columns: 1fr;
  }

  .featured__info {
    padding: 28px;
  }

  .featured__title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 1.7rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    justify-content: center;
  }

  .container {
    padding: 0 16px;
  }

  .post-card__body {
    padding: 16px;
  }
}
