/* ==========================================================================
   Real Estate Marketing & Performance Agency Custom Styles
   ========================================================================== */

/* 1. Typography & Badges */
.agency-highlight-text {
    color: var(--primary-color, #228b23) !important;
    font-weight: 800;
    display: inline;
}

.text-gradient-primary {
    color: var(--primary-color, #228b23) !important;
    font-weight: 800;
    display: inline;
}

.agency-badge {
    background: rgba(34, 139, 35, 0.08);
    border: 1px solid rgba(34, 139, 35, 0.25);
    border-radius: 50px;
    padding: 6px 16px;
    color: var(--primary-color, #228b23);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color, #228b23);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(34, 139, 35, 0.7);
    animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 139, 35, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(34, 139, 35, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 139, 35, 0);
    }
}

/* 2. Agency Hero Section */
.agency-hero-section {
    padding: 80px 0 60px;
    background: #ffffff !important;
}

.agency-hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #161e2d;
}

@media (max-width: 991px) {
    .agency-hero-title {
        font-size: 2.35rem;
    }
}

.hero-overlay-gradient {
    display: none;
}

.floating-glass-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    z-index: 2;
    transition: transform 0.3s ease;
}

.floating-glass-card:hover {
    transform: translateY(-4px);
}

.card-top-right {
    top: 24px;
    right: -20px;
}

.card-bottom-left {
    bottom: 24px;
    left: -20px;
}

@media (max-width: 767px) {
    .card-top-right, .card-bottom-left {
        position: static;
        margin-top: 12px;
    }
}

/* 3. 3-Pillar Growth Deck */
.growth-pillar-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.growth-pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
    border-color: rgba(34, 139, 35, 0.3) !important;
}

.growth-pillar-card:hover .pillar-thumbnail-wrap img {
    transform: scale(1.06);
}

.pillar-thumbnail-wrap img {
    transition: transform 0.4s ease;
}

.pillar-arrow-circle {
    width: 36px;
    height: 36px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.growth-pillar-card:hover .pillar-arrow-circle {
    background-color: var(--primary-color, #228b23) !important;
    color: #ffffff !important;
    transform: rotate(45deg);
}

.partner-logo-item {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner-logo-item:hover {
    opacity: 1 !important;
    transform: translateY(-2px);
}

/* 4. Bento Grid Metrics & Capabilities Cloud */
.bento-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.08) !important;
}

.bento-hero-card {
    background-color: var(--primary-color, #228b23) !important;
}

.bento-pill-tag {
    cursor: default;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bento-pill-tag:hover {
    transform: scale(1.05);
}

.pill-mini-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    display: inline-block;
    opacity: 0.8;
}

/* 5. Editorial Market Insights */
.editorial-article-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.editorial-article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.editorial-article-card:hover .editorial-img-wrap img {
    transform: scale(1.06);
}

.editorial-img-wrap img {
    transition: transform 0.45s ease;
}

.hover-primary:hover {
    color: var(--primary-color, #228b23) !important;
}

/* 6. Campaign Pricing & Packages */
.campaign-pricing-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.campaign-pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.featured-campaign-card {
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .featured-campaign-card {
        transform: none;
    }
}

.plan-toggle-btn {
    border: none;
    background: transparent;
    color: #64748b;
    transition: all 0.2s ease;
}

.plan-toggle-btn.active {
    background-color: var(--primary-color, #228b23) !important;
    color: #ffffff !important;
}

/* 7. Onboarding Questionnaire Wizard */
.wizard-card {
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06) !important;
}

.step-circle {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
    background-color: #f1f5f9;
    color: #64748b;
    transition: all 0.25s ease;
}

.step-connector {
    height: 2px;
    background-color: #e2e8f0;
}

.wizard-step-pane {
    animation: fadeInPane 0.3s ease-in-out;
}

@keyframes fadeInPane {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 8. ROI Estimator Calculator */
.agency-calculator-section {
    background-color: #f8fafc;
}

.asset-btn {
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.asset-btn:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.asset-btn.active {
    border-color: var(--primary-color, #228b23) !important;
    background: rgba(34, 139, 35, 0.05) !important;
}

.custom-range {
    height: 8px;
    border-radius: 5px;
    accent-color: var(--primary-color, #228b23);
}

.custom-range::-webkit-slider-thumb {
    background: var(--primary-color, #228b23);
}

.forecast-result-card {
    background: linear-gradient(145deg, #111827 0%, #1f2937 100%) !important;
}

/* 9. Case Studies */
.case-study-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-study-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.09) !important;
}

.case-study-card:hover .case-study-img-wrap img {
    transform: scale(1.05);
}

.case-study-img-wrap img {
    transition: transform 0.5s ease;
}

.backdrop-blur {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
