/**
 * Pixfeed Shortcodes Styles
 * Version: 1.2
 * 
 * À placer dans : /wp-content/themes/uncode-child/css/pixfeed-shortcodes.css
 * 
 * NOUVEAUTÉS v1.2 :
 * - type="gradient" pour CTA avec dégradé violet foncé → violet clair
 * - Encart logo en fond BLANC (pas de hover, pas de violet)
 * - Support logo sur Service Cards
 */

/* =============================================
   VARIABLES GLOBALES PIXFEED
   ============================================== */
:root {
    --pf-purple: #8e44ad;
    --pf-purple-light: #9b59b6;
    --pf-purple-dark: #7d3c98;
    --pf-purple-soft: rgba(142, 68, 173, 0.08);
    --pf-purple-medium: rgba(142, 68, 173, 0.15);
    --pf-purple-gradient: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    --pf-purple-gradient-soft: linear-gradient(135deg, #7d3c98 0%, #8e44ad 40%, #b87fd1 100%);
    --pf-dark: #2c2c2c;
    --pf-gray: #6c6c6c;
    --pf-gray-light: #999999;
    --pf-light: #f9f9f9;
    --pf-white: #ffffff;
    --pf-border: rgba(0,0,0,0.08);
    --pf-border-purple: rgba(142, 68, 173, 0.2);
    --pf-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --pf-shadow-hover: 0 12px 30px rgba(142, 68, 173, 0.15);
    --pf-shadow-purple: 0 8px 25px rgba(142, 68, 173, 0.2);
    --pf-radius: 12px;
    --pf-radius-lg: 16px;
    --pf-radius-xl: 20px;
    --pf-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   1. CTA BOX
   ============================================== */
.pf-cta-box {
    padding: 32px;
    border-radius: var(--pf-radius-lg);
    margin: 30px 0;
    position: relative;
    overflow: hidden;
    background: var(--pf-purple-soft);
    border: 1px solid var(--pf-border-purple);
}

.pf-cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--pf-purple-gradient);
}

.pf-cta-box.pf-cta-filled {
    background: var(--pf-purple-gradient);
    border: none;
}

.pf-cta-box.pf-cta-filled::before {
    display: none;
}

.pf-cta-box.pf-cta-filled .pf-cta-box-title,
.pf-cta-box.pf-cta-filled .pf-cta-box-text {
    color: white;
}

.pf-cta-box.pf-cta-filled .pf-cta-box-text {
    opacity: 0.9;
}

.pf-cta-box.pf-cta-filled .pf-cta-box-icon {
    background: rgba(255,255,255,0.2);
}

.pf-cta-box.pf-cta-filled .pf-cta-box-icon svg {
    stroke: white;
}

.pf-cta-box.pf-cta-filled .pf-cta-box-btn {
    background: white;
    color: var(--pf-purple);
}

.pf-cta-box.pf-cta-filled .pf-cta-box-btn:hover {
    background: var(--pf-light);
    transform: translateY(-2px);
}

.pf-cta-box.pf-cta-outline {
    background: var(--pf-white);
    border: 2px solid var(--pf-purple);
}

/* CTA GRADIENT (violet foncé → violet clair) */
.pf-cta-box.pf-cta-gradient {
    background: var(--pf-purple-gradient-soft);
    border: none;
}

.pf-cta-box.pf-cta-gradient::before {
    display: none;
}

.pf-cta-box.pf-cta-gradient .pf-cta-box-title,
.pf-cta-box.pf-cta-gradient .pf-cta-box-text {
    color: white;
}

.pf-cta-box.pf-cta-gradient .pf-cta-box-text {
    opacity: 0.9;
}

.pf-cta-box.pf-cta-gradient .pf-cta-box-icon {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.pf-cta-box.pf-cta-gradient .pf-cta-box-icon svg {
    stroke: white;
}

.pf-cta-box.pf-cta-gradient .pf-cta-box-btn {
    background: white;
    color: var(--pf-purple);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.pf-cta-box.pf-cta-gradient .pf-cta-box-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ENCART LOGO BLANC pour CTA gradient */
.pf-cta-box.pf-cta-gradient .pf-cta-box-icon.pf-cta-box-icon-logo {
    background: white;
}

.pf-cta-box-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: var(--pf-purple);
}

.pf-cta-box-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.pf-cta-box-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

/* Logo plus grand dans gradient */
.pf-cta-box.pf-cta-gradient .pf-cta-box-icon img {
    width: 40px;
    height: 40px;
}

.pf-cta-box-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--pf-dark);
    margin-bottom: 10px;
}

.pf-cta-box-text {
    color: var(--pf-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.pf-cta-box-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--pf-transition);
    background: var(--pf-purple);
    color: white;
}

.pf-cta-box-btn:hover {
    background: var(--pf-purple-dark);
    transform: translateY(-2px);
    box-shadow: var(--pf-shadow-purple);
    color: white;
}

.pf-cta-box-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* =============================================
   2. SERVICE CARDS
   ============================================== */
.pf-service-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: var(--pf-white);
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-radius-lg);
    margin: 24px 0;
    transition: var(--pf-transition);
    text-decoration: none;
    color: inherit;
}

.pf-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pf-shadow-hover);
    border-color: var(--pf-border-purple);
}

.pf-service-card-icon {
    width: 60px;
    height: 60px;
    background: var(--pf-purple-soft);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--pf-transition);
}

.pf-service-card:hover .pf-service-card-icon {
    background: var(--pf-purple);
}

.pf-service-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--pf-purple);
    stroke-width: 2;
    fill: none;
    transition: var(--pf-transition);
}

.pf-service-card:hover .pf-service-card-icon svg {
    stroke: white;
}

/* ENCART LOGO BLANC pour Service Card - PAS DE HOVER */
.pf-service-card-icon.pf-service-card-icon-logo {
    background: white;
    border: 1px solid var(--pf-border);
}

.pf-service-card:hover .pf-service-card-icon.pf-service-card-icon-logo {
    background: white;
    border-color: var(--pf-border-purple);
}

.pf-service-card-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.pf-service-card-content {
    flex: 1;
}

.pf-service-card-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--pf-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pf-service-card-arrow {
    width: 18px;
    height: 18px;
    stroke: var(--pf-purple);
    stroke-width: 2;
    fill: none;
    transition: var(--pf-transition);
}

.pf-service-card:hover .pf-service-card-arrow {
    transform: translateX(4px);
}

.pf-service-card-desc {
    color: var(--pf-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =============================================
   3. HIGHLIGHT BOX
   ============================================== */
.pf-highlight {
    padding: 24px 28px;
    border-radius: var(--pf-radius);
    margin: 24px 0;
    position: relative;
    background: var(--pf-purple-soft);
    border-left: 4px solid var(--pf-purple);
}

.pf-highlight-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.pf-highlight-icon {
    width: 32px;
    height: 32px;
    background: var(--pf-purple);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-highlight-icon svg {
    width: 18px;
    height: 18px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.pf-highlight-title {
    font-weight: 600;
    color: var(--pf-purple-dark);
}

.pf-highlight-text {
    color: var(--pf-dark);
    line-height: 1.7;
}

.pf-highlight.pf-highlight-strong {
    background: var(--pf-purple-medium);
    border-left-width: 5px;
}

/* =============================================
   4. PRICING INLINE
   ============================================== */
.pf-pricing-inline {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: var(--pf-purple-soft);
    border: 2px solid var(--pf-purple);
    border-radius: var(--pf-radius-lg);
    margin: 20px 0;
}

.pf-pricing-inline-label {
    font-weight: 500;
    color: var(--pf-dark);
}

.pf-pricing-inline-price {
    font-size: 1.75rem;
    font-weight: 700;
    background: var(--pf-purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pf-pricing-inline-period {
    font-size: 0.9rem;
    color: var(--pf-gray);
}

.pf-pricing-inline-btn {
    padding: 10px 20px;
    background: var(--pf-purple);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--pf-transition);
    margin-left: auto;
}

.pf-pricing-inline-btn:hover {
    background: var(--pf-purple-dark);
    transform: translateY(-2px);
    color: white;
}

/* =============================================
   5. STATS ROW
   ============================================== */
.pf-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.pf-stat-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--pf-light);
    border-radius: var(--pf-radius);
    transition: var(--pf-transition);
    border: 1px solid transparent;
}

.pf-stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--pf-shadow);
    background: var(--pf-white);
    border-color: var(--pf-border-purple);
}

.pf-stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--pf-purple-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.pf-stat-label {
    font-size: 0.85rem;
    color: var(--pf-gray);
}

/* =============================================
   6. TESTIMONIAL INLINE
   ============================================== */
.pf-testimonial-inline {
    padding: 32px;
    background: var(--pf-purple-soft);
    border-radius: var(--pf-radius-lg);
    margin: 30px 0;
    position: relative;
    border: 1px solid var(--pf-border-purple);
}

.pf-testimonial-icon {
    position: absolute;
    top: 24px;
    left: 28px;
    width: 40px;
    height: 40px;
    background: var(--pf-purple);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-testimonial-icon svg {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.pf-testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--pf-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    padding-left: 60px;
}

.pf-testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 60px;
}

.pf-testimonial-avatar {
    width: 50px;
    height: 50px;
    background: var(--pf-purple-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.pf-testimonial-info strong {
    display: block;
    color: var(--pf-dark);
    font-weight: 600;
}

.pf-testimonial-info span {
    font-size: 0.9rem;
    color: var(--pf-gray);
}

/* =============================================
   7. CHECKLIST
   ============================================== */
.pf-checklist {
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.pf-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--pf-border);
}

.pf-checklist li:last-child {
    border-bottom: none;
}

.pf-checklist-icon {
    width: 24px;
    height: 24px;
    background: var(--pf-purple-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.pf-checklist-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--pf-purple);
    stroke-width: 3;
    fill: none;
}

.pf-checklist li span {
    color: var(--pf-dark);
    line-height: 1.6;
}

.pf-checklist li.pf-check-included .pf-checklist-icon {
    background: var(--pf-purple);
}

.pf-checklist li.pf-check-included .pf-checklist-icon svg {
    stroke: white;
}

.pf-checklist li.pf-check-excluded .pf-checklist-icon {
    background: var(--pf-light);
}

.pf-checklist li.pf-check-excluded .pf-checklist-icon svg {
    stroke: var(--pf-gray-light);
}

.pf-checklist li.pf-check-excluded span {
    color: var(--pf-gray-light);
    text-decoration: line-through;
}

/* =============================================
   8. FAQ ACCORDION
   ============================================== */
.pf-faq-inline {
    margin: 24px 0;
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-radius);
    overflow: hidden;
}

.pf-faq-item {
    border-bottom: 1px solid var(--pf-border);
}

.pf-faq-item:last-child {
    border-bottom: none;
}

.pf-faq-question {
    width: 100%;
    padding: 20px 24px;
    background: var(--pf-light);
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--pf-dark);
    text-align: left;
    transition: var(--pf-transition);
    font-family: inherit;
    gap: 16px;
}

.pf-faq-question:hover {
    background: var(--pf-purple-soft);
}

.pf-faq-item.active .pf-faq-question {
    background: var(--pf-purple-soft);
    color: var(--pf-purple);
}

.pf-faq-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    stroke: var(--pf-gray);
    stroke-width: 2;
    fill: none;
}

.pf-faq-item.active .pf-faq-arrow {
    transform: rotate(180deg);
    stroke: var(--pf-purple);
}

.pf-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--pf-white);
}

.pf-faq-item.active .pf-faq-answer {
    max-height: 500px;
}

.pf-faq-answer p {
    padding: 20px 24px;
    color: var(--pf-gray);
    line-height: 1.7;
    margin: 0;
}

/* =============================================
   9. BUTTONS
   ============================================== */
.pf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--pf-transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.pf-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.pf-btn-primary {
    background: var(--pf-purple-gradient);
    color: white;
}

.pf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--pf-shadow-purple);
    color: white;
}

.pf-btn-outline {
    background: transparent;
    color: var(--pf-purple);
    border: 2px solid var(--pf-purple);
}

.pf-btn-outline:hover {
    background: var(--pf-purple);
    color: white;
    transform: translateY(-2px);
}

.pf-btn-ghost {
    background: var(--pf-purple-soft);
    color: var(--pf-purple);
}

.pf-btn-ghost:hover {
    background: var(--pf-purple-medium);
}

.pf-btn-sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.pf-btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.pf-btn-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0;
}

/* =============================================
   10. BADGES
   ============================================== */
.pf-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pf-badge svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.pf-badge-default {
    background: var(--pf-purple-soft);
    color: var(--pf-purple);
}

.pf-badge-filled {
    background: var(--pf-purple);
    color: white;
}

.pf-badge-outline {
    background: transparent;
    color: var(--pf-purple);
    border: 1px solid var(--pf-purple);
}

.pf-badge-light {
    background: var(--pf-light);
    color: var(--pf-gray);
}

/* =============================================
   11. PROCESS STEPS
   ============================================== */
.pf-process-steps {
    margin: 30px 0;
}

.pf-process-step {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
}

.pf-process-step:last-child {
    margin-bottom: 0;
}

.pf-process-step::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50px;
    bottom: -24px;
    width: 2px;
    background: var(--pf-purple-soft);
}

.pf-process-step:last-child::before {
    display: none;
}

.pf-process-number {
    width: 42px;
    height: 42px;
    background: var(--pf-purple-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.pf-process-content h4 {
    font-size: 1.1rem;
    color: var(--pf-dark);
    margin-bottom: 6px;
}

.pf-process-content p {
    color: var(--pf-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   12. COMPARATIF TABLE
   ============================================== */
.pf-compare-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: var(--pf-radius);
    overflow: hidden;
    box-shadow: var(--pf-shadow);
}

.pf-compare-table th,
.pf-compare-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--pf-border);
}

.pf-compare-table th {
    background: var(--pf-purple);
    color: white;
    font-weight: 600;
}

.pf-compare-table th:not(:first-child),
.pf-compare-table td:not(:first-child) {
    text-align: center;
}

.pf-compare-table tr:last-child td {
    border-bottom: none;
}

.pf-compare-table tr:hover td {
    background: var(--pf-purple-soft);
}

.pf-compare-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--pf-purple-soft);
    border-radius: 50%;
}

.pf-compare-check svg {
    width: 14px;
    height: 14px;
    stroke: var(--pf-purple);
    stroke-width: 3;
    fill: none;
}

.pf-compare-cross {
    color: var(--pf-gray-light);
    font-size: 1.2rem;
}

/* =============================================
   13. AUTHOR BOX
   ============================================== */
.pf-author-box {
    display: flex;
    gap: 24px;
    padding: 28px;
    background: var(--pf-light);
    border-radius: var(--pf-radius-lg);
    margin: 40px 0;
    align-items: center;
    border: 1px solid var(--pf-border);
}

.pf-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--pf-purple-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.pf-author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.pf-author-avatar-placeholder {
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.pf-author-content h4 {
    font-size: 1.1rem;
    color: var(--pf-dark);
    margin-bottom: 4px;
}

.pf-author-role {
    font-size: 0.9rem;
    color: var(--pf-purple);
    margin-bottom: 10px;
}

.pf-author-bio {
    color: var(--pf-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* =============================================
   14. RELATED POSTS
   ============================================== */
.pf-related-posts {
    margin: 40px 0;
    padding: 32px;
    background: var(--pf-light);
    border-radius: var(--pf-radius-lg);
    border: 1px solid var(--pf-border);
}

.pf-related-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.pf-related-header-icon {
    width: 36px;
    height: 36px;
    background: var(--pf-purple);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-related-header-icon svg {
    width: 18px;
    height: 18px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.pf-related-title {
    font-size: 1.25rem;
    color: var(--pf-dark);
    font-weight: 600;
}

.pf-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.pf-related-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--pf-white);
    border-radius: var(--pf-radius);
    text-decoration: none;
    transition: var(--pf-transition);
    border: 1px solid transparent;
}

.pf-related-item:hover {
    transform: translateX(4px);
    box-shadow: var(--pf-shadow);
    border-color: var(--pf-border-purple);
}

.pf-related-icon {
    width: 40px;
    height: 40px;
    background: var(--pf-purple-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pf-related-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--pf-purple);
    stroke-width: 2;
    fill: none;
}

.pf-related-item-title {
    font-size: 0.95rem;
    color: var(--pf-dark);
    font-weight: 500;
    line-height: 1.4;
}

/* =============================================
   15. SEPARATOR
   ============================================== */
.pf-separator {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
}

.pf-separator::before,
.pf-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pf-border-purple), transparent);
}

.pf-separator-icon {
    width: 40px;
    height: 40px;
    background: var(--pf-purple-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pf-separator-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--pf-purple);
    stroke-width: 2;
    fill: none;
}

/* =============================================
   16. CODE BLOCK
   ============================================== */
.pf-code-block {
    background: #1e1e1e;
    border-radius: var(--pf-radius);
    overflow: hidden;
    margin: 24px 0;
}

.pf-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #2d2d2d;
    border-bottom: 1px solid #3d3d3d;
}

.pf-code-lang {
    font-size: 0.8rem;
    color: var(--pf-purple-light);
    font-weight: 500;
}

.pf-code-copy {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #4d4d4d;
    border-radius: 6px;
    color: #999;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--pf-transition);
    font-family: inherit;
}

.pf-code-copy svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.pf-code-copy:hover {
    background: var(--pf-purple);
    border-color: var(--pf-purple);
    color: white;
}

.pf-code-content {
    padding: 20px;
    overflow-x: auto;
}

.pf-code-content code {
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 0.9rem;
    color: #e0e0e0;
    line-height: 1.6;
    white-space: pre;
}

/* =============================================
   17. NEWSLETTER BOX
   ============================================== */
.pf-newsletter-box {
    padding: 40px;
    background: var(--pf-purple-gradient);
    border-radius: var(--pf-radius-xl);
    text-align: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.pf-newsletter-box::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -150px;
    right: -100px;
}

.pf-newsletter-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    position: relative;
}

.pf-newsletter-header svg {
    width: 28px;
    height: 28px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.pf-newsletter-box h3 {
    color: white;
    font-size: 1.5rem;
    position: relative;
    margin: 0;
}

.pf-newsletter-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    position: relative;
}

.pf-newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
}

.pf-newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-family: inherit;
}

.pf-newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.pf-newsletter-form button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: white;
    color: var(--pf-purple);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--pf-transition);
    font-family: inherit;
}

.pf-newsletter-form button svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.pf-newsletter-form button:hover {
    transform: scale(1.05);
}

/* =============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 768px) {
    .pf-service-card {
        flex-direction: column;
    }

    .pf-pricing-inline {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .pf-pricing-inline-btn {
        margin-left: 0;
    }

    .pf-author-box {
        flex-direction: column;
        text-align: center;
    }

    .pf-newsletter-form {
        flex-direction: column;
    }

    .pf-btn-group {
        flex-direction: column;
    }

    .pf-btn {
        justify-content: center;
    }

    .pf-testimonial-quote,
    .pf-testimonial-author {
        padding-left: 0;
    }

    .pf-testimonial-icon {
        position: static;
        margin-bottom: 16px;
    }
}