/* ============================================
   pSEO Landing Page Styles
   New components for conversion-optimized pages
   ============================================ */

/* ----- Navbar Override (White Background + Padding) ----- */
.navbar_component {
    background-color: #ffffff !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    z-index: 1000;
}

.navbar_container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Prevent sidebar from hiding behind sticky navbar */
.blog-sidebar {
    position: sticky;
    top: 5.5rem;
    scroll-margin-top: 5.5rem;
}

/* ----- FTA Badge ----- */
.fta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #1b5e20;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 1px solid #a5d6a7;
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.2);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(46, 125, 50, 0);
    }
}

/* ----- FTA Callout Box ----- */
.fta-callout {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: linear-gradient(135deg, #f1f8e9, #e8f5e9);
    border: 1px solid #c8e6c9;
    border-left: 4px solid #2E7D32;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.fta-callout-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

.fta-callout-content h3 {
    margin: 0 0 0.35rem 0;
    font-size: 1rem;
    color: #1b5e20;
    font-weight: 700;
}

.fta-callout-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #33691e;
    line-height: 1.5;
}

/* ----- Inline Quote Form ----- */
.inline-quote-form {
    background: linear-gradient(135deg, #fafafa, #f5f5f5);
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    margin: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.inline-quote-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2E7D32, #66BB6A, #2E7D32);
}

.quote-form-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.quote-form-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: #1a1a1a;
    font-weight: 700;
}

.quote-form-header p {
    margin: 0.25rem 0 0 0;
    font-size: 0.85rem;
    color: #666;
}

.quote-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.quote-form .form-group {
    display: flex;
    flex-direction: column;
}

.quote-form .form-group.full-width {
    grid-column: 1 / -1;
    margin-bottom: 1rem;
}

.quote-form label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
    padding: 0.65rem 0.85rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: 'Lato', sans-serif;
    transition: all 0.2s ease;
    background: #fff;
    color: #333;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
    outline: none;
    border-color: #2E7D32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.12);
}

.quote-form input::placeholder,
.quote-form textarea::placeholder {
    color: #aaa;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, #2E7D32, #388E3C);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-note {
    text-align: center;
    font-size: 0.78rem;
    color: #888;
    margin-top: 0.75rem;
}

.quote-form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    text-align: center;
}

.quote-form-success h3 {
    margin: 0;
    color: #2E7D32;
    font-size: 1.3rem;
}

.quote-form-success p {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
}

/* ----- Trust Badges (Sidebar) ----- */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.7rem;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ----- Sidebar Specs ----- */
.specs-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.85rem;
}

.spec-item .spec-label {
    color: #888;
    font-weight: 400;
}

.spec-item .spec-value {
    color: #333;
    font-weight: 600;
    text-align: right;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
    .quote-form .form-row {
        grid-template-columns: 1fr;
    }

    .inline-quote-form {
        padding: 1.25rem;
        margin: 1.5rem 0;
    }

    .fta-callout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .quote-form-header {
        flex-direction: column;
        text-align: center;
    }
}