/* ============================================================
   Backir CMS — Default Theme
   Modern, sidebar-free, full-width layout
   ============================================================ */

/* ── Variables ── */
:root {
  --color:        #2563eb;
  --color-dark:   #1d4ed8;
  --color-light:  #eff6ff;
  --text:         #111827;
  --text-muted:   #6b7280;
  --bg:           #ffffff;
  --bg-alt:       #f8fafc;
  --border:       #e5e7eb;
  --radius:       10px;
  --radius-lg:    16px;
  --shadow:       0 2px 16px rgba(0,0,0,.07);
  --shadow-lg:    0 8px 40px rgba(0,0,0,.12);
  --header-h:     70px;
  --font:         'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition:   .2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--color); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-dark); }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; color: var(--text); }

/* ── Container ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

/* ── Alert ── */
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 14px; margin: 12px 0; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info    { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 16px rgba(0,0,0,.05);
  height: var(--header-h);
}
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}

/* Logo */
.site-logo    { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.site-logo img{ height: 40px; width: auto; object-fit: contain; }
.logo-icon    { width: 38px; height: 38px; border-radius: 9px; background: linear-gradient(135deg, var(--color), #7c3aed); display: flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; flex-shrink: 0; }
.site-name    { font-size: 17px; font-weight: 800; color: var(--text); letter-spacing: -.3px; }
.site-tagline { font-size: 11px; color: var(--text-muted); }

/* Nav */
.main-nav ul  { display: flex; list-style: none; gap: 2px; align-items: center; }
.main-nav a   { display: block; padding: 7px 13px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); transition: all var(--transition); }
.main-nav a:hover, .main-nav a.active { color: var(--color); background: var(--color-light); }

/* Search in header */
.header-search { display: flex; align-items: center; gap: 6px; }
.header-search input {
  width: 180px; padding: 7px 12px; border: 1px solid var(--border);
  border-radius: 20px; font-size: 13px; font-family: inherit;
  background: var(--bg-alt); transition: all var(--transition);
}
.header-search input:focus { outline: none; border-color: var(--color); width: 220px; background: #fff; }
.header-search button { background: none; border: none; cursor: pointer; color: var(--text-muted); font-size: 16px; padding: 4px; }

/* Mobile menu */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 6px; border-radius: 6px; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: var(--transition); }

/* ══════════════════════════════════════
   HERO SECTION
══════════════════════════════════════ */
.site-hero {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
  color: #fff; padding: 96px 0 80px; overflow: hidden;
}
.site-hero--custom-bg { background-size: cover; background-position: center; }
.site-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,.85), rgba(37,99,235,.45));
  pointer-events: none;
}
/* dot grid */
.site-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 32px 32px; pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 5px 14px; border-radius: 50px; font-size: 12px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase; margin-bottom: 18px;
  backdrop-filter: blur(6px);
}
.hero-badge i { font-size: 10px; }
.hero-title {
  font-size: clamp(30px, 5vw, 54px); font-weight: 900;
  line-height: 1.07; letter-spacing: -1.5px; margin-bottom: 20px; color: #fff;
}
.hero-title span { background: linear-gradient(90deg, #93c5fd, #c4b5fd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 17px; color: rgba(255,255,255,.8); line-height: 1.7; margin-bottom: 36px; max-width: 500px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 28px; font-weight: 900; color: #fff; }
.hero-stat span   { font-size: 12px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .5px; }

/* Mockup */
.hero-mockup { perspective: 1000px; }
.hero-mockup-inner {
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform .4s ease;
  background: #1e293b; border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
}
.hero-mockup:hover .hero-mockup-inner { transform: rotateY(-2deg) rotateX(2deg); }
.mockup-bar {
  background: #0f172a; padding: 10px 14px;
  display: flex; gap: 6px; align-items: center;
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-dot:nth-child(1){ background:#f87171; }
.mockup-dot:nth-child(2){ background:#fbbf24; }
.mockup-dot:nth-child(3){ background:#34d399; }
.mockup-screen { background: #f1f5f9; padding: 14px; }
.mockup-nav  { height: 8px; background: var(--color); border-radius: 4px; margin-bottom: 12px; }
.mockup-body { display: flex; gap: 10px; margin-bottom: 12px; }
.mockup-col-l { flex: 3; display: flex; flex-direction: column; gap: 7px; }
.mockup-col-r { flex: 2; background: linear-gradient(135deg, #dbeafe, #ede9fe); border-radius: 8px; min-height: 80px; }
.mockup-line { height: 10px; background: #cbd5e1; border-radius: 3px; }
.mockup-line--dark  { background: #94a3b8; height: 16px; width: 75%; }
.mockup-line--short { width: 50%; }
.mockup-btn  { width: 70px; height: 22px; background: var(--color); border-radius: 4px; margin-top: 4px; }
.mockup-cards { display: flex; gap: 8px; }
.mockup-card  { flex: 1; height: 44px; background: #fff; border-radius: 8px; border: 1px solid #e2e8f0; box-shadow: 0 2px 6px rgba(0,0,0,.05); }
.hero-img { border-radius: 14px; width: 100%; height: auto; box-shadow: 0 24px 64px rgba(0,0,0,.4); }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  font-size: 14px; font-weight: 700; border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition); line-height: 1.4; text-decoration: none;
}
.btn i { font-size: .85em; transition: transform var(--transition); }
.btn:hover i { transform: translateX(3px); }
.btn--primary { background: var(--color); color: #fff; border-color: var(--color); }
.btn--primary:hover { background: var(--color-dark); border-color: var(--color-dark); color: #fff; }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }
.btn--outline-dark { background: transparent; color: var(--color); border-color: var(--color); }
.btn--outline-dark:hover { background: var(--color); color: #fff; }
.btn--lg { padding: 15px 32px; font-size: 15px; border-radius: 12px; }
.btn--sm { padding: 7px 14px; font-size: 13px; }
.btn--white { background: #fff; color: var(--color); border-color: #fff; }
.btn--white:hover { background: rgba(255,255,255,.9); }

/* ══════════════════════════════════════
   SECTIONS
══════════════════════════════════════ */
.section      { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }

.section-header { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.section-label  { display: inline-block; background: var(--color-light); color: var(--color); padding: 4px 13px; border-radius: 50px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 12px; }
.section-title  { font-size: clamp(24px, 3.5vw, 36px); font-weight: 800; margin-bottom: 14px; letter-spacing: -.5px; }
.section-desc   { font-size: 16px; color: var(--text-muted); line-height: 1.7; }

/* ── Grid ── */
.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ══════════════════════════════════════
   FEATURE CARDS
══════════════════════════════════════ */
.feature-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.feature-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color), #7c3aed);
  opacity: 0; transition: opacity var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--color-light); color: var(--color);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px;
  transition: background var(--transition), color var(--transition);
}
.feature-card:hover .feature-icon { background: var(--color); color: #fff; }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

/* ══════════════════════════════════════
   CONTENT ROW (2-col)
══════════════════════════════════════ */
.content-row { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.content-row--reverse .content-row-text { order: 2; }
.content-row--reverse .content-row-visual { order: 1; }
.content-row-text h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 10px 0 16px; letter-spacing: -.4px; }
.content-row-text p  { font-size: 16px; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }

.check-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.check-list li::before {
  content: ''; width: 22px; height: 22px; border-radius: 50%;
  background: #d1fae5; flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px; background-repeat: no-repeat; background-position: center;
}

.visual-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-lg); position: relative;
}
.visual-card-row { height: 12px; background: #f1f5f9; border-radius: 6px; margin-bottom: 12px; }
.visual-card-row:last-child { margin: 0; }
.visual-card-row--short { width: 60%; }
.visual-card-row--shorter { width: 35%; }
.visual-card-badge {
  position: absolute; top: -14px; right: 20px;
  background: linear-gradient(135deg, var(--color), #7c3aed);
  color: #fff; padding: 6px 14px; border-radius: 20px; font-size: 12px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(37,99,235,.4);
}

/* ══════════════════════════════════════
   BLOG POST CARDS
══════════════════════════════════════ */
.post-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.post-card-thumb { position: relative; overflow: hidden; height: 210px; display: block; }
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card-thumb img { transform: scale(1.05); }
.post-card-no-thumb { height: 210px; background: linear-gradient(135deg, var(--color-light), #ede9fe); display: flex; align-items: center; justify-content: center; font-size: 48px; opacity: .35; }

.post-card-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--color); color: #fff;
  padding: 3px 10px; border-radius: 50px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px;
}

.post-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.post-card-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; display: flex; gap: 12px; flex-wrap: wrap; }
.post-card-meta span { display: flex; align-items: center; gap: 4px; }

.post-card-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--color); }

.post-card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.65; flex: 1; margin-bottom: 18px; }
.post-card-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--color); margin-top: auto; transition: gap var(--transition); }
.post-card-link:hover { gap: 9px; }

/* ══════════════════════════════════════
   NUMBERS / STATS SECTION
══════════════════════════════════════ */
.numbers-section { background: linear-gradient(135deg, #0f172a, #1e3a8a); padding: 60px 0; }
.numbers-grid    { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden; }
.number-item     { padding: 36px 20px; text-align: center; transition: background var(--transition); }
.number-item:hover{ background: rgba(255,255,255,.05); }
.number-item strong { display: block; font-size: 46px; font-weight: 900; background: linear-gradient(135deg, #fff, #93c5fd); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 6px; }
.number-item span   { font-size: 13px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .8px; font-weight: 600; }

/* ══════════════════════════════════════
   CTA SECTION
══════════════════════════════════════ */
.cta-section { background: linear-gradient(135deg, var(--color), #7c3aed); padding: 76px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; pointer-events: none; }
.cta-inner {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center;
  gap: 40px; flex-wrap: wrap;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg); padding: 44px 52px;
  backdrop-filter: blur(8px);
}
.cta-inner h2 { font-size: clamp(22px, 3vw, 32px); color: #fff; font-weight: 900; margin-bottom: 8px; }
.cta-inner p  { font-size: 16px; color: rgba(255,255,255,.8); margin: 0; max-width: 480px; line-height: 1.6; }

/* ══════════════════════════════════════
   SINGLE POST PAGE
══════════════════════════════════════ */
.single-wrap { max-width: 780px; margin: 0 auto; padding: 60px 24px; }
.single-cats { margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.single-cat  { background: var(--color); color: #fff; padding: 3px 12px; border-radius: 50px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; }
.single-title { font-size: clamp(26px, 4vw, 44px); font-weight: 900; line-height: 1.1; letter-spacing: -.8px; margin-bottom: 18px; }
.single-meta  { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; display: flex; gap: 18px; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 22px; }
.single-meta a { color: var(--text-muted); }
.single-thumb { border-radius: var(--radius-lg); width: 100%; height: auto; margin-bottom: 36px; max-height: 480px; object-fit: cover; }
.single-content { font-size: 17px; line-height: 1.85; color: #374151; }
.single-content h2 { font-size: 26px; margin: 36px 0 14px; }
.single-content h3 { font-size: 20px; margin: 28px 0 10px; }
.single-content p  { margin-bottom: 20px; }
.single-content ul, .single-content ol { padding-left: 24px; margin-bottom: 20px; }
.single-content li { margin-bottom: 6px; }
.single-content blockquote { border-left: 4px solid var(--color); padding: 12px 20px; background: var(--color-light); border-radius: 0 8px 8px 0; margin: 24px 0; font-style: italic; }
.single-content img { border-radius: var(--radius); margin: 20px 0; box-shadow: var(--shadow); }
.single-content a  { color: var(--color); text-decoration: underline; }

/* Tags */
.single-tags { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.single-tags-label { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-right: 4px; }
.tag-pill { background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-muted); padding: 4px 12px; border-radius: 50px; font-size: 12px; font-weight: 600; transition: all var(--transition); }
.tag-pill:hover { background: var(--color); border-color: var(--color); color: #fff; }

/* Author box */
.author-box { display: flex; gap: 18px; align-items: flex-start; background: var(--bg-alt); border-radius: var(--radius-lg); padding: 24px; margin: 36px 0; border: 1px solid var(--border); }
.author-box img { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.author-box h4  { font-size: 15px; margin-bottom: 4px; }
.author-box p   { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.6; }

/* Post nav */
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0; }
.post-nav a { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; font-size: 14px; color: var(--text); transition: all var(--transition); }
.post-nav a:hover { background: var(--color-light); border-color: var(--color); }
.post-nav-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; font-weight: 700; }
.post-nav-title { font-weight: 700; color: var(--text); line-height: 1.3; }
.post-nav .next { text-align: right; }

/* ══════════════════════════════════════
   COMMENTS
══════════════════════════════════════ */
.comments-section { border-top: 1px solid var(--border); padding-top: 48px; margin-top: 48px; }
.comments-section h3 { font-size: 20px; margin-bottom: 28px; }
.comment-item { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-item:last-child { border-bottom: none; }
.comment-avatar img { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.comment-author { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.comment-date   { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.comment-text   { font-size: 14px; line-height: 1.65; color: #4b5563; }

/* Comment form */
.comment-form h4 { font-size: 18px; margin: 36px 0 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-input, .form-textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 14px; font-family: inherit;
  background: var(--bg); color: var(--text); transition: border-color var(--transition);
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: var(--color); }
.form-textarea { min-height: 130px; resize: vertical; margin-bottom: 14px; }

/* ══════════════════════════════════════
   ARCHIVE / SEARCH LISTINGS
══════════════════════════════════════ */
.archive-wrap { max-width: 900px; margin: 0 auto; padding: 60px 24px; }
.archive-header { margin-bottom: 36px; }
.archive-header h1 { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.archive-header p  { color: var(--text-muted); font-size: 14px; }
.archive-grid { display: grid; gap: 22px; }

.archive-post { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; gap: 20px; align-items: flex-start; padding: 20px; transition: box-shadow var(--transition), transform var(--transition); }
.archive-post:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.archive-post-thumb { flex-shrink: 0; width: 120px; height: 82px; border-radius: var(--radius); overflow: hidden; }
.archive-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.archive-post-body { flex: 1; min-width: 0; }
.archive-post-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 6px; display: flex; gap: 10px; }
.archive-post-title { font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.archive-post-title a { color: var(--text); }
.archive-post-title a:hover { color: var(--color); }
.archive-post-excerpt { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Pagination */
.pagination { display: flex; gap: 4px; justify-content: center; margin: 36px 0; flex-wrap: wrap; }
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 13px; font-weight: 600;
  color: var(--text-muted); text-decoration: none; transition: all var(--transition);
}
.pagination a:hover, .pagination span.current { background: var(--color); border-color: var(--color); color: #fff; }

/* ══════════════════════════════════════
   404 PAGE
══════════════════════════════════════ */
.error-wrap { text-align: center; padding: 100px 24px; max-width: 560px; margin: 0 auto; }
.error-code  { font-size: 120px; font-weight: 900; color: var(--color); line-height: 1; margin-bottom: 8px; opacity: .15; }
.error-wrap h2 { font-size: 28px; margin-bottom: 12px; }
.error-wrap p  { color: var(--text-muted); font-size: 16px; margin-bottom: 28px; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer { background: #0f172a; color: #94a3b8; margin-top: auto; }
.footer-top { padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }

.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; text-decoration: none; }
.footer-brand img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: .8; }
.footer-brand-name { font-size: 16px; font-weight: 800; color: #f1f5f9; }
.footer-brand-tag  { font-size: 12px; color: #64748b; }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 280px; }

.footer-col h4 { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: #f1f5f9; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 14px; color: #94a3b8; transition: color var(--transition); }
.footer-col ul li a:hover { color: #f1f5f9; }

.footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.footer-bottom a { color: #475569; transition: color var(--transition); }
.footer-bottom a:hover { color: #94a3b8; }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 26px; right: 26px;
  width: 44px; height: 44px; background: var(--color); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 18px; text-decoration: none; opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 4px 18px rgba(37,99,235,.4); z-index: 99;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }
.back-to-top::before { content: '↑'; font-weight: 900; font-size: 16px; }

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
[data-anim] { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
[data-anim].anim-in  { opacity: 1; transform: translateY(0); }
[data-anim="right"]  { transform: translateX(30px); }
[data-anim="right"].anim-in { transform: translateX(0); }
[data-anim="stagger"]       { opacity: 1; transform: none; }
[data-anim="stagger"] > *   { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
[data-anim="stagger"] > *.anim-in { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════
   HERO FLOAT BADGE
══════════════════════════════════════ */
.hero-visual { position: relative; }
.hero-float-badge {
  position: absolute; bottom: -16px; left: -20px;
  background: #fff; border-radius: 12px; padding: 10px 16px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  animation: floatUp 3s ease-in-out infinite;
}
.hero-float-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: #d1fae5; color: #059669;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 900; flex-shrink: 0;
}
.hero-float-label { font-size: 11px; color: #6b7280; font-weight: 600; }
.hero-float-val   { font-size: 16px; font-weight: 800; color: #111827; line-height: 1.2; }
@keyframes floatUp {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

/* ══════════════════════════════════════
   INTRO / ABOUT SECTION
══════════════════════════════════════ */
.intro-section { padding: 90px 0; }
.intro-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.intro-text .section-label { margin-bottom: 10px; }
.intro-title {
  font-size: clamp(24px, 3vw, 34px); font-weight: 800;
  margin: 0 0 16px; letter-spacing: -.4px;
}
.intro-desc {
  font-size: 16px; color: var(--text-muted);
  line-height: 1.75; margin-bottom: 22px;
}
.intro-list {
  list-style: none; display: flex; flex-direction: column;
  gap: 10px; margin-bottom: 28px;
}
.intro-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--text);
}
.intro-list li::before {
  content: '';
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: #d1fae5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23059669'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 13px; background-repeat: no-repeat; background-position: center;
}

/* Kategori kartları */
.intro-cats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.intro-cat-card {
  display: flex; flex-direction: column; gap: 4px;
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px;
  text-decoration: none; transition: all var(--transition);
}
.intro-cat-card:hover {
  border-color: var(--color); box-shadow: 0 4px 18px rgba(37,99,235,.1);
  transform: translateY(-2px);
}
.intro-cat-name  { font-size: 14px; font-weight: 700; color: var(--text); }
.intro-cat-count { font-size: 12px; color: var(--text-muted); }

/* No posts demo */
.no-posts-demo {
  text-align: center; padding: 80px 24px;
  background: var(--bg-alt); border-radius: var(--radius-lg);
  border: 2px dashed var(--border);
}
.no-posts-icon { font-size: 56px; margin-bottom: 16px; }
.no-posts-demo h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.no-posts-demo p  { color: var(--text-muted); font-size: 15px; margin-bottom: 24px; }

/* ══════════════════════════════════════
   READING PROGRESS BAR
══════════════════════════════════════ */
.reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--color), #7c3aed);
  z-index: 9999; transition: width .1s linear;
}

/* ══════════════════════════════════════
   HEADER EXTRAS
══════════════════════════════════════ */
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}
.site-header.header-hidden {
  transform: translateY(-100%);
  transition: transform .3s ease;
}
.site-header { transition: transform .3s ease, box-shadow .2s ease; }

.logo-image { height: 42px; width: auto; object-fit: contain; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-search-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  color: var(--text-muted); transition: all var(--transition);
}
.header-search-btn:hover { background: var(--color-light); color: var(--color); }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: var(--transition); }
.mobile-menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ══════════════════════════════════════
   HERO — NEW CLASSES
══════════════════════════════════════ */
.hero-text   { position: relative; z-index: 2; }
.hero-visual { position: relative; z-index: 2; }
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 2px rgba(74,222,128,.3); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100%{ box-shadow: 0 0 0 2px rgba(74,222,128,.3); }
  50%    { box-shadow: 0 0 0 6px rgba(74,222,128,.1); }
}
.hero-subtitle { font-size: 17px; color: rgba(255,255,255,.8); line-height: 1.7; margin-bottom: 36px; max-width: 500px; }
.hero-buttons  { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 0; }

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--color);
  padding: 13px 28px; border-radius: 10px;
  font-size: 14px; font-weight: 700; border: none; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.btn-hero-primary:hover { background: var(--color-light); color: var(--color-dark); transform: translateY(-2px); }

.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.12); color: #fff;
  padding: 13px 28px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  border: 1px solid rgba(255,255,255,.25);
  cursor: pointer; transition: all var(--transition); text-decoration: none;
  backdrop-filter: blur(6px);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.22); color: #fff; transform: translateY(-2px); }

/* Hero card mockup */
.hero-card-mockup {
  background: #fff; border-radius: 16px;
  box-shadow: 0 32px 80px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.1);
  overflow: hidden;
  transform: perspective(800px) rotateY(-6deg) rotateX(3deg);
  transition: transform .4s ease;
}
.hero-card-mockup:hover { transform: perspective(800px) rotateY(-2deg) rotateX(1deg); }
.mockup-topbar {
  background: #1e293b; padding: 10px 14px;
  display: flex; gap: 7px; align-items: center;
}
.mockup-topbar span { width: 10px; height: 10px; border-radius: 50%; display: block; }
.mockup-topbar span:nth-child(1){ background:#f87171; }
.mockup-topbar span:nth-child(2){ background:#fbbf24; }
.mockup-topbar span:nth-child(3){ background:#34d399; }
.mockup-post { display: flex; flex-direction: column; }
.mockup-post-img { width: 100%; height: 160px; object-fit: cover; }
.mockup-post-placeholder { height: 160px; background: linear-gradient(135deg, #dbeafe, #ede9fe); }
.mockup-post-body { padding: 14px 16px; }
.mockup-post-cat { display: inline-block; background: var(--color-light); color: var(--color); padding: 3px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; margin-bottom: 8px; }
.mockup-post-title { font-size: 14px; font-weight: 700; color: #1e293b; line-height: 1.4; margin-bottom: 6px; }
.mockup-post-meta { font-size: 11px; color: #94a3b8; }

/* ══════════════════════════════════════
   SECTIONS — NEW
══════════════════════════════════════ */
.features-section { padding: 80px 0; background: var(--bg-alt); }
.features-grid    { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.feature-title    { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-desc     { font-size: 14px; color: var(--text-muted); line-height: 1.65; }

.posts-section  { padding: 80px 0; }
.posts-grid     { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.section-head   { text-align: center; margin-bottom: 48px; }
.section-sub    { font-size: 16px; color: var(--text-muted); margin-top: 10px; }
.section-more   { text-align: center; margin-top: 40px; }

.btn-outline-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--color);
  padding: 12px 28px; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  border: 2px solid var(--color); cursor: pointer;
  transition: all var(--transition); text-decoration: none;
}
.btn-outline-primary:hover { background: var(--color); color: #fff; transform: translateY(-2px); }

/* Number section */
.number-value {
  font-size: 46px; font-weight: 900;
  background: linear-gradient(135deg, #fff, #93c5fd);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 6px; display: block;
}
.number-label {
  font-size: 13px; color: rgba(255,255,255,.6);
  text-transform: uppercase; letter-spacing: .8px; font-weight: 600;
}

/* CTA */
.cta-title { font-size: clamp(22px, 3vw, 32px); color: #fff; font-weight: 900; margin-bottom: 12px; }
.cta-sub   { font-size: 16px; color: rgba(255,255,255,.8); margin-bottom: 28px; line-height: 1.6; }
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--color);
  padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 700; border: none; cursor: pointer;
  transition: all var(--transition); text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.btn-cta:hover { background: var(--color-light); color: var(--color-dark); transform: translateY(-2px); }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap; position: relative; z-index: 2;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg); padding: 48px 52px;
  backdrop-filter: blur(8px);
}
.cta-inner > div { flex: 1; min-width: 260px; }

/* ══════════════════════════════════════
   POST CARD — NEW
══════════════════════════════════════ */
.post-card-thumb-link { display: block; overflow: hidden; height: 200px; position: relative; }
.post-card-thumb      { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card-thumb { transform: scale(1.05); }
.post-card-thumb-placeholder {
  height: 100%; background: linear-gradient(135deg, var(--color-light), #ede9fe);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
}
.post-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-top: 16px;
}
.post-card-author {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--text-muted); font-weight: 500;
}
.author-avatar-sm {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--color), #7c3aed);
  color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.post-card-read {
  font-size: 13px; font-weight: 700; color: var(--color);
  transition: gap var(--transition); display: inline-flex; gap: 4px; align-items: center;
}
.post-card-read:hover { color: var(--color-dark); }
.post-cat {
  display: inline-block; background: var(--color-light); color: var(--color);
  padding: 2px 10px; border-radius: 50px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .3px; margin-right: 4px;
}

/* ══════════════════════════════════════
   ARCHIVE — NEW
══════════════════════════════════════ */
.archive-list { display: flex; flex-direction: column; gap: 20px; }
.archive-post { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; gap: 20px; align-items: flex-start; padding: 20px; transition: box-shadow var(--transition), transform var(--transition); }
.archive-post:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.archive-post-thumb-wrap { flex-shrink: 0; width: 150px; height: 100px; border-radius: var(--radius); overflow: hidden; display: block; }
.archive-post-thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.archive-post-thumb-wrap:hover .archive-post-thumb { transform: scale(1.05); }
.archive-post-body { flex: 1; min-width: 0; }
.archive-post-title { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 10px 0 8px; }
.archive-post-title a { color: var(--text); }
.archive-post-title a:hover { color: var(--color); }
.archive-post-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.archive-post-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.archive-header { margin-bottom: 36px; padding-top: 48px; }
.archive-title  { font-size: 32px; font-weight: 800; margin: 8px 0 6px; }
.archive-desc   { color: var(--text-muted); font-size: 15px; }

/* Empty state */
.empty-state { text-align: center; padding: 80px 24px; color: var(--text-muted); }
.empty-state-icon { font-size: 56px; margin-bottom: 16px; }
.empty-state h3 { font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.empty-state p  { font-size: 15px; margin-bottom: 24px; max-width: 380px; margin-left: auto; margin-right: auto; }

/* Search form */
.search-form-wrap { padding: 48px 0 32px; }
.search-form-big  { display: flex; max-width: 600px; margin: 0 auto; border-radius: 12px; overflow: hidden; border: 2px solid var(--border); box-shadow: 0 4px 20px rgba(0,0,0,.06); }
.search-form-big input {
  flex: 1; padding: 14px 20px; border: none; font-size: 15px;
  font-family: inherit; color: var(--text); outline: none;
}
.search-form-big button {
  background: var(--color); color: #fff; border: none; padding: 0 22px;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.search-form-big button:hover { background: var(--color-dark); }

/* ══════════════════════════════════════
   SINGLE — NEW
══════════════════════════════════════ */
.single-wrap    { max-width: 780px; margin: 0 auto; padding: 0 24px 80px; }
.single-article { padding-top: 40px; }
.single-breadcrumb {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  font-size: 13px; color: var(--text-muted); margin-bottom: 28px;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.single-breadcrumb a { color: var(--text-muted); transition: color var(--transition); }
.single-breadcrumb a:hover { color: var(--color); }
.single-header  { margin-bottom: 28px; }
.single-title   { font-size: clamp(26px,4vw,42px); font-weight: 900; line-height: 1.1; letter-spacing: -.8px; margin: 12px 0 18px; }
.single-meta    { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--text-muted); flex-wrap: wrap; }
.single-meta a  { color: var(--color); }
.single-featured-img { margin: 0 0 36px; border-radius: var(--radius-lg); overflow: hidden; max-height: 460px; }
.single-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.single-content { font-size: 17px; line-height: 1.85; color: #374151; margin-bottom: 36px; }
.single-content h2 { font-size: 26px; margin: 36px 0 14px; color: var(--text); }
.single-content h3 { font-size: 20px; margin: 28px 0 10px; color: var(--text); }
.single-content p  { margin-bottom: 20px; }
.single-content ul, .single-content ol { padding-left: 26px; margin-bottom: 20px; }
.single-content li { margin-bottom: 8px; }
.single-content blockquote { border-left: 4px solid var(--color); padding: 14px 22px; background: var(--color-light); border-radius: 0 10px 10px 0; margin: 28px 0; font-style: italic; color: #374151; }
.single-content img { border-radius: var(--radius); margin: 24px 0; max-width: 100%; }
.single-content a   { color: var(--color); text-decoration: underline; }
.single-content pre { background: #1e293b; color: #e2e8f0; border-radius: var(--radius); padding: 20px; overflow-x: auto; font-size: 14px; line-height: 1.6; margin: 24px 0; }
.single-content code { background: var(--bg-alt); border: 1px solid var(--border); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.single-content pre code { background: none; border: none; padding: 0; color: inherit; font-size: inherit; }
.single-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.single-content th, .single-content td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.single-content th { background: var(--bg-alt); font-weight: 700; }

.single-tags   { margin: 28px 0; padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tags-label    { font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-right: 4px; }
.tag-link      { background: var(--bg-alt); border: 1px solid var(--border); color: var(--text-muted); padding: 4px 13px; border-radius: 50px; font-size: 12px; font-weight: 600; transition: all var(--transition); }
.tag-link:hover { background: var(--color); border-color: var(--color); color: #fff; }

.single-share  { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 20px 0 28px; }
.share-label   { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.share-btn     { display: inline-flex; padding: 6px 14px; border-radius: 7px; font-size: 12px; font-weight: 700; color: #fff; text-decoration: none; transition: opacity var(--transition); }
.share-btn:hover { opacity: .85; color: #fff; }
.share-twitter  { background: #000; }
.share-facebook { background: #1877f2; }
.share-whatsapp { background: #25d366; }

.author-box   { display: flex; gap: 18px; align-items: flex-start; background: var(--bg-alt); border-radius: var(--radius-lg); padding: 24px; margin: 32px 0; border: 1px solid var(--border); }
.author-avatar{ width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--color), #7c3aed); color: #fff; font-size: 22px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.author-info h4 { font-size: 15px; margin-bottom: 6px; }
.author-info h4 a { color: var(--text); }
.author-info h4 a:hover { color: var(--color); }
.author-info p  { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.6; }

.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 32px 0; }
.post-nav-link   { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; color: var(--text); transition: all var(--transition); text-decoration: none; display: block; }
.post-nav-link:hover { background: var(--color-light); border-color: var(--color); color: var(--text); }
.post-nav-next   { text-align: right; }
.nav-direction   { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; font-weight: 700; }
.nav-title       { font-size: 14px; font-weight: 700; color: var(--text); line-height: 1.3; }

/* Related posts */
.related-posts  { margin: 40px 0; }
.related-title  { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.related-grid   { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.related-item   { display: flex; flex-direction: column; text-decoration: none; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: box-shadow var(--transition), transform var(--transition); }
.related-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.related-thumb  { width: 100%; height: 100px; object-fit: cover; }
.related-thumb-placeholder { height: 100px; background: linear-gradient(135deg, var(--color-light), #ede9fe); }
.related-item-body  { padding: 12px 14px; flex: 1; }
.related-item-title { font-size: 13px; font-weight: 700; line-height: 1.4; margin-bottom: 4px; }
.related-item-date  { font-size: 11px; color: var(--text-muted); }

/* Comments */
.comments-section  { border-top: 2px solid var(--border); padding-top: 48px; margin-top: 48px; }
.comments-title    { font-size: 22px; font-weight: 800; margin-bottom: 28px; display: flex; align-items: center; gap: 10px; }
.comments-count    { background: var(--color); color: #fff; border-radius: 50px; padding: 2px 10px; font-size: 13px; }
.comment-list      { list-style: none; display: flex; flex-direction: column; gap: 0; }
.comment-item      { display: flex; gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.comment-item:last-child { border-bottom: none; }
.comment-avatar    { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; background: linear-gradient(135deg, var(--color), #7c3aed); color: #fff; font-size: 17px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.comment-header    { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.comment-author    { font-weight: 700; font-size: 14px; color: var(--text); }
.comment-author a  { color: var(--color); }
.comment-date      { font-size: 12px; color: var(--text-muted); }
.comment-text      { font-size: 14px; line-height: 1.65; color: #4b5563; }
.comments-closed   { font-size: 14px; color: var(--text-muted); font-style: italic; margin-top: 16px; }

/* Comment form */
.comment-form-wrap { background: var(--bg-alt); border-radius: var(--radius-lg); padding: 28px; margin-top: 32px; border: 1px solid var(--border); }
.comment-form-wrap h3 { font-size: 18px; margin-bottom: 20px; }
.comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.comment-form .form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.comment-form label { font-size: 13px; font-weight: 600; color: var(--text); }
.comment-form input, .comment-form textarea {
  padding: 10px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 14px; font-family: inherit;
  background: #fff; color: var(--text); width: 100%;
  transition: border-color var(--transition);
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--color); box-shadow: 0 0 0 3px rgba(37,99,235,.1); }
.comment-form textarea { min-height: 120px; resize: vertical; }
.required { color: #dc2626; }
.btn-comment {
  background: var(--color); color: #fff; border: none; cursor: pointer;
  padding: 12px 28px; border-radius: var(--radius); font-size: 14px; font-weight: 700;
  transition: all var(--transition); font-family: inherit;
}
.btn-comment:hover { background: var(--color-dark); transform: translateY(-1px); }

/* 404 */
.error-404-inner { text-align: center; padding: 80px 24px; max-width: 560px; margin: 0 auto; }
.error-code  { font-size: 120px; font-weight: 900; color: var(--color); line-height: 1; margin-bottom: 8px; opacity: .15; }
.error-404-inner h1 { font-size: 32px; margin-bottom: 14px; }
.error-404-inner p  { font-size: 16px; color: var(--text-muted); margin-bottom: 28px; }

/* ══════════════════════════════════════
   FOOTER — NEW
══════════════════════════════════════ */
.site-footer   { background: #0f172a; color: #94a3b8; margin-top: 0; }
.footer-grid   { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 60px 0 40px; }
.footer-logo   { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-img { height: 36px; width: auto; filter: brightness(0) invert(1); opacity: .85; }
.footer-site-name { font-size: 16px; font-weight: 800; color: #f1f5f9; }
.footer-col .footer-desc { font-size: 14px; line-height: 1.7; color: #64748b; max-width: 260px; }
.footer-heading { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: #f1f5f9; margin-bottom: 14px; }
.footer-links   { list-style: none; }
.footer-links li{ margin-bottom: 8px; }
.footer-links a { font-size: 14px; color: #64748b; transition: color var(--transition); }
.footer-links a:hover { color: #f1f5f9; }
.footer-social  { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.social-link    {
  width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255,255,255,.07); color: #94a3b8;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.social-link:hover { background: var(--color); color: #fff; }
.footer-bottom  { border-top: 1px solid #1e293b; padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.footer-admin-link { color: rgba(255,255,255,.3); font-size: 12px; transition: color var(--transition); text-decoration: none; }
.footer-admin-link:hover { color: #94a3b8; }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner    { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-subtitle { max-width: 100%; }
  .hero-buttons  { justify-content: center; }
  .hero-stats    { justify-content: center; }
  .hero-visual   { display: none; }
  .intro-row     { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid    { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .numbers-grid  { grid-template-columns: repeat(2, 1fr); }
  .content-row   { grid-template-columns: 1fr; gap: 40px; }
  .related-grid  { grid-template-columns: repeat(2, 1fr); }
  .post-navigation { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .site-hero { padding: 64px 0 52px; }
  .features-grid { grid-template-columns: 1fr; }
  .posts-grid    { grid-template-columns: 1fr; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .cta-inner { padding: 32px 24px; }
  .comment-form-row { grid-template-columns: 1fr; }
  .mobile-menu-btn { display: flex; flex-direction: column; justify-content: center; }
  .main-nav { position: relative; }
  .main-nav ul {
    display: none; position: absolute; top: calc(100% + 8px); right: 0;
    background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 8px; flex-direction: column; min-width: 200px;
    box-shadow: var(--shadow-lg); z-index: 100;
  }
  .main-nav ul.open { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .archive-post { flex-direction: column; }
  .archive-post-thumb-wrap { width: 100%; height: 160px; }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .numbers-grid  { grid-template-columns: 1fr 1fr; }
  .hero-title    { font-size: 28px; letter-spacing: -1px; }
  .footer-grid   { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .archive-wrap  { padding: 0 16px 60px; }
  .single-wrap   { padding: 0 16px 60px; }
  .posts-section,.features-section,.intro-section { padding: 56px 0; }
  .intro-cats { grid-template-columns: 1fr 1fr; }
}
