/* ==========================================================================
   PRANGON REAL ESTATE - BUYER'S GUIDE PAGE SPECIFIC STYLES
   ========================================================================== */

/* AutoCAD Grid Blueprint Texture */
.autocad-bg {
    background-color: #f8fafc;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Home Matching Reveal Effect (Blur-to-Clear Fade Up) */
.reveal {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, filter, transform;
}

.reveal.active {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0);
}

/* 1. Guide Hero Banner */
.guide-hero-section {
    padding: 140px 0 50px;
    text-align: center;
}

.guide-hero-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--primary-navy, #0f172a);
    line-height: 1.3;
    margin-top: 8px;
    margin-bottom: 14px;
}

.guide-hero-desc {
    font-size: 15px;
    color: var(--text-muted, #64748b);
    max-width: 650px;
    margin: 0 auto;
}

/* NEW FEATURE: Registration Fee Calculator Strip */
.tax-calculator-strip {
    margin-top: -10px;
    margin-bottom: 30px;
}

.tax-calc-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 20px;
    padding: 24px 32px;
    box-shadow: var(--shadow-md, 0 10px 25px rgba(0,0,0,0.05));
}

.tax-calc-title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.tax-calc-title i {
    font-size: 32px;
}

.tax-calc-title h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary-navy, #0f172a);
    margin: 0 0 4px 0;
}

.tax-calc-title p {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    margin: 0;
}

.tax-calc-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
    background: #f8fafc;
    padding: 20px;
    border-radius: 14px;
    border: 1px dashed var(--border-color, #e2e8f0);
}

.calc-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-navy, #0f172a);
    margin-bottom: 6px;
}

.calc-input-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.calc-result-box {
    background: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color, #e2e8f0);
}

.calc-result-box span {
    font-size: 12px;
    color: var(--text-muted, #64748b);
    font-weight: 600;
    display: block;
}

.calc-result-box h4 {
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-orange, #e65100);
    margin: 4px 0 0 0;
}

/* 2. Steps Timeline Cards Grid */
.guide-steps-section {
    padding: 50px 0 90px;
}

.steps-timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.timeline-step-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 20px;
    padding: 32px 26px;
    position: relative;
    box-shadow: var(--shadow-sm, 0 4px 6px -1px rgba(0,0,0,0.03));
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-orange, #e65100);
    box-shadow: var(--shadow-md, 0 10px 25px rgba(0,0,0,0.05));
}

.step-badge {
    position: absolute;
    top: 20px;
    right: 24px;
    background: #fff7ed;
    color: var(--accent-orange, #e65100);
    font-size: 12px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
}

.step-icon-box {
    width: 54px;
    height: 54px;
    background: var(--primary-navy, #0f172a);
    color: #ffffff;
    font-size: 22px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

.timeline-step-card h3 {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary-navy, #0f172a);
    margin-bottom: 10px;
    line-height: 1.3;
}

.timeline-step-card p {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-check-list li {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-navy, #0f172a);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

/* 3. PDF Guide Download Section */
.guide-download-section {
    padding: 70px 0;
}

.download-card-wrapper {
    background: var(--primary-navy, #0f172a);
    color: #ffffff;
    border-radius: 24px;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: var(--shadow-lg, 0 20px 35px rgba(0,0,0,0.08));
}

.download-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin-top: 6px;
    margin-bottom: 10px;
    color: #ffffff;
}

.download-content p {
    font-size: 14px;
    color: #cbd5e1;
    max-width: 550px;
    margin-bottom: 18px;
}

.download-stats {
    display: flex;
    gap: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
}

.btn-download {
    padding: 16px 32px;
    font-size: 15px;
    white-space: nowrap;
    text-decoration: none;
}

/* 4. Guide FAQ Accordion */
.guide-faq-section {
    padding: 90px 0;
}

.faq-accordion-wrapper {
    max-width: 820px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.guide-faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.guide-faq-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #ffffff;
}

.guide-faq-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-navy, #0f172a);
}

.guide-faq-header i {
    color: var(--accent-orange, #e65100);
    font-size: 14px;
}

.guide-faq-body {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    background: #f8fafc;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.guide-faq-body p {
    font-size: 14px;
    color: var(--text-muted, #64748b);
    line-height: 1.6;
}

.guide-faq-item.active .guide-faq-body {
    max-height: 200px;
    padding: 16px 24px 20px;
    border-top: 1px solid var(--border-color, #e2e8f0);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .tax-calc-body {
        grid-template-columns: 1fr;
    }
    .download-card-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }

    .download-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .guide-hero-title {
        font-size: 28px;
    }

    .timeline-step-card {
        padding: 24px 18px;
    }
}