/*
 * BrainSpark Digital - Anthropic-Inspired Theme
 * Clean, editorial, sophisticated design
 * Inspired by https://www.anthropic.com/
 */

/* ====== ROOFING THEME - ANTHROPIC STYLE ====== */
.roofing-theme {
    --primary-color: #CC6848;
    --secondary-color: #191919;
    --accent-color: #C5D6CD;
    background-color: var(--bg-cream);
    
    /* Legacy roofing variables for compatibility */
    --roofing-primary: #CC6848;
    --roofing-accent: #CC6848;
    --roofing-dark: #191919;
    --roofing-text: #3D3D3D;
    --roofing-muted: #7A7A7A;
    --roofing-light: #F0EBE3;
    --roofing-white: #ffffff;
    --roofing-success: #4A7C59;
    --roofing-gradient: linear-gradient(135deg, #191919 0%, #2d2d2d 100%);
    --roofing-gradient-accent: linear-gradient(135deg, #CC6848 0%, #b85a3d 100%);
}

/* ====== HERO SECTION - Anthropic Style ====== */
.roofing-hero {
    background: var(--bg-cream);
    padding: 12rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.roofing-hero .container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 60vh;
}

.roofing-hero-content {
    max-width: 64rem;
    min-height: 50vh;
}

.roofing-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    padding: 0;
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
}

.roofing-hero-badge i {
    color: var(--accent-terracotta);
}

.roofing-hero h1 {
    font-size: clamp(3.6rem, 5vw, 5.6rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-family: var(--font-serif);
    letter-spacing: -0.02em;
}

.roofing-hero h1 .highlight {
    text-decoration: underline;
    text-decoration-color: var(--accent-terracotta);
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

.roofing-hero-subheadline {
    font-size: 1.8rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 50rem;
    font-family: var(--font-sans);
    font-weight: 400;
}

.roofing-hero-tagline {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-family: var(--font-serif);
}

.roofing-hero-cta {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* ====== BUTTONS - Anthropic Style ====== */
.btn-roofing {
    background: var(--accent-terracotta);
    color: #fff;
    padding: 1.4rem 2.4rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-sans);
}

.btn-roofing:hover {
    background: #b85a3d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(204, 104, 72, 0.3);
    color: #fff;
}

.btn-roofing-outline {
    background: transparent;
    color: var(--text-primary);
    padding: 1.4rem 2.4rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
    border: 1px solid var(--border-dark);
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-sans);
}

.btn-roofing-outline:hover {
    background: var(--bg-secondary);
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.roofing-hero-trust {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 1.4rem;
    font-family: var(--font-sans);
}

.trust-item i {
    color: var(--success-color);
    font-size: 1.4rem;
}

/* ====== HERO VISUAL - Anthropic Style Illustration ====== */
.roofing-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hand-drawn style illustration container */
.hero-stats-card {
    background: var(--card-beige);
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    position: relative;
    width: 100%;
    max-width: 42rem;
}

/* Decorative SVG illustration - Anthropic style */
.hero-stats-card::before {
    content: '';
    position: absolute;
    top: -2rem;
    right: -2rem;
    width: 12rem;
    height: 12rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 10 Q60 30 80 35 Q60 40 50 60 Q40 40 20 35 Q40 30 50 10' stroke='%23191919' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='50' cy='35' r='4' fill='%23191919'/%3E%3Cpath d='M30 70 Q40 65 50 70 Q60 75 70 70' stroke='%23191919' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.stats-header {
    text-align: left;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.stats-header h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
    font-weight: 500;
}

.stats-header p {
    color: var(--text-muted);
    font-size: 1.4rem;
    font-family: var(--font-sans);
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-box {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,0.5);
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.stat-box:hover {
    background: rgba(255,255,255,0.8);
}

.stat-box .number {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: var(--font-serif);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-box .label {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-box.highlighted {
    background: var(--accent-terracotta);
}

.stat-box.highlighted .number,
.stat-box.highlighted .label {
    color: #fff;
}

/* ====== AUDIENCE SECTION - Anthropic Cards Style ====== */
.roofing-audience {
    padding: 8rem 0;
    background: var(--bg-cream);
}

.roofing-audience .section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.roofing-audience .section-header h2 {
    font-size: clamp(2.8rem, 4vw, 3.6rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 400;
}

.roofing-audience .section-header p {
    font-size: 1.7rem;
    color: var(--text-secondary);
    max-width: 60rem;
    margin: 0 auto;
    font-family: var(--font-sans);
}

.audience-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    min-height: 30rem;
}

/* 4-column layout for "How It Works" section */
.audience-cards-4-col {
    grid-template-columns: repeat(4, 1fr);
}

/* Anthropic-style colored cards */
.audience-card {
    border-radius: var(--border-radius);
    padding: 3rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.audience-card:nth-child(1) {
    background: var(--card-beige);
}

.audience-card:nth-child(2) {
    background: var(--card-sage);
}

.audience-card:nth-child(3) {
    background: var(--card-lavender);
}

.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

/* Hand-drawn style icon - Anthropic inspired */
.audience-card-icon {
    width: 7rem;
    height: 7rem;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audience-card-icon i {
    display: none;
}

.audience-card-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.audience-card:nth-child(1) .audience-card-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cpath d='M15 60 L15 35 L40 15 L65 35 L65 60 L15 60' stroke='%23191919' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M32 60 L32 42 L48 42 L48 60' stroke='%23191919' stroke-width='2.5' fill='none'/%3E%3Cpath d='M10 35 L40 10 L70 35' stroke='%23191919' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='55' cy='48' r='4' fill='%23191919'/%3E%3C/svg%3E");
}

.audience-card:nth-child(2) .audience-card-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cpath d='M20 25 L20 65' stroke='%23191919' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M35 20 L35 65' stroke='%23191919' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M50 30 L50 65' stroke='%23191919' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M65 15 L65 65' stroke='%23191919' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M12 65 L73 65' stroke='%23191919' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M15 25 C25 10 45 10 70 15' stroke='%23191919' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-dasharray='0'/%3E%3C/svg%3E");
}

.audience-card:nth-child(3) .audience-card-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='28' r='12' stroke='%23191919' stroke-width='2.5' fill='none'/%3E%3Cpath d='M20 70 Q20 48 40 48 Q60 48 60 70' stroke='%23191919' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Cpath d='M50 24 Q60 30 55 42' stroke='%23191919' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='36' cy='26' r='2' fill='%23191919'/%3E%3Ccircle cx='44' cy='26' r='2' fill='%23191919'/%3E%3C/svg%3E");
}

.audience-card h3 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    font-family: var(--font-serif);
    font-weight: 500;
}

.audience-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    margin: 0;
}

.center-btn {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

/* ====== PROCESS SECTION - Anthropic Learn Page Style ====== */
/* Only apply to homepage */
.homepage .roofing-process {
    padding: 8rem 0;
    background: var(--bg-cream);
}

.roofing-process {
    padding: 8rem 0;
    background: var(--bg-cream);
}

.roofing-process .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.roofing-process .section-header h2 {
    font-size: clamp(2.8rem, 4vw, 3.6rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 400;
}

.roofing-process .section-header p {
    font-size: 1.7rem;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    max-width: 60rem;
    margin: 0 auto;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 100rem;
    margin: 0 auto;
}

/* Anthropic-style large cards with illustration - HOMEPAGE ONLY */
.homepage .process-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    min-height: 28rem;
}

/* Alternate colored backgrounds like Anthropic - HOMEPAGE ONLY */
.homepage .process-step:nth-child(1) {
    background: var(--card-beige);
}

.homepage .process-step:nth-child(2) {
    background: var(--card-sage);
}

.homepage .process-step:nth-child(3) {
    background: var(--card-lavender);
}

.homepage .process-step:nth-child(4) {
    background: #E8D5C4; /* Soft peach */
}

/* Reverse every other card - HOMEPAGE ONLY */
.homepage .process-step:nth-child(even) {
    direction: rtl;
}

.homepage .process-step:nth-child(even) > * {
    direction: ltr;
}

.homepage .process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

/* Hide the old step indicator - HOMEPAGE ONLY */
.homepage .step-indicator {
    display: none;
}

.homepage .step-number {
    display: none;
}

/* Step content styling - HOMEPAGE ONLY */
.homepage .step-content {
    padding: 3rem 4rem;
}

.homepage .step-content h3 {
    font-size: 2.4rem;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
}

.homepage .step-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    margin: 0;
}

/* Hand-drawn illustration area - HOMEPAGE ONLY */
.homepage .process-step::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
}

/* SVG illustrations for each step - Anthropic hand-drawn style - HOMEPAGE ONLY */
.homepage .process-step:nth-child(1)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3C!-- Website/Browser illustration --%3E%3Crect x='40' y='50' width='120' height='90' rx='8' stroke='%23191919' stroke-width='3' fill='none'/%3E%3Cline x1='40' y1='70' x2='160' y2='70' stroke='%23191919' stroke-width='3'/%3E%3Ccircle cx='55' cy='60' r='4' fill='%23191919'/%3E%3Ccircle cx='70' cy='60' r='4' fill='%23191919'/%3E%3Ccircle cx='85' cy='60' r='4' fill='%23191919'/%3E%3Crect x='55' y='85' width='40' height='8' rx='2' fill='%23191919'/%3E%3Crect x='55' y='100' width='90' height='4' rx='2' fill='%23191919' opacity='0.4'/%3E%3Crect x='55' y='110' width='70' height='4' rx='2' fill='%23191919' opacity='0.4'/%3E%3Crect x='55' y='120' width='50' height='4' rx='2' fill='%23191919' opacity='0.4'/%3E%3Cpath d='M170 45 Q180 35 190 45 Q180 55 170 45' stroke='%23191919' stroke-width='2' fill='none'/%3E%3Cpath d='M25 90 Q15 100 25 110 Q35 100 25 90' stroke='%23191919' stroke-width='2' fill='none'/%3E%3Ccircle cx='175' cy='150' r='8' stroke='%23191919' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}

.homepage .process-step:nth-child(2)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3C!-- AI Chatbot illustration --%3E%3Crect x='50' y='40' width='100' height='120' rx='20' stroke='%23191919' stroke-width='3' fill='none'/%3E%3Ccircle cx='100' cy='80' r='20' stroke='%23191919' stroke-width='3' fill='none'/%3E%3Ccircle cx='93' cy='76' r='3' fill='%23191919'/%3E%3Ccircle cx='107' cy='76' r='3' fill='%23191919'/%3E%3Cpath d='M90 88 Q100 95 110 88' stroke='%23191919' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Crect x='65' y='115' width='70' height='8' rx='4' fill='%23191919' opacity='0.3'/%3E%3Crect x='75' y='130' width='50' height='8' rx='4' fill='%23191919' opacity='0.3'/%3E%3Cpath d='M160 60 L175 50 L175 70 Z' fill='%23191919'/%3E%3Cpath d='M40 140 L25 130 L25 150 Z' fill='%23191919'/%3E%3Ccircle cx='170' cy='140' r='6' stroke='%23191919' stroke-width='2' fill='none'/%3E%3Ccircle cx='30' cy='60' r='6' stroke='%23191919' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}

.homepage .process-step:nth-child(3)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3C!-- SEO/Search illustration --%3E%3Ccircle cx='85' cy='85' r='40' stroke='%23191919' stroke-width='3' fill='none'/%3E%3Cline x1='115' y1='115' x2='150' y2='150' stroke='%23191919' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M65 80 L80 95 L105 70' stroke='%23191919' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M160 50 Q170 40 175 55 Q165 60 160 50' stroke='%23191919' stroke-width='2' fill='none'/%3E%3Cpath d='M35 130 L45 120 L55 135 L40 140 Z' stroke='%23191919' stroke-width='2' fill='none'/%3E%3Ccircle cx='160' cy='160' r='8' stroke='%23191919' stroke-width='2' fill='none'/%3E%3Crect x='25' y='55' width='15' height='20' rx='3' stroke='%23191919' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}

.homepage .process-step:nth-child(4)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3C!-- Automation/Gears illustration --%3E%3Ccircle cx='100' cy='100' r='30' stroke='%23191919' stroke-width='3' fill='none'/%3E%3Ccircle cx='100' cy='100' r='12' fill='%23191919'/%3E%3Cpath d='M100 65 L105 75 L95 75 Z' fill='%23191919'/%3E%3Cpath d='M100 135 L95 125 L105 125 Z' fill='%23191919'/%3E%3Cpath d='M65 100 L75 95 L75 105 Z' fill='%23191919'/%3E%3Cpath d='M135 100 L125 105 L125 95 Z' fill='%23191919'/%3E%3Cpath d='M75 75 L82 82' stroke='%23191919' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M125 75 L118 82' stroke='%23191919' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M75 125 L82 118' stroke='%23191919' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M125 125 L118 118' stroke='%23191919' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M150 50 L160 60 L170 45 L155 55 Z' stroke='%23191919' stroke-width='2' fill='none'/%3E%3Ccircle cx='45' cy='150' r='10' stroke='%23191919' stroke-width='2' fill='none'/%3E%3Ccircle cx='45' cy='150' r='4' fill='%23191919'/%3E%3Cpath d='M30 60 Q40 50 50 60 Q40 70 30 60' stroke='%23191919' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}

/* Responsive adjustments - HOMEPAGE ONLY */
@media (max-width: 900px) {
    .homepage .process-step {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .homepage .process-step:nth-child(even) {
        direction: ltr;
    }
    
    .homepage .step-content {
        padding: 2.5rem;
    }
    
    .homepage .process-step::after {
        height: 20rem;
        background-size: 50%;
    }
}

/* ====== FEATURES SECTION - Dark Background ====== */
.roofing-features {
    padding: var(--space-4xl) 0;
    background: var(--footer-bg);
    position: relative;
}

.roofing-features .container {
    position: relative;
    z-index: 1;
}

.roofing-features .section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.roofing-features .section-header h2 {
    font-size: clamp(2.8rem, 4vw, 3.6rem);
    color: #fff;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 400;
}

.roofing-features .section-header p {
    font-size: 1.7rem;
    color: rgba(255,255,255,0.7);
    max-width: 60rem;
    margin: 0 auto;
    font-family: var(--font-sans);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    transition: var(--transition);
}

.feature-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.feature-card-icon {
    width: 5rem;
    height: 5rem;
    background: var(--accent-terracotta);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-card-icon i {
    font-size: 2rem;
    color: #fff;
}

.feature-card h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 0.8rem;
    font-family: var(--font-serif);
    font-weight: 500;
}

.feature-card p {
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    margin: 0;
}

/* ====== BENEFITS SECTION ====== */
.roofing-benefits {
    padding: var(--space-4xl) 0;
    background: var(--bg-cream);
}

.roofing-benefits .section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.roofing-benefits .section-header h2 {
    font-size: clamp(2.8rem, 4vw, 3.6rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 400;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: #fff;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.benefit-card:hover {
    border-color: transparent;
    box-shadow: var(--card-shadow-hover);
}

.benefit-icon {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    background: var(--card-sage);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 1.6rem;
    color: var(--text-primary);
}

.benefit-content h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
    font-family: var(--font-serif);
    font-weight: 500;
}

.benefit-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-family: var(--font-sans);
    font-size: 1.4rem;
    margin: 0;
}

/* ====== TESTIMONIALS SECTION ====== */
.roofing-testimonials {
    padding: var(--space-4xl) 0;
    background: var(--bg-secondary);
}

.roofing-testimonials .section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.roofing-testimonials .section-header h2 {
    font-size: clamp(2.8rem, 4vw, 3.6rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 400;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 4rem;
    max-width: 80rem;
    margin: 0 auto;
    position: relative;
    border: 1px solid var(--border-color);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 2rem;
    left: 3rem;
    font-size: 8rem;
    color: var(--card-beige);
    font-family: var(--font-serif);
    line-height: 1;
}

.testimonial-card p {
    font-size: 2rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.testimonial-author img {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author-info h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.testimonial-author-info p {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin: 0;
    font-family: var(--font-sans);
    font-style: normal;
}

/* ====== HOMEPAGE BLOG SECTION ====== */
.homepage-blog {
    padding: 10rem 0;
    background: var(--bg-cream);
}

.homepage-blog .section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.homepage-blog .section-header h2 {
    font-size: clamp(2.8rem, 4vw, 3.6rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 400;
}

.homepage-blog .section-header p {
    font-size: 1.7rem;
    color: var(--text-secondary);
    max-width: 60rem;
    margin: 0 auto;
    font-family: var(--font-sans);
}

.homepage-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.homepage-blog-card {
    background: var(--roofing-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
}

.homepage-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.homepage-blog-image {
    position: relative;
    width: 100%;
    height: 24rem;
    overflow: hidden;
    background: var(--roofing-light);
}

.homepage-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.homepage-blog-card:hover .homepage-blog-image img {
    transform: scale(1.05);
}

.homepage-blog-overlay {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.6rem 1.2rem;
    border-radius: var(--border-radius-sm);
    backdrop-filter: blur(10px);
}

.homepage-blog-date {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-family: var(--font-sans);
    font-weight: 500;
}

.homepage-blog-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.homepage-blog-meta {
    margin-bottom: 1rem;
}

.homepage-blog-author {
    font-size: 1.3rem;
    color: var(--roofing-accent);
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.homepage-blog-content h3 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 400;
    color: var(--text-primary);
}

.homepage-blog-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.homepage-blog-content h3 a:hover {
    color: var(--roofing-accent);
}

.homepage-blog-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-family: var(--font-sans);
    flex-grow: 1;
}

.homepage-blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.homepage-blog-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--roofing-light);
    color: var(--text-secondary);
    font-size: 1.2rem;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-family: var(--font-sans);
    font-weight: 500;
    transition: all 0.3s ease;
}

.homepage-blog-tag:hover {
    background: var(--roofing-accent);
    color: #fff;
}

.homepage-blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--roofing-accent);
    font-size: 1.4rem;
    font-weight: 600;
    text-decoration: none;
    font-family: var(--font-sans);
    transition: all 0.3s ease;
    margin-top: auto;
}

.homepage-blog-read-more:hover {
    color: var(--roofing-dark);
    gap: 1.2rem;
}

.homepage-blog-read-more i {
    transition: transform 0.3s ease;
}

.homepage-blog-read-more:hover i {
    transform: translateX(4px);
}

/* ====== HOMEPAGE FAQ SECTION ====== */
.homepage-faq-section {
    padding: 10rem 0;
    background: var(--bg-cream);
}

.homepage-faq-section .faq-container {
    margin: 0 auto;
}

/* ====== CTA SECTION - Anthropic Style ====== */
.roofing-cta {
    padding: var(--space-4xl) 0;
    background: var(--bg-cream);
    text-align: center;
}

.roofing-cta h2 {
    font-size: clamp(2.8rem, 4vw, 4rem);
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    font-weight: 400;
    max-width: 70rem;
    margin-left: auto;
    margin-right: auto;
}

.roofing-cta p {
    font-size: 1.7rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 60rem;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--font-sans);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-guarantee {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: var(--text-muted);
    font-size: 1.4rem;
    font-family: var(--font-sans);
}

.cta-guarantee i {
    color: var(--success-color);
}

/* ====== FOOTER - Anthropic Style ====== */
.roofing-footer {
    background: var(--footer-bg);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.roofing-footer .footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: var(--space-2xl);
}

.roofing-footer .footer-logo h2 {
    color: #fff;
    font-size: 2rem;
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 1rem;
}

.roofing-footer .footer-logo span {
    color: var(--accent-terracotta);
}

.footer-tagline {
    color: var(--accent-terracotta) !important;
    font-style: italic;
    font-family: var(--font-serif);
    margin-bottom: 1rem !important;
    font-size: 1.4rem;
}

.roofing-footer .footer-col p {
    color: rgba(255,255,255,0.85);
    font-size: 1.4rem;
    line-height: 1.6;
    font-family: var(--font-sans);
}

.roofing-footer .footer-col h3 {
    color: #fff;
    font-size: 1.4rem;
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.roofing-footer .footer-links li {
    margin-bottom: 0.8rem;
}

.roofing-footer .footer-links a {
    color: rgba(255,255,255,0.85);
    font-size: 1.4rem;
    font-family: var(--font-sans);
    transition: var(--transition);
}

.roofing-footer .footer-links a:hover {
    color: #fff;
}

.roofing-footer .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.roofing-footer .social-links a {
    width: 3.6rem;
    height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    transition: var(--transition);
}

.roofing-footer .social-links a:hover {
    background: var(--accent-terracotta);
}

.roofing-footer .contact-info li {
    color: rgba(255,255,255,0.85);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.roofing-footer .contact-info i {
    color: var(--accent-terracotta);
    width: 1.6rem;
}

.roofing-footer .contact-info a {
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
}

.roofing-footer .contact-info a:hover {
    color: #fff;
}

.roofing-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.roofing-footer .copyright p {
    color: rgba(255,255,255,0.75);
    font-size: 1.3rem;
    font-family: var(--font-sans);
    margin: 0;
}

/* ====== RESPONSIVE DESIGN ====== */
@media (max-width: 1024px) {
    .roofing-hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .roofing-hero-content {
        max-width: 100%;
    }
    
    .roofing-hero-subheadline {
        margin: 0 auto 2rem;
    }
    
    .roofing-hero-cta {
        justify-content: center;
    }
    
    .roofing-hero-trust {
        justify-content: center;
    }
    
    .roofing-hero-visual {
        max-width: 40rem;
        margin: 0 auto;
    }
    
    .audience-cards {
        grid-template-columns: 1fr;
        max-width: 50rem;
        margin: 0 auto;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .homepage-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .roofing-footer .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .roofing-hero {
        padding: 10rem 0 4rem;
        min-height: auto;
    }
    
    .roofing-hero h1 {
        font-size: 3.2rem;
    }
    
    .features-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .homepage-blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .homepage-blog {
        padding: 6rem 0;
    }
    
    .homepage-blog-image {
        height: 20rem;
    }
    
    .homepage-blog-content {
        padding: 2rem;
    }
    
    .homepage-blog-content h3 {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 2.5rem;
    }
    
    .testimonial-card p {
        font-size: 1.7rem;
    }
    
    .roofing-footer .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .roofing-footer .social-links {
        justify-content: center;
    }
    
    .roofing-footer .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .roofing-audience,
    .roofing-process,
    .roofing-features,
    .roofing-benefits,
    .roofing-testimonials,
    .roofing-cta,
    .homepage-blog,
    .homepage-faq-section {
        padding: var(--space-3xl) 0;
    }
    
    .homepage-faq-section .faq-container {
        padding: 3rem 2rem;
    }
}

@media (max-width: 480px) {
    .roofing-hero h1 {
        font-size: 2.8rem;
    }
    
    .btn-roofing,
    .btn-roofing-outline {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats-card {
        padding: 2rem;
    }
    
    .stat-box .number {
        font-size: 2.4rem;
    }
    
    .process-step,
    .feature-card,
    .benefit-card,
    .audience-card {
        padding: 2rem;
    }
}

/* ============================================================
   ROOFSPARK PAGE SPECIFIC STYLES
   Comprehensive styling for RoofSpark Lead Machine page
   ============================================================ */

/* Problem Section Cards */
.roofspark-page .problem-section {
    padding: 8rem 0;
    background: #ffffff;
}

.roofspark-page .problem-section .section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.roofspark-page .problem-section .section-header h2 {
    font-size: 3.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 500;
}

.roofspark-page .problem-section .section-header p {
    color: var(--text-secondary);
    font-size: 1.6rem;
    font-family: var(--font-sans);
}

.roofspark-page .problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(28rem, 1fr));
    gap: 2.5rem;
    max-width: 110rem;
    margin: 0 auto;
}

.roofspark-page .problem-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
}

.roofspark-page .problem-card:hover {
    border-color: #CC6848;
    background: #FFF5F0;
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.roofspark-page .problem-card-icon {
    width: 7rem;
    height: 7rem;
    background: #FEE2E2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.roofspark-page .problem-card-icon i {
    font-size: 2.8rem;
    color: #DC2626;
}

.roofspark-page .problem-card h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    font-family: var(--font-serif);
    font-weight: 500;
}

.roofspark-page .problem-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-family: var(--font-sans);
    font-size: 1.5rem;
}

/* Solution Section */
.roofspark-page .solution-section {
    padding: 8rem 0;
    background: var(--footer-bg);
    position: relative;
}

.roofspark-page .solution-section .section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.roofspark-page .solution-section .section-header h2 {
    font-size: 3.2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    font-weight: 500;
}

.roofspark-page .solution-section .section-header p {
    font-size: 1.7rem;
    color: rgba(255,255,255,0.7);
    max-width: 65rem;
    margin: 0 auto;
    font-family: var(--font-sans);
}

.roofspark-page .solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 100rem;
    margin: 0 auto;
}

.roofspark-page .solution-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--border-radius);
    padding: 3rem;
    transition: var(--transition);
}

.roofspark-page .solution-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-4px);
    border-color: var(--accent-terracotta);
}

.roofspark-page .solution-card h3 {
    font-size: 1.9rem;
    color: #ffffff;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-serif);
    font-weight: 500;
}

.roofspark-page .solution-card h3 i {
    color: var(--accent-terracotta);
    font-size: 2rem;
}

.roofspark-page .solution-card p {
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.5rem;
}

/* Feature Cards on RoofSpark page */
.roofspark-page .roofing-features {
    padding: 8rem 0;
    background: var(--footer-bg);
}

.roofspark-page .roofing-features .section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.roofspark-page .roofing-features .section-header h2 {
    font-size: 3.2rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
    font-weight: 500;
}

.roofspark-page .roofing-features .section-header p {
    font-size: 1.6rem;
    color: rgba(255,255,255,0.7);
    font-family: var(--font-sans);
}

.roofspark-page .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2rem;
    max-width: 110rem;
    margin: 0 auto;
}

.roofspark-page .feature-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--border-radius);
    padding: 3rem;
    transition: var(--transition);
}

.roofspark-page .feature-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.2);
}

.roofspark-page .feature-card-icon {
    width: 5.5rem;
    height: 5.5rem;
    background: rgba(204, 104, 72, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.roofspark-page .feature-card-icon i {
    font-size: 2.4rem;
    color: var(--accent-terracotta);
}

.roofspark-page .feature-card h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 500;
}

.roofspark-page .feature-card p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    font-family: var(--font-sans);
    font-size: 1.45rem;
    margin: 0;
}

/* Pricing Section */
.roofspark-page .pricing-section {
    padding: 8rem 0;
    background: var(--bg-cream);
}

.roofspark-page .pricing-section .section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.roofspark-page .pricing-section .section-header h2 {
    font-size: 3.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 500;
}

.roofspark-page .pricing-section .section-header p {
    color: var(--text-secondary);
    font-size: 1.6rem;
    font-family: var(--font-sans);
}

.roofspark-page .pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
    gap: 2.5rem;
    max-width: 110rem;
    margin: 0 auto;
}

.roofspark-page .pricing-card {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 4rem 3rem;
    box-shadow: var(--card-shadow);
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.roofspark-page .pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
}

.roofspark-page .pricing-card.featured {
    border-color: var(--accent-terracotta);
    transform: scale(1.03);
}

.roofspark-page .pricing-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
}

.roofspark-page .pricing-badge {
    position: absolute;
    top: -1.4rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-terracotta);
    color: #ffffff;
    padding: 0.7rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    font-family: var(--font-sans);
    letter-spacing: 0.05em;
}

.roofspark-page .pricing-card h3 {
    font-size: 2.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 500;
    text-align: center;
}

.roofspark-page .pricing-card .price {
    font-size: 4.2rem;
    font-weight: 700;
    color: var(--accent-terracotta);
    font-family: var(--font-sans);
    margin-bottom: 0.5rem;
    text-align: center;
}

.roofspark-page .pricing-card .price-note {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    text-align: center;
    font-family: var(--font-sans);
}

.roofspark-page .pricing-card .features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
}

.roofspark-page .pricing-card .features-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.45rem;
    color: var(--text-secondary);
    font-family: var(--font-sans);
}

.roofspark-page .pricing-card .features-list li:last-child {
    border-bottom: none;
}

.roofspark-page .pricing-card .features-list i {
    color: var(--success-color);
    font-size: 1.3rem;
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.roofspark-page .pricing-card .btn-roofing {
    width: 100%;
    justify-content: center;
}

/* Guarantee Section */
.roofspark-page .guarantee-section {
    padding: 6rem 0;
    background: #ffffff;
}

.roofspark-page .guarantee-card {
    max-width: 85rem;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--card-sage) 0%, #A8C4B0 100%);
    border-radius: var(--border-radius-lg);
    padding: 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.roofspark-page .guarantee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.roofspark-page .guarantee-card .content {
    position: relative;
    z-index: 1;
}

.roofspark-page .guarantee-card i {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.roofspark-page .guarantee-card h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: var(--font-serif);
    font-weight: 500;
}

.roofspark-page .guarantee-card p {
    font-size: 1.6rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.8;
    font-family: var(--font-sans);
    max-width: 65rem;
    margin: 0 auto;
}

/* FAQ Section on RoofSpark Page */
.roofspark-page .faq-section {
    padding: 8rem 0;
    background: var(--bg-secondary);
}

.roofspark-page .faq-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.roofspark-page .faq-section .section-header h2 {
    font-size: 3.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    font-weight: 500;
}

.roofspark-page .faq-section .section-header p {
    color: var(--text-secondary);
    font-size: 1.6rem;
    font-family: var(--font-sans);
}

.roofspark-page .faq-container {
    max-width: 80rem;
    margin: 0 auto;
}

.roofspark-page .faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
    overflow: hidden;
    border-left: 4px solid transparent;
    transition: var(--transition);
}

.roofspark-page .faq-item:hover {
    box-shadow: var(--card-shadow-hover);
}

.roofspark-page .faq-item:nth-child(odd) {
    border-left-color: var(--accent-terracotta);
}

.roofspark-page .faq-item:nth-child(even) {
    border-left-color: var(--card-sage);
}

.roofspark-page .faq-question {
    padding: 2rem 2.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
    gap: 1.5rem;
}

.roofspark-page .faq-question:hover {
    background: var(--bg-secondary);
}

.roofspark-page .faq-question h4 {
    font-size: 1.7rem;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
    font-family: var(--font-sans);
    font-weight: 500;
    line-height: 1.4;
}

.roofspark-page .faq-question i {
    color: var(--accent-terracotta);
    font-size: 1.4rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.roofspark-page .faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.roofspark-page .faq-answer {
    padding: 0 2.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s ease;
}

.roofspark-page .faq-item.active .faq-answer {
    padding: 0 2.5rem 2rem;
    max-height: 50rem;
}

.roofspark-page .faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    font-family: var(--font-sans);
    font-size: 1.5rem;
}

/* RoofSpark Page Responsive */
@media (max-width: 1024px) {
    .roofspark-page .solution-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .roofspark-page .pricing-card.featured {
        transform: none;
    }
    
    .roofspark-page .pricing-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .roofspark-page .solution-grid {
        grid-template-columns: 1fr;
    }
    
    .roofspark-page .problem-grid,
    .roofspark-page .features-grid {
        grid-template-columns: 1fr;
    }
    
    .roofspark-page .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 40rem;
    }
    
    .roofspark-page .guarantee-card {
        padding: 3rem 2rem;
    }
    
    .roofspark-page .guarantee-card h2 {
        font-size: 2.2rem;
    }
    
    .roofspark-page .problem-section,
    .roofspark-page .solution-section,
    .roofspark-page .roofing-features,
    .roofspark-page .pricing-section,
    .roofspark-page .faq-section {
        padding: 5rem 0;
    }
}

@media (max-width: 480px) {
    .roofspark-page .problem-card,
    .roofspark-page .solution-card,
    .roofspark-page .feature-card,
    .roofspark-page .pricing-card {
        padding: 2rem;
    }
    
    .roofspark-page .faq-question {
        padding: 1.5rem 2rem;
    }
    
    .roofspark-page .faq-question h4 {
        font-size: 1.5rem;
    }
}
