/**
 * ============================================
 * SMARTWATER PAGE SPECIFIC STYLES
 * ============================================
 * Styles khusus untuk halaman Smart Water Meter
 * agar tampilannya sesuai dengan design.
 */

/* ==================== PRODUCT HERO ==================== */
.product-hero {
    background: linear-gradient(180deg, #e8f6fc 0%, #ffffff 100%);
    padding: 60px 20px 50px;
}

.product-hero-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.product-hero-image {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-hero-image img {
    max-height: 500px;
    width: auto;
}

.product-hero-content {
    flex: 1;
}

.product-hero-title {
    font-size: 72px;
    font-weight: 900;
    color: #009fe3;
    line-height: 1.1;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.product-hero-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.8;
    max-width: 500px;
}

.product-hero-desc p {
    margin-bottom: 16px;
}

.product-hero-desc p:last-child {
    margin-bottom: 0;
}

.product-hero-desc strong {
    color: #009fe3;
    font-weight: 700;
}

/* ==================== FEATURE ICONS SECTION ==================== */
.dma-features {
    padding: 50px 20px;
    background-color: #ffffff;
}

.dma-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.dma-feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.dma-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dma-feature-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.dma-feature-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* ==================== WHY SMART WATER METER ==================== */
.why-smart {
    padding: 60px 20px;
    background-color: #ffffff;
}

.why-smart .section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.comparison-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-dma-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-dma-table thead th {
    padding: 16px;
    text-align: center;
    font-weight: 700;
    color: #666;
    border-bottom: 2px solid #009fe3;
    background: #fff;
}

.comparison-dma-table .feature-col {
    width: 40%;
}

.comparison-dma-table .mechanical-col {
    width: 30%;
    color: #888;
    font-weight: 600;
}

.comparison-dma-table .wp-col {
    width: 30%;
    background: #f0f9ff;
}

.comparison-dma-table .wp-col img {
    max-height: 30px;
    margin: 0 auto;
}

.comparison-dma-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.comparison-dma-table tbody tr:nth-child(odd) {
    background: #fafafa;
}

.comparison-dma-table tbody tr:nth-child(odd) .wp-val {
    background: #e6f5fc;
}

.comparison-dma-table .feature-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #009fe3;
}

.comparison-dma-table .feat-icon {
    font-size: 20px;
}

.comparison-dma-table .mechanical-val {
    text-align: center;
    color: #888;
}

.comparison-dma-table .wp-val {
    text-align: center;
    color: #009fe3;
    font-weight: 600;
    background: #f0f9ff;
}

.comparison-dma-table .checkmark {
    color: #009fe3;
    font-size: 18px;
    font-weight: 700;
}

/* ==================== TECHNICAL DATA / SPECIFICATION ==================== */
.technical-data {
    padding: 60px 20px;
    background-color: #ffffff;
}

.technical-data .section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.tech-panels-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.tech-panel {
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
}

.panel-header {
    background-color: #009fe3;
    color: #fff;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panel-graph {
    padding: 20px;
    text-align: center;
    background: #fff;
}

.panel-graph img {
    max-width: 100%;
    height: auto;
}

.panel-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.panel-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

.panel-table tbody tr:last-child {
    border-bottom: none;
}

.panel-table td {
    padding: 8px 12px;
    color: #555;
}

.panel-table td:first-child {
    color: #333;
    font-weight: 600;
    width: 40%;
}

.panel-materials {
    padding: 20px;
    background: #fff;
}

.mat-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

.mat-row:last-child {
    border-bottom: none;
}

.mat-key {
    font-weight: 600;
    color: #333;
}

.mat-val {
    color: #666;
    text-align: right;
}

.mat-link {
    margin-top: 15px;
    font-size: 12px;
}

.mat-link a {
    color: #009fe3;
    word-break: break-all;
}

/* ==================== WATERPOINT METERING PLATFORM ==================== */
.metering-platform {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.metering-platform .section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #333;
}

.platform-block {
    margin-bottom: 50px;
    text-align: center;
}

.platform-block:last-child {
    margin-bottom: 0;
}

.platform-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #009fe3;
    margin-bottom: 30px;
    text-align: center;
}

.platform-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.platform-step {
    text-align: center;
    width: 160px;
}

.step-icon {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.step-icon img {
    max-height: 60px;
    width: auto;
}

.platform-step h4 {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.platform-step p {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}

.platform-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #009fe3;
    color: #fff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 700;
}

/* ==================== NRW CLASSIFICATION ==================== */
.nrw-section {
    padding: 60px 20px;
    background-color: #ffffff;
}

.nrw-section .section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.nrw-subtitle {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.nrw-chart-bar {
    display: flex;
    max-width: 700px;
    margin: 0 auto 10px;
    height: 50px;
    border-radius: 4px;
    overflow: hidden;
}

.nrw-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
}

.nrw-red {
    background-color: #e74c3c;
}

.nrw-orange {
    background-color: #f39c12;
}

.nrw-blue {
    background-color: #3498db;
}

.nrw-assumption {
    text-align: center;
    font-size: 13px;
    color: #009fe3;
    font-weight: 600;
    margin-bottom: 30px;
}

.nrw-legend-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.nrw-legend-col {
    font-size: 13px;
}

.legend-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 14px;
}

.legend-dot {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: inline-block;
}

.nrw-red-dot {
    background: #e74c3c;
}

.nrw-orange-dot {
    background: #f39c12;
}

.nrw-legend-col ol {
    padding-left: 20px;
    color: #555;
    line-height: 1.8;
}

/* ==================== DETECTION BY AMR ==================== */
.detection-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.detection-section .section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.detection-chart-wrapper {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.detection-chart-wrapper img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   RESPONSIVE - SMARTWATER PAGE
   ============================================ */
@media (max-width: 1023px) {
    .product-hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .product-hero-image {
        flex: none;
    }

    .product-hero-image img {
        max-height: 400px;
    }

    .product-hero-title {
        font-size: 56px;
    }

    .product-hero-desc {
        max-width: 100%;
        margin: 0 auto;
    }

    .tech-panels-grid {
        gap: 20px;
    }

    .platform-step {
        width: 140px;
    }

    .nrw-legend-grid {
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .product-hero {
        padding: 40px 20px;
    }

    .product-hero-title {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .product-hero-image img {
        max-height: 300px;
    }

    .dma-features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .comparison-dma-table {
        font-size: 12px;
    }

    .comparison-dma-table thead th,
    .comparison-dma-table tbody td {
        padding: 10px 8px;
    }

    .tech-panels-grid {
        grid-template-columns: 1fr;
    }

    .platform-flow {
        flex-direction: column;
        gap: 15px;
    }

    .platform-arrow {
        transform: rotate(90deg);
    }

    .platform-step {
        width: 100%;
        max-width: 200px;
    }

    .nrw-chart-bar {
        height: 40px;
    }

    .nrw-segment {
        font-size: 13px;
    }

    .nrw-legend-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .product-hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 22px;
    }

    .dma-feature-text {
        font-size: 14px;
    }
}
