/* ==========================================================
PRODUCT PAGE
========================================================== */

:root {
    --product-primary: var(--navy, #182544);
    --product-secondary: var(--orange, #f58220);
    --product-light: var(--page-bg);
    --product-border: rgba(var(--ink), .12);
    --product-text: rgba(var(--ink), .78);
    --product-heading: var(--page-text);
    --product-radius: 20px;
    --product-shadow: 0 12px 30px rgba(var(--ink), 0.08);
}

/* ==========================================================
COMMON
========================================================== */

html {
    scroll-behavior: smooth;
}

.product-section {
    padding: 90px 0;
    scroll-margin-top: 140px;
}

.section-light {
    background: var(--product-light);
}

.section-header {
    margin-bottom: 48px;
}

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

.section-header.text-center p {
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-radius: 30px;
    background: #fff5ea;
    color: #a51a01;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-header h2 {
    font-family: var(--font-display, inherit);
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
    font-weight: 700;
    color: var(--product-heading);
    margin: 0 0 16px;
    line-height: 1.15;
}

.section-header p {
    max-width: 700px;
    color: var(--product-text);
    line-height: 1.8;
    margin: 0;
}

/* ==========================================================
HERO
========================================================== */

.product-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 70% at 100% 0%, rgba(255, 154, 74, 0.22), transparent 55%),
        linear-gradient(135deg, var(--navy-deep, #0d172f) 0%, var(--navy, #182544) 55%, #1c4d84 100%);
    padding: 90px 0 80px;
    color: #fff;
}

.product-breadcrumb {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    font-size: 14px;
}

.product-breadcrumb a {
    color: #fff;
    opacity: 0.8;
}

.product-breadcrumb a:hover {
    color: var(--product-secondary);
    opacity: 1;
}

.product-breadcrumb span {
    opacity: 0.65;
}

.product-hero-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    gap: 36px;
    align-items: center;
}

.product-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-hero h1 {
    font-family: var(--font-display, inherit);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    line-height: 1.1;
    margin: 0 0 20px;
    color: #fff;
    letter-spacing: -0.02em;
}

.product-hero h1 span {
    color: var(--product-secondary);
}

.product-hero-content > p {
    max-width: 540px;
    font-size: 1.02rem;
    line-height: 1.8;
    opacity: 0.92;
    margin: 0;
}

.product-lead-form p {
    font-size: 12px;
    line-height: 1.9;
}

.hero-feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 36px;
}

.hero-feature {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 20px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-value {
    font-family: var(--font-display, inherit);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--product-secondary);
    margin-bottom: 6px;
    line-height: 1.2;
}

.feature-label {
    font-size: 0.85rem;
    opacity: 0.85;
    line-height: 1.4;
}

.product-lead-form {
    background: var(--surface);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
    padding: 24px 28px;
    height: auto;
    min-width: 0;
}

/* ==========================================================
STICKY NAV
========================================================== */

.product-nav {
    position: sticky;
    top: 80px;
    background: rgba(var(--surface-rgb), 0.96);
    backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--product-border);
    box-shadow: 0 8px 24px rgba(24, 37, 68, 0.04);
}

body.mobile-nav-open .product-nav {
    z-index: 1;
    pointer-events: none;
}

#overview,
#specifications,
#benefits,
#documents,
#process,
#emi,
#faq,
#product-segments {
    scroll-margin-top: 140px;
}

.product-nav ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.product-nav ul::-webkit-scrollbar {
    display: none;
}

.product-nav li {
    margin: 0;
    flex-shrink: 0;
}

.product-nav a {
    display: block;
    padding: 18px 18px;
    color: var(--product-heading);
    font-weight: 600;
    font-size: 0.92rem;
    position: relative;
    transition: 0.3s;
    white-space: nowrap;
    text-decoration: none;
}

.product-nav a:hover,
.product-nav a.active {
    color: var(--product-secondary);
}

.product-nav a.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 3px;
    background: var(--product-secondary);
    border-radius: 50px 50px 0 0;
}

/* ==========================================================
OVERVIEW
========================================================== */

.overview-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: center;
}

.overview-content p {
    color: var(--product-text);
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 24px;
}

.overview-card-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.overview-stat-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 28px;
    box-shadow: var(--product-shadow);
    border: 1px solid rgba(24, 37, 68, 0.06);
    transition: 0.35s;
}

.overview-stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 130, 32, 0.25);
}

.stat-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #fff6ec;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.stat-icon img {
    width: 32px;
}

.overview-stat-card h3 {
    color: var(--product-heading);
    font-family: var(--font-display, inherit);
    font-size: 1.45rem;
    margin-bottom: 6px;
    line-height: 1.25;
}

.overview-stat-card p {
    color: var(--product-text);
    margin: 0;
}

/* ==========================================================
SPECIFICATIONS
========================================================== */

.specification-grid {
    display: grid;
    /* grid-template-columns: repeat(2, 1fr); */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.specification-card {
    background: var(--surface);
    padding: 40px;
    border-radius: 22px;
    box-shadow: var(--product-shadow);
    transition: 0.35s;
}

.specification-card:hover {
    transform: translateY(-8px);
}

.specification-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: #fff6ec;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.specification-icon img {
    width: 42px;
}

.specification-card h3 {
    font-size: 24px;
    color: var(--product-heading);
    margin-bottom: 18px;
}

.specification-card p {
    color: var(--product-text);
    line-height: 1.8;
}

/* ==========================================================
RESPONSIVE
========================================================== */

@media (max-width: 1200px) {
    .product-hero-wrapper,
    .overview-grid {
        grid-template-columns: 1fr;
    }

    .product-lead-form {
        max-width: 650px;
        margin: auto;
        width: 100%;
    }
}

@media (max-width: 992px) {
    .product-section {
        padding: 70px 0;
    }

    .product-hero {
        padding: 70px 0 60px;
    }

    .hero-feature-list {
        grid-template-columns: 1fr;
    }

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

    .product-nav {
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .product-breadcrumb {
        font-size: 13px;
    }

    .product-hero-content > p {
        font-size: 0.98rem;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .overview-stat-card,
    .specification-card {
        padding: 28px;
    }

    .product-nav a {
        padding: 16px 14px;
        font-size: 0.88rem;
    }
}
/* ==========================================================
   BENEFITS
========================================================== */

.benefits-layout {
    display: grid;
    grid-template-columns: 1fr 420px 1fr;
    gap: 40px;
    align-items: center;
}

.benefits-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 28px;
    background: var(--surface);
    border: 1px solid var(--product-border);
    border-radius: 20px;
    box-shadow: var(--product-shadow);
    transition: 0.3s;
}

.benefit-card:hover {
    transform: translateY(-6px);
    border-color: var(--product-secondary);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #fff6ec;
}

.benefit-icon img {
    width: 34px;
}

.benefit-card h4 {
    margin: 0 0 10px;
    color: var(--product-heading);
    font-size: 20px;
}

.benefit-card p {
    margin: 0;
    line-height: 1.7;
    color: var(--product-text);
}

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

.benefits-image img {
    width: 100%;
    max-width: 420px;
}

/* ==========================================================
   DOCUMENTS
========================================================== */

.documents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.document-card {
    text-align: center;
    background: var(--surface);
    padding: 36px 26px;
    border-radius: 20px;
    border: 1px solid var(--product-border);
    transition: 0.3s;
}

.document-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--product-shadow);
}

.document-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 24px;
}

.document-card h4 {
    margin-bottom: 12px;
    font-size: 20px;
    color: var(--product-heading);
}

.document-card p {
    color: var(--product-text);
    line-height: 1.7;
}

/* ==========================================================
   PROCESS
========================================================== */

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.process-card {
    position: relative;
    background: var(--surface);
    border-radius: 20px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: var(--product-shadow);
}

.process-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 48px;
    right: -40px;
    width: 50px;
    height: 2px;
    background: var(--product-secondary);
}

.step-number {
    display: inline-flex;
    width: 70px;
    height: 70px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--product-primary);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.process-card h4 {
    margin-bottom: 15px;
    font-size: 24px;
}

.process-card p {
    color: var(--product-text);
    line-height: 1.8;
}

/* ==========================================================
   EMI
========================================================== */

.emi-section {
    padding: 90px 0;
    background:
        radial-gradient(ellipse 50% 80% at 100% 0%, rgba(255, 154, 74, 0.18), transparent 50%),
        linear-gradient(135deg, var(--navy-deep, #0d172f), var(--navy, #182544));
}

.emi-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    background: var(--surface);
    border-radius: 24px;
    padding: 50px;
    box-shadow: var(--product-shadow);
}

.emi-card h2 {
    margin: 15px 0;
    font-size: 38px;
    color: var(--product-heading);
}

.emi-card p {
    color: var(--product-text);
    max-width: 650px;
}

.emi-card .btn {
    white-space: nowrap;
}

/* ==========================================================
   FAQ
========================================================== */

#faq .accordion {
    max-width: 900px;
    margin: 0 auto;
}

#faq .accordion-item {
    margin-bottom: 20px;
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--product-shadow);
}

#faq .accordion-button {
    padding: 24px 28px;
    font-size: 18px;
    font-weight: 600;
    color: var(--product-heading);
    background: var(--surface);
}

#faq .accordion-button:not(.collapsed) {
    background: var(--surface);
    color: var(--product-heading);
    box-shadow: none;
}

#faq .accordion-button:focus {
    box-shadow: none;
}

#faq .accordion-body {
    padding: 0 28px 28px;
    color: var(--product-text);
    line-height: 1.9;
}

/* ==========================================================
   RELATED PRODUCTS
========================================================== */

.related-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.related-card {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 30px;
    background: var(--surface);
    border: 1px solid var(--product-border);
    border-radius: 20px;
    transition: 0.35s;
    text-decoration: none;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--product-shadow);
    border-color: var(--product-secondary);
}

.related-card img {
    width: 64px;
    height: 64px;
}

.related-card h4 {
    margin: 0;
    color: var(--product-heading);
    font-size: 22px;
}

/* ==========================================================
   RESPONSIVE (Part B)
========================================================== */

@media (max-width: 1200px) {
    .benefits-layout {
        grid-template-columns: 1fr;
    }

    .benefits-image {
        order: -1;
        margin-bottom: 20px;
    }

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

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-card::after {
        display: none;
    }

    .emi-card {
        flex-direction: column;
        text-align: center;
    }

    .related-products {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .benefit-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

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

    .document-card {
        padding: 30px 22px;
    }

    .process-card {
        padding: 32px 24px;
    }

    .emi-section {
        padding: 70px 0;
    }

    .emi-card {
        padding: 35px 25px;
    }

    .emi-card h2 {
        font-size: 28px;
    }

    .related-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Embedded Pages */
.embedded-li {
    margin: 20px 0;
    padding-left: 22px;
}

.embedded-li li {
    margin-bottom: 10px;
    color: var(--product-text);
    line-height: 1.8;
}

@media (max-width: 992px) {
    .specification-grid {
        grid-template-columns: 1fr;
    }
}

.process-grid-five {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.process-grid-five .process-card::after {
    display: none;
}

.process-grid-five .process-card {
    padding: 35px 24px;
}

.process-grid-five .process-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

.process-grid-five .process-card p {
    font-size: 15px;
    line-height: 1.8;
}

@media (max-width: 1200px) {
    .process-grid-five {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .process-grid-five {
        grid-template-columns: 1fr;
    }
}

/* Machinery and Equipment */
/* ==========================================================
   PRODUCT SEGMENTS
========================================================== */

.segments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.segment-card {
    background: var(--surface);
    border: 1px solid var(--product-border);
    border-radius: 22px;
    padding: 35px 28px;
    text-align: center;
    transition: 0.35s;
    box-shadow: var(--product-shadow);
    height: 100%;
}

.segment-card:hover {
    transform: translateY(-8px);
    border-color: var(--product-secondary);
}

.segment-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: #fff6ec;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.segment-icon img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.segment-card h4 {
    margin: 0;
    color: var(--product-heading);
    font-size: 20px;
    line-height: 1.6;
    font-weight: 600;
}

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

@media (max-width: 768px) {
    .segments-grid {
        grid-template-columns: 1fr;
    }

    .segment-card {
        padding: 30px 22px;
    }
}
