/**
 * ============================================
 * WATER POINT - VANILLA CSS STYLESHEET
 * ============================================
 * Catatan: Gunakan file ini untuk semua styling.
 * Jangan tambahkan style inline di HTML.
 */

/* ==================== CSS VARIABLES ==================== */
:root {
    --color-primary: #009fe3;
    --color-primary-dark: #007bbd;
    --color-secondary: #00a8e8;
    --color-bg-light: #f5f5f5;
    --color-bg-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-footer-bg: #009fe3;
    --color-footer-text: #ffffff;
    --font-family: Arial, Helvetica, sans-serif;
    --transition: all 0.3s ease;
    --container-max: 1200px;
    --container-padding: 20px;
}

/* ==================== RESET & BASE ==================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-bg-white);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==================== UTILITIES ==================== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

/* ==================== NAVBAR ==================== */
.navbar {
    background-color: var(--color-bg-white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    padding: 10px 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-primary);
}

/* Language Dropdown */
.lang-dropdown {
    min-width: 150px;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    font-size: 14px;
    color: var(--color-text);
    transition: var(--transition);
}

.lang-dropdown a::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ddd;
    border-radius: 50%;
    margin-left: 10px;
    transition: var(--transition);
    flex-shrink: 0;
}

.lang-dropdown a.active::after {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
}

.lang-dropdown a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
}

/* Dropdown */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-bg-white);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    list-style: none;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    border-radius: 4px;
    overflow: hidden;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 12px 18px;
    font-size: 14px;
    color: var(--color-text);
    transition: var(--transition);
}

.dropdown li a:hover {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: var(--color-text);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== HERO SECTION ==================== */
.hero {
    background-color: var(--color-bg-white);
}

.hero-title-wrapper {
    text-align: center;
    padding: 50px 20px 40px;
}

.hero-title {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-image {
    width: 100%;
    line-height: 0;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==================== INTRO SECTION ==================== */
.intro {
    padding: 60px 20px;
    background-color: var(--color-bg-white);
}

.intro p {
    max-width: 700px;
    margin: 0 auto 20px;
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ==================== PARAMETERS SECTION ==================== */
.parameters {
    padding: 60px 20px;
    background-color: var(--color-bg-light);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-text);
}

.params-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.param-card {
    background: var(--color-bg-white);
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

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

.param-icon {
    margin-bottom: 15px;
}

.param-icon img {
    margin: 0 auto;
}

.param-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 12px;
    text-transform: capitalize;
}

.param-desc {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.params-summary {
    max-width: 800px;
    margin: 0 auto;
}

.params-summary p {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.8;
}

/* ==================== INFO SECTION ==================== */
.info-section {
    padding: 60px 20px;
    background-color: var(--color-bg-white);
}

.info-section p {
    max-width: 800px;
    margin: 0 auto 25px;
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ==================== PRODUCTS SECTION ==================== */
.products {
    padding: 60px 20px;
    background-color: var(--color-bg-light);
}

.product-card {
    display: flex;
    background: var(--color-bg-white);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: var(--transition);
}

.product-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.product-image {
    flex: 0 0 300px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-info {
    flex: 1;
    padding: 30px;
}

.product-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
}

.product-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.spec-col {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 12px;
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.spec-value {
    font-size: 14px;
    color: var(--color-text);
    font-weight: 600;
}

.product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-download {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-download:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 159, 227, 0.4);
}

.btn-more-info {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--color-primary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    border: 2px solid var(--color-primary);
    transition: var(--transition);
}

.btn-more-info:hover {
    background-color: var(--color-primary);
    color: var(--color-bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 159, 227, 0.4);
}

/* ==================== FOOTER ==================== */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 30px 20px;
    font-size: 12px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.footer p {
    margin-bottom: 2px;
    line-height: 1.5;
    opacity: 0.95;
}

.footer a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer a:hover {
    text-decoration: underline;
}

.footer-office {
    line-height: 1.5;
}

.footer-contact {
    line-height: 1.5;
}

.footer-right {
    text-align: right;
    line-height: 1.5;
}

.footer-left h4,
.footer-center h4,
.footer-right h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-email-btn {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 8px;
    transition: var(--transition);
}

.footer-email-btn:hover {
    background: rgba(255,255,255,0.35);
    text-decoration: none;
}

.footer-phone {
    margin-top: 4px;
}

/* ==================== DOWNLOAD MODAL ==================== */
.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.download-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.modal-content {
    position: relative;
    background: var(--color-bg-white);
    padding: 35px 30px;
    border-radius: 8px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 2001;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-text-light);
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--color-text);
}

.modal-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text);
}

.modal-content > p {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
    text-transform: capitalize;
}

.form-group input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: var(--font-family);
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 159, 227, 0.1);
}

.error-msg {
    display: none;
    font-size: 12px;
    color: #e74c3c;
    margin-top: 5px;
}

.btn-download-modal {
    width: 100%;
    padding: 12px;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.btn-download-modal:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.btn-download-modal:not(:disabled):hover {
    background: var(--color-primary-dark);
}

/* ==================== TABLE BASE STYLES (Desktop) ==================== */

/* Comparison Table (smartwater.html) */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-table th,
.comparison-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.comparison-table thead th {
    font-weight: 700;
    color: var(--color-text);
    border-bottom: 2px solid var(--color-primary);
}

.comparison-table tbody tr {
    transition: var(--transition);
}

.comparison-table tbody tr:hover {
    background-color: #f0f9ff;
}

/* Spec Table (ultrasonic.html) */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 700px;
}

.spec-table thead th {
    background: var(--color-primary);
    color: #fff;
    padding: 14px 10px;
    text-align: center;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.spec-table thead th:last-child {
    border-right: none;
}

.spec-table tbody td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
    color: var(--color-text-light);
}

.spec-table tbody td:last-child {
    border-right: none;
}

.spec-table tbody tr {
    transition: var(--transition);
}

.spec-table tbody tr:hover {
    background-color: #f0f9ff;
}

.model-cell {
    font-weight: 700;
    color: var(--color-text);
    background: #fafafa;
}

/* Dimensions Table (prepaid.html) */
.dimensions-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.dimensions-table thead th {
    background: var(--color-primary);
    color: #fff;
    padding: 14px 16px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dimensions-table tbody td {
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    color: var(--color-text-light);
}

.dimensions-table tbody tr {
    transition: var(--transition);
}

.dimensions-table tbody tr:hover {
    background-color: #f0f9ff;
}

.dim-label {
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    background: #fafafa;
}

/* Flow Rate Table (smartdma.html) */
.flow-rate-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 900px;
}

.flow-rate-table thead th {
    background: var(--color-primary);
    color: #fff;
    padding: 14px 8px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.flow-rate-table tbody td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    color: var(--color-text-light);
}

.flow-rate-table tbody tr {
    transition: var(--transition);
}

.flow-rate-table tbody tr:hover {
    background-color: #f0f9ff;
}

.flow-rate-table .item-label {
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    background: #fafafa;
    padding-left: 15px;
}

.flow-rate-table .item-unit {
    font-weight: 600;
    color: var(--color-text);
    background: #f5f5f5;
}

/* Additional Table (ultrasonic.html) */
.additional-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.additional-table tr {
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.additional-table tr:hover {
    background-color: #f9f9f9;
}

.spec-key {
    padding: 12px 15px;
    font-weight: 700;
    color: var(--color-text);
    width: 30%;
    background: #f5f5f5;
    vertical-align: top;
}

.spec-val {
    padding: 12px 15px;
    color: var(--color-text-light);
    line-height: 1.6;
    vertical-align: top;
}

.comm-item {
    display: inline-block;
    margin-right: 12px;
    margin-bottom: 4px;
}

/* Material Icon (ultrasonic.html) */
.material-icon {
    margin-bottom: 15px;
    text-align: center;
}

.material-icon img {
    margin: 0 auto;
    border-radius: 8px;
}

/* ==================== PRODUCT HERO (Detail Pages) ==================== */
.product-hero {
    padding: 40px 20px 30px;
    background-color: var(--color-bg-white);
}

.product-hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: var(--container-max);
    margin: 0 auto;
}

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

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

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

.product-hero-title {
    font-size: 64px;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1.05;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-hero-desc {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.7;
    max-width: 480px;
}

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

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

/* ==================== MATERIAL CARDS ==================== */
.material-cards {
    padding: 50px 20px;
    background-color: var(--color-bg-white);
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.material-card {
    text-align: center;
    padding: 20px;
}

.material-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}

.material-card p {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ==================== TECHNICAL SPECIFICATION ==================== */
.technical-spec {
    padding: 60px 20px;
    background-color: var(--color-bg-white);
}

.tech-spec-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-text);
}

.spec-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
}

/* Spec table subheaders */
.spec-table .th-sub {
    display: block;
    font-size: 10px;
    font-weight: 400;
    opacity: 0.85;
    margin-top: 2px;
    text-transform: none;
    letter-spacing: 0;
}

/* Spec Details Table - Blue left column */
.spec-details-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.spec-details-table tr {
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.spec-details-table tr:hover {
    background-color: #f9f9f9;
}

.spec-details-table td {
    padding: 12px 16px;
    vertical-align: top;
}

.spec-details-table .spec-label-blue {
    width: 35%;
    background-color: var(--color-primary);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
}

.spec-details-table .spec-value-white {
    background-color: #fff;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ==================== CONTENT SECTIONS ==================== */
.content-sections {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.content-block {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

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

.content-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
}

.content-block p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

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

/* ==================== SMART DMA PAGE ==================== */

/* --- Hero Section with Blue Wave --- */
.dma-hero {
    position: relative;
    background: linear-gradient(180deg, #e6f5fc 0%, #ffffff 100%);
    padding: 50px 0 0;
    overflow: hidden;
}

.dma-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, #c8ecfa 0%, #e6f5fc 60%, transparent 100%);
    z-index: 0;
}

.dma-hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dma-hero-left {
    flex: 0 0 55%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 15px;
    align-items: center;
}

.dma-hero-left .dma-img-main {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    align-self: center;
    justify-self: center;
}

.dma-hero-left .dma-img-side {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    align-self: center;
    justify-self: center;
}

.dma-hero-left .dma-img-meter {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    align-self: center;
    justify-self: center;
}

.dma-hero-left img {
    max-width: 100%;
    height: auto;
    display: block;
}

.dma-hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 30px;
}

.dma-hero-title {
    font-size: 72px;
    font-weight: 900;
    color: var(--color-primary, #009fe3);
    line-height: 1.1;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.dma-hero-desc {
    font-size: 14px;
    color: var(--color-text-light, #666);
    line-height: 1.7;
    max-width: 420px;
}

.dma-hero-desc p {
    margin: 0;
}

/* --- Specifications Section --- */
.specifications {
    padding: 60px 20px;
    background-color: #ffffff;
}

.specifications .section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-text, #333);
}

.specs-top-row {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.spec-images {
    flex: 0 0 45%;
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.spec-images img {
    max-width: 100%;
    height: auto;
}

.spec-images .spec-img-left {
    flex: 1;
}

.spec-images .spec-img-right {
    flex: 1;
}

.spec-card-right {
    flex: 1;
}

/* Spec Card Title */
.spec-card-title {
    background-color: var(--color-primary, #009fe3);
    color: #fff;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.spec-group {
    margin-bottom: 20px;
}

.spec-group h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text, #333);
    margin: 15px 0 10px;
    text-transform: uppercase;
}

.spec-detail-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.spec-detail-table tr {
    border-bottom: 1px solid #eee;
}

.spec-detail-table td {
    padding: 8px 0;
    color: var(--color-text-light, #666);
}

.spec-detail-table td:first-child {
    width: 40%;
    color: var(--color-text, #333);
    font-weight: 600;
}

/* Electric Aquator */
.electric-aquator {
    margin-bottom: 30px;
}

.electric-aquator .spec-card-title {
    display: inline-block;
    min-width: 220px;
}

.electric-aquator .spec-detail-table {
    margin-top: 15px;
}

.electric-aquator .spec-detail-table td:first-child {
    width: 22%;
}

/* General + Value Row */
.general-value-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.general-value-row .spec-card {
    flex: 1;
}

.general-value-row .spec-card-title {
    display: inline-block;
    min-width: 160px;
}

.general-value-row .spec-detail-table {
    margin-top: 15px;
}

.general-value-row .spec-detail-table td:first-child {
    width: 35%;
}

.output-mode h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text, #333);
    margin: 20px 0 10px;
    text-transform: uppercase;
}

.output-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 15px;
}

.output-table td {
    padding: 8px 12px;
    border: 1px solid #eee;
    text-align: center;
    color: var(--color-text-light, #666);
}

.output-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--color-text, #333);
    border-left: none;
}

.output-table tr:first-child td {
    border-top: none;
}

.output-table tr td:first-child {
    border-left: none;
}

.output-table tr td:last-child {
    border-right: none;
}

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

/* Product Big Image */
.dma-product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #ffffff;
    margin: 40px 0;
}

.dma-product-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

/* Flow Rate Table */
.flow-rate-section {
    margin-top: 40px;
}

.flow-rate-table-wrapper {
    overflow-x: auto;
}

.flow-rate-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 900px;
}

.flow-rate-table thead th {
    background-color: var(--color-primary, #009fe3);
    color: #fff;
    padding: 12px 8px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.flow-rate-table thead th.col-item {
    text-align: left;
    padding-left: 15px;
}

.flow-rate-table tbody td {
    padding: 10px 8px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    color: var(--color-text-light, #666);
}

.flow-rate-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.flow-rate-table .item-label {
    font-weight: 600;
    color: var(--color-text, #333);
    text-align: left;
    padding-left: 15px;
}

.flow-rate-table .item-unit {
    font-weight: 600;
    color: var(--color-text, #333);
    background-color: #f5f5f5;
}

/* --- Benefits Section --- */
.benefits-section {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

.benefits-section .section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-text, #333);
}

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

.benefit-card {
    text-align: center;
    padding: 20px;
}

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

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

.benefit-card p {
    font-size: 14px;
    color: var(--color-text-light, #666);
    line-height: 1.5;
}

/* --- Footer tweak --- */
.footer {
    background-color: var(--color-primary, #009fe3);
    color: #fff;
    padding: 30px 20px;
    font-size: 12px;
}

.footer a {
    color: #fff;
}

/* ============================================
   RESPONSIVE - SMART DMA
   ============================================ */
@media (max-width: 1023px) {
    .dma-hero-container {
        flex-direction: column;
        gap: 30px;
    }

    .dma-hero-left {
        flex: none;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .dma-hero-right {
        text-align: center;
    }

    .dma-hero-title {
        font-size: 56px;
        margin-bottom: 30px;
    }

    .dma-hero-desc {
        max-width: 100%;
    }

    .specs-top-row {
        flex-direction: column;
        gap: 30px;
    }

    .spec-images {
        flex: none;
        width: 100%;
        justify-content: center;
    }

    .spec-card-right {
        flex: none;
        width: 100%;
    }

    .general-value-row {
        flex-direction: column;
    }

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

@media (max-width: 767px) {
    .dma-hero-left {
        grid-template-columns: 1fr 1fr;
    }

    .dma-hero-left .dma-img-main {
        grid-column: 1 / 2;
        grid-row: 1 / 2;
    }

    .dma-hero-left .dma-img-side {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
    }

    .dma-hero-left .dma-img-meter {
        grid-column: 1 / 3;
        grid-row: 2 / 3;
    }

    .dma-hero-title {
        font-size: 40px;
    }

    .spec-images {
        flex-direction: column;
        align-items: center;
    }

    .electric-aquator .spec-detail-table td:first-child {
        width: 35%;
    }

    .dma-product-image img {
        max-width: 280px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .benefit-card {
        padding: 10px;
    }

    .benefit-icon {
        height: 50px;
    }

    .benefit-icon img {
        max-height: 45px;
    }
}

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

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

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

    .benefit-card p {
        font-size: 12px;
    }
}


/* ==================== RESPONSIVE - TABLET ==================== */
@media (max-width: 1023px) {
    .hero-title-wrapper {
        padding: 40px 20px 30px;
    }

    .hero-title {
        font-size: 36px;
    }

    .params-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-card {
        flex-direction: column;
    }

    .product-image {
        flex: none;
        height: 300px;
        width: 100%;
    }

    .product-specs {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Smartwater page responsive - tablet */
    .product-hero-container {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

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

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

    .tech-grid {
        gap: 20px;
    }

    .platform-step {
        width: 150px;
    }

    .platform-arrow {
        font-size: 24px;
    }


    /* Ultrasonic page responsive - tablet */
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .spec-details-table .spec-label-blue {
        width: 40%;
    }

}

/* ==================== RESPONSIVE - MOBILE ==================== */
@media (max-width: 767px) {
    .nav-container {
        height: 60px;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--color-bg-white);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nav-menu.active {
        max-height: 500px;
        border-top: 1px solid #eee;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 14px 20px;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        text-align: left;
    }

    .has-dropdown .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .has-dropdown.active .dropdown {
        max-height: 300px;
    }

    .dropdown li a {
        padding-left: 35px;
        background: #fafafa;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero-title-wrapper {
        padding: 30px 20px 25px;
    }

    .hero-title {
        font-size: 28px;
    }

    .intro p,
    .info-section p {
        font-size: 15px;
    }

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

    .param-card {
        padding: 25px 20px;
    }

    .product-image {
        height: 250px;
    }

    .product-info {
        padding: 20px;
    }

    .product-name {
        font-size: 18px;
    }

    .product-specs {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }

    .footer-right {
        text-align: center;
    }

    /* Smartwater page responsive - mobile */
    .product-hero {
        padding: 40px 20px;
    }

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

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

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

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

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

    .feature-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

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

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

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

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

    .nrw-chart {
        height: 40px;
    }

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

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

    .detection-legend {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    /* Ultrasonic page responsive - mobile */
    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .material-card {
        padding: 20px 15px;
    }

    .spec-table {
        font-size: 11px;
    }

    .spec-table thead th,
    .spec-table tbody td {
        padding: 8px 6px;
    }

    .spec-key,
    .spec-label-blue {
        width: 40%;
        padding: 10px;
    }

    .spec-val,
    .spec-value-white {
        padding: 10px;
    }

    .spec-details-table {
        font-size: 13px;
    }

    .spec-details-table td {
        padding: 10px;
    }

    .content-title {
        font-size: 18px;
    }

    .content-block p {
        font-size: 14px;
    }


    /* Prepaid page responsive - mobile */
    .feature-row {
        padding: 12px 0;
        gap: 12px;
    }

    .feature-row-icon {
        width: 38px;
        height: 38px;
    }

    .feature-row-icon img {
        width: 20px;
        height: 20px;
    }

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

    .intro-subtitle {
        font-size: 16px;
    }

    .dimensions-table {
        font-size: 12px;
    }

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

}

/* ==================== RESPONSIVE - SMALL MOBILE ==================== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

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

    .product-specs {
        grid-template-columns: repeat(2, 1fr);
    }
}
