/* ==========================================================================
   PRODUCT DETAIL / TEMPLATES CSS - WORTAL THEME
   Styles for Product Landing Pages (Sales CRM, Inventory, Task Management)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------------------------- */
.product-hero-section {
    position: relative;
    width: 100%;
    padding: 150px 0 90px 0;
    background-image: url(https://wortal.co/wp-content/uploads/2026/06/ChatGPT-Image-May-23-2026-11_30_33-AM-1-scaled-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    box-sizing: border-box;
    height: 100vh;
    display: flex;
}

.product-hero-container {
    width: 100%;
    margin: auto 0;
    box-sizing: border-box;
}

.product-hero-grid {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

/* --- Left Column: Content --- */
.product-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-left: 150px;
    width: 60%;
    padding-top: 50px;
}

.product-hero-title {
    font-size: clamp(32px, 3.8vw, 60px);
    font-weight: 500;
    line-height: 1.22;
    color: #1E2229;
    margin: 0 0 20px 0;
    letter-spacing: 0%;
}

.product-hero-desc {
    font-size: 22px;
    font-weight: 400;
    line-height: 1.65;
    color: #6B6B6B;
    margin: 0 0 32px 0;
}

/* --- Action Buttons --- */
.product-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

/* --- Trust / Social Proof Section --- */
.product-hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.product-avatar-group {
    display: flex;
    align-items: center;
}

.product-avatar-group .avatar,
.product-avatar-group .count-circle {
    /*width: 44px;*/
    /*height: 44px;*/
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2.5px solid #FFFFFF;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.product-avatar-group .avatar:not(:first-child),
.product-avatar-group .count-circle {
    margin-left: -12px;
}

.product-avatar-group .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-avatar-group .count-circle {
    background-color: #21252D;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.2px;
}

.product-hero-trust .trust-text {
    font-size: 22px;
    font-weight: 700;
    line-height: 35px;
    color: #2B303A;
    margin: 0;
}

.product-hero-trust .trust-text span {
    color: #FF5018;
    font-weight: 700;
}

/* --- Right Column: Media / Dashboard Image --- */
.product-hero-media {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 40%;
}

.product-hero-img-wrapper {
    position: relative;
    width: 100%;
    /*max-width: 650px;*/
}

.product-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* --------------------------------------------------------------------------
   2. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* Medium Laptops & Tablets Landscape (<= 1100px) */
@media (max-width: 1100px) {
    .product-hero-grid {
        gap: 32px;
    }
}

/* Tablets Portrait (<= 991px) */
@media (max-width: 991px) {
    .product-hero-section {
        padding: 60px 0 70px 0;
    }

    .product-hero-grid {
        flex-direction: column;
        gap: 45px;
        padding: 60px 0px;
    }

    .product-hero-content {
        align-items: center;
        text-align: center;
        padding: 0 20px;
        width: 100%;
    }

    .product-hero-desc {
        max-width: 680px;
    }

    .product-hero-actions {
        justify-content: center;
    }

    .product-hero-trust {
        justify-content: center;
    }

    .product-hero-media {
        width: 100%;
        justify-content: center;
    }

    .product-hero-img-wrapper {
        max-width: 600px;
    }
}

/* Mobile Devices (<= 576px) */
@media (max-width: 576px) {
    .product-hero-section {
        padding: 45px 0 55px 0;
    }



    .product-hero-title {
        font-size: 32px;
    	line-height: 110%;
    	letter-spacing: 0%;
    }

    .product-hero-desc {
       font-size: 14px;
	    line-height: 150%;
        margin-bottom: 24px;
    }

    .product-hero-actions {
        flex-direction: row;
        gap: 12px;
        margin-bottom: 28px;
    }

    .product-hero-actions .btn {
        width: 100%;
    }

    .product-hero-trust {
        flex-direction: column;
        gap: 10px;
    }

    .product-avatar-group .avatar,
    .product-avatar-group .count-circle {
        width: 38px;
        height: 38px;
    }

    .product-hero-trust .trust-text {
        font-size: 14.5px;
    }
}

.product-hero-section::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            #ffffff 100%);
    pointer-events: none;
}


/* ===============================
   WRAPPER
================================ */
.brand-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    padding: 30px 0;
}

/* ===============================
   GLASS BLUR EDGES (LEFT / RIGHT)
================================ */
.brand-marquee-wrapper::before,
.brand-marquee-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px;
    /* blur width 
  height:100%;
  z-index:5;
  pointer-events:none;

  backdrop-filter: blur(110px);
  -webkit-backdrop-filter: blur(110px);

  /*background: rgba(255,255,255,0.25);*/
    background: rgb(255 255 255);
}

/* LEFT */
.brand-marquee-wrapper::before {
    left: 0;
    mask-image: linear-gradient(to right,
            black 0%,
            black 45%,
            transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
            black 0%,
            black 45%,
            transparent 100%);
}

/* RIGHT */
.brand-marquee-wrapper::after {
    right: 0;
    mask-image: linear-gradient(to left,
            black 0%,
            black 45%,
            transparent 100%);
    -webkit-mask-image: linear-gradient(to left,
            black 0%,
            black 45%,
            transparent 100%);
}

/* ===============================
   MARQUEE STRUCTURE
================================ */
.brand-marquee {
    width: 100%;
    overflow: hidden;
}

.brand-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee 28s linear infinite;
    will-change: transform;
    cursor: pointer;
}

/* hover pe pause */
.brand-marquee-wrapper:hover .brand-track {
    animation-play-state: paused;
}

/* ===============================
   BRAND TEXT
================================ */
.brand {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #9a9a9a;
    margin: 0 40px;
    white-space: nowrap;
    opacity: 0.85;
}

/* ===============================
   ANIMATION
================================ */
@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ===============================
   MOBILE TUNING
================================ */
@media(max-width:767.4px) {
    .brand-track {
        animation-duration: 36s;
    }

    .brand {
        /*font-size: 14px;*/
        margin: 0 15px;
    }

    .brand-marquee-wrapper::before,
    .brand-marquee-wrapper::after {
        width: 30px;
        backdrop-filter: blur(90px);
        -webkit-backdrop-filter: blur(90px);
    }

    .brand img {
        width: 50px;
    }

    .brand-marquee-wrapper {
        padding: 20px 0px;
    }


}

.brand-track .brand img {
    height: 40px;
}

.product-process .section-header {
    text-align: start;
    padding: 40px 20px 40px 200px;
	line-height: 120%;
	margin: 0px;
}

.product-process {
    font-family: 'Plus Jakarta Sans', Inter, Arial, sans-serif;
}


/* ==========================================================================
   PRODUCT FEATURES SECTION (Wcaller / Sales Calls 4-Column Grid)
   ========================================================================== */
.product-feature {
    padding: 90px 0 110px 0;
    background-color: #FFFFFF;
    position: relative;
    box-sizing: border-box;
    font-family: "Plus Jakarta Sans", sans-serif;
    overflow: hidden;
}

.product-feature-container {
    max-width: 1520px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.product-feature-header {
    max-width: 820px;
    margin-bottom: 55px;
    text-align: left;
}

.product-feature-title {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 700;
    line-height: 1.22;
    color: #1E2229;
    margin: 0 0 16px 0;
    letter-spacing: -0.02em;
}

.product-feature-desc {
    font-size: 16.5px;
    line-height: 1.65;
    color: #555E68;
    margin: 0;
    max-width: 720px;
}

/* --- 4-Card Grid --- */
.product-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    align-items: stretch;
}

.product-feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-feature-card .feature-text {
    color: #FF4000;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.45;
    margin-bottom: 24px;
    text-align: center;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.product-feature-card .feature-mockup {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.35s ease;
}

.product-feature-card .feature-mockup:hover {
    transform: translateY(-5px);
}

.product-feature-card .mockup-img {
    width: 100%;
    max-width: 295px;
    height: auto;
    display: block;
    object-fit: contain;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1200px) {
    .product-feature-grid {
        gap: 18px;
    }

    .product-feature-card .feature-text {
        font-size: 13.5px;
        min-height: 60px;
    }
}

@media (max-width: 991px) {
    .product-feature {
        padding: 65px 0 85px 0;
    }

    .product-feature-header {
        margin-bottom: 40px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .product-feature-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .product-feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }

    .product-feature-card .feature-text {
        min-height: auto;
        margin-bottom: 16px;
        font-size: 14px;
    }

    .product-feature-card .mockup-img {
        max-width: 270px;
    }
}

@media (max-width: 576px) {
    .product-feature {
        padding: 50px 0 65px 0;
    }

    .product-feature-container {
        padding: 0 16px;
    }

    .product-feature-title {
        font-size: 26px;
        line-height: 1.25;
    }

    .product-feature-desc {
        font-size: 14.5px;
        line-height: 1.6;
    }

    .product-feature-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-feature-card .mockup-img {
        /*max-width: 290px;*/
        max-width: 90%;
    }
    
    .product-feature-card .feature-text{
        font-size: 18px;
    	line-height: 130%;
    	letter-spacing: 0%;
    	font-weight: 400;
    }
    
    .product-feature-card{
    	gap: 20px;
    }
    
    .product-process .section-header {
        text-align: start;
        padding: 40px 20px 40px 20px;
    	line-height: 120%;
    	margin: 0px;
    }

}



/* Scoped CSS - No global styles */
.ai-features-section {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 80px 20px 80px;
}

/* Header Section */
.ai-features-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInDown 0.8s ease-out;
}

.ai-features-header h3 {
    font-size: 46px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.ai-features-header h3 .ai-accent {
    position: relative;
    color: #000000;
}

.ai-features-header h3 .ai-accent::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -10px;
    width: 30px;
    height: 30px;
    background: url("https://wortal.co/wp-content/uploads/2026/05/Frame.svg") no-repeat center;
    background-size: contain;
    animation: twinkle 2.5s ease-in-out infinite;
}

.ai-features-header p {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.5;
    letter-spacing: 0.3px;
}

/* Cards Grid */
.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin-bottom: 100px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.custom-inventory-management-template .ai-features-grid {
    grid-template-columns: repeat(2, 1fr);
}

.custom-task-management-template .ai-features-grid {
    grid-template-columns: repeat(1, 1fr);
}

.ai-feature-card {
    background: #202020;
    backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 400px;
}

/* Gradient Border */
.ai-feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: 14px;
    background: linear-gradient(180.05deg,
            #868687 0.04%,
            rgba(240, 240, 242, 0.275962) 82.75%,
            rgba(78, 78, 82, 0) 114.27%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}

.ai-feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    left: -120%;
    width: 60%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .08),
            transparent);
    transform: skewX(-25deg);
    pointer-events: none;
}

/* Hover & Autoplay Effect Trigger */
.ai-feature-card:hover::before,
.ai-feature-card.scroll-hover::before {
    animation: shine .8s linear forwards;
}

@keyframes shine {
    from {
        left: -120%;
    }

    to {
        left: 170%;
    }
}

/* Card Icon */
.ai-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 28px;
    transform: scale(1) rotate(0deg);
    transition: transform .4s ease, border-color .4s ease, background .4s ease;
}

.ai-feature-card:hover .ai-card-icon,
.ai-feature-card.scroll-hover .ai-card-icon {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.05);
    transform: scale(1.1) rotate(5deg);
}

/* Card Content */
.ai-card-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 130%;
    letter-spacing: -3%;
    background: linear-gradient(180deg, #FFFFFF 26.67%, rgba(255, 255, 255, 0) 195%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-card-description {
    font-size: 14px;
    font-weight: 400;
    color: #C7C7C7;
    margin: 0 0 28px 0;
    line-height: 130%;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .ai-features-section {
        padding: 50px 20px 60px;
    }

    .ai-features-header {
        margin-bottom: 60px;
    }

    .ai-features-header h3 {
        font-size: 44px;
    }

    .ai-features-header p {
        font-size: 16px;
    }

    .ai-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-bottom: 80px;
    }

    .ai-feature-card {
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .ai-features-section {
        padding: 40px 16px 50px;
    }

    .ai-features-header {
        margin-bottom: 48px;
    }

    .ai-features-header h3 {
        font-size: 36px;
    }

    .ai-features-header h3 .ai-accent::after {
        width: 15px;
        height: 15px;
        right: -5px;
        top: -10px;
    }

    .ai-features-header p {
        font-size: 15px;
    }

    .ai-features-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        margin-bottom: 60px;
    }

    .ai-feature-card {
        padding: 28px;
    }

    .ai-card-icon {
        width: 48px;
        height: 48px;
        font-size: 24px;
    }

    .ai-card-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .ai-card-description {
        font-size: 13px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .ai-features-section {
        padding: 50px 15px 40px;
    }

    .ai-features-header {
        margin-bottom: 40px;
    }

    .ai-features-header h3 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .ai-features-header p {
        font-size: 14px;
    }

    .ai-features-grid {
        margin-bottom: 50px;
    }

    .ai-feature-card {
        padding: 24px;
        border-radius: 16px;
    }
}

.ai-feature-card:hover,
.ai-feature-card.scroll-hover {
    transform: translateY(-12px);
    background: #252525;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}


.noise-bg {
    position: relative;
    overflow: hidden;
    /*background: linear-gradient(338.4deg, rgba(255, 241, 232, 0) 23.33%, #FFB27A 47.83%, #FF8A3D 64.85%, #FF6B1A 74%, #FF4D00 86.06%, #FF4000 100.54%);*/

}

.noise-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background: #fff;
    opacity: .08;

    filter: url(#wft-grain);

}

.noise-bg .e-con-inner {
    position: relative;
    z-index: 2;
}

.ai-features-container {
    background-image: url(https://wortal.co/wp-content/uploads/2026/06/Group-1261156934.png);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 20% auto;
}

.ai-features {
    background-image: url(https://wortal.co/wp-content/uploads/2026/07/Frame-2055247271-scaled.png);
    background-position: center center;
    background-repeat: no-repeat;
}

/* --------------------------------------------------------------------------
   PRODUCT INDUSTRY SECTION
   -------------------------------------------------------------------------- */
.product-industry {
    padding: 70px 0 100px 0;
    background-color: #FFFFFF;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.product-industry-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.product-industry .section-header {
    text-align: center;
    /*max-width: 780px;*/
    max-width: 100%;
    /*margin: 0 auto 52px auto;*/
    margin: 0px;
    /*padding: 0;*/
    
}

.product-industry .section-heading {
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.product-industry .section-subheading {
    font-size: 22px;
	color: #6B6B6B;
	line-height: 130%;
    letter-spacing: 0%;
    margin: 0 auto;
}

.product-industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-industry-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}



.industry-card-content {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.industry-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.industry-card-desc {
    font-size: 13.5px;
    font-weight: 400;
    color: #4B5563;
    line-height: 1.5;
    margin: 0;
}

.industry-card-media {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    background: #F3F4F6;
    aspect-ratio: 1 / 0.95;
    display: flex;
    align-items: center;
    justify-content: center;
}

.industry-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.product-industry-card:hover .industry-card-media img {
    transform: scale(1.04);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1100px) {
    .product-industry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-industry {
        padding: 60px 0 80px 0;
    }
}

@media (max-width: 768px) {
    .product-industry {
        padding: 48px 0 60px 0;
    }

    .product-industry-container {
        padding: 0 16px;
    }

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

    .product-industry .section-heading {
        font-size: 26px;
    }

    .product-industry .section-subheading {
        font-size: 14px;
    }

    .product-industry-card {
        padding: 20px;
        border-radius: 16px;
    }

    .industry-card-title {
        font-size: 18px;
    }

    .industry-card-desc {
        font-size: 13px;
    }
}

@media (max-width: 540px) {
    .product-industry-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-industry-card {
        padding: 18px;
    }

    .industry-card-media {
        aspect-ratio: 16 / 11;
    }
}

.integrate-section {
    padding: 0 100px;
}

@media (max-width: 768px) {
    .integrate-section {
        padding: 0 20px;
    }
}





/* Viewport Wrapper Isolation Layer */
.elm-carousel-viewport {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: transparent;
    padding: 0px 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.elm-carousel-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    padding: 0px 0px 20px 0px;
}

/* 3D Context Scene Canvas */
.elm-cards-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 480px;
    perspective: 2500px;
}

/* Outer Stage: Smooth Premium Positional Translation Vector Coordinates */
.elm-card-stage {
    position: absolute;
    width: 320px;
    height: 440px;
    user-select: none;
    transform-style: preserve-3d;
    will-change: transform, opacity;

    /* 1.3s Quintic Horizontal Glide Timing Profile */
    transition: transform 1.3s cubic-bezier(0.215, 0.61, 0.355, 1),
        opacity 1.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Inner Flipper: Handles 3D Y-Axis Architectural Rotations */
.elm-card-flipper {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;

    /* 0.9s Mid-Air Structural Rotation Timing */
    transition: transform 0.9s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Card Sides Surface Specs */
.elm-card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    padding: 45px 35px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #F7C79B 0%, #EEA76E 25%, #D97A3A 60%, #A95A2C 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backface-visibility: hidden;
    /*-webkit-backface-visibility: hidden;*/
    outline: 1px solid transparent;
    justify-content: space-between !important;
    align-items: flex-start !important;
}

.elm-card-stage.center .elm-card-face {
    overflow: hidden;
    box-shadow: -6px 6px 19px 0px rgba(0, 0, 0, 0.39),
        -23px 26px 35px 0px rgba(0, 0, 0, 0.34),
        -52px 58px 47px 0px rgba(0, 0, 0, 0.2),
        -145px 161px 61px 0px rgba(0, 0, 0, 0.01);
}

.elm-card-stage.center .elm-card-face::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    opacity: .08;
    mix-blend-mode: soft-light;
    z-index: 1;
}

/* FRONT FACE STYLE (Numeric Layout) */
.elm-card-face.front {
    justify-content: center !important;
    align-items: center !important;
    transform: rotateY(0deg) translateZ(2px);
}

.elm-card-id {
    font-size: 9rem;
    font-weight: 900;
    letter-spacing: -5px;
    line-height: 1;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

/* BACK FACE STYLE (Details Content Layout) */
.elm-card-face.back {
    justify-content: flex-end !important;
    align-items: flex-start !important;
    transform: rotateY(180deg) translateZ(2px);
}

.elm-card-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

.elm-card-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

/* --- ANTI-OVERLAP ARCHITECTURAL MATRIX LAYER CORES --- */

/* CENTER DECK POSITION */
.elm-card-stage.center {
    transform: translate3d(0, 0, 150px) scale(1);
    opacity: 1;
    z-index: 10;
}

.elm-card-stage.center .elm-card-flipper {
    transform: rotateY(180deg);
}

/* LEFT QUEUE POSITION */
.elm-card-stage.left {
    transform: translate3d(-280px, 0, -50px) scale(0.85);
    opacity: 0.8;
    z-index: 5;
}

.elm-card-stage.left .elm-card-flipper {
    transform: rotateY(0deg);
}

/* RIGHT EXIT POSITION */
.elm-card-stage.right {
    transform: translate3d(280px, 0, -50px) scale(0.85);
    opacity: 0.8;
    z-index: 4;
    /* Fixed layout index depth overlap clash */
    transition: transform 1.3s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 1.3s cubic-bezier(0.215, 0.61, 0.355, 1), z-index 1.3s step-start;
}

.elm-card-stage.right .elm-card-flipper {
    transform: rotateY(0deg);
    /* Left card showing 02 numeric means Right card should show 05 numeric layout */
}

/* HIDDEN CACHE STACK */
.elm-card-stage.hidden {
    transform: translate3d(0, 0, -250px) scale(0.6);
    opacity: 0;
    z-index: 0;
    transition: transform 1.3s cubic-bezier(0.215, 0.61, 0.355, 1), opacity 1.3s cubic-bezier(0.215, 0.61, 0.355, 1), z-index 1.3s step-end;
}

.elm-card-stage.hidden .elm-card-flipper {
    transform: rotateY(0deg);
}

/* Progression Indicators */
.elm-indicators {
    display: flex;
    gap: 12px;
    margin-top: 55px;
}

.elm-dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.elm-dot.active {
    background-color: #e29053;
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(226, 144, 83, 0.6);
}

/* FRONT FACE STYLE (Numeric Layout) */
.elm-card-face.front {
    justify-content: space-between !important;
    /* Force top-to-bottom separation */
    align-items: flex-start !important;
    /* Align items to the left edge */
    transform: rotateY(0deg) translateZ(2px);
}

/* BACK FACE STYLE (Details Content Layout) */
.elm-card-face.back {
    justify-content: space-between !important;
    /* Forces items to separate to edges */
    align-items: flex-start !important;
    transform: rotateY(180deg) translateZ(2px);
}


@media (max-width: 768px) {
    .custom-f-sales-crm-template .product-hero-section {
        height: auto;
    }
}