/* ── PageCraft Frontend Styles ──────────────────────────────────────────── */

/* Keyword bar above landing page */
.pgc-keyword-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #f0fff6 0%, #e8f9ef 100%);
    border: 1px solid #00C755;
    border-left: 4px solid #00C755;
    border-radius: 6px;
    padding: 10px 16px;
    margin-bottom: 24px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    flex-wrap: wrap;
}
.pgc-keyword-label {
    font-size: 12px;
    font-weight: 700;
    color: #00a844;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.pgc-keyword-text {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
}
.pgc-keyword-url {
    font-size: 12px;
    color: #666;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 2px 8px;
    text-decoration: none;
    font-family: monospace;
    margin-left: auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}
.pgc-keyword-url:hover {
    border-color: #00C755;
    color: #00C755;
}

/* Landing page content wrapper */
.pagecraft-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Buttons */
.pgc-btn {
    display: inline-block;
    padding: 14px 32px;
    background: #00C755;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.1s;
}
.pgc-btn:hover {
    background: #00a844;
    transform: translateY(-1px);
}

/* Columns */
.pgc-columns {
    display: flex;
    gap: 24px;
    margin: 20px 0;
}
.pgc-columns .pgc-col {
    flex: 1;
}
.pgc-col-3 .pgc-col {
    flex: 1;
}

/* Opt-in form */
.pgc-optin-form {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 20px 0;
}
.pgc-input {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 10px auto;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    box-sizing: border-box;
}
.pgc-input:focus {
    border-color: #00C755;
    outline: none;
}

/* Countdown */
.pgc-countdown {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 20px 0;
}
.pgc-countdown-item {
    text-align: center;
    background: #1a1a2e;
    color: #fff;
    border-radius: 8px;
    padding: 14px 20px;
    min-width: 70px;
}
.pgc-cd-num {
    display: block;
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}
.pgc-cd-label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    opacity: 0.7;
}

/* Testimonial */
.pgc-testimonial {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.pgc-testimonial-stars {
    color: #f5a623;
    font-size: 20px;
    margin-bottom: 10px;
}
.pgc-testimonial blockquote {
    margin: 0 0 12px;
    font-size: 15px;
    color: #444;
    font-style: italic;
    border: none;
    padding: 0;
}
.pgc-testimonial cite {
    font-size: 13px;
    font-weight: 700;
    color: #888;
}

/* CTA section */
.pgc-cta-section {
    text-align: center;
    padding: 50px 30px;
    background: linear-gradient(135deg, #00C755 0%, #00a844 100%);
    color: #fff;
    border-radius: 10px;
    margin: 20px 0;
}
.pgc-cta-section h2 {
    color: #fff;
    margin-bottom: 20px;
}
.pgc-cta-section .pgc-btn {
    background: #fff;
    color: #00C755 !important;
}
.pgc-cta-section .pgc-btn:hover {
    background: #f0fff6;
}

/* Feature box */
.pgc-feature-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin: 12px 0;
}
.pgc-feature-icon {
    font-size: 32px;
    flex-shrink: 0;
}
.pgc-feature-content h3 {
    margin: 0 0 8px;
    font-size: 18px;
}
.pgc-feature-content p {
    margin: 0;
    color: #666;
}

/* Progress bar */
.pgc-progress-bar-wrap {
    margin: 16px 0;
}
.pgc-progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
}
.pgc-progress-track {
    height: 12px;
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
}
.pgc-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00C755, #00a844);
    border-radius: 6px;
    transition: width 1s ease;
}

/* Bullet list */
.pgc-bullet-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}
.pgc-bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.pgc-bullet-list li:last-child {
    border-bottom: none;
}
.pgc-bullet-list li::before {
    content: "✅";
    flex-shrink: 0;
    margin-top: 1px;
}

/* Quote block */
.pgc-quote-block {
    border-left: 4px solid #00C755;
    padding: 16px 20px;
    background: #f0fff6;
    border-radius: 0 6px 6px 0;
    margin: 20px 0;
    font-size: 16px;
    font-style: italic;
    color: #444;
}

/* Video embed */
.pgc-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 20px 0;
    border-radius: 8px;
}
.pgc-video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

/* Pricing table */
.pgc-pricing-table {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 24px 0;
}
.pgc-pricing-tier {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.pgc-pricing-tier.featured {
    border-color: #00C755;
    transform: scale(1.04);
}
.pgc-pricing-name {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 10px;
}
.pgc-pricing-price {
    font-size: 40px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1;
}
.pgc-pricing-period {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 16px;
}
.pgc-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    text-align: left;
}
.pgc-pricing-features li {
    padding: 6px 0;
    font-size: 14px;
    border-bottom: 1px solid #f5f5f5;
}
.pgc-pricing-features li:last-child { border: none; }

/* Responsive */
@media (max-width: 768px) {
    .pgc-columns {
        flex-direction: column;
    }
    .pgc-countdown {
        flex-wrap: wrap;
    }
    .pgc-pricing-table {
        flex-direction: column;
        align-items: center;
    }
    .pgc-pricing-tier.featured {
        transform: none;
    }
    .pgc-keyword-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .pgc-keyword-url {
        margin-left: 0;
    }
}
