/**
 * FFL-BRO Feature & Solution Pages Stylesheet
 * Version: 1.0.0
 * Add to theme: /wp-content/themes/ffl-bro-theme/css/fflbro-pages.css
 */

/* ===========================================
   BASE STYLES
   =========================================== */

.fflbro-feature-page {
    color: #1a2744;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
}

.fflbro-feature-page * {
    box-sizing: border-box;
}

/* ===========================================
   HERO SECTION
   =========================================== */

.fflbro-feature-page .feature-hero {
    background: linear-gradient(135deg, #1a2744 0%, #0f1729 100%);
    color: #fff;
    padding: 80px 40px;
    text-align: center;
}

.fflbro-feature-page .feature-badge {
    display: inline-block;
    background: rgba(247, 147, 30, 0.2);
    color: #F7931E;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.fflbro-feature-page .feature-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.fflbro-feature-page .feature-hero h1 span {
    color: #F7931E;
}

.fflbro-feature-page .feature-hero > p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.fflbro-feature-page .hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.fflbro-feature-page .hero-stats .stat {
    text-align: center;
}

.fflbro-feature-page .hero-stats .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #F7931E;
}

.fflbro-feature-page .hero-stats .label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ===========================================
   CONTENT SECTIONS
   =========================================== */

.fflbro-feature-page .feature-section {
    padding: 80px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.fflbro-feature-page .feature-section.alt-bg {
    background: #f8f9fa;
    max-width: 100%;
}

.fflbro-feature-page .feature-section.alt-bg > * {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.fflbro-feature-page .feature-section h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 20px;
    color: #1a2744;
    font-weight: 700;
}

.fflbro-feature-page .feature-section h2 span {
    color: #F7931E;
}

.fflbro-feature-page .section-intro {
    text-align: center;
    color: #555;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 50px;
}

/* ===========================================
   PROBLEM & SOLUTION CARDS
   =========================================== */

.fflbro-feature-page .problem-grid,
.fflbro-feature-page .solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.fflbro-feature-page .problem-card,
.fflbro-feature-page .solution-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.fflbro-feature-page .problem-card:hover,
.fflbro-feature-page .solution-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.fflbro-feature-page .problem-card {
    border-top: 4px solid #dc3545;
}

.fflbro-feature-page .solution-card {
    border-top: 4px solid #28a745;
}

.fflbro-feature-page .problem-card .icon,
.fflbro-feature-page .solution-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.fflbro-feature-page .problem-card h4,
.fflbro-feature-page .solution-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1a2744;
    font-weight: 600;
}

.fflbro-feature-page .problem-card p,
.fflbro-feature-page .solution-card p {
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* ===========================================
   FEATURE GRIDS
   =========================================== */

.fflbro-feature-page .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.fflbro-feature-page .feature-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #F7931E;
}

.fflbro-feature-page .feature-card h4 {
    color: #1a2744;
    margin-bottom: 10px;
    font-weight: 600;
}

.fflbro-feature-page .feature-card p {
    color: #555;
    margin: 0;
}

/* ===========================================
   DISTRIBUTOR LOGOS
   =========================================== */

.fflbro-feature-page .distributor-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin: 40px 0;
}

.fflbro-feature-page .distributor-logo {
    background: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    font-weight: 600;
    color: #1a2744;
    transition: transform 0.2s;
}

.fflbro-feature-page .distributor-logo:hover {
    transform: scale(1.05);
}

/* ===========================================
   COMPARISON TABLES
   =========================================== */

.fflbro-feature-page .comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.fflbro-feature-page .comparison-table th,
.fflbro-feature-page .comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.fflbro-feature-page .comparison-table th {
    background: #1a2744;
    color: #fff;
    font-weight: 600;
}

.fflbro-feature-page .comparison-table tr:hover {
    background: #f8f9fa;
}

.fflbro-feature-page .comparison-table .highlight {
    background: rgba(247, 147, 30, 0.1);
}

/* ===========================================
   PROFILE PREVIEW (CRM)
   =========================================== */

.fflbro-feature-page .profile-preview {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 800px;
    margin: 40px auto 0;
}

.fflbro-feature-page .profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #1a2744 0%, #0f1729 100%);
    color: #fff;
}

.fflbro-feature-page .avatar {
    width: 60px;
    height: 60px;
    background: #F7931E;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    color: #1a2744;
}

.fflbro-feature-page .profile-info {
    flex: 1;
}

.fflbro-feature-page .profile-info h3 {
    margin: 0 0 5px;
    color: #fff;
}

.fflbro-feature-page .customer-since {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.fflbro-feature-page .badges {
    margin-top: 8px;
}

.fflbro-feature-page .badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 5px;
}

.fflbro-feature-page .badge.vip {
    background: #F7931E;
    color: #1a2744;
}

.fflbro-feature-page .badge.active {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.fflbro-feature-page .lifetime-value {
    text-align: right;
}

.fflbro-feature-page .lifetime-value .label {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.fflbro-feature-page .lifetime-value .value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #F7931E;
}

.fflbro-feature-page .profile-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
}

.fflbro-feature-page .profile-tabs .tab {
    padding: 15px 25px;
    cursor: pointer;
    color: #555;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.fflbro-feature-page .profile-tabs .tab.active {
    color: #F7931E;
    border-bottom-color: #F7931E;
}

.fflbro-feature-page .profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 25px;
}

.fflbro-feature-page .profile-content h4 {
    color: #1a2744;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.fflbro-feature-page .profile-content p {
    margin: 8px 0;
    color: #555;
    font-size: 0.9rem;
}

.fflbro-feature-page .activity-item,
.fflbro-feature-page .task-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 15px;
    font-size: 0.9rem;
}

.fflbro-feature-page .activity-item .date {
    color: #999;
    min-width: 60px;
}

.fflbro-feature-page .task-item .due {
    color: #F7931E;
    font-weight: 600;
    min-width: 100px;
}

/* ===========================================
   PIPELINE (CRM)
   =========================================== */

.fflbro-feature-page .pipeline-preview {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.fflbro-feature-page .pipeline-stage {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    min-width: 180px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.fflbro-feature-page .pipeline-stage h4 {
    color: #1a2744;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.fflbro-feature-page .stage-count {
    font-size: 2.5rem;
    font-weight: 800;
    color: #F7931E;
    margin-bottom: 15px;
}

.fflbro-feature-page .lead-card.mini {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 8px;
    text-align: left;
}

.fflbro-feature-page .pipeline-arrow {
    font-size: 2rem;
    color: #F7931E;
    margin-top: 40px;
}

.fflbro-feature-page .this-month {
    color: #28a745;
    font-size: 0.85rem;
}

/* ===========================================
   LOYALTY TIERS
   =========================================== */

.fflbro-feature-page .tier-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.fflbro-feature-page .tier-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.fflbro-feature-page .tier-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 15px;
}

.fflbro-feature-page .tier-card.bronze .tier-badge {
    background: #cd7f32;
    color: #fff;
}

.fflbro-feature-page .tier-card.silver .tier-badge {
    background: #c0c0c0;
    color: #333;
}

.fflbro-feature-page .tier-card.gold .tier-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #333;
}

.fflbro-feature-page .tier-card.platinum .tier-badge {
    background: linear-gradient(135deg, #e5e4e2 0%, #a8a8a8 100%);
    color: #333;
}

.fflbro-feature-page .tier-spend {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.fflbro-feature-page .tier-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.fflbro-feature-page .tier-card li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 0.9rem;
}

/* ===========================================
   PAID MEMBERSHIP PLANS
   =========================================== */

.fflbro-feature-page .paid-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.fflbro-feature-page .plan-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.fflbro-feature-page .plan-card.featured {
    border: 3px solid #F7931E;
    transform: scale(1.05);
}

.fflbro-feature-page .popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #F7931E;
    color: #1a2744;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
}

.fflbro-feature-page .plan-card h4 {
    text-align: center;
    color: #1a2744;
    margin-bottom: 10px;
}

.fflbro-feature-page .plan-card .price {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #F7931E;
    margin-bottom: 25px;
}

.fflbro-feature-page .plan-card .price span {
    font-size: 1rem;
    color: #777;
}

.fflbro-feature-page .plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fflbro-feature-page .plan-card li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
}

/* ===========================================
   POINTS SYSTEM (LOYALTY)
   =========================================== */

.fflbro-feature-page .points-system {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.fflbro-feature-page .points-earning,
.fflbro-feature-page .points-rewards {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.fflbro-feature-page .points-earning h3,
.fflbro-feature-page .points-rewards h3 {
    color: #1a2744;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #F7931E;
}

.fflbro-feature-page .earn-rule,
.fflbro-feature-page .reward-option {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.fflbro-feature-page .earn-points {
    color: #28a745;
    font-weight: 600;
}

.fflbro-feature-page .reward-cost {
    background: #F7931E;
    color: #1a2744;
    padding: 3px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.85rem;
}

.fflbro-feature-page .customizable-note {
    text-align: center;
    color: #777;
    font-style: italic;
    margin-top: 30px;
}

/* ===========================================
   MEMBER PORTAL PREVIEW
   =========================================== */

.fflbro-feature-page .portal-preview {
    background: linear-gradient(135deg, #1a2744 0%, #0f1729 100%);
    border-radius: 16px;
    padding: 30px;
    max-width: 600px;
    margin: 40px auto 0;
    color: #fff;
}

.fflbro-feature-page .portal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.fflbro-feature-page .member-greeting {
    font-size: 1.2rem;
}

.fflbro-feature-page .member-tier {
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    color: #333;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}

.fflbro-feature-page .portal-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.fflbro-feature-page .portal-stat {
    text-align: center;
}

.fflbro-feature-page .portal-stat .stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #F7931E;
}

.fflbro-feature-page .portal-stat .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.fflbro-feature-page .portal-actions {
    display: flex;
    gap: 15px;
}

.fflbro-feature-page .portal-actions button {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.9rem;
}

.fflbro-feature-page .portal-actions button:hover {
    background: #F7931E;
    color: #1a2744;
    border-color: #F7931E;
}

/* ===========================================
   AUTO FEATURES (LOYALTY)
   =========================================== */

.fflbro-feature-page .auto-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.fflbro-feature-page .auto-item {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #28a745;
}

.fflbro-feature-page .auto-item h4 {
    color: #1a2744;
    margin-bottom: 10px;
}

.fflbro-feature-page .auto-item p {
    color: #555;
    margin: 0;
}

/* ===========================================
   MARKETING FEATURES (CRM)
   =========================================== */

.fflbro-feature-page .marketing-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.fflbro-feature-page .mkt-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.fflbro-feature-page .mkt-card h4 {
    color: #1a2744;
    margin-bottom: 10px;
}

.fflbro-feature-page .mkt-card p {
    color: #555;
    margin: 0;
}

/* ===========================================
   AUTOMATION GRID
   =========================================== */

.fflbro-feature-page .automation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.fflbro-feature-page .auto-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.fflbro-feature-page .auto-card h4 {
    color: #1a2744;
    margin-bottom: 10px;
}

.fflbro-feature-page .auto-card p {
    color: #555;
    margin: 0;
}

/* ===========================================
   CTA SECTION
   =========================================== */

.fflbro-feature-page .feature-cta {
    background: linear-gradient(135deg, #1a2744 0%, #0f1729 100%);
    color: #fff;
    padding: 80px 40px;
    text-align: center;
}

.fflbro-feature-page .feature-cta h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 15px;
}

.fflbro-feature-page .feature-cta p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.fflbro-feature-page .btn-primary {
    display: inline-block;
    background: #F7931E;
    color: #1a2744;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    margin: 0 10px;
    transition: all 0.2s;
}

.fflbro-feature-page .btn-primary:hover {
    background: #ffaa40;
    transform: translateY(-2px);
}

.fflbro-feature-page .btn-secondary {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin: 0 10px;
    transition: all 0.2s;
}

.fflbro-feature-page .btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ===========================================
   WORKFLOW / PROCESS VISUALIZATIONS
   =========================================== */

.fflbro-feature-page .workflow-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.fflbro-feature-page .workflow-step {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    min-width: 150px;
}

.fflbro-feature-page .workflow-step .step-number {
    width: 40px;
    height: 40px;
    background: #F7931E;
    color: #1a2744;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 15px;
}

.fflbro-feature-page .workflow-arrow {
    font-size: 2rem;
    color: #F7931E;
}

/* ===========================================
   DASHBOARD PREVIEW
   =========================================== */

.fflbro-feature-page .dashboard-preview {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 900px;
    margin: 40px auto 0;
}

.fflbro-feature-page .dashboard-header {
    background: linear-gradient(135deg, #1a2744 0%, #0f1729 100%);
    color: #fff;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fflbro-feature-page .dashboard-content {
    padding: 25px;
}

.fflbro-feature-page .dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.fflbro-feature-page .dash-stat {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.fflbro-feature-page .dash-stat .value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #F7931E;
}

.fflbro-feature-page .dash-stat .label {
    font-size: 0.85rem;
    color: #555;
}

/* ===========================================
   RESPONSIVE STYLES
   =========================================== */

@media (max-width: 900px) {
    .fflbro-feature-page .feature-hero {
        padding: 60px 20px;
    }

    .fflbro-feature-page .feature-hero h1 {
        font-size: 2rem;
    }

    .fflbro-feature-page .feature-section {
        padding: 60px 20px;
    }

    .fflbro-feature-page .feature-section h2 {
        font-size: 1.8rem;
    }

    .fflbro-feature-page .tier-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fflbro-feature-page .paid-plans {
        grid-template-columns: 1fr;
    }

    .fflbro-feature-page .plan-card.featured {
        transform: none;
    }

    .fflbro-feature-page .points-system {
        grid-template-columns: 1fr;
    }

    .fflbro-feature-page .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .fflbro-feature-page .lifetime-value {
        text-align: center;
        margin-top: 15px;
    }

    .fflbro-feature-page .profile-content {
        grid-template-columns: 1fr;
    }

    .fflbro-feature-page .pipeline-preview {
        flex-direction: column;
        align-items: center;
    }

    .fflbro-feature-page .pipeline-arrow {
        transform: rotate(90deg);
    }

    .fflbro-feature-page .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .fflbro-feature-page .portal-stats {
        grid-template-columns: 1fr;
    }

    .fflbro-feature-page .portal-actions {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .fflbro-feature-page .hero-stats {
        gap: 20px;
    }

    .fflbro-feature-page .hero-stats .number {
        font-size: 2rem;
    }

    .fflbro-feature-page .tier-grid {
        grid-template-columns: 1fr;
    }

    .fflbro-feature-page .feature-cta {
        padding: 60px 20px;
    }

    .fflbro-feature-page .btn-primary,
    .fflbro-feature-page .btn-secondary {
        display: block;
        margin: 10px auto;
        max-width: 280px;
    }

    .fflbro-feature-page .workflow-visual {
        flex-direction: column;
    }

    .fflbro-feature-page .workflow-arrow {
        transform: rotate(90deg);
    }
}

/* ============================================
   CONTRAST FIX - White text on dark sections
   ============================================ */

/* Problem cards - white text */
.fflbro-feature-page .problem-card h4,
.fflbro-feature-page .problem-card p {
    color: #fff;
}

/* Solution cards - white text */
.fflbro-feature-page .solution-card h4,
.fflbro-feature-page .solution-card p {
    color: #fff;
}

/* Feature cards on dark bg */
.fflbro-feature-page .alt-bg .feature-card h4 {
    color: #F7931E;
}

.fflbro-feature-page .alt-bg .feature-card p {
    color: rgba(255, 255, 255, 0.85);
}

/* Workflow steps */
.fflbro-feature-page .workflow-step h4,
.fflbro-feature-page .workflow-step p {
    color: #fff;
}

/* ============================================
   CONTRAST FIX v2 - Proper card text colors
   ============================================ */

/* Cards have WHITE backgrounds - text should be DARK */
.fflbro-feature-page .problem-card,
.fflbro-feature-page .solution-card {
    background: #fff;
}

.fflbro-feature-page .problem-card h4,
.fflbro-feature-page .solution-card h4 {
    color: #1a2744 !important;
}

.fflbro-feature-page .problem-card p,
.fflbro-feature-page .solution-card p {
    color: #555 !important;
}

/* Section headings on dark backgrounds - already orange/white, keep them */
.fflbro-feature-page .feature-section h2 {
    color: #fff;
}

.fflbro-feature-page .feature-section h2 span {
    color: #F7931E;
}

/* Section intro text on dark bg */
.fflbro-feature-page .section-intro {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Workflow steps on dark bg */
.fflbro-feature-page .workflow-step {
    background: rgba(255, 255, 255, 0.1);
}

.fflbro-feature-page .workflow-step h4,
.fflbro-feature-page .workflow-step p {
    color: #fff !important;
}

/* Feature cards in alt-bg sections */
.fflbro-feature-page .feature-card {
    background: rgba(255, 255, 255, 0.1);
}

.fflbro-feature-page .feature-card h4 {
    color: #F7931E !important;
}

.fflbro-feature-page .feature-card p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.fflbro-feature-page .contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
}

.fflbro-feature-page .contact-form-wrapper h2 {
    text-align: left;
    margin-bottom: 10px;
}

.fflbro-feature-page .fflbro-contact-form {
    margin-top: 30px;
}

.fflbro-feature-page .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.fflbro-feature-page .form-group {
    margin-bottom: 20px;
}

.fflbro-feature-page .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #fff;
    font-size: 0.9rem;
}

.fflbro-feature-page .form-group input,
.fflbro-feature-page .form-group select,
.fflbro-feature-page .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
    transition: all 0.2s;
}

.fflbro-feature-page .form-group input:focus,
.fflbro-feature-page .form-group select:focus,
.fflbro-feature-page .form-group textarea:focus {
    outline: none;
    border-color: #F7931E;
    background: rgba(255, 255, 255, 0.1);
}

.fflbro-feature-page .form-group input::placeholder,
.fflbro-feature-page .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.fflbro-feature-page .form-group select {
    cursor: pointer;
    appearance: none;
}

.fflbro-feature-page .form-group select option {
    background: #1a2744;
    color: #fff;
}

.fflbro-feature-page .form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.fflbro-feature-page .contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.fflbro-feature-page .contact-info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.2s;
}

.fflbro-feature-page .contact-info-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(247, 147, 30, 0.3);
}

.fflbro-feature-page .contact-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.fflbro-feature-page .contact-info-card h4 {
    color: #F7931E;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.fflbro-feature-page .contact-info-card p {
    color: rgba(255, 255, 255, 0.6);
    margin: 5px 0;
    font-size: 0.9rem;
}

.fflbro-feature-page .contact-link {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
    transition: color 0.2s;
}

.fflbro-feature-page .contact-link:hover {
    color: #F7931E;
}

.fflbro-feature-page .quick-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fflbro-feature-page .quick-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.fflbro-feature-page .quick-links a:hover {
    color: #F7931E;
    padding-left: 5px;
}

@media (max-width: 900px) {
    .fflbro-feature-page .contact-container {
        grid-template-columns: 1fr;
    }
    .fflbro-feature-page .contact-info-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .fflbro-feature-page .form-row {
        grid-template-columns: 1fr;
    }
    .fflbro-feature-page .contact-info-wrapper {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CONTACT FORM FIXES v2
   ============================================ */

/* Make form fields editable and visible */
.fflbro-feature-page .form-group input,
.fflbro-feature-page .form-group select,
.fflbro-feature-page .form-group textarea {
    pointer-events: auto !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

/* Select dropdown text */
.fflbro-feature-page .form-group select {
    color: #fff !important;
    background-color: #1a2744 !important;
}

.fflbro-feature-page .form-group select option {
    background-color: #1a2744 !important;
    color: #fff !important;
    padding: 10px;
}

/* Labels must be white */
.fflbro-feature-page .form-group label {
    color: #fff !important;
    font-weight: 600;
}

/* Placeholder text */
.fflbro-feature-page .form-group input::placeholder,
.fflbro-feature-page .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Focus state */
.fflbro-feature-page .form-group input:focus,
.fflbro-feature-page .form-group select:focus,
.fflbro-feature-page .form-group textarea:focus {
    border-color: #F7931E !important;
    outline: none !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

/* ============================================
   GLOBAL CONTRAST FIXES FOR ALL PAGES
   ============================================ */

/* Section headings on dark backgrounds */
.fflbro-feature-page .feature-section h2 {
    color: #fff !important;
}

.fflbro-feature-page .feature-section h2 span {
    color: #F7931E !important;
}

/* Section intro/subtitle text */
.fflbro-feature-page .section-intro,
.fflbro-feature-page .feature-section > p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Cards with white backgrounds - dark text */
.fflbro-feature-page .problem-card,
.fflbro-feature-page .solution-card,
.fflbro-feature-page .feature-card {
    background: #fff !important;
}

.fflbro-feature-page .problem-card h4,
.fflbro-feature-page .solution-card h4,
.fflbro-feature-page .feature-card h4 {
    color: #1a2744 !important;
}

.fflbro-feature-page .problem-card p,
.fflbro-feature-page .solution-card p,
.fflbro-feature-page .feature-card p {
    color: #555 !important;
}

/* Workflow steps */
.fflbro-feature-page .workflow-step {
    background: #fff !important;
}

.fflbro-feature-page .workflow-step h4 {
    color: #1a2744 !important;
}

.fflbro-feature-page .workflow-step p {
    color: #555 !important;
}

/* Alt-bg sections (lighter background) */
.fflbro-feature-page .feature-section.alt-bg {
    background: #f8f9fa !important;
}

.fflbro-feature-page .feature-section.alt-bg h2 {
    color: #1a2744 !important;
}

.fflbro-feature-page .feature-section.alt-bg .section-intro,
.fflbro-feature-page .feature-section.alt-bg > p {
    color: #555 !important;
}

/* Compliance/checklist items on dark backgrounds */
.fflbro-feature-page .compliance-item,
.fflbro-feature-page .checklist-item {
    color: rgba(255, 255, 255, 0.9) !important;
}

.fflbro-feature-page .compliance-item h4,
.fflbro-feature-page .checklist-item h4 {
    color: #F7931E !important;
}

/* Transfer workflow numbered steps */
.fflbro-feature-page .transfer-step,
.fflbro-feature-page .workflow-item {
    color: #fff !important;
}

.fflbro-feature-page .transfer-step h4,
.fflbro-feature-page .workflow-item h4 {
    color: #F7931E !important;
}

.fflbro-feature-page .transfer-step p,
.fflbro-feature-page .workflow-item p {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Any generic h3, h4 on dark sections */
.fflbro-feature-page .feature-section:not(.alt-bg) h3,
.fflbro-feature-page .feature-section:not(.alt-bg) h4:not(.problem-card h4):not(.solution-card h4):not(.feature-card h4):not(.workflow-step h4) {
    color: #F7931E !important;
}

/* Generic paragraphs on dark sections */
.fflbro-feature-page .feature-section:not(.alt-bg) > div > p,
.fflbro-feature-page .feature-section:not(.alt-bg) > ul > li {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Dashboard previews */
.fflbro-feature-page .dashboard-preview {
    background: #fff !important;
}

.fflbro-feature-page .dashboard-content h4,
.fflbro-feature-page .dashboard-content p {
    color: #1a2744 !important;
}

/* Tier cards, plan cards */
.fflbro-feature-page .tier-card,
.fflbro-feature-page .plan-card {
    background: #fff !important;
}

.fflbro-feature-page .tier-card h4,
.fflbro-feature-page .plan-card h4 {
    color: #1a2744 !important;
}

.fflbro-feature-page .tier-card p,
.fflbro-feature-page .tier-card li,
.fflbro-feature-page .plan-card p,
.fflbro-feature-page .plan-card li {
    color: #555 !important;
}

/* ============================================
   NUCLEAR TEXT VISIBILITY FIX - ALL PAGES
   ============================================ */

/* ALL text on dark backgrounds must be white/visible */
.fflbro-feature-page .feature-section {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* All paragraphs in feature sections */
.fflbro-feature-page .feature-section p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* All list items in feature sections */
.fflbro-feature-page .feature-section li {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* All divs in feature sections (catch-all) */
.fflbro-feature-page .feature-section div {
    color: rgba(255, 255, 255, 0.85);
}

/* Feature grid items */
.fflbro-feature-page .feature-grid p,
.fflbro-feature-page .features-grid p,
.fflbro-feature-page .pos-features p,
.fflbro-feature-page .pos-grid p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Before/After, With/Without comparisons */
.fflbro-feature-page .comparison p,
.fflbro-feature-page .comparison li,
.fflbro-feature-page .comparison div,
.fflbro-feature-page .before-after p,
.fflbro-feature-page .before-after li {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Workflow/timeline items on dark bg */
.fflbro-feature-page .workflow-list li,
.fflbro-feature-page .timeline li,
.fflbro-feature-page .checklist li,
.fflbro-feature-page .show-checklist li {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Code blocks and monospace text */
.fflbro-feature-page code,
.fflbro-feature-page .product-name,
.fflbro-feature-page .example-text {
    color: #F7931E !important;
}

/* Strong/bold text on dark */
.fflbro-feature-page .feature-section strong,
.fflbro-feature-page .feature-section b {
    color: #fff !important;
}

/* Small/caption text */
.fflbro-feature-page .feature-section small,
.fflbro-feature-page .feature-section .caption {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* EXCEPTION: Alt-bg sections (light background) need dark text */
.fflbro-feature-page .feature-section.alt-bg,
.fflbro-feature-page .feature-section.alt-bg p,
.fflbro-feature-page .feature-section.alt-bg li,
.fflbro-feature-page .feature-section.alt-bg div,
.fflbro-feature-page .feature-section.alt-bg strong {
    color: #1a2744 !important;
}

.fflbro-feature-page .feature-section.alt-bg h4 {
    color: #1a2744 !important;
}

/* Pricing/tier cards on light background */
.fflbro-feature-page .tier-card p,
.fflbro-feature-page .tier-card li,
.fflbro-feature-page .plan-card p,
.fflbro-feature-page .plan-card li,
.fflbro-feature-page .pricing-card p,
.fflbro-feature-page .pricing-card li {
    color: #555 !important;
}

/* Stats/metrics */
.fflbro-feature-page .stat-value,
.fflbro-feature-page .metric-value {
    color: #F7931E !important;
}

.fflbro-feature-page .stat-label,
.fflbro-feature-page .metric-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* ============================================
   QUOTE PREVIEW STYLING
   ============================================ */

.fflbro-feature-page .quote-preview,
.fflbro-feature-page .sample-quote {
    background: #fff !important;
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-top: 5px solid #F7931E;
}

.fflbro-feature-page .quote-preview h3,
.fflbro-feature-page .sample-quote h3,
.fflbro-feature-page .quote-header {
    color: #1a2744 !important;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.fflbro-feature-page .quote-preview p,
.fflbro-feature-page .sample-quote p {
    color: #555 !important;
    margin: 8px 0;
}

.fflbro-feature-page .quote-preview strong,
.fflbro-feature-page .sample-quote strong {
    color: #1a2744 !important;
}

.fflbro-feature-page .quote-number {
    color: #F7931E !important;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Quote table styling */
.fflbro-feature-page .quote-table,
.fflbro-feature-page .quote-preview table {
    width: 100%;
    margin: 25px 0;
    border-collapse: collapse;
}

.fflbro-feature-page .quote-table th,
.fflbro-feature-page .quote-preview th {
    background: #1a2744 !important;
    color: #fff !important;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.fflbro-feature-page .quote-table td,
.fflbro-feature-page .quote-preview td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    color: #333 !important;
}

.fflbro-feature-page .quote-table tr:hover td {
    background: #f8f9fa;
}

/* Quote totals section */
.fflbro-feature-page .quote-totals {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    text-align: right;
}

.fflbro-feature-page .quote-totals p {
    margin: 8px 0;
    color: #555 !important;
}

.fflbro-feature-page .quote-total-final {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a2744 !important;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #1a2744;
}

/* Logo placeholder */
.fflbro-feature-page .quote-logo {
    background: linear-gradient(135deg, #1a2744 0%, #2E5C99 100%);
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    display: inline-block;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ============================================
   ENHANCED QUOTE PREVIEW - MORE POP
   ============================================ */

/* Make the quote card really stand out */
.fflbro-feature-page .quote-preview,
.fflbro-feature-page .sample-quote {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%) !important;
    border-radius: 16px;
    padding: 45px;
    max-width: 650px;
    margin: 50px auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(247, 147, 30, 0.3);
    border-top: 6px solid #F7931E;
    position: relative;
}

/* Quote totals - BOLD and prominent */
.fflbro-feature-page .quote-preview .quote-totals,
.fflbro-feature-page .sample-quote .quote-totals {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #1a2744 0%, #0f1729 100%);
    border-radius: 12px;
    text-align: right;
}

.fflbro-feature-page .quote-totals p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.1rem;
    margin: 10px 0;
}

.fflbro-feature-page .quote-totals strong {
    color: #fff !important;
}

.fflbro-feature-page .quote-total-final,
.fflbro-feature-page .quote-totals p:last-child {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #F7931E !important;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

/* Table enhancements */
.fflbro-feature-page .quote-table th,
.fflbro-feature-page .sample-quote th {
    background: linear-gradient(135deg, #1a2744 0%, #2E5C99 100%) !important;
    color: #fff !important;
    padding: 14px 18px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.fflbro-feature-page .quote-table td,
.fflbro-feature-page .sample-quote td {
    padding: 14px 18px;
    font-size: 1rem;
}

.fflbro-feature-page .quote-table tr:nth-child(even) td {
    background: #f8f9fa;
}


/* ============================================================
   Demo-BRO Button Fix: Ensure button text is centered
   ============================================================ */

.demo-bro-btn {
    box-sizing: border-box !important;
    text-align: center !important;
}

.demo-bro-tier-card .tier-footer .demo-bro-btn {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    text-align: center !important;
}
