/* Manufacturer Page Styles */

/* Hero Section */
.manufacturer-hero {
    background-color: #ffffff;
    border-bottom: 1px solid #e4e7ec;
    padding: 80px 0 64px;
    text-align: center;
}

.manufacturer-logo-large {
    margin-bottom: 32px;
}

.logo-img-large {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.manufacturer-hero .hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #101828;
    letter-spacing: -0.02em;
}

.manufacturer-hero .subtitle {
    font-size: 20px;
    color: #475467;
    margin-bottom: 40px;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Company Overview */
.company-overview {
    padding: 80px 0;
    background: #f8fafc;
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 64px;
    align-items: start;
}

.overview-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 24px;
}

.overview-text p {
    font-size: 16px;
    color: #475467;
    line-height: 1.6;
    margin-bottom: 24px;
}

.company-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.highlight-item {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e4e7ec;
}

.highlight-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 12px;
}

.highlight-item p {
    font-size: 14px;
    color: #475467;
    margin: 0;
}

.overview-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid #e4e7ec;
    text-align: center;
}

.stat-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #475467;
    margin-bottom: 12px;
}

.stat-card .stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #101828;
    display: block;
    margin-bottom: 8px;
}

.stat-card p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Current Products */
.current-products {
    padding: 80px 0;
    background: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e4e7ec;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(16, 24, 40, 0.1);
}

.product-card.featured {
    border: 2px solid #f79009;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.product-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: #101828;
    margin: 0;
}

.product-badge {
    background: #f79009;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.spec-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.spec-value {
    font-size: 16px;
    color: #101828;
    font-weight: 600;
}

.product-features h4 {
    font-size: 16px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 12px;
}

.product-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    font-size: 14px;
    color: #475467;
    padding: 4px 0;
    position: relative;
    padding-left: 16px;
}

.product-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

.product-analysis {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e4e7ec;
}

.analysis-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.analysis-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.analysis-value {
    font-size: 16px;
    font-weight: 600;
}

.analysis-value.excellent {
    color: #10b981;
}

.analysis-value.good {
    color: #f59e0b;
}

.analysis-value.poor {
    color: #ef4444;
}

/* Historical Timeline */
.historical-timeline {
    padding: 80px 0;
    background: #f8fafc;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 48px auto 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e4e7ec;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    background: #f79009;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 18px;
    font-weight: 700;
    min-width: 120px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e4e7ec;
    margin: 0 32px;
    flex: 1;
    box-shadow: 0 4px 16px rgba(16, 24, 40, 0.05);
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 16px;
    color: #475467;
    line-height: 1.6;
    margin-bottom: 16px;
}

.timeline-products {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-tag {
    background: #f3f4f6;
    color: #374151;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
}

/* Product Database */
.product-database {
    padding: 80px 0;
    background: #ffffff;
}

.database-filters {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-group label {
    font-weight: 600;
    color: #344054;
    font-size: 14px;
}

.filter-select,
.filter-input {
    padding: 12px 16px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: all 0.2s;
    min-width: 150px;
    color: #101828;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: #f79009;
    box-shadow: 0 0 0 3px rgba(247, 144, 9, 0.1);
}

.database-table {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e4e7ec;
}

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

.database-table th,
.database-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #e4e7ec;
}

.database-table th {
    background: #f8fafc;
    font-weight: 600;
    color: #101828;
    font-size: 14px;
}

.database-table td {
    font-size: 14px;
    color: #475467;
}

.database-table tr:hover {
    background: #f8fafc;
}

/* Buying Guide */
.buying-guide {
    padding: 80px 0;
    background: #f8fafc;
}

.guide-content {
    max-width: 1000px;
    margin: 48px auto 0;
}

.guide-section {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e4e7ec;
    margin-bottom: 32px;
}

.guide-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 16px;
}

.guide-section p {
    font-size: 16px;
    color: #475467;
    line-height: 1.6;
    margin-bottom: 24px;
}

.pros-cons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.pros h4,
.cons h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.pros h4 {
    color: #10b981;
}

.cons h4 {
    color: #ef4444;
}

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

.pros li,
.cons li {
    font-size: 14px;
    color: #475467;
    padding: 4px 0;
    position: relative;
    padding-left: 16px;
}

.pros li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

.cons li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: 600;
}

/* Profitability Calculator */
.profitability-calculator {
    padding: 80px 0;
    background: #ffffff;
}

/* Calculator Navigation */
.calculator-navigation {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.calculator-navigation .nav-link {
    background: #f8fafc;
    color: #475467;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.calculator-navigation .nav-link:hover {
    background: #f79009;
    color: white;
    border-color: #f79009;
}

@media (max-width: 768px) {
    .calculator-navigation {
        flex-direction: column;
        align-items: center;
    }
    
    .calculator-navigation .nav-link {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

.calculator-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.calculator-form {
    background: #f8fafc;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e4e7ec;
}

.form-section {
    margin-bottom: 32px;
}

.form-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 16px;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    color: #101828;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #344054;
    font-size: 14px;
}

.form-group input {
    padding: 12px 16px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 14px;
    color: #101828;
}

.calculate-btn {
    background: #f79009;
    color: #ffffff;
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.calculate-btn:hover {
    background: #d97706;
}

.calculator-results {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e4e7ec;
}

.calculator-results h3 {
    font-size: 20px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 24px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
}

.result-label {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.result-value {
    font-size: 18px;
    font-weight: 700;
    color: #101828;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #f8fafc;
}

.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    background: #ffffff;
    padding: 32px;
    border-radius: 12px;
    border: 1px solid #e4e7ec;
    margin-bottom: 24px;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #101828;
    margin-bottom: 16px;
}

.faq-item p {
    font-size: 16px;
    color: #475467;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .overview-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 24px;
    }
    
    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 48px;
    }
    
    .timeline-year {
        position: absolute;
        left: -24px;
        top: 0;
        min-width: 48px;
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .timeline-content {
        margin: 0;
        width: 100%;
    }
    
    .calculator-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .database-filters {
        flex-direction: column;
    }
    
    .filter-select,
    .filter-input {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .manufacturer-hero .hero-content h1 {
        font-size: 32px;
    }
    
    .manufacturer-hero .subtitle {
        font-size: 18px;
    }
    
    .logo-img-large {
        width: 80px;
        height: 80px;
    }
    
    .overview-text h2 {
        font-size: 24px;
    }
    
    .company-highlights {
        grid-template-columns: 1fr;
    }
    
    .product-specs {
        grid-template-columns: 1fr;
    }
    
    .product-analysis {
        grid-template-columns: 1fr;
    }
}
