/*
Theme Name: Kodi IPTV Player
Theme URI: https://kodi-player.com
Author: Vivid Precision
Description: KodiIPTVPlayer.com - Premium IPTV streaming player homepage
Template: extendable
Version: 2.0.0
Text Domain: kodi-iptv-player
*/

@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;600;700;800;900&display=swap');

html {
  scroll-behavior: smooth; scroll-padding-top: 80px;
}
* { font-family: 'Public Sans', Helvetica, Arial, sans-serif; }

/* ========== ANIMATIONS ========== */
.kp-fade-in {
  opacity: 0; animation: kpFadeIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-play-state: paused;
}
.kp-fade-up {
  opacity: 0; animation: kpFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-play-state: paused;
}
@keyframes kpFadeIn {
  to { opacity: 1; }
}
@keyframes kpFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========== SECTION DIVIDERS ========== */
.kp-section-divider {
  height: 1px; background: linear-gradient(90deg, transparent, rgba(171,71,188,0.15), rgba(123,31,162,0.3), rgba(171,71,188,0.15), transparent);
  margin: 0; position: relative;
}
.kp-section-divider::after {
  content: ''; position: absolute; left: 50%; top: -3px; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(171,71,188,0.3); box-shadow: 0 0 12px rgba(171,71,188,0.2);
}

/* ========== LAYOUT ========== */
.kp-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.kp-section { padding: 100px 0; }

/* ========== BUTTONS ========== */
.kp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 28px; border-radius: 12px; font-weight: 600; font-size: 0.9375rem;
  text-decoration: none; cursor: pointer; border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: fit-content; white-space: nowrap;
}
.kp-btn--primary {
  background: linear-gradient(135deg, #ab47bc, #7B1FA2);
  color: #fff; box-shadow: 0 4px 16px rgba(171,71,188,0.35);
  position: relative; overflow: hidden;
}
.kp-btn--primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.kp-btn--primary::after {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.kp-btn--primary:hover {
  transform: translateY(-3px); box-shadow: 0 8px 32px rgba(171,71,188,0.5);
}
.kp-btn--primary:hover::before { opacity: 1; }
.kp-btn--primary:hover::after { opacity: 1; }
.kp-btn--ghost {
  background: transparent; color: #e0e0e0; border: 1px solid rgba(255,255,255,0.15);
}
.kp-btn--ghost:hover {
  background: rgba(255,255,255,0.05); border-color: rgba(171,71,188,0.4); color: #fff;
  transform: translateY(-2px);
}
.kp-btn--lg { padding: 16px 40px; font-size: 1.0625rem; }
.kp-btn--sm { padding: 8px 20px; font-size: 0.8125rem; border-radius: 8px; }

/* ========== SECTION TAGS ========== */
.kp-section-tag {
  display: inline-block; padding: 6px 16px; border-radius: 100px;
  background: rgba(171,71,188,0.12); color: #ce93d8; font-size: 0.8125rem;
  font-weight: 600; letter-spacing: 0.02em; margin-bottom: 16px;
}

/* ========== SECTION TITLES ========== */
.kp-section-title { text-align: center; margin-bottom: 56px; }
.kp-section-title h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; line-height: 1.25;
  color: #fff; margin: 0 0 16px;
}
.kp-section-title p {
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem); line-height: 1.6;
  color: #919EAB; max-width: 520px; margin: 0 auto;
}

/* ========== HEADER/NAV ========== */
.kp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1300;
  background: transparent; transition: all 250ms;
}
.kp-header.scrolled {
  background: rgba(28,26,42,0.92); backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.kp-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1200px; margin: 0 auto; padding: 8px 24px; height: 64px;
}
.kp-header-logo img { height: 40px; width: auto; display: block; border-radius: 8px; }
.kp-header-nav { display: flex; gap: 32px; align-items: center; }
.kp-header-nav a {
  color: rgba(255,255,255,0.7); text-decoration: none; font-weight: 500;
  font-size: 0.875rem; transition: color 150ms;
}
.kp-header-nav a:hover { color: #fff; }
.kp-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px; border: 1px solid rgba(171,71,188,0.4);
  border-radius: 8px; color: #ce93d8 !important; font-weight: 600;
  font-size: 0.875rem; background: transparent; cursor: pointer;
  text-decoration: none; transition: all 250ms;
}
.kp-btn-outline:hover {
  background: rgba(171,71,188,0.1); border-color: #ab47bc; color: #fff !important;
}

/* ========== HERO ========== */
.kp-hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  overflow: hidden; background: #1C1A2A; padding-top: 64px;
}
.kp-hero-bg {
  position: absolute; inset: 0; overflow: hidden;
}
.kp-hero-grid-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(171,71,188,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(123,31,162,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.kp-hero-orb {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.12;
  animation: kpOrbFloat 10s ease-in-out infinite;
}
.kp-hero-orb--1 {
  width: 700px; height: 700px; background: #ab47bc; top: -250px; right: -150px;
  animation-delay: 0s;
}
.kp-hero-orb--2 {
  width: 500px; height: 500px; background: #7B1FA2; bottom: -150px; left: -150px;
  animation-delay: -3s;
}
.kp-hero-orb--3 {
  width: 350px; height: 350px; background: #4A148C; top: 30%; left: 50%;
  animation-delay: -6s;
}
.kp-hero-orb--4 {
  width: 250px; height: 250px; background: #CE93D8; top: 60%; left: 10%;
  animation-delay: -8s; opacity: 0.06;
}
@keyframes kpOrbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  25% { transform: translate(40px,-40px) scale(1.05); }
  50% { transform: translate(-30px,20px) scale(0.95); }
  75% { transform: translate(20px,30px) scale(1.02); }
}
.kp-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  grid-template-areas: "top visual" "bottom visual";
  max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%;
  position: relative; z-index: 10;
}
.kp-hero-top { grid-area: top; display: flex; flex-direction: column; gap: 20px; }
.kp-hero-visual { grid-area: visual; }
.kp-hero-bottom { grid-area: bottom; display: flex; flex-direction: column; gap: 24px; }
.kp-badge {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 8px 18px; border-radius: 100px; font-size: 0.8125rem; font-weight: 600;
  background: linear-gradient(135deg, rgba(171,71,188,0.12), rgba(123,31,162,0.08));
  border: 1px solid rgba(171,71,188,0.2);
  color: #ce93d8; backdrop-filter: blur(4px);
}
.kp-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 900; line-height: 1.05;
  color: #fff; margin: 0; letter-spacing: -0.035em;
}
.kp-hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.7;
  color: #919EAB; max-width: 480px; margin: 0;
}
.kp-hero-actions { display: flex; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.kp-hero-stats {
  display: flex; gap: 40px; margin-top: 16px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.kp-stat { display: flex; flex-direction: column; gap: 2px; }
.kp-stat-num { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.kp-stat-label { font-size: 0.8125rem; color: #919EAB; font-weight: 500; }

/* ========== HERO POSTER ========== */
.kp-hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative; min-height: 500px;
}
.kp-hero-poster-wrap {
  position: relative; display: inline-block;
  border-radius: 20px;
}
.kp-hero-poster {
  width: 100%; max-width: 600px; height: auto; border-radius: 20px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(171,71,188,0.12);
  display: block; object-fit: cover; position: relative; z-index: 2;
}
.kp-hero-glow {
  position: absolute; inset: -20px; border-radius: 30px;
  background: radial-gradient(ellipse at center, rgba(171,71,188,0.15) 0%, transparent 70%);
  z-index: 1; animation: kpGlowPulse 4s ease-in-out infinite;
}
@keyframes kpGlowPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}
.kp-float-badge {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 12px; font-size: 0.8125rem; font-weight: 600;
  color: #fff; background: rgba(28,26,42,0.92); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  animation: kpFloatBadge 3s ease-in-out infinite; z-index: 3;
}
.kp-float-badge--1 { top: 12%; right: -30px; animation-delay: 0s; color: #ce93d8; }
.kp-float-badge--2 { bottom: 20%; left: -40px; animation-delay: -1.5s; color: #81c784; }
@keyframes kpFloatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== TRUSTED BY ========== */
.kp-trust {
  padding: 48px 0; text-align: center; background: rgba(255,255,255,0.02);
}
.kp-trust-label {
  font-size: 0.8125rem; font-weight: 600; color: #919EAB;
  text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 24px;
}
.kp-trust-logos {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.kp-trust-logos span {
  font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.3);
  letter-spacing: 0.02em;
}

/* ========== FEATURES ========== */
.kp-features { background: #1C1A2A; }
.kp-feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.kp-feature-card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; padding: 28px; display: flex; flex-direction: column;
  gap: 12px; transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative; overflow: hidden;
}
.kp-feature-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 16px; padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(171,71,188,0.3), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.kp-feature-card::after {
  content: ''; position: absolute; inset: 0; border-radius: 16px;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(171,71,188,0.06), transparent 60%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.kp-feature-card:hover {
  background: rgba(255,255,255,0.05); border-color: rgba(171,71,188,0.2);
  transform: translateY(-6px); box-shadow: 0 20px 48px rgba(0,0,0,0.25);
}
.kp-feature-card:hover::before { opacity: 1; }
.kp-feature-card:hover::after { opacity: 1; }
.kp-feature-icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(171,71,188,0.1); display: flex; align-items: center;
  justify-content: center; color: #ce93d8; flex-shrink: 0;
  transition: all 0.3s;
}
.kp-feature-card:hover .kp-feature-icon-wrap {
  background: rgba(171,71,188,0.18); transform: scale(1.05);
}
.kp-feature-card h3 {
  font-size: 1rem; font-weight: 700; color: #fff; margin: 0;
}
.kp-feature-card p {
  font-size: 0.875rem; line-height: 1.6; color: #919EAB; margin: 0;
}

/* ========== STATS BANNER ========== */
.kp-stats-banner {
  background: linear-gradient(135deg, rgba(171,71,188,0.06), rgba(123,31,162,0.04));
  border-top: 1px solid rgba(171,71,188,0.06); border-bottom: 1px solid rgba(171,71,188,0.06);
  padding: 64px 0; position: relative; overflow: hidden;
}
.kp-stats-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 100% at 50% 50%, rgba(171,71,188,0.03) 0%, transparent 60%);
}
.kp-stats-grid {
  display: flex; justify-content: center; align-items: center; gap: 48px;
  position: relative; z-index: 1;
}
.kp-stats-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.kp-stats-num {
  font-size: 2.5rem; font-weight: 900; color: #fff; letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff, #ce93d8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.kp-stats-label {
  font-size: 0.875rem; color: #919EAB; font-weight: 500;
}
.kp-stats-divider {
  width: 1px; height: 48px; background: rgba(255,255,255,0.08);
}

/* ========== DOWNLOAD ========== */
.kp-download { background: #1C1A2A; }
.kp-download-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  max-width: 700px; margin: 0 auto;
}
.kp-download-card {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  padding: 20px 24px; border-radius: 14px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  color: #e0e0e0; transition: all 0.35s cubic-bezier(0.4,0,0.2,1); cursor: pointer;
  position: relative; overflow: hidden;
}
.kp-download-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 14px; padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(171,71,188,0.25), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s; pointer-events: none;
}
.kp-download-card:hover {
  background: rgba(255,255,255,0.05); border-color: rgba(171,71,188,0.25);
  transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.kp-download-card:hover::before { opacity: 1; }
.kp-download-card svg:first-child { color: #ce93d8; flex-shrink: 0; }
.kp-download-card div { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.kp-download-label { font-size: 0.6875rem; font-weight: 600; color: #919EAB; text-transform: uppercase; letter-spacing: 0.06em; }
.kp-download-name { font-size: 0.9375rem; font-weight: 600; color: #fff; }
.kp-download-arrow { color: #919EAB; opacity: 0; transition: all 0.3s; }
.kp-download-card:hover .kp-download-arrow { opacity: 1; transform: translateX(6px); color: #ce93d8; }

/* ========== STEPS ========== */
.kp-steps { background: #1C1A2A; }
.kp-steps-flow {
  display: flex; flex-direction: column; gap: 0; max-width: 600px;
  margin: 0 auto; position: relative;
}
.kp-step-item {
  display: flex; align-items: flex-start; gap: 24px; position: relative;
  padding-bottom: 40px;
}
.kp-step-item:last-child { padding-bottom: 0; }
.kp-step-connector {
  position: absolute; left: 20px; top: 48px; bottom: 0; width: 2px;
  background: linear-gradient(to bottom, rgba(171,71,188,0.4), rgba(171,71,188,0.05));
}
.kp-step-item:last-child .kp-step-connector { display: none; }
.kp-step-circle {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, #ab47bc, #7B1FA2); display: flex;
  align-items: center; justify-content: center; color: #fff; z-index: 2;
  box-shadow: 0 4px 16px rgba(171,71,188,0.3);
  transition: all 0.3s;
}
.kp-step-item:hover .kp-step-circle {
  transform: scale(1.1); box-shadow: 0 6px 24px rgba(171,71,188,0.4);
}
.kp-step-body { padding-top: 8px; }
.kp-step-body h3 { font-size: 1.125rem; font-weight: 700; color: #fff; margin: 0 0 8px; }
.kp-step-body p { font-size: 0.875rem; line-height: 1.6; color: #919EAB; margin: 0; }
.kp-steps-cta { text-align: center; margin-top: 40px; }

/* ========== TESTIMONIAL ========== */
.kp-testimonial { background: #1C1A2A; }
.kp-testimonial-card {
  max-width: 640px; margin: 0 auto; text-align: center;
  padding: 48px 40px; border-radius: 20px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  position: relative; overflow: hidden;
}
.kp-testimonial-glow {
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(171,71,188,0.03) 0%, transparent 60%);
  pointer-events: none; animation: kpGlowPulse 6s ease-in-out infinite;
}
.kp-testimonial-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 20px; padding: 1px;
  background: linear-gradient(135deg, transparent 30%, rgba(171,71,188,0.2), transparent 70%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.kp-quote { margin: 0 auto 20px; display: block; color: #ab47bc; position: relative; z-index: 1; }
.kp-testimonial-card blockquote {
  font-size: 1.125rem; line-height: 1.7; color: rgba(255,255,255,0.8);
  margin: 0 0 24px; font-style: italic; font-weight: 400; position: relative; z-index: 1;
}
.kp-testimonial-author {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  position: relative; z-index: 1;
}
.kp-testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, #ab47bc, #7B1FA2); display: flex;
  align-items: center; justify-content: center; font-size: 0.9375rem;
  font-weight: 700; color: #fff; flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(171,71,188,0.3);
}
.kp-testimonial-author div { display: flex; flex-direction: column; gap: 1px; text-align: left; }
.kp-testimonial-name { font-size: 0.875rem; font-weight: 600; color: #fff; }
.kp-testimonial-role { font-size: 0.75rem; color: #919EAB; }

/* ========== FAQ TEASER ========== */
.kp-faq-teaser { background: #1C1A2A; }
.kp-faq-teaser-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
  max-width: 900px; width: 100%; margin: 0 auto; min-width: 0;
}
.kp-faq-teaser-card {
  border-radius: 14px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s; overflow: hidden; min-width: 0;
  position: relative;
}
.kp-faq-teaser-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 14px; padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(171,71,188,0.2), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.kp-faq-teaser-card:hover { border-color: rgba(171,71,188,0.15); background: rgba(255,255,255,0.03); }
.kp-faq-teaser-card:hover::before { opacity: 1; }
.kp-faq-teaser-card[open] {
  border-color: rgba(171,71,188,0.25);
  background: rgba(171,71,188,0.04);
}
.kp-faq-teaser-card[open]::before { opacity: 1; }
.kp-faq-teaser-card summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; cursor: pointer; user-select: none;
  font-size: 0.9375rem; font-weight: 600; color: #fff; line-height: 1.4;
  overflow-wrap: break-word; word-break: break-word;
}
.kp-faq-teaser-card summary::-webkit-details-marker { display: none; }
.kp-faq-teaser-card summary::after {
  content: ""; flex-shrink: 0; width: 20px; height: 20px;
  margin-left: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform 0.25s;
}
.kp-faq-teaser-card[open] summary::after { transform: rotate(180deg); }
.kp-faq-teaser-card summary:hover { color: #ce93d8; }
.kp-faq-teaser-card p {
  font-size: 0.875rem; line-height: 1.7; color: #b0b6c0;
  margin: 0; padding: 0 24px 20px; overflow-wrap: break-word; word-break: break-word;
}
.kp-faq-teaser-card p a { color: #ce93d8; text-decoration: none; }
.kp-faq-teaser-card p a:hover { text-decoration: underline; }


/* ========== POPULAR GUIDES (HOMEPAGE) ========== */
.kp-popular-guides { background: rgba(255,255,255,0.01); }
.kp-popular-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 48px;
}
.kp-popular-card {
  display: flex; flex-direction: column; border-radius: 16px; overflow: hidden;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none; transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.kp-popular-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 16px; padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(171,71,188,0.3), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.kp-popular-card:hover {
  transform: translateY(-6px); border-color: rgba(171,71,188,0.3);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}
.kp-popular-card:hover::before { opacity: 1; }
.kp-popular-thumb {
  height: 160px; overflow: hidden; background: linear-gradient(135deg, #2a1a3e, #1C1A2A);
  display: flex; align-items: center; justify-content: center;
}
.kp-popular-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms cubic-bezier(0.4,0,0.2,1); }
.kp-popular-card:hover .kp-popular-thumb img { transform: scale(1.08); }
.kp-popular-placeholder {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
}
.kp-popular-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.kp-popular-cat {
  font-size: 0.625rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #ce93d8;
}
.kp-popular-body h3 {
  font-size: 0.875rem; font-weight: 700; color: #fff; margin: 0; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.kp-popular-body p {
  font-size: 0.8125rem; color: rgba(255,255,255,0.5); margin: 0; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.kp-popular-meta {
  font-size: 0.6875rem; color: rgba(255,255,255,0.3);
}
.kp-popular-cta { text-align: center; margin-top: 32px; }

/* ========== BLOG PREVIEW (HOMEPAGE) ========== */
.kp-blog-preview { background: rgba(255,255,255,0.01); }
.kp-blog-preview-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px;
}
.kp-blog-preview-card {
  display: block; background: rgba(255,255,255,0.02); border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06); overflow: hidden;
  text-decoration: none; transition: all 250ms;
}
.kp-blog-preview-card:hover {
  transform: translateY(-4px); border-color: rgba(171,71,188,0.3);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.kp-blog-preview-thumb {
  position: relative; height: 180px; background: linear-gradient(135deg, #2a1a3e, #1C1A2A);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.kp-blog-preview-thumb img { width: 100%; height: 100%; object-fit: cover; }
.kp-blog-preview-placeholder svg { width: 48px; height: 48px; color: rgba(255,255,255,0.1); }
.kp-blog-preview-cat {
  position: absolute; top: 12px; left: 12px;
  padding: 4px 12px; border-radius: 100px;
  background: rgba(171,71,188,0.85); color: #fff;
  font-size: 0.75rem; font-weight: 600;
}
.kp-blog-preview-body { padding: 20px; }
.kp-blog-preview-body h3 {
  font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 8px;
  line-height: 1.4;
}
.kp-blog-preview-body p {
  font-size: 0.875rem; color: #919EAB; margin: 0 0 12px; line-height: 1.6;
}
.kp-blog-preview-meta {
  font-size: 0.75rem; color: rgba(255,255,255,0.35);
}
.kp-blog-preview-cta { text-align: center; margin-top: 32px; }

/* ========== CTA BANNER ========== */
.kp-cta-banner {
  background: linear-gradient(135deg, rgba(171,71,188,0.08), rgba(123,31,162,0.04));
  border-top: 1px solid rgba(171,71,188,0.08);
  position: relative; overflow: hidden;
}
.kp-cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(171,71,188,0.04) 0%, transparent 60%);
}
.kp-cta-inner {
  text-align: center; max-width: 600px; margin: 0 auto;
  position: relative; z-index: 1;
}
.kp-cta-inner h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800;
  color: #fff; margin: 0 0 12px; line-height: 1.2;
}
.kp-cta-inner p {
  font-size: 1.0625rem; color: #919EAB; margin: 0 0 28px; line-height: 1.6;
}

/* ========== FOOTER ========== */
.kp-footer {
  background: #1C1A2A; padding: 80px 0 40px;
  position: relative;
}
.kp-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(171,71,188,0.4), transparent);
}
.kp-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 64px; }
.kp-footer-brand svg { margin-bottom: 16px; }
.kp-footer-tagline {
  font-size: 0.875rem; color: #919EAB; max-width: 320px; line-height: 1.6;
  margin: 0 0 20px;
}
.kp-footer-links-col h4 {
  font-size: 0.75rem; font-weight: 700; color: #fff; text-transform: uppercase;
  margin: 0 0 20px; letter-spacing: 0.06em;
}
.kp-footer-links-col a {
  display: block; font-size: 0.875rem; color: rgba(255,255,255,0.55);
  text-decoration: none; padding: 5px 0; transition: all 200ms;
}
.kp-footer-links-col a:hover {
  color: #ce93d8; padding-left: 4px;
}
.kp-footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px; margin-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.8125rem; color: #919EAB;
}
.kp-footer-disclaimer {
  color: rgba(255,255,255,0.3); font-size: 0.75rem;
}
.kp-social-links {
  display: flex; gap: 10px; margin-top: 0;
}
.kp-social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.04); transition: all 200ms;
}
.kp-social-links a:hover {
  background: rgba(171,71,188,0.15); transform: translateY(-2px);
}
.kp-social-links a:hover svg { fill: #ce93d8; }

/* ========== PAGE HEADER ========== */
.kp-page-header {
  text-align: center; padding: 120px 0 48px;
}
.kp-page-header h1 {
  font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.2;
  color: #fff; margin: 0 0 16px;
}
.kp-page-header p {
  font-size: clamp(1rem, 2vw, 1.125rem); line-height: 1.6;
  color: #919EAB; max-width: 600px; margin: 0 auto;
}
.kp-page-header .kp-section-tag { margin-bottom: 20px; }

/* ========== FORMS ========== */
.kp-form-wrap { max-width: 700px; margin: 0 auto; }
.kp-form { display: flex; flex-direction: column; gap: 24px; }
.kp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.kp-form-group { display: flex; flex-direction: column; gap: 8px; }
.kp-form-group label {
  font-size: 0.875rem; font-weight: 600; color: #fff;
}
.kp-form-group input, .kp-form-group textarea, .kp-form-group select {
  padding: 12px 16px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03); color: #fff; font-size: 0.875rem;
  font-family: 'Public Sans', Helvetica, Arial, sans-serif; outline: none;
  transition: all 200ms;
}
.kp-form-group input:focus, .kp-form-group textarea:focus, .kp-form-group select:focus {
  border-color: rgba(171,71,188,0.4); box-shadow: 0 0 0 3px rgba(171,71,188,0.08);
}
.kp-form-group input::placeholder, .kp-form-group textarea::placeholder {
  color: rgba(255,255,255,0.2);
}
.kp-form-group textarea { resize: vertical; }
.kp-form button[type="submit"] { align-self: center; margin-top: 8px; }

/* ========== FAQ ACCORDION ========== */
.kp-faq-list {
  max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px;
}
.kp-faq-item {
  background: rgba(255,255,255,0.02); border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}
.kp-faq-question {
  padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 1rem;
  color: #fff; display: flex; justify-content: space-between;
  align-items: center; user-select: none; transition: all 200ms;
}
.kp-faq-question::after {
  content: '+'; font-size: 1.5rem; font-weight: 300; color: #ab47bc;
  transition: transform 200ms;
}
.kp-faq-item.open .kp-faq-question::after { transform: rotate(45deg); }
.kp-faq-question:hover { color: #ce93d8; }
.kp-faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 300ms ease, padding 300ms ease;
  padding: 0 24px; color: #919EAB; font-size: 0.875rem; line-height: 1.6;
}
.kp-faq-item.open .kp-faq-answer {
  max-height: 600px; padding: 0 24px 20px;
}
.kp-faq-answer p { margin: 0 0 12px; }
.kp-faq-answer ul { margin: 8px 0; padding-left: 20px; }
.kp-faq-answer li { margin-bottom: 4px; }

/* ========== LEGAL ========== */
.kp-legal { max-width: 800px; margin: 0 auto; }
.kp-legal h2 {
  font-size: 1.25rem; font-weight: 700; color: #fff; margin: 40px 0 16px;
}
.kp-legal h3 {
  font-size: 1.125rem; font-weight: 600; color: #fff; margin: 32px 0 12px;
}
.kp-legal p {
  font-size: 0.875rem; color: #919EAB; line-height: 1.714; margin: 0 0 16px;
}
.kp-legal strong { color: #fff; }
.kp-legal a { color: #ce93d8; }
.kp-legal ul { margin: 8px 0 16px; padding-left: 20px; }
.kp-legal li { font-size: 0.875rem; color: #919EAB; line-height: 1.714; margin-bottom: 4px; }

/* ========== TABS ========== */
.kp-tabs {
  display: flex; justify-content: center; gap: 0; margin-bottom: 48px;
  background: rgba(255,255,255,0.03); border-radius: 12px; overflow: hidden;
  max-width: 500px; margin-left: auto; margin-right: auto;
  border: 1px solid rgba(255,255,255,0.06);
}
.kp-tab {
  flex: 1; text-align: center; padding: 14px 24px; font-weight: 600;
  font-size: 0.875rem; color: #919EAB; text-decoration: none; transition: all 200ms;
}
.kp-tab.active { background: #ab47bc; color: #fff; }
.kp-tab:hover:not(.active) { color: #fff; }

/* ========== PLAYLIST ========== */
.kp-playlist-tabs {
  display: flex; gap: 0; margin-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.kp-pl-tab {
  padding: 12px 24px; background: none; border: none; color: #919EAB;
  font-weight: 600; font-size: 0.875rem; cursor: pointer;
  border-bottom: 2px solid transparent; transition: all 200ms;
  font-family: 'Public Sans', Helvetica, Arial, sans-serif;
}
.kp-pl-tab.active { color: #ce93d8; border-bottom-color: #ab47bc; }
.kp-pl-tab:hover { color: #fff; }
.kp-playlist-panel { display: none; }
.kp-playlist-panel.active { display: block; }

/* ========== PRICING ========== */
.kp-activate-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 900px; margin: 0 auto;
}
.kp-pricing-card {
  background: rgba(255,255,255,0.02); border-radius: 16px; padding: 32px 24px;
  text-align: center; border: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden;
}
.kp-pricing-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 16px; padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(171,71,188,0.2), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s; pointer-events: none;
}
.kp-pricing-card:hover {
  transform: translateY(-6px); border-color: rgba(171,71,188,0.2);
  box-shadow: 0 20px 48px rgba(0,0,0,0.25);
}
.kp-pricing-card:hover::before { opacity: 1; }
.kp-pricing-card.featured {
  border-color: rgba(171,71,188,0.3);
  background: rgba(171,71,188,0.06); transform: scale(1.05);
}
.kp-pricing-card.featured:hover { transform: scale(1.05) translateY(-6px); }
.kp-pricing-card .kp-section-tag { font-size: 0.6875rem; padding: 4px 12px; margin-bottom: 0; }
.kp-pricing-card h3 { font-size: 1.125rem; font-weight: 700; color: #fff; margin: 0; }
.kp-pricing-card .kp-price { font-size: 2rem; font-weight: 800; color: #ce93d8; }
.kp-pricing-card ul { list-style: none; padding: 0; margin: 0; }
.kp-pricing-card li {
  font-size: 0.875rem; color: #919EAB; padding: 4px 0;
}
.kp-pricing-card li::before { content: '\2713  '; color: #81c784; }

/* ========== HAMBURGER ========== */
.kp-hamburger {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 4px;
}
.kp-hamburger span {
  width: 24px; height: 2px; background: #fff; border-radius: 2px;
  transition: all 200ms;
}
.kp-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.kp-hamburger.open span:nth-child(2) { opacity: 0; }
.kp-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ========== KEYFRAMES ========== */
@keyframes kp-shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ========== BLOG ARCHIVE ========== */
.kp-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kp-blog-card {
  background: rgba(255,255,255,0.02); border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06); transition: all 300ms cubic-bezier(0.4,0,0.2,1);
  position: relative;
}
.kp-blog-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 16px; padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(171,71,188,0.4), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 300ms; pointer-events: none;
}
.kp-blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25), 0 0 0 1px rgba(171,71,188,0.15);
}
.kp-blog-card:hover::before { opacity: 1; }
.kp-blog-card-img { display: block; overflow: hidden; position: relative; }
.kp-blog-card-img img {
  width: 100%; height: 200px; object-fit: cover; display: block;
  transition: transform 400ms cubic-bezier(0.4,0,0.2,1);
}
.kp-blog-card:hover .kp-blog-card-img img { transform: scale(1.05); }
.kp-blog-card-body { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.kp-blog-card-meta {
  font-size: 0.75rem; color: #919EAB; display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
}
.kp-blog-card-kw, .kp-blog-single-kw {
  display: inline-block; font-size: 0.625rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 2px 10px; border-radius: 100px;
  background: rgba(171,71,188,0.15); color: #ce93d8; border: 1px solid rgba(171,71,188,0.2);
  white-space: nowrap;
}
.kp-blog-card-cats a {
  color: #ce93d8; text-decoration: none; font-weight: 600;
}
.kp-blog-card-cats a:hover { text-decoration: underline; }
.kp-blog-card-body h2 {
  margin: 0; font-size: 0.9375rem; font-weight: 600; line-height: 1.5;
  display: block; color: #fff;
}
.kp-blog-card-body h2 a {
  color: #fff; text-decoration: none !important; transition: color 200ms; display: block;
}
.kp-blog-card-body h2 a:hover { color: #ce93d8; text-decoration: none !important; }
.kp-blog-card:hover .kp-blog-card-body h2 a {
  background-image: linear-gradient(135deg, #ce93d8, #ab47bc);
}
.kp-blog-card-body p {
  font-size: 0.8125rem; color: rgba(255,255,255,0.5); margin: 0; line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.kp-blog-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: auto;
}
.kp-blog-read-more {
  font-size: 0.8125rem; font-weight: 600; color: #ce93d8; text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px; transition: gap 200ms;
}
.kp-blog-read-more::after { content: '\2192'; transition: transform 200ms; }
.kp-blog-read-more:hover { gap: 8px; }
.kp-blog-read-more:hover::after { transform: translateX(2px); }
.kp-blog-reading-time {
  font-size: 0.75rem; color: rgba(255,255,255,0.3);
}

/* ========== BLOG PAGINATION ========== */
.kp-blog-pagination { margin-top: 48px; text-align: center; }
.kp-blog-pagination ul {
  display: inline-flex; gap: 8px; list-style: none; padding: 0; margin: 0;
}
.kp-blog-pagination li { display: inline; }
.kp-blog-pagination a, .kp-blog-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 12px; border-radius: 8px;
  background: rgba(255,255,255,0.03); color: #fff; text-decoration: none;
  font-size: 0.875rem; transition: all 150ms;
}
.kp-blog-pagination a:hover { background: rgba(171,71,188,0.12); color: #ce93d8; }
.kp-blog-pagination .current { background: #ab47bc; color: #fff; font-weight: 700; }

/* ========== BLOG SINGLE ========== */
.kp-blog-single { max-width: 800px; margin: 0 auto; }
.kp-breadcrumbs {
  font-size: 0.8125rem; color: #919EAB; margin-bottom: 24px;
}
.kp-breadcrumbs a { color: #ce93d8; text-decoration: none; }
.kp-breadcrumbs a:hover { text-decoration: underline; }
.kp-breadcrumbs span { color: #fff; }
.kp-blog-single-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; color: #fff;
  margin: 0 0 16px; line-height: 1.2;
}
.kp-blog-single-meta {
  font-size: 0.875rem; color: #919EAB; display: flex; gap: 16px;
  flex-wrap: wrap; margin-bottom: 32px;
}
.kp-blog-single-meta a { color: #ce93d8; text-decoration: none; }
.kp-blog-single-meta a:hover { text-decoration: underline; }
.kp-blog-single-img { margin-bottom: 32px; }
.kp-blog-single-img img { width: 100%; height: auto; border-radius: 12px; }
.kp-blog-single-img--placeholder { min-height: 320px; border-radius: 12px; overflow: hidden; }

.kp-card-placeholder {
  width: 100%; height: 100%; min-height: 200px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(135deg, #7B1FA2 0%, #4A148C 40%, #2A1144 70%, #1C1A2A 100%);
  position: relative; overflow: hidden;
}
.kp-card-placeholder::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(171,71,188,0.3) 0%, transparent 60%);
}
.kp-card-placeholder::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}
.kp-blog-card .kp-card-placeholder::after {
  background-image: linear-gradient(90deg, transparent 25%, rgba(255,255,255,0.03) 50%, transparent 75%);
  background-size: 200% 100%;
  animation: kp-shimmer 4s ease-in-out infinite;
}
.kp-card-placeholder-icon {
  opacity: 0.5; position: relative; z-index: 1;
  transition: all 300ms;
}
.kp-blog-card:hover .kp-card-placeholder-icon { opacity: 0.8; filter: drop-shadow(0 0 12px rgba(171,71,188,0.5)); }
.kp-card-placeholder-cat {
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45); font-weight: 700; position: relative; z-index: 1;
  padding: 4px 14px; border-radius: 100px;
  background: rgba(171,71,188,0.2); border: 1px solid rgba(171,71,188,0.2);
  backdrop-filter: blur(4px);
}
.kp-blog-single-content {
  font-size: 1.0625rem; line-height: 1.85; color: rgba(255,255,255,0.82);
}
.kp-blog-single-content h2 {
  color: #fff; font-size: 1.5rem; font-weight: 700; margin: 48px 0 16px; padding-top: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 12px; line-height: 1.3;
}
.kp-blog-single-content h3 {
  color: #ce93d8; font-size: 1.1875rem; font-weight: 600; margin: 36px 0 12px;
}
.kp-blog-single-content p { margin: 0 0 20px; }
.kp-blog-single-content a {
  color: #ce93d8; text-decoration: none;
  box-shadow: inset 0 -1px 0 rgba(171,71,188,0.3); transition: all 200ms;
}
.kp-blog-single-content a:hover {
  box-shadow: inset 0 -2px 0 #ce93d8; color: #e1bee7;
}
.kp-blog-single-content ul, .kp-blog-single-content ol {
  margin: 0 0 20px; padding-left: 24px;
}
.kp-blog-single-content ul { list-style: none; padding-left: 0; }
.kp-blog-single-content ul li {
  padding-left: 24px; position: relative; margin-bottom: 10px;
}
.kp-blog-single-content ul li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, #ab47bc, #7B1FA2);
}
.kp-blog-single-content ol li { margin-bottom: 10px; }
.kp-blog-single-content img {
  max-width: 100%; height: auto; border-radius: 10px; margin: 24px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.kp-blog-single-content figure { margin: 24px 0; }
.kp-blog-single-content figcaption {
  font-size: 0.8125rem; color: #919EAB; text-align: center; margin-top: 8px; font-style: italic;
}
.kp-blog-single-content blockquote {
  border: none; padding: 24px 24px 24px 28px; margin: 32px 0;
  color: rgba(255,255,255,0.75); font-style: italic; font-size: 1.0625rem;
  background: linear-gradient(135deg, rgba(171,71,188,0.06), transparent);
  border-radius: 12px; position: relative;
}
.kp-blog-single-content blockquote::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, #ab47bc, #7B1FA2); border-radius: 2px;
}
.kp-blog-single-content blockquote p:last-child { margin-bottom: 0; }
.kp-blog-single-content pre, .kp-blog-single-content code {
  font-size: 0.875rem;
}
.kp-blog-single-content code {
  background: rgba(171,71,188,0.1); color: #e1bee7;
  border-radius: 4px; padding: 2px 6px;
}
.kp-blog-single-content pre {
  background: #14131f; border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 20px; overflow-x: auto; margin: 24px 0;
  position: relative;
}
.kp-blog-single-content pre code {
  background: none; color: rgba(255,255,255,0.8); padding: 0;
}
.kp-blog-single-content table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  font-size: 0.9375rem;
}
.kp-blog-single-content th, .kp-blog-single-content td {
  padding: 12px 16px; text-align: left; border: 1px solid rgba(255,255,255,0.08);
}
.kp-blog-single-content th {
  background: rgba(171,71,188,0.1); color: #fff; font-weight: 600;
}
.kp-blog-single-content td { color: rgba(255,255,255,0.7); }
.kp-blog-single-content tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.kp-blog-single-content hr {
  border: none; height: 1px; background: linear-gradient(90deg, transparent, rgba(171,71,188,0.3), transparent);
  margin: 40px 0;
}
.kp-blog-single-content .wp-block-button a {
  box-shadow: none; display: inline-block;
}
/* Callout boxes */
.kp-blog-single-content .wp-block-group.is-style-note,
.kp-blog-single-content .wp-block-group.is-style-tip,
.kp-blog-single-content .wp-block-group.is-style-warning,
.kp-note, .kp-tip, .kp-warning {
  border-radius: 12px; padding: 20px 24px; margin: 24px 0;
  border-left: 3px solid;
}
.kp-blog-single-content .wp-block-group.is-style-note,
.kp-note { background: rgba(33,150,243,0.06); border-color: #2196F3; }
.kp-blog-single-content .wp-block-group.is-style-tip,
.kp-tip { background: rgba(76,175,80,0.06); border-color: #4CAF50; }
.kp-blog-single-content .wp-block-group.is-style-warning,
.kp-warning { background: rgba(255,152,0,0.06); border-color: #FF9800; }
.kp-blog-single-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.06);
}
.kp-blog-nav-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 20px; border-radius: 12px;
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  text-decoration: none; transition: all 250ms;
}
.kp-blog-nav-card:hover {
  background: rgba(171,71,188,0.06); border-color: rgba(171,71,188,0.2);
  transform: translateY(-2px);
}
.kp-blog-nav-card--next { text-align: right; }
.kp-blog-nav-label {
  font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35); font-weight: 600;
}
.kp-blog-nav-title {
  font-size: 0.875rem; font-weight: 600; color: #ce93d8; line-height: 1.4;
}

/* ========== BLOG SINGLE IMPROVEMENTS ========== */
.kp-toc {
  background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px; padding: 20px 24px; margin-bottom: 32px;
}
.kp-toc strong { display: block; color: #fff; font-size: 0.875rem; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.kp-toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.kp-toc li { font-size: 0.875rem; color: #919EAB; }
.kp-toc a { color: #ce93d8; text-decoration: none; }
.kp-toc a:hover { text-decoration: underline; }
.kp-author-box {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px; margin-top: 32px;
  background: rgba(255,255,255,0.02); border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
}
.kp-author-avatar { flex-shrink: 0; }
.kp-author-info { display: flex; flex-direction: column; gap: 4px; }
.kp-author-info strong { color: #fff; font-size: 0.9375rem; }
.kp-author-info span { color: #919EAB; font-size: 0.8125rem; line-height: 1.5; }
.kp-related-posts { margin-top: 48px; }
.kp-related-posts h3 { color: #fff; font-size: 1.25rem; margin-bottom: 24px; }
.kp-related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.kp-related-card {
  display: flex; flex-direction: row; gap: 14px;
  background: rgba(255,255,255,0.02); border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 12px; transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  position: relative; overflow: hidden;
}
.kp-related-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 12px; padding: 1px;
  background: linear-gradient(135deg, transparent 40%, rgba(171,71,188,0.2), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.35s; pointer-events: none;
}
.kp-related-card:hover {
  background: rgba(255,255,255,0.04); border-color: rgba(171,71,188,0.2);
  transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.kp-related-card:hover::before { opacity: 1; }
.kp-related-card-img {
  flex-shrink: 0; width: 88px; height: 72px; border-radius: 8px;
  overflow: hidden; display: block;
}
.kp-related-card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 350ms;
}
.kp-related-card:hover .kp-related-card-img img { transform: scale(1.08); }
.kp-related-placeholder {
  width: 100%; height: 100%; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2a1a3e, #1C1A2A);
}
.kp-related-card-body {
  display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1;
}
.kp-related-card-meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.6875rem; color: rgba(255,255,255,0.35);
}
.kp-related-card-cat {
  font-size: 0.625rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; padding: 1px 8px; border-radius: 100px;
  background: rgba(171,71,188,0.12); color: #ce93d8; white-space: nowrap;
}
.kp-related-card-body h4 {
  margin: 0; font-size: 0.8125rem; font-weight: 600; line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.kp-related-card-body h4 a {
  color: #fff; text-decoration: none; transition: color 200ms;
}
.kp-related-card-body h4 a:hover { color: #ce93d8; }
.kp-blog-card-footer {
  display: flex; align-items: center; justify-content: space-between; margin-top: auto;
}
.kp-blog-reading-time {
  font-size: 0.75rem; color: #919EAB; white-space: nowrap;
}
.kp-blog-single-meta span { color: #919EAB; font-size: 0.8125rem; }
.kp-blog-single-meta span + span::before { content: '|'; margin: 0 8px; color: rgba(255,255,255,0.1); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .kp-hero-grid { grid-template-columns: 1fr; grid-template-areas: "top" "visual" "bottom"; gap: 32px; }
  .kp-hero-top { text-align: center; align-items: center; }
  .kp-hero-visual { min-height: auto; }
  .kp-hero-bottom { text-align: center; align-items: center; }
  .kp-hero-sub { max-width: 100%; }
  .kp-hero-stats { justify-content: center; }
  .kp-hero-actions { justify-content: center; }
  .kp-hero-visual { min-height: auto; }
  .kp-hero-poster { max-width: 100%; border-radius: 16px; }
  .kp-float-badge--1 { right: 10%; top: 10%; }
  .kp-float-badge--2 { left: 10%; bottom: 15%; }
  .kp-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .kp-faq-teaser-grid { gap: 12px; max-width: 700px; width: 100%; }
  .kp-popular-grid { grid-template-columns: repeat(2, 1fr); }
  .kp-blog-preview-grid { grid-template-columns: 1fr 1fr; }
  .kp-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .kp-section { padding: 60px 0; }
  .kp-hero { min-height: auto; padding: 100px 0 60px; }
  .kp-hero-poster { max-width: 100%; }
  .kp-float-badge { display: none; }
  .kp-hero-stats { gap: 24px; flex-wrap: wrap; }
  .kp-stat-num { font-size: 1.25rem; }
  .kp-feature-grid { grid-template-columns: 1fr; }
  .kp-download-grid { grid-template-columns: 1fr; }
  .kp-stats-grid { flex-wrap: wrap; gap: 24px; }
  .kp-stats-divider { display: none; }
  .kp-testimonial-card { padding: 32px 24px; }
  .kp-popular-grid { grid-template-columns: 1fr; }
  .kp-blog-preview-grid { grid-template-columns: 1fr; }
  .kp-footer-grid { grid-template-columns: 1fr; text-align: center; }
  .kp-footer-tagline { max-width: 100%; }
  .kp-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .kp-social-links { justify-content: center; }
  .kp-hamburger { display: flex; }
  .kp-header-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; background: rgba(28,26,42,0.98); padding: 16px 24px;
    gap: 16px; box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    backdrop-filter: blur(16px);
  }
  .kp-header-nav.open { display: flex; }
  .kp-form-row { grid-template-columns: 1fr; }
  .kp-activate-cards { grid-template-columns: 1fr; }
  .kp-pricing-card.featured { transform: none; }
  .kp-pricing-card.featured:hover { transform: translateY(-6px); }
  .kp-blog-grid { grid-template-columns: 1fr; }
  .kp-related-grid { grid-template-columns: 1fr; }
  .kp-related-card { padding: 10px; gap: 12px; }
  .kp-related-card-img { width: 72px; height: 60px; }
  .kp-blog-single-nav { grid-template-columns: 1fr; }
  .kp-faq-teaser-grid { grid-template-columns: 1fr; max-width: 100%; width: 100%; }
  .kp-faq-teaser-card summary { padding: 14px 16px; font-size: 0.875rem; }
  .kp-faq-teaser-card summary::after { width: 18px; height: 18px; }
  .kp-faq-teaser-card p { padding: 0 16px 14px; font-size: 0.8125rem; }
}
@media (max-width: 480px) {
  .kp-hero-actions { flex-direction: column; align-items: center; }
  .kp-hero-poster { border-radius: 12px; }
  .kp-faq-teaser-grid { gap: 8px; }
  .kp-faq-teaser-card summary { padding: 12px 14px; font-size: 0.8125rem; }
  .kp-faq-teaser-card summary::after { width: 14px; height: 14px; margin-left: 6px; }
  .kp-faq-teaser-card p { padding: 0 14px 12px; }
}
