/* Composite Windows Page Styles */
:root {
    --composite-primary: #2c5f2d;
    --composite-light: #e8f5e9;
}

/* Hero Section */
.composite-hero {
    background: linear-gradient(135deg, var(--composite-primary) 0%, #1a3a1b 100%);
    color: white;
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.composite-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect fill="%23ffffff" opacity="0.03" width="100" height="100"/></svg>');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.eyebrow {
    display: block;
    color: #a5d6a7;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.composite-hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

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

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #a5d6a7;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
}

/* What is Fibrex Section */
.fibrex-explained {
    padding: 5rem 0;
    background: white;
}

.fibrex-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.fibrex-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--composite-primary);
}

.fibrex-content p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

.fibrex-composition {
    background: var(--composite-light);
    border-left: 4px solid var(--composite-primary);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.composition-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--composite-primary);
    margin-bottom: 1rem;
}

.composition-bars {
    margin-top: 1.5rem;
}

.comp-bar {
    margin-bottom: 1rem;
}

.comp-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
}

.comp-bar-fill {
    height: 12px;
    background: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.comp-bar-inner {
    height: 100%;
    background: linear-gradient(90deg, var(--composite-primary) 0%, #4a7c4f 100%);
    transition: width 1s ease;
}

.fibrex-visual {
    position: relative;
}

.fibrex-diagram {
    background: #f8f9f6;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.diagram-layers {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.layer {
    background: white;
    border: 2px solid var(--composite-primary);
    border-radius: 8px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.layer:hover {
    transform: translateX(10px);
}

.layer-title {
    font-weight: 700;
    color: var(--composite-primary);
    margin-bottom: 0.5rem;
}

.layer-desc {
    font-size: 0.875rem;
    color: #6a6a6a;
}

/* Performance Comparison */
.performance-section {
    padding: 5rem 0;
    background: var(--composite-light);
}

.performance-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--composite-primary);
}

.section-intro {
    text-align: center;
    font-size: 1.125rem;
    color: #6a6a6a;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.comparison-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th {
    background: var(--composite-primary);
    color: white;
    padding: 1.25rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td {
    padding: 1.25rem;
    border-bottom: 1px solid #e5e5e5;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .material-name {
    font-weight: 700;
    color: var(--black);
}

.comparison-table .winner {
    color: var(--composite-primary);
    font-weight: 700;
}

.rating {
    display: inline-flex;
    gap: 0.25rem;
}

.rating span {
    color: var(--composite-primary);
}

/* Houston Performance */
.houston-performance {
    padding: 5rem 0;
    background: white;
}

.houston-performance h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--composite-primary);
}

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

.performance-card {
    background: #f8f9f6;
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid var(--composite-primary);
    transition: transform 0.3s ease;
}

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

.perf-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.performance-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--composite-primary);
}

.performance-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 1rem;
}

.perf-data {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #6a6a6a;
}

.perf-data strong {
    color: var(--composite-primary);
}

/* Andersen Series */
.andersen-series {
    padding: 5rem 0;
    background: var(--composite-light);
}

.andersen-series h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--composite-primary);
}

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

.series-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.series-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.series-badge {
    background: var(--composite-primary);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.series-content {
    padding: 2rem;
}

.series-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--composite-primary);
}

.series-tagline {
    color: #6a6a6a;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.series-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.series-features li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    font-size: 0.9375rem;
}

.series-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--composite-primary);
    font-weight: 700;
}

.series-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--composite-primary);
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e5e5e5;
}

.price-note {
    font-size: 0.75rem;
    color: #6a6a6a;
    font-weight: 400;
    display: block;
    margin-top: 0.25rem;
}

/* Pros & Cons */
.pros-cons-section {
    padding: 5rem 0;
    background: white;
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.pros-card, .cons-card {
    background: #f8f9f6;
    border-radius: 16px;
    padding: 2.5rem;
}

.pros-card {
    border-left: 4px solid var(--green);
}

.cons-card {
    border-left: 4px solid #f44336;
}

.pros-card h3 {
    color: var(--green);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.cons-card h3 {
    color: #f44336;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.pros-list, .cons-list {
    list-style: none;
    padding: 0;
}

.pros-list li, .cons-list li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    font-size: 1rem;
    line-height: 1.7;
}

.pros-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
    font-size: 1.25rem;
}

.cons-list li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #f44336;
    font-weight: 700;
    font-size: 1.25rem;
}

/* CTA Section */
.composite-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--composite-primary) 0%, #1a3a1b 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.composite-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.composite-cta p {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

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

.btn-white {
    background: white;
    color: var(--composite-primary);
}

.btn-white:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .fibrex-grid {
        gap: 3rem;
    }
    
    .performance-grid,
    .pros-cons-grid {
        gap: 2rem;
    }
    
    .series-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .composite-hero {
        padding: 6rem 0 4rem;
    }
    
    .composite-hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .fibrex-grid,
    .performance-grid,
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}
