body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #111;
    color: #f0f0f0;
    line-height: 1.6;
}

.material-symbols-outlined {
    font-size: inherit !important;
}

header.main-header {
    position: relative;
    width: 100%;
    padding: 0;
    background-color: transparent;
    box-shadow: none;
    overflow: visible;
}

.header-bg-image {
    width: 100%;
    height: auto;
    display: block;
}

.header-logo-link {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    display: inline-block;
    padding: 15px 20px;
    background-color: transparent;
    border: 2px solid transparent;
    border-radius: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
}

.header-logo-link.scrolled {
    background-color: rgba(17, 17, 17, 0.7);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-logo-link:hover {
    background-color: rgba(17, 17, 17, 0.85);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.header-logo {
    max-width: 250px;
    height: auto;
    display: block;
}

.sticky-nav {
    position: fixed;
    top: 20px;
    right: 30px;
    width: auto;
    background-color: rgba(17, 17, 17, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 15px 30px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    border-radius: 50px;
}

.sticky-nav.scrolled {
    top: 0;
    right: 0;
    width: 100%;
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-radius: 0;
    justify-content: space-between;
}

.nav-logo {
    max-width: 187px;
    height: auto;
    flex-shrink: 0;
    display: none;
}

.sticky-nav.scrolled .nav-logo {
    display: block;
}

.nav-tabs {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
    flex-shrink: 0;
}

.nav-tabs li {
    margin: 0;
}

.nav-tabs a {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    padding: 10px 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-size: 1.1em;
    border-radius: 30px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.nav-tabs a:hover {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


.hero {
    display: flex;
    flex-direction: row;
    margin: 20px auto;
    padding: 20px;
    background: linear-gradient(145deg, #1a1a1a, #222);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 1200px;
    align-items: stretch;
    color: #eee;
    border: 1px solid #333;
}

.gallery {
    flex: 2;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: stretch;
}

.large-image {
    flex: 2;
    overflow: hidden;
    border-radius: 12px;
    align-self: stretch;
    height: 100%;
}

.large-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.thumbnails {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-height: 500px;
}

.thumb {
    flex: 1;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #444;
    transition: border-color 0.3s ease;
}

.thumb:hover {
    border-color: #126ba2;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumb:hover img {
    transform: scale(1.1);
}

.product-info {
    flex: 1;
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.product-info h1 {
    font-size: 2.5em;
    margin-top: 0;
    margin-bottom: 6px;
    color: #fff;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.product-info ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 8px;
}

.product-info li {
    margin-bottom: 4px;
    color: #ccc;
    display: flex;
    align-items: center;
}

.product-info li::before {
    content: "•";
    color: #126ba2;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.product-info button {
    background: linear-gradient(90deg, #126ba2, #1d8b92);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    width: 100%;
    margin-top: auto;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(18, 107, 162, 0.4);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.product-block {
    background-color: #1a1a1a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 350px;
    border: 1px solid #333;
    transition: transform 0.3s ease;
}

.product-block:hover {
    transform: translateY(-5px);
}

.image-placeholder {
    flex: 0 0 350px;
    width: 350px;
    height: auto;
    object-fit: cover;
    border-right: 1px solid #333;
}

.content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spec {
    font-size: 1.8em;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 4px;
    color: #fff;
    letter-spacing: -0.5px;
}

.description {
    font-size: 1.1em;
    color: #aaa;
    line-height: 1.7;
    margin-top: 0;
    margin-bottom: 4px;
}

.bottom-section {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 80px auto;
    padding: 20px;
    max-width: 1200px;
}

.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.button-group:hover {
    transform: translateY(-5px);
}

.icon-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(145deg, #333, #444);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2.5em;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.bottom-section button {
    background: transparent;
    color: #00bcd4;
    padding: 12px 30px;
    border: 2px solid #00bcd4;
    border-radius: 30px;
    font-size: 1.1em;
    cursor: pointer;
    width: auto;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bottom-section button:hover {
    background-color: #00bcd4;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.4);
}

.about-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.about-hero {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-bottom: 40px;
    align-items: center;
}

.about-image img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

.about-text {
    flex: 1;
}

.about-text h1 {
    color: #fff;
    margin-bottom: 20px;
}

.about-text p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-info {
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.contact-info h2 {
    color: #fff;
    margin-bottom: 20px;
}

.contact-info p {
    color: #ccc;
    margin-bottom: 10px;
}

.social-media {
    background-color: #333;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    margin-top: 20px;
}

.social-media h2 {
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background-color: #555;
    color: #eee;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #666;
    transition: background-color 0.3s;
    width: 300px;
}

.social-button:hover {
    background-color: #126ba2;
    color: #fff;
}

.social-button .icon {
    font-size: 2em;
    margin-bottom: 5px;
}

.social-button span:last-child {
    font-size: 1em;
}

@media (max-width: 768px) {
    .header-logo-link {
        top: 5px;
        left: 0px;
        padding: 5px 8px;
        border-radius: 12px;
    }

    .header-logo {
        max-width: 135px;
    }

    .sticky-nav {
        padding: 8px 12px;
        top: 15px;
        right: 20px;
    }

    .sticky-nav.scrolled {
        top: 0;
        right: 0;
        padding: 10px 15px;
    }

    .nav-logo {
        max-width: 125px;
    }

    .nav-tabs {
        gap: 5px;
    }

    .nav-tabs a {
        padding: 6px 10px;
        font-size: 0.75em;
    }

    .sticky-nav.scrolled .nav-tabs {
        gap: 8px;
    }

    .sticky-nav.scrolled .nav-tabs a {
        padding: 8px 12px;
        font-size: 0.85em;
    }

    .hero {
        flex-direction: column;
        margin: 20px;
        padding: 20px;
    }

    .gallery {
        flex-direction: column;
    }

    .large-image {
        height: 300px;
    }

    .thumbnails {
        flex-direction: row;
        min-height: auto;
        gap: 10px;
    }

    .thumb {
        flex: 1;
        max-width: calc(50% - 5px);
        height: 0;
        padding-bottom: calc(50% - 5px);
        position: relative;
    }

    .thumb img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .product-info {
        padding-left: 0;
        padding-top: 20px;
    }

    .product-info h1 {
        font-size: 2em;
    }

    .product-block {
        flex-direction: column;
        height: auto;
    }

    .image-placeholder {
        width: 100%;
        height: 250px;
        border-right: none;
        border-bottom: 1px solid #333;
    }

    .content {
        padding: 25px;
    }

    .bottom-section {
        flex-direction: column;
        gap: 40px;
    }

    .about-hero {
        flex-direction: column;
        text-align: center;
    }

    .about-image img {
        width: 200px;
        height: 200px;
    }

    .social-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .social-button {
        width: 80vw;
    }


}

.sensors-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.sensors-container h1 {
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.sensor-section {
    margin-bottom: 30px;
    background: linear-gradient(145deg, #1a1a1a, #222);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.sensor-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    border-color: #126ba2;
}

.sensor-section h2 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.8em;
    font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #126ba2, #1d8b92);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sensor-section p {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 12px;
}

.sensor-section ul {
    color: #ccc;
    line-height: 1.7;
    margin-left: 20px;
}

.sensor-section li {
    margin-bottom: 8px;
    color: #ccc;
}

/* Sensor Subsection Styles */
.sensor-subsection {
    margin-top: 25px;
    margin-bottom: 25px;
}

.subsection-title {
    color: #fff;
    font-size: 1.4em;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #333;
}

.subsection-desc {
    color: #aaa;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}


/* Sensor Grid Styles */
.sensor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sensor-card {
    background: linear-gradient(145deg, #222, #2a2a2a);
    border: 2px solid #333;
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 160px;
}

.sensor-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #126ba2;
    box-shadow: 0 15px 35px rgba(18, 107, 162, 0.3);
    background: linear-gradient(145deg, #2a2a2a, #333);
}

.sensor-icon {
    font-size: 3.5em !important;
    color: #126ba2;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.sensor-card:hover .sensor-icon {
    transform: scale(1.15) rotate(5deg);
    color: #1d8b92;
}

.sensor-card h3 {
    color: #fff;
    font-size: 1.1em;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.built-in-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(90deg, #126ba2, #1d8b92);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sensor-card-placeholder {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 2px dashed #444;
    opacity: 0.6;
    cursor: default;
}

.sensor-card-placeholder:hover {
    transform: none;
    border-color: #555;
    box-shadow: none;
    background: linear-gradient(145deg, #1a1a1a, #222);
}

.sensor-card-placeholder .sensor-icon {
    color: #555;
}

.sensor-card-placeholder:hover .sensor-icon {
    transform: none;
    color: #666;
}

.sensor-card-placeholder h3 {
    color: #666;
}

.coming-soon-text {
    color: #555;
    font-size: 0.85em;
    font-style: italic;
    margin: 5px 0 0 0;
}

@media (max-width: 768px) {
    .sensor-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }

    .sensor-card {
        padding: 15px 15px;
        min-height: 120px;
    }

    .sensor-icon {
        font-size: 3em !important;
    }

    .sensor-card h3 {
        font-size: 0.95em;
    }
}

/* Product Grid Styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.product-card {
    background: linear-gradient(145deg, #222, #2a2a2a);
    border: 2px solid #333;
    border-radius: 16px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 180px;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #126ba2;
    box-shadow: 0 15px 35px rgba(18, 107, 162, 0.3);
    background: linear-gradient(145deg, #2a2a2a, #333);
}

.product-icon {
    font-size: 3.5em !important;
    color: #126ba2;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.product-card:hover .product-icon {
    transform: scale(1.15) rotate(5deg);
    color: #1d8b92;
}

.product-card h3 {
    color: #fff;
    font-size: 1.3em;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.product-desc {
    color: #aaa;
    font-size: 0.95em;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.view-link {
    color: #126ba2;
    font-size: 0.9em;
    font-weight: 600;
    margin-top: auto;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.product-card:hover .view-link {
    color: #1d8b92;
    transform: translateX(5px);
}

.product-card-placeholder {
    background: linear-gradient(145deg, #1a1a1a, #222);
    border: 2px dashed #444;
    opacity: 0.6;
    cursor: default;
    pointer-events: none;
}

.product-card-placeholder:hover {
    transform: none;
    border-color: #444;
    box-shadow: none;
    background: linear-gradient(145deg, #1a1a1a, #222);
}

.product-card-placeholder .product-icon {
    color: #555;
}

.product-card-placeholder:hover .product-icon {
    transform: none;
    color: #555;
}

.product-card-placeholder h3 {
    color: #666;
}

.product-card-placeholder .product-desc {
    color: #555;
}

.product-card-placeholder .view-link {
    display: none;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .product-card {
        padding: 20px 15px;
        min-height: 160px;
    }

    .product-icon {
        font-size: 3em !important;
    }

    .product-card h3 {
        font-size: 1.1em;
    }

    .product-desc {
        font-size: 0.85em;
    }

    .view-link {
        font-size: 0.7em;
    }
}