/* ===============================================
   RealSCADA Product Page Styles
   Mobile First Approach - Single breakpoint at 1200px
   =============================================== */

/* ===============================================
   Base styles (Mobile < 1200px)
   =============================================== */

/* Main content area */
main {
    margin-top: 60px;
    margin-bottom: 5rem;
}

/* Product banner section */
.product-section {
    background-image: url('../images/product-realinfo.png');
    background-position: center;
    background-size: cover;
    color: white;
    letter-spacing: 0.05em;
    height: 500px;
}

/* Backdrop blur overlay */
.backdrop-blur {
    width: 100%;
    height: 100%;
    /* Fallback: semi-transparent background */
    background-color: rgba(0, 0, 0, 0.3);
    /* Safari/Webkit prefix */
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

/* Banner container */
.product-container {
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
}

/* Banner content area */
.product-content {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 8rem 30px 0;
}

/* Product name */
.product-name {
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    font-style: italic;
}

/* Product title */
.product-title {
    text-align: center;
    font-size: 1.875rem;
    font-weight: bold;
    background-clip: text;
}

/* Features list container */
.features-list {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    list-style-type: disc;
    padding-left: 1rem;
}

/* Feature list item */
.feature-item {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Last feature list item special style */
.feature-item-last {
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
}

/* Content container */
.content-container {
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem;
    padding: 0 16px;
}

/* Navigation bar */
.nav-container {
    height: 3rem;
    background-color: #f1f5f9;
    color: white;
    font-size: 1rem;
    line-height: 3rem;
    position: sticky;
    top: 60px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Navigation tabs container */
.nav-tabs {
    display: flex;
    height: 100%;
}

/* Navigation tab */
.nav-tab {
    user-select: none;
    height: 100%;
    width: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    background-color: #81add3;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Active tab state */
.nav-tab.active {
    background-color: #81add3;
}

/* Inactive tab state */
.nav-tab.inactive {
    background-color: #999;
}

/* Detail sections */
.detail-section {
    display: none;
}

/* Active detail section */
.detail-section.active {
    display: block;
}

/* Feature card */
.feature-card {
    margin: 0 16px;
    position: relative;
    margin-top: 3rem;
    padding-top: 1.5rem;
    padding-bottom: 1rem;
    border: 2px solid #1e4d9f;
    border-radius: 0.25rem;
    font-size: 1rem;
}

/* Feature card title */
.feature-card h3 {
    position: absolute;
    top: -1.5rem;
    left: 2.25rem;
    padding: 0.5rem 1rem;
    color: white;
    font-size: 1.125rem;
    font-weight: bold;
    border-radius: 0.25rem;
    letter-spacing: 0.025em;
    background-color: #1e4d9f;
}

/* Feature card list */
.feature-card ul {
    list-style-type: decimal;
    padding-left: 3rem;
    padding-right: 1rem;
}

/* Feature card list item */
.feature-card ul li {
    margin-top: 0.5rem;
}

/* ===============================================
   Desktop styles (≥ 1200px)
   =============================================== */
@media (min-width: 1200px) {

    /* Main content area - desktop */
    main {
        margin-top: 60px;
    }

    .product-section {
        height: 600px;
    }

    /* Banner container - desktop */
    .backdrop-blur {
        background-color: transparent;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .backdrop-blur-ja {
        background-color: rgba(0, 0, 0, 0.3);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
    }

    /* Banner content area - desktop */
    .product-content {
        margin-left: 3rem;
        width: 31rem;
        padding-top: 10rem;
    }

    .product-content-ja {
        width: 60rem;
    }

    /* Product name - desktop */
    .product-name {
        text-align: left;
        font-size: 1.875rem;
    }

    /* Product title - desktop */
    .product-title {
        text-align: left;
        font-size: 3.75rem;
        color: transparent;
        background-image: linear-gradient(to bottom, #fff, #a5d2ff);
        -webkit-background-clip: text;
        background-clip: text;
    }

    /* Features list container - desktop */
    .features-list {
        font-size: 1.5rem;
        list-style-type: none;
        padding-left: 0;
    }

    /* Content container - desktop */
    .content-container {
        padding: 0 16px;
    }

    /* Navigation bar - desktop */
    .nav-container {
        font-size: 1.125rem;
        top: 60px;
    }

    /* Navigation tab - desktop */
    .nav-tab {
        width: 10rem;
    }

    /* Feature card - desktop */
    .feature-card {
        margin: 3rem 1rem 0;
    }

    /* Feature card list - desktop */
    .feature-card ul {
        padding-left: 5rem;
    }

    /* Sidebar display - desktop */
    .side-bar {
        display: block;
    }

    /* Container - desktop */
    .container {
        padding: 0 2rem;
    }
}