/* E-commerce Animated Preview Styles */
.ec-preview-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    /* Slightly wider for better fit */
    height: 600px;
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    font-family: inherit;
    background: #ffffff;
    /* White background */
    border-radius: 24px;
    /* Subtle shadow for white-on-white visibility */
}

/* Phone Frame */
.ec-phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border: 12px solid #2d2d2d;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    z-index: 2;
    overflow: hidden;
}

.ec-phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.ec-phone-header {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e293b;
    margin-bottom: 20px;
    z-index: 10;
    background: #ffffff;
    width: 100%;
}

.ec-phone-header .icon-box {
    width: 40px;
    height: 40px;
    background: #6366f1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.ec-phone-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.ec-scroll-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    animation: ec-vertical-scroll 12s linear infinite;
}

/* Product Cards in Screen */
.ec-product-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    color: #1e293b;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.ec-product-card .icon-placeholder {
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #6366f1;
}

.ec-product-info h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.ec-product-info span {
    font-size: 12px;
    color: #64748b;
}

/* Floating Notification Cards */
.ec-float-card {
    position: absolute;
    background: #fff;
    border-radius: 20px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 3;
    min-width: 220px;
}

.ec-float-card.top {
    top: 100px;
    left: 100px;
    animation: ec-float 4s ease-in-out infinite;
}

.ec-float-card.bottom {
    bottom: 120px;
    left: 80px;
    animation: ec-float 4s ease-in-out infinite reverse;
}

.ec-float-card .icon-box {
    width: 48px;
    height: 48px;
    background: #6366f1;
    /* Mor color to match theme */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.ec-float-info h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.ec-float-info p {
    margin: 2px 0 0 0;
    font-size: 13px;
    color: #666;
}

/* Animations */
@keyframes ec-vertical-scroll {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes ec-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ec-float-card {
        min-width: 180px;
        padding: 10px 15px;
    }

    .ec-float-card.top {
        left: 0;
        top: 50px;
    }

    .ec-float-card.bottom {
        left: -30px;
        bottom: 80px;
    }

    .ec-phone-mockup {
        transform: scale(0.8);
    }
}

/* Admin Dashboard Preview (Light Theme) */
.admin-preview-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 550px;
    margin: 40px auto;
    background: #f8fafc;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    font-family: inherit;
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.05);
}

.admin-sidebar {
    width: 80px;
    background: #fff;
    border-right: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    gap: 25px;
}

.admin-sidebar .menu-dot {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 12px;
}

.admin-sidebar .menu-dot.active {
    background: #6366f1;
}

.admin-main {
    flex: 1;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.admin-header h3 {
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.order-row {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    animation: admin-fade-in 0.5s ease forwards;
    opacity: 0;
    transform: translateX(-10px);
}

.order-row:nth-child(1) {
    animation-delay: 0.1s;
}

.order-row:nth-child(2) {
    animation-delay: 0.2s;
}

.order-row:nth-child(3) {
    animation-delay: 0.3s;
}

.order-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.order-avatar {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
}

.order-details h5 {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.order-details span {
    font-size: 12px;
    color: #64748b;
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-green {
    background: #dcfce7;
    color: #166534;
}

.status-blue {
    background: #dbeafe;
    color: #1e40af;
}

/* Pop-up Notification for Admin */
.admin-pop-card {
    position: absolute;
    right: 40px;
    top: 40px;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 40px 80px -10px rgba(99, 102, 241, 0.2);
    border: 2px solid #6366f1;
    display: flex;
    align-items: center;
    gap: 20px;
    min-width: 300px;
    animation: admin-pop-forward 3s ease-in-out infinite;
    z-index: 10;
}

.admin-pop-icon {
    width: 50px;
    height: 50px;
    background: #6366f1;
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

@keyframes admin-fade-in {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes admin-pop-forward {

    0%,
    100% {
        transform: scale(0.9) translateY(0);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05) translateY(-20px);
        opacity: 1;
        box-shadow: 0 50px 100px -20px rgba(99, 102, 241, 0.3);
    }
}

/* Stats Preview (Analytics) */
.stats-preview-container {
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.stat-value {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
}

.stat-progress {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
}

.stat-progress-bar {
    height: 100%;
    background: #6366f1;
    border-radius: 4px;
    width: 0;
    animation: stat-grow 1.5s ease-out forwards;
}

@keyframes stat-grow {
    to {
        width: var(--progress);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .ec-float-card {
        min-width: 180px;
        padding: 10px 15px;
    }

    .ec-float-card.top {
        left: 0;
        top: 50px;
    }

    .ec-float-card.bottom {
        left: -30px;
        bottom: 80px;
    }

    .ec-phone-mockup {
        transform: scale(0.8);
    }

    .admin-sidebar {
        display: none;
    }

    .admin-pop-card {
        min-width: 240px;
        right: 20px;
    }
}

/* Integration Preview (Trendyol style) */
.int-preview-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 600px;
    margin: 50px auto;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    font-family: inherit;
}

.int-browser {
    width: 70%;
    height: 400px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid #edf2f7;
    z-index: 2;
    overflow: hidden;
    position: relative;
    animation: int-browser-fade 0.8s ease-out forwards;
}

.int-browser-header {
    height: 40px;
    background: #f7fafc;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 8px;
}

.int-browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e0;
}

.int-browser-body {
    padding: 20px;
}

.int-table-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
    font-size: 13px;
    color: #4a5568;
}

.int-table-row .pill {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.pill-orange {
    background: #fff5eb;
    color: #dd6b20;
    border: 1px solid #fbd38d;
}

/* Left Product Cards */
.int-cards-wrapper {
    position: absolute;
    left: -20px;
    bottom: 100px;
    z-index: 3;
    display: flex;
}

.int-product-card {
    width: 180px;
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: rotate(-5deg);
    animation: int-card-slide 0.6s 0.3s ease-out forwards;
    opacity: 0;
}

.int-product-card.second {
    margin-left: -100px;
    transform: rotate(5deg) translateY(40px);
    animation-delay: 0.5s;
    z-index: 4;
}

.int-card-img {
    width: 100%;
    height: 120px;
    background: #f7fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.int-card-img i {
    font-size: 60px;
    color: #ff4d4d;
}

.int-card-title {
    font-weight: 800;
    font-size: 14px;
    margin-bottom: 4px;
}

.int-card-price {
    font-weight: 800;
    font-size: 18px;
    color: #2d3748;
}

/* Right API Badge */
.int-api-badge {
    position: absolute;
    right: 20px;
    top: 50px;
    width: 160px;
    padding: 20px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 3;
    animation: int-float 4s ease-in-out infinite;
}

.int-api-logo {
    font-weight: 900;
    font-size: 24px;
    color: #333;
    text-align: center;
}

.int-api-logo span {
    color: #f27a1a;
}

/* Trendyol orange */

.int-api-tag {
    font-size: 10px;
    font-weight: 700;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Central CTA */
.int-cta-btn {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff7e14 0%, #ff5200 100%);
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: 1px;
    box-shadow: 0 10px 25px rgba(255, 82, 0, 0.4);
    z-index: 5;
    white-space: nowrap;
    animation: int-pulse 2s infinite;
    text-decoration: none;
}

@keyframes int-browser-fade {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }

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

@keyframes int-card-slide {
    from {
        opacity: 0;
        transform: translateX(-50px) rotate(-15deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotate(-5deg);
    }
}

@keyframes int-float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes int-pulse {
    0% {
        transform: translateX(-50%) scale(1);
    }

    50% {
        transform: translateX(-50%) scale(1.05);
    }

    100% {
        transform: translateX(-50%) scale(1);
    }
}

/* Integration Responsive */
@media (max-width: 991px) {
    .int-browser {
        width: 90%;
        height: 350px;
    }

    .int-cards-wrapper {
        left: 0;
        bottom: 80px;
        transform: scale(0.8);
    }

    .int-api-badge {
        right: 10px;
        width: 130px;
    }
}

/* Dashboard-Mobile Preview */
.dm-preview-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 650px;
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 24px;
}

.dm-dashboard {
    width: 80%;
    height: 450px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    overflow: hidden;
    display: flex;
    z-index: 1;
    transform: translateX(-40px);
}

.dm-sidebar {
    width: 200px;
    background: #111;
    color: #fff;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dm-sidebar .logo {
    font-weight: 900;
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.dm-menu-item {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    width: 100%;
}

.dm-menu-item.active {
    background: #6366f1;
    height: 30px;
}

.dm-main {
    flex: 1;
    padding: 40px;
}

.dm-chart {
    width: 100%;
    height: 180px;
    background: linear-gradient(to top, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid #e2e8f0;
    margin-top: 30px;
    position: relative;
}

.dm-chart::after {
    content: "";
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #6366f1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.5);
}

.dm-phones-wrapper {
    position: absolute;
    right: 20px;
    top: 50px;
    display: flex;
    gap: 30px;
    z-index: 5;
    animation: dm-float 4s ease-in-out infinite;
}

.dm-phone {
    width: 220px;
    height: 440px;
    background: #fff;
    border: 10px solid #222;
    border-radius: 35px;
    box-shadow: 0 50px 100px rgba(99, 102, 241, 0.3);
    overflow: hidden;
    position: relative;
}

.dm-phone-header {
    height: 40px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
}

.dm-phone-notch {
    width: 60px;
    height: 20px;
    background: #222;
    border-radius: 0 0 10px 10px;
}

.dm-phone-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dm-product-img {
    width: 100%;
    height: 180px;
    background: #f1f5f9;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dm-product-img i {
    font-size: 80px;
    color: #cbd5e0;
}

@keyframes dm-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-25px);
    }
}

/* Marketing Preview */
.mp-preview-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 700px;
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 24px;
}

.mp-main-card {
    width: 600px;
    height: 500px;
    background: #fff;
    border-radius: 40px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.mp-person-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.mp-person-placeholder i {
    font-size: 400px;
    color: #cbd5e0;
    margin-bottom: -50px;
}

.mp-floating-card {
    position: absolute;
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 30px 60px -10px rgba(99, 102, 241, 0.2);
    z-index: 10;
    animation: mp-float 5s ease-in-out infinite;
}

.mp-card-top {
    top: 100px;
    left: 20px;
    min-width: 280px;
}

.mp-card-left {
    bottom: 120px;
    left: -40px;
    min-width: 220px;
    animation-delay: -1s;
}

.mp-card-right {
    bottom: 80px;
    right: -20px;
    min-width: 240px;
    animation-delay: -2s;
}

.mp-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.mp-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.mp-chart-line {
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M0,15 Q25,5 50,15 T100,10' fill='none' stroke='%236366f1' stroke-width='2'/%3E%3C/svg%3E") repeat-x;
    background-size: 100% 100%;
}

@keyframes mp-float {

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

    50% {
        transform: translateY(-30px) scale(1.02);
    }
}

/* Integration Responsive */
@media (max-width: 991px) {
    .int-browser {
        width: 90%;
        height: 350px;
    }

    .int-cards-wrapper {
        left: 0;
        bottom: 80px;
        transform: scale(0.8);
    }

    .int-api-badge {
        right: 10px;
        width: 130px;
    }

    .dm-dashboard {
        transform: none;
        width: 100%;
        height: 350px;
    }

    .dm-phones-wrapper {
        position: relative;
        right: 0;
        top: 0;
        transform: scale(0.6);
        margin-top: -100px;
    }

    .mp-main-card {
        width: 90%;
        height: 400px;
    }

    .mp-floating-card {
        transform: scale(0.8) !important;
    }
}

/* Theme Builder Preview */
.tb-preview-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: 500px;
    background: #f1f5f9;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.tb-sidebar {
    width: 240px;
    background: #fff;
    border-right: 1px solid #e2e8f0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tb-block {
    padding: 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: grab;
    transition: all 0.2s;
}

.tb-block.dragging {
    border-color: #6366f1;
    background: #f5f3ff;
    animation: tb-drag 3s infinite ease-in-out;
}

.tb-canvas {
    flex: 1;
    padding: 30px;
    position: relative;
}

.tb-main-preview {
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.tb-slider-mock {
    height: 180px;
    background: #e2e8f0;
    margin: 15px;
    border-radius: 8px;
    animation: tb-change-color 4s infinite;
}

@keyframes tb-drag {
    0% {
        transform: translate(0, 0);
    }

    30% {
        transform: translate(150px, 50px);
    }

    70% {
        transform: translate(150px, 50px);
    }

    100% {
        transform: translate(0, 0);
    }
}

@keyframes tb-change-color {

    0%,
    30%,
    100% {
        background: #f1f5f9;
    }

    50%,
    80% {
        background: #6366f1;
    }
}

/* Cart Recovery Preview */
.cr-preview-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cr-notification {
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 15px;
    animation: cr-pop 4s infinite ease-in-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cr-icon {
    width: 45px;
    height: 45px;
    background: #6366f1;
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

@keyframes cr-pop {

    0%,
    10% {
        transform: translateY(50px) scale(0.8);
        opacity: 0;
    }

    20%,
    80% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    90%,
    100% {
        transform: translateY(-20px) scale(0.9);
        opacity: 0;
    }
}

/* Coupon Usage Preview */
.cu-preview-container {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    margin: 0 auto;
    font-family: inherit;
}

.cu-input-grid {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.cu-input {
    flex: 2;
    height: 50px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 15px;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    color: #1e293b;
    background: #fff;
    transition: all 0.3s;
    animation: cu-input-active 5s infinite;
    position: relative;
    overflow: hidden;
}

.cu-input::after {
    content: "|";
    margin-left: 2px;
    color: #6366f1;
    animation: cu-cursor 0.8s infinite;
}

.cu-btn {
    flex: 1;
    height: 50px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    animation: cu-btn-click 5s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cu-price-row {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-weight: 700;
    font-size: 16px;
    color: #1e293b;
}

.cu-price-original {
    transition: all 0.5s;
    animation: cu-strike 5s infinite;
}

.cu-price-final {
    color: #10b981;
    opacity: 0;
    font-weight: 800;
    transform: translateY(5px);
    animation: cu-reveal 5s infinite;
}

@keyframes cu-cursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes cu-input-active {

    0%,
    20% {
        border-color: #e2e8f0;
        background: #fff;
        color: transparent;
    }

    30%,
    75% {
        border-color: #6366f1;
        background: #f5f3ff;
        color: #1e293b;
        box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    }

    80%,
    100% {
        border-color: #e2e8f0;
        background: #fff;
        color: transparent;
    }
}

@keyframes cu-btn-click {

    0%,
    35% {
        background: #111;
        transform: scale(1);
    }

    40%,
    45% {
        background: #6366f1;
        transform: scale(0.95);
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    }

    50%,
    75% {
        background: #059669;
        transform: scale(1);
    }

    80%,
    100% {
        background: #111;
        transform: scale(1);
    }
}

@keyframes cu-strike {

    0%,
    45% {
        text-decoration: none;
        color: #1e293b;
        transform: scale(1);
    }

    50%,
    75% {
        text-decoration: line-through;
        color: #94a3b8;
        transform: scale(0.95);
    }

    80%,
    100% {
        text-decoration: none;
        color: #1e293b;
        transform: scale(1);
    }
}

@keyframes cu-reveal {

    0%,
    45% {
        opacity: 0;
        transform: translateY(10px);
    }

    55%,
    75% {
        opacity: 1;
        transform: translateY(0);
    }

    80%,
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .tb-sidebar {
        display: none;
    }

    .tb-preview-container {
        height: 350px;
    }
}

/* Rich Theme Builder Preview Styles */
.rich-tb-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #f8fbff;
    border-radius: 20px;
}

.rich-tb-bg-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 1;
}

.rich-tb-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 40px;
}

/* Floating Cards */
.rich-tb-float-card {
    position: absolute;
    width: 150px;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.06);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
    animation: tb-float-card 4s ease-in-out infinite;
    border: 1px solid rgba(99, 102, 241, 0.08);
}

.fc-1 {
    left: 160px;
    top: 120px;
}

.fc-2 {
    left: 180px;
    bottom: 100px;
    animation-delay: -1.5s;
}

.rich-tb-float-card-right {
    position: absolute;
    width: 140px;
    background: #ffffff;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.06);
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 5;
    animation: tb-float-card 5s ease-in-out infinite reverse;
    border: 1px solid rgba(99, 102, 241, 0.08);
}

.fcr-1 {
    right: 160px;
    top: 100px;
}

.fcr-2 {
    right: 180px;
    bottom: 120px;
    animation-delay: -2s;
    flex-direction: row !important;
    align-items: center;
    width: 120px;
}

.float-card-icon {
    width: 30px;
    height: 30px;
    background: #edf2ff;
    color: #6366f1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.float-card-icon.sm {
    width: 20px;
    height: 20px;
    font-size: 10px;
}

.float-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.skeleton-line {
    height: 4px;
    background: #f1f5f9;
    border-radius: 2px;
}

.skeleton-line.sm {
    width: 40%;
}

.skeleton-line.lg {
    width: 85%;
}

/* Browser Window */
.rich-tb-browser {
    width: 580px;
    height: 360px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef2f6;
    overflow: hidden;
    transform: scale(1.15);
}

.browser-sidebar {
    width: 120px;
    background: #ffffff;
    border-right: 1px solid #f1f5f9;
    padding: 16px;
}

.sidebar-logo {
    width: 16px;
    height: 16px;
    background: #e2e8f0;
    border-radius: 50%;
    margin-bottom: 24px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-item {
    height: 5px;
    background: #f1f5f9;
    border-radius: 3px;
    width: 100%;
}

.browser-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #fcfdfe;
}

.browser-header {
    height: 44px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 16px;
}

.header-btn {
    width: 60px;
    height: 14px;
    background: #edf2ff;
    border-radius: 7px;
}

.browser-content {
    padding: 16px;
    flex: 1;
    overflow: hidden;
}

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

.comp-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.comp-card.active {
    border-color: #6366f1;
    box-shadow: 0 0 0 1px #6366f1;
}

.comp-icon {
    width: 32px;
    height: 32px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 15px;
}

.comp-card.active .comp-icon {
    background: #edf2ff;
    color: #6366f1;
}

.comp-skeleton {
    width: 100%;
    height: 65px;
    background: #f8fafc;
    border-radius: 6px;
}

/* Hand Cursor */
.rich-tb-cursor {
    position: absolute;
    bottom: 60px;
    left: 120px;
    font-size: 26px;
    color: #1a1a1a;
    z-index: 10;
    pointer-events: none;
    animation: tb-cursor-move-rich 5s ease-in-out infinite;
}

@keyframes tb-float-card {

    0%,
    100% {
        transform: translate(0, 0) rotate(0);
    }

    50% {
        transform: translate(15px, -15px) rotate(-2deg);
    }
}

@keyframes tb-cursor-move {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(80px, 30px);
    }
}

@keyframes tb-cursor-move-rich {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(120px, -80px);
    }

    66% {
        transform: translate(240px, 0);
    }
}

@media (max-width: 768px) {
    .rich-tb-float-card {
        display: none;
    }

    .rich-tb-browser {
        transform: scale(0.8);
    }
}

@media (max-width: 991px) {

    .rich-tb-float-card,
    .rich-tb-float-card-right {
        display: none;
    }

    .rich-tb-browser {
        transform: scale(0.9);
        width: 90%;
    }
}