/* PRODUCT DETAIL HERO */
.pd-hero {
    padding: 100px 0 32px;
    background: #fff;
}

.pd-hero .container {
    max-width: 1100px;
}

.pd-hero-wrap {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 96px;
    align-items: center;
}

.pd-hero-img {
    border-radius: 16px;
    height: 320px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.1s ease;
}

.pd-hero-img>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.pd-hero-img:hover {
    transform: translateY(-6px);
}

.pd-hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.pd-hero-text h1 {
    font-size: 34px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin: 0 0 30px 0;
}

.pd-hero-text .pd-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0 0 40px 0;
    max-width: 520px;
}

.pd-fit-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
    justify-content: center;
    margin: 0 0 70px 0;
}

.pd-fit-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text);
    white-space: nowrap;
}

.pd-fit-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pd-hero-btns {
    display: flex;
    gap: 100px;
    flex-wrap: wrap;
    margin: 0;
    justify-content: center;
}

.pd-hero-btns .btn {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 8px;
}

.pd-hero-btns .btn-primary {
    box-shadow: 0 4px 16px rgba(13, 110, 253, 0.3);
}

.pd-hero-btns .btn-outline {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: #fff;
}

.pd-hero-btns .btn-outline:hover {
    background: var(--primary-light);
}

/* SECTION */
.section {
    padding: 60px 0;
}

.section:nth-child(even) {
    background: var(--bg-gray);
}

.section-title {
    font-size: 28px;
    font-weight: 300;
    color: var(--dark);
    margin-bottom: 28px;
    letter-spacing: 0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 1px;
}

/* PARAMS GRID - TWO COLUMN */
.params-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

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

.params-col-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid;
}

.params-title-blue {
    color: var(--primary);
    border-bottom-color: var(--primary-light);
}

.params-title-orange {
    color: var(--accent);
    border-bottom-color: rgba(255, 107, 53, 0.2);
}

.params-table-inline {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.params-table-inline tr {
    border-bottom: 1px solid var(--border);
}

.params-table-inline tr:last-child {
    border-bottom: none;
}

.params-table-inline td {
    padding: 10px 0;
}

.params-table-inline td:first-child {
    color: var(--text-light);
    text-align: left;
}

.params-table-inline td:last-child {
    color: var(--dark);
    font-weight: 500;
    text-align: right;
}

/* CLIENT GRID */
.client-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}

.client-card {
    text-align: center;
    padding: 36px 16px 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 0;
    transition: all 0.3s;
    margin-left: -1px;
    margin-top: -1px;
}

.client-card:first-child {
    margin-left: 0;
}

.client-card:nth-child(-n+5) {
    margin-top: 0;
}

.client-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: rgba(13, 110, 253, 0.15);
    z-index: 1;
}

.client-card .client-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-card .client-icon svg {
    width: 36px;
    height: 36px;
    stroke: var(--primary);
    stroke-width: 1.5;
    fill: none;
}

.client-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.client-card p {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* CUSTOM LAYOUT */
.custom-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.custom-gallery-col {
    display: flex;
    flex-direction: column;
}

.custom-list-col {
    display: flex;
    flex-direction: column;
}

/* HARDWARE GALLERY */
.hw-gallery {}

.hw-main {
    aspect-ratio: 4/2.8;
    background: #f0f4f8;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hw-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hw-main .img-placeholder {
    font-size: 14px;
    color: var(--text-muted);
}

.hw-thumbs-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.hw-arrow {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s;
    flex-shrink: 0;
    border-radius: 4px;
}

.hw-arrow:hover {
    border-color: var(--primary);
}

.hw-arrow svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-muted);
    stroke-width: 1.5;
    fill: none;
}

.hw-arrow:hover svg {
    stroke: var(--primary);
}

.hw-thumbs {
    display: flex;
    gap: 10px;
    flex: 1;
    overflow: hidden;
}

.hw-thumb {
    width: 80px;
    height: 56px;
    border: 2px solid var(--border);
    border-radius: 0;
    background: var(--bg);
    cursor: pointer;
    transition: border-color 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.hw-thumb.active,
.hw-thumb:hover {
    border-color: var(--primary);
}

.hw-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hw-thumb span {
    font-size: 10px;
    color: var(--text-muted);
}

/* HARDWARE GRID */
.hw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid var(--border);
    padding-top: 0;
    border-radius: 8px;
    overflow: hidden;
}

.hw-card {
    display: flex;
    gap: 14px;
    padding: 23px 18px;
    background: #fff;
    border: 1px solid var(--border);
    margin: -1px 0 0 -1px;
    transition: background 0.2s;
    height: 90px;
    align-items: center;
}

.hw-card:hover {
    background: var(--primary-light);
}

.hw-card .hw-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hw-card .hw-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    stroke-width: 1.8;
    fill: none;
}

.hw-card .hw-text {}

.hw-card .hw-text h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 3px;
}

.custom-cta-btn {
    margin-top: 24px;
}

/* PROCESS */
.process-row {
    display: flex;
    gap: 0;
    position: relative;
}

.process-row::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 40px;
    right: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), #00c6ff);
    border-radius: 1px;
    z-index: 0;
}

.proc-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 10px;
}

.proc-step .ps-num {
    width: 56px;
    height: 56px;
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 auto 14px;
}

.proc-step h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.proc-step p {
    font-size: 12px;
    color: var(--text-muted);
}

/* PRODUCT DETAIL */
.pd-detail-wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.pd-detail-subtitle {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 24px;
    text-align: center;
    font-weight: 600;
}

.pd-detail-content {
    font-size: 15px;
    color: var(--text-light);
    line-height: 2;
}

.pd-detail-content p {
    margin-bottom: 16px;
}

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

/* CTA SECTION */
.cta-section {
    padding: 60px 0;
    background: var(--bg-gray);
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(135deg, var(--primary) 0%, #0056b3 100%);
    border-radius: 12px;
    overflow: hidden;
    gap: 0;
}

.cta-left {
    color: #fff;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cta-heading {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.cta-subtitle {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 28px;
}

.cta-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.cta-btns .btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
}

.cta-btns .btn-accent:hover {
    background: var(--accent-hover);
}

.cta-btns .btn-outline-white {
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    background: transparent;
}

.cta-btns .btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
}

.cta-features {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-feature .check {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-feature .check svg {
    width: 12px;
    height: 12px;
}

.cta-feature span {
    font-size: 13px;
    opacity: 0.9;
}

.cta-right {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.cta-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

/* HERO SLIDER */
.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slider-track {
    height: 100%;
    width: 100%;
    position: relative;
}

.slider-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.slider-slide.active {
    opacity: 1;
    z-index: 1;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-slide .img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-muted);
}

.hero-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.hero-dots .dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

.hero-prev,
.hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
}

.pd-hero-img:hover .hero-prev,
.pd-hero-img:hover .hero-next {
    opacity: 1;
}

.hero-prev {
    left: 12px;
}

.hero-next {
    right: 12px;
}

.hero-prev svg,
.hero-next svg {
    width: 16px;
    height: 16px;
    stroke: #fff;
    stroke-width: 2;
    fill: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .pd-hero-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pd-hero-img {
        min-height: 240px;
        border-radius: 12px;
    }

    .pd-hero-text h1 {
        font-size: 24px;
    }

    .pd-fit-list {
        gap: 8px 12px;
        margin: 0 0 40px 0;
    }

    .pd-hero-btns {
        gap: 16px;
    }

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

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

    .client-card {
        margin-left: 0;
        margin-top: 0;
        border-radius: 8px;
    }

    .client-card:nth-child(n) {
        margin-left: 0;
        margin-top: 0;
    }

    .custom-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hw-thumbs-wrap {
        justify-content: center;
    }

    .cta-card {
        grid-template-columns: 1fr;
    }

    .cta-right {
        display: none;
    }

    .cta-left {
        padding: 32px 28px;
    }

    .cta-heading {
        font-size: 22px;
    }

    .cta-features {
        flex-direction: column;
        gap: 12px;
    }

    .process-row::before {
        top: 20px;
        left: 20px;
        right: 20px;
    }

    .proc-step .ps-num {
        width: 40px;
        height: 40px;
        font-size: 14px;
        margin: 0 auto 8px;
    }

    .proc-step h4 {
        font-size: 12px;
    }

    .proc-step p {
        font-size: 10px;
    }

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

@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }

    .pd-hero {
        padding: 80px 0 24px;
    }

    .pd-hero-text h1 {
        font-size: 20px;
        margin: 0 0 20px 0;
    }

    .pd-hero-text .pd-desc {
        font-size: 14px;
        margin: 0 0 24px 0;
    }

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