.product-page {
    background: #fff;
}

.product-hero {
    position: relative;
    overflow: hidden;
    padding: 86px 0 92px;
    background: linear-gradient(125deg, #171717 0%, #2b2b2b 52%, #35312a 100%);
}

.product-hero::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .12;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to right, transparent, #000 45%, #000);
}

.product-hero__container {
    position: relative;
    z-index: 2;
}

.product-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    opacity: .48;
}

.product-hero__glow--one {
    width: 420px;
    height: 420px;
    right: -160px;
    top: -210px;
    background: radial-gradient(circle, rgba(247, 164, 0, .52), transparent 68%);
}

.product-hero__glow--two {
    width: 280px;
    height: 280px;
    left: 34%;
    bottom: -220px;
    background: radial-gradient(circle, rgba(247, 164, 0, .3), transparent 70%);
}

.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 34px;
    font-size: 14px;
    color: rgba(255,255,255,.62);
}

.product-breadcrumb a { color: rgba(255,255,255,.82); }
.product-breadcrumb a:hover { color: var(--tg-theme-primary); }
.product-breadcrumb i { font-size: 9px; color: var(--tg-theme-primary); }

.product-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: var(--tg-theme-primary);
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.product-eyebrow::before {
    width: 26px;
    height: 2px;
    content: "";
    background: currentColor;
}

.product-hero h1 {
    max-width: 650px;
    margin-bottom: 24px;
    color: #fff;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -1.8px;
}

.product-hero__lead,
.product-hero__lead p {
    max-width: 610px;
    margin-bottom: 0;
    color: rgba(255,255,255,.74);
    font-size: 18px;
    line-height: 1.72;
}

.product-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 34px;
}

.product-hero__actions .btn,
.product-cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.product-text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #fff;
    font-weight: 600;
}

.product-text-link:hover { color: var(--tg-theme-primary); }

.product-hero__image,
.product-preview {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 22px;
    box-shadow: 0 34px 80px rgba(0,0,0,.34);
    transform: perspective(1200px) rotateY(-5deg) rotateX(2deg);
}

.product-hero__image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    object-fit: cover;
    background: transparent;
}

.product-hero__image {
    display: flex;
    min-height: 0;
    padding: 10px;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.product-preview {
    min-height: 410px;
    padding: 14px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.product-preview__topbar {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0 13px;
    border-radius: 10px 10px 0 0;
    background: #242424;
}

.product-preview__topbar span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #555;
}

.product-preview__topbar span:first-child { background: var(--tg-theme-primary); }
.product-preview__topbar strong { margin-left: auto; color: #fff; font-size: 10px; letter-spacing: 1.7px; }

.product-preview__body {
    display: flex;
    min-height: 334px;
    background: #f7f7f8;
}

.product-preview__sidebar {
    display: flex;
    width: 58px;
    padding-top: 24px;
    align-items: center;
    flex-direction: column;
    gap: 20px;
    background: #fff;
    border-right: 1px solid #e9e9ed;
}

.product-preview__sidebar span {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: #dedee2;
}

.product-preview__sidebar span.active { background: var(--tg-theme-primary); }

.product-preview__content { flex: 1; padding: 29px 26px 24px; }

.product-preview__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-preview__heading div { display: flex; flex-direction: column; }
.product-preview__heading small { color: #979797; font-size: 8px; letter-spacing: 1.2px; }
.product-preview__heading b { color: #303030; font-family: var(--tg-heading-font-family); font-size: 20px; }
.product-preview__heading em { padding: 6px 9px; border-radius: 20px; color: #23814f; background: #e4f6ec; font-size: 8px; font-style: normal; font-weight: 800; }

.product-preview__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
}

.product-preview__metrics span {
    display: flex;
    min-width: 0;
    padding: 13px;
    flex-direction: column;
    border: 1px solid #ececef;
    border-radius: 9px;
    background: #fff;
}

.product-preview__metrics small { color: #999; font-size: 9px; }
.product-preview__metrics b { overflow: hidden; color: #303030; font-size: 15px; text-overflow: ellipsis; }

.product-preview__chart {
    display: flex;
    height: 132px;
    margin-top: 22px;
    padding: 14px 18px 0;
    align-items: flex-end;
    justify-content: space-between;
    gap: 9px;
    border: 1px solid #ececef;
    border-radius: 9px;
    background: repeating-linear-gradient(to bottom, #fff 0, #fff 31px, #f0f0f2 32px);
}

.product-preview__chart i {
    width: 8%;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(to top, #d88d00, var(--tg-theme-primary));
}

.product-preview-note {
    padding: 15px 0;
    color: #6d520f;
    background: #fff4d9;
    border-bottom: 1px solid #f4ddaa;
    font-size: 14px;
}

.product-preview-note i { margin-right: 8px; color: var(--tg-theme-primary); }

.product-highlights {
    position: relative;
    z-index: 3;
    overflow: hidden;
    padding: 72px 0 88px;
    background: linear-gradient(180deg, #f7f7f9 0%, #ffffff 100%);
}

.product-highlights::before {
    position: absolute;
    width: 520px;
    height: 520px;
    right: -280px;
    top: -330px;
    border: 92px solid rgba(247, 164, 0, .045);
    border-radius: 50%;
    content: "";
}

.product-highlights .col-lg-4:nth-child(1) { --highlight-accent: #f7a400; --highlight-tint: #fff8e9; }
.product-highlights .col-lg-4:nth-child(2) { --highlight-accent: #303030; --highlight-tint: #f4f4f5; }
.product-highlights .col-lg-4:nth-child(3) { --highlight-accent: #d78900; --highlight-tint: #fff4dd; }

.product-highlight {
    position: relative;
    overflow: hidden;
    display: flex;
    height: 100%;
    min-height: 248px;
    padding: 30px 30px 32px;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(48, 48, 48, .08);
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff 42%, var(--highlight-tint) 100%);
    box-shadow: 0 18px 45px rgba(32, 32, 45, .09);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.product-highlight::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    content: "";
    background: linear-gradient(90deg, var(--highlight-accent), rgba(247, 164, 0, .08));
}

.product-highlight::after {
    position: absolute;
    width: 132px;
    height: 132px;
    right: -66px;
    bottom: -70px;
    border: 24px solid color-mix(in srgb, var(--highlight-accent) 8%, transparent);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.product-highlight:hover {
    z-index: 2;
    border-color: color-mix(in srgb, var(--highlight-accent) 28%, transparent);
    box-shadow: 0 26px 58px rgba(32, 32, 45, .15);
    transform: translateY(-8px);
}

.product-highlight__top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.product-highlight__number {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border: 1px solid color-mix(in srgb, var(--highlight-accent) 18%, transparent);
    border-radius: 16px;
    color: var(--highlight-accent);
    background: color-mix(in srgb, var(--highlight-accent) 10%, #fff);
    font-family: var(--tg-heading-font-family);
    font-size: 16px;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}

.product-highlight__arrow {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e3e3e7;
    border-radius: 50%;
    color: #8d8e9e;
    background: rgba(255,255,255,.78);
    transform: rotate(-45deg);
    transition: color .3s ease, background .3s ease, border-color .3s ease, transform .3s ease;
}

.product-highlight:hover .product-highlight__arrow {
    border-color: var(--highlight-accent);
    color: #fff;
    background: var(--highlight-accent);
    transform: rotate(0deg);
}

.product-highlight__content {
    position: relative;
    z-index: 1;
}

.product-highlight__content small {
    display: block;
    margin-bottom: 9px;
    color: var(--highlight-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.product-highlight h2 { margin-bottom: 10px; font-size: 22px; line-height: 1.25; }
.product-highlight p { margin: 0; color: #6d6e82; font-size: 14px; line-height: 1.68; }

.product-detail { padding: 66px 0 115px; }

.product-detail__aside {
    position: sticky;
    top: 120px;
    padding-right: 20px;
}

.product-detail__aside .sub-title {
    display: block;
    margin-bottom: 15px;
    color: var(--tg-theme-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.product-detail__aside h2 { font-size: 33px; line-height: 1.2; }
.product-detail__aside p { color: #74758b; line-height: 1.7; }

.product-detail__rule {
    width: 55px;
    height: 3px;
    margin: 24px 0;
    background: var(--tg-theme-primary);
}

.product-rich-content {
    padding: 50px 54px;
    border: 1px solid #ebebef;
    border-radius: 18px;
    background: #fafafa;
}

.product-rich-content h2 { margin-bottom: 20px; font-size: 36px; line-height: 1.2; }
.product-rich-content h3 { margin: 37px 0 15px; font-size: 24px; }
.product-rich-content p { color: #62637b; font-size: 17px; line-height: 1.82; }
.product-rich-content ul { margin: 25px 0 0; padding: 0; list-style: none; }
.product-rich-content li { position: relative; margin-bottom: 13px; padding-left: 29px; color: #3e405f; }
.product-rich-content li::before { position: absolute; left: 0; top: 5px; color: var(--tg-theme-primary); content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; }

.product-cta { padding: 0 0 110px; }

.product-cta__inner {
    position: relative;
    overflow: hidden;
    display: flex;
    padding: 54px 58px;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    border-radius: 18px;
    background: #292929;
}

.product-cta__inner::after {
    position: absolute;
    width: 260px;
    height: 260px;
    right: -100px;
    bottom: -150px;
    border: 44px solid rgba(247,164,0,.12);
    border-radius: 50%;
    content: "";
}

.product-cta__inner > * { position: relative; z-index: 1; }
.product-cta h2 { max-width: 690px; margin-bottom: 12px; color: #fff; font-size: 38px; }
.product-cta p { max-width: 720px; margin: 0; color: rgba(255,255,255,.67); }
.product-cta .btn { flex: 0 0 auto; }

@media (max-width: 1199.98px) {
    .product-preview { min-height: 370px; }
    .product-preview__body { min-height: 294px; }
    .product-preview__chart { height: 104px; }
}

@media (max-width: 991.98px) {
    .product-hero { padding: 62px 0 88px; }
    .product-preview, .product-hero__image { max-width: 680px; margin: 10px auto 0; transform: none; }
    .product-highlights { padding: 58px 0 64px; }
    .product-detail { padding: 54px 0 85px; }
    .product-detail__aside { position: static; }
    .product-cta__inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 767.98px) {
    .product-hero { padding: 48px 0 68px; }
    .product-breadcrumb { margin-bottom: 25px; }
    .product-hero h1 { font-size: 42px; letter-spacing: -1px; }
    .product-hero__lead, .product-hero__lead p { font-size: 16px; }
    .product-preview { min-height: 310px; padding: 9px; }
    .product-preview__body { min-height: 248px; }
    .product-preview__sidebar { width: 44px; }
    .product-preview__content { padding: 21px 14px 16px; }
    .product-preview__metrics { gap: 6px; }
    .product-preview__metrics span { padding: 9px 7px; }
    .product-preview__chart { height: 82px; margin-top: 15px; padding: 10px 12px 0; gap: 5px; }
    .product-hero__image { min-height: 0; padding: 8px; }
    .product-hero__image img { height: auto; }
    .product-highlights { padding: 46px 0 56px; }
    .product-highlight { min-height: 225px; padding: 26px 25px 28px; }
    .product-highlight__top { margin-bottom: 24px; }
    .product-rich-content { padding: 34px 25px; }
    .product-rich-content h2 { font-size: 29px; }
    .product-cta { padding-bottom: 75px; }
    .product-cta__inner { padding: 39px 27px; }
    .product-cta h2 { font-size: 30px; }
    .product-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .product-hero__image, .product-preview, .product-highlight { transform: none; transition: none; }
    .product-highlight__arrow { transition: none; }
}
