﻿/* ============================================
   Brand Page Styles
   ============================================ */

/* Brand Hero Section */
.brand-hero-section {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    overflow: hidden;
}

.brand-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.brand-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
}

.brand-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 3rem 0;
}

.brand-logo-large {
    margin-bottom: 2rem;
}

.brand-logo-large img {
    max-width: 600px;
    height: auto;
    /*filter: brightness(0) invert(1);*/
}

.brand-hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.brand-hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.brand-hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-badge {
    padding: 0.5rem 1.5rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
}

/* Brand Overview Section */
.brand-overview-section {
    padding: 6rem 0;
    background: white;
}

.brand-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.brand-overview-content .lead-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.brand-overview-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.brand-stats-inline {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-inline {
    display: flex;
    flex-direction: column;
}

.stat-inline strong {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-inline span {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.brand-overview-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.brand-overview-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Product Categories Section */
.brand-products-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.product-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-category-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 12px;
}

.category-icon svg {
    width: 100%;
    height: 100%;
}

.product-category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-category-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.category-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.category-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    font-size: 0.875rem;
}

.category-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.category-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.category-link:hover {
    color: var(--primary-dark);
}

/* Technical Section */
.technical-section {
    padding: 6rem 0;
    background: white;
}

.technical-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.technical-content .lead-text {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.technical-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.technical-feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon-small {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 10px;
}

.feature-icon-small svg {
    width: 100%;
    height: 100%;
}

.feature-text h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.feature-text p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

.technical-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.technical-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.badge-title {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.badge-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Applications Section */
.applications-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.application-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.application-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.application-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.application-content {
    padding: 1.5rem;
}

.application-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.application-content p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

/* Why Choose Section */
.why-choose-section {
    padding: 6rem 0;
    background: white;
}

.why-choose-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.why-choose-content h2 {
    margin-bottom: 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    text-align: left;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit-item:hover {
    background: white;
    box-shadow: var(--shadow-md);
}

.benefit-number {
    display: inline-block;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.benefit-item p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* Brand CTA Section */
.brand-cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.brand-cta-content {
    text-align: center;
}

.brand-cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: white;
}

.brand-cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Responsive Design for Brand Pages */
@media (max-width: 992px) {
    .brand-overview-grid,
    .technical-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .brand-stats-inline {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .brand-hero-section {
        min-height: 50vh;
    }

    .brand-logo-large img {
        max-width: 200px;
    }

    .brand-hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .brand-stats-inline {
        flex-direction: column;
        gap: 1rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .technical-feature {
        flex-direction: column;
        text-align: center;
    }

    .feature-icon-small {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .product-categories-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   XYPEX-Specific Sections
   ============================================ */

/* How It Works Section */
.how-it-works-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* XYPEX Benefits Section */
.xypex-benefits-section {
    padding: 6rem 0;
    background: white;
}

/* Specifications Section */
.specifications-section {
    padding: 6rem 0;
    background: var(--bg-light);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.spec-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.spec-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.spec-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: bold;
}

.spec-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.spec-card p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .step-number {
        font-size: 3rem;
    }
}

/* ============================================
   CORTEC-Specific Sections
   ============================================ */

/* Environmental Section */
.environmental-section {
    padding: 6rem 0;
    background: #f0f8f4;
}

.environmental-section .technical-grid {
    gap: 4rem;
}

.environmental-section .image-overlay-badge {
    background: #2d7a3e !important;
}

/* Green Theme Adjustments */
.cortec-green {
    background: linear-gradient(135deg, #2d7a3e 0%, #1e5a2e 100%);
}

.cortec-icon {
    background: linear-gradient(135deg, #2d7a3e, #1e5a2e) !important;
}

/* Hover Effects for Cortec Cards */
.application-card:hover {
    border-left: 4px solid #2d7a3e;
}

.spec-card:hover {
    border-top: 4px solid #2d7a3e;
}
