/* ==========================================================================
   SIEMENS SIMATIC / INDUSTRIAL EXPERIENCE (iX) DESIGN SYSTEM TOKENS
   ========================================================================== */
:root {
    /* Color Spectrum */
    --si-petrol-dark: #1c262b;   /* Main structural dark gray background */
    --si-petrol-base: #0f1618;   /* Deepest console background */
    --si-teal-brand: #009999;    /* Iconic Siemens Petrol Teal */
    --si-teal-hover: #007c7c;
    --si-teal-light: #00ffbc;    /* Dynamic digital green status color */
    --si-gray-light: #f4f6f7;    /* Clean technical workspace background */
    --si-text-dark: #0f1618;
    --si-text-muted: #62757f;
    --si-border-light: #d1d8dc;
    --si-border-dark: #2c3941;

    /* Typographic & Spatial Scaling */
    --si-font-family: 'Inter', 'Noto Sans Myanmar', sans-serif;
    --si-font-mono: 'Roboto Mono', monospace;
    --header-height: 70px;
    --transition-linear: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset Layout Rules */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: var(--si-font-family);
    color: var(--si-text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

.si-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Generic Layout Modular Blocks */
.si-section {
    padding: 90px 0;
    border-bottom: 1px solid var(--si-border-light);
}
.bg-light-gray { background-color: var(--si-gray-light); }
.bg-dark-petrol { 
    background-color: var(--si-petrol-dark); 
    border-bottom-color: var(--si-border-dark);
}
.text-white { color: #ffffff; }

/* Structural Headers Typography */
.section-meta-head {
    margin-bottom: 48px;
}

.meta-index {
    display: block;
    font-family: var(--si-font-mono);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--si-teal-brand);
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.3;
}

/* ==========================================================================
   NAVIGATION DESKTOP & MOBILE CONTROL ROW
   ========================================================================== */
.si-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--si-border-light);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.si-logo {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.logo-sub { font-weight: 300; color: var(--si-text-muted); }

.si-nav {
    display: flex;
    gap: 36px;
}

.nav-link {
    text-decoration: none;
    color: var(--si-text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: var(--transition-linear);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background-color: var(--si-teal-brand);
    transition: var(--transition-linear);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover { color: var(--si-teal-brand); }

/* Language Dynamic Toggler Switch */
.header-controls {
    display: flex;
    align-items: center;
    gap: 24px;
}

.lang-switch-container {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--si-gray-light);
    padding: 6px 12px;
    border-radius: 2px;
    border: 1px solid var(--si-border-light);
}

.lang-text {
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--si-font-mono);
}

.si-toggle {
    position: relative;
    display: inline-block;
    width: 34px;
    height: 18px;
}

.si-toggle input { opacity: 0; width: 0; height: 0; }

.si-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--si-border-light);
    transition: .2s;
    border-radius: 10px;
}

.si-slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .2s;
    border-radius: 50%;
}

input:checked + .si-slider { background-color: var(--si-teal-brand); }
input:checked + .si-slider:before { transform: translateX(16px); }

/* ==========================================================================
   CONSOLE INDUSTRIAL HERO SECTION
   ========================================================================== */
.si-hero {
    min-height: 85vh;
    padding-top: calc(var(--header-height) + 60px);
    background-color: var(--si-petrol-base);
    color: #ffffff;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 4px solid var(--si-teal-brand);
    overflow: hidden;
}

.si-grid-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 10;
    max-width: 950px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(0, 153, 153, 0.12);
    border: 1px solid var(--si-teal-brand);
    padding: 6px 14px;
    font-family: var(--si-font-mono);
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: var(--si-teal-light);
    margin-bottom: 28px;
}

.pulse-indicator {
    width: 6px; height: 6px;
    background-color: var(--si-teal-light);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--si-teal-light);
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    color: #b0bec5;
    margin-bottom: 40px;
    max-width: 780px;
}

.hero-buttons { display: flex; gap: 16px; }

/* Buttons Blueprint */
.si-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 2px;
    transition: var(--transition-linear);
    cursor: pointer;
    border: none;
}

.si-btn-primary { background-color: var(--si-teal-brand); color: #ffffff; }
.si-btn-primary:hover { background-color: var(--si-teal-hover); }
.si-btn-secondary { background-color: transparent; color: #ffffff; border: 1px solid rgba(255,255,255,0.25); }
.si-btn-secondary:hover { background-color: rgba(255,255,255,0.05); border-color: #ffffff; }
.full-width-btn { width: 100%; }

.si-btn:disabled {
    background-color: var(--si-text-muted);
    opacity: 0.6;
    cursor: not-allowed;
}

.hero-infobar {
    background-color: rgba(0,0,0,0.3);
    border-top: 1px solid var(--si-border-dark);
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    padding: 20px 24px;
    gap: 16px;
}

.infobar-block {
    font-family: var(--si-font-mono);
    font-size: 0.8rem;
    color: #90a4ae;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.infobar-num { color: var(--si-teal-brand); font-weight: 700; margin-right: 6px; }

/* ==========================================================================
   SOLUTIONS GRID ARRAYS
   ========================================================================== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.sol-card {
    background: #ffffff;
    padding: 44px 36px;
    border: 1px solid var(--si-border-light);
    border-top: 3px solid transparent;
    transition: var(--transition-linear);
}

.sol-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border-color: var(--si-border-light);
    border-top-color: var(--si-teal-brand);
}

.sol-icon { color: var(--si-teal-brand); margin-bottom: 24px; }
.sol-title { font-size: 1.3rem; font-weight: 600; margin-bottom: 14px; letter-spacing: -0.3px; }
.sol-desc { color: var(--si-text-muted); font-size: 0.95rem; }

/* ==========================================================================
   STRATEGIC ECOSYSTEM BRAND PORTFOLIO
   ========================================================================== */
.brand-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background-color: var(--si-border-light);
    border: 1px solid var(--si-border-light);
}

.brand-logo-wrapper {
    background-color: #ffffff;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    transition: var(--transition-linear);
}

.brand-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: var(--transition-linear);
}

.brand-logo-wrapper:hover {
    background-color: var(--si-gray-light);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.02);
}

.brand-logo-wrapper:hover .brand-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* ==========================================================================
   ABOUT ACCORDION & CORPORATE PROFILE MATRIX
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-p { color: #cfd8dc; margin-bottom: 24px; font-size: 1.05rem; font-weight: 300; }

.about-accordion-stack { border-top: 1px solid var(--si-border-dark); }
.accordion-panel { border-bottom: 1px solid var(--si-border-dark); }

.accordion-title-row {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    user-select: none;
}

.accordion-title-row:hover { color: var(--si-teal-light); }
.accordion-arrow { font-family: var(--si-font-mono); color: var(--si-teal-brand); font-size: 1.2rem; transition: var(--transition-linear); }

.accordion-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease-out;
    color: #b0bec5;
    font-size: 0.95rem;
}

.accordion-panel.active .accordion-details {
    max-height: 180px;
    padding-bottom: 24px;
}

.accordion-panel.active .accordion-arrow {
    transform: rotate(45deg);
    color: var(--si-teal-light);
}

/* ==========================================================================
   CONTACT CONTROL MODULE
   ========================================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.channels-intro { font-size: 1.1rem; color: var(--si-text-muted); margin-bottom: 36px; }

.channel-node {
    background: #ffffff;
    padding: 24px;
    border-left: 4px solid var(--si-teal-brand);
    border-top: 1px solid var(--si-border-light);
    border-right: 1px solid var(--si-border-light);
    border-bottom: 1px solid var(--si-border-light);
    margin-bottom: 16px;
}

.node-label { font-family: var(--si-font-mono); font-size: 0.75rem; color: var(--si-text-muted); margin-bottom: 6px; text-transform: uppercase; }
.node-value { font-size: 1.25rem; font-weight: 700; color: var(--si-text-dark); text-decoration: none; display: block; }
a.node-value:hover { color: var(--si-teal-brand); }
.status-highlight { font-size: 1.1rem; font-weight: 600; color: var(--si-text-dark); }

.si-form { background: #ffffff; padding: 40px; border: 1px solid var(--si-border-light); }
.field-block { margin-bottom: 24px; }
.field-label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; }

.field-input, .field-textarea {
    width: 100%; padding: 12px 16px;
    font-family: var(--si-font-family); font-size: 0.95rem;
    border: 1px solid var(--si-border-light); background-color: var(--si-gray-light);
    color: var(--si-text-dark); border-radius: 2px;
    transition: var(--transition-linear);
}

.field-input:focus, .field-textarea:focus {
    outline: none; border-color: var(--si-teal-brand); background-color: #ffffff;
}

/* ==========================================================================
   FOOTER AREA
   ========================================================================== */
.si-footer {
    background-color: var(--si-petrol-base);
    color: #546e7a; padding: 40px 0; font-size: 0.9rem;
    border-top: 1px solid var(--si-border-dark);
}

.footer-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-design-token { font-family: var(--si-font-mono); font-size: 0.75rem; }

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
.mobile-menu-btn {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}

.mobile-menu-btn span { display: block; width: 22px; height: 2px; background-color: var(--si-text-dark); transition: var(--transition-linear); }

@media (max-width: 992px) {
    .about-grid, .contact-layout { grid-template-columns: 1fr; gap: 40px; }
    .hero-title { font-size: 2.6rem; }
    .brand-showcase-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    
    .si-nav {
        position: absolute; top: var(--header-height); left: 0; width: 100%;
        background: #ffffff; border-bottom: 1px solid var(--si-border-light);
        flex-direction: column; padding: 24px; gap: 16px;
        transform: translateY(-120%); opacity: 0; transition: transform 0.3s ease, opacity 0.3s ease;
        pointer-events: none;
    }
    
    .si-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .hero-buttons { flex-direction: column; }
    .footer-row { flex-direction: column; text-align: center; }
}

@media (max-width: 576px) {
    .brand-showcase-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tracking Adjustment for Myanmar Unicode Script Lines */
[data-lang="mm"] html { font-size: 96%; }