/* ==========================================================================
   Elementor Pro Expert Child Theme - TTPixel Custom CSS & Utilities
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Base Styles & Selection (Bulletproof Mobile Viewport Containment)
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    max-width: 100vw !important;
    width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 90px;
}

section[id] {
    scroll-margin-top: 90px;
}

/* --------------------------------------------------------------------------
   Lenis Momentum & Inertia Smooth Scrolling Standard Styles
   -------------------------------------------------------------------------- */
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

body {
    background-color: #F9FAFB;
    color: #172033;
    font-family: 'Inter', sans-serif;
    max-width: 100vw !important;
    width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
}

/* Ensure all structural sections and wrappers never leak horizontal width */
section, header, footer, main, #primary, #content, .site-main, .site {
    max-width: 100% !important;
    overflow-x: clip !important;
}

::selection {
    background-color: #7827E5;
    color: #FFFFFF;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

/* Zero-Reload SPA Transition Bar & Container */
#ttpixel-spa-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #7827E5, #B53EF9);
    box-shadow: 0 0 10px #B53EF9, 0 0 5px #7827E5;
    z-index: 99999;
    pointer-events: none;
    transition: width 0.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.15s ease;
}

#ttpixel-spa-container {
    transition: opacity 0.15s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity;
}

::-webkit-scrollbar-track {
    background: #F9FAFB;
}

::-webkit-scrollbar-thumb {
    background: #D8D8DE;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7827E5;
}

/* --------------------------------------------------------------------------
   Scroll Reveal Animations (Intersection Observer Powered)
   -------------------------------------------------------------------------- */

/* Base hidden state for all animatable elements */
[data-reveal] {
    opacity: 0;
    transition-duration: 0.75s;
    transition-timing-function: cubic-bezier(0.22, 0.8, 0.32, 1);
    transition-property: opacity, transform, filter;
    will-change: opacity, transform;
}

/* Visible / Revealed State */
[data-reveal].revealed {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
}

/* Fade Up */
[data-reveal="fade-up"] {
    transform: translateY(52px);
}

/* Fade Down */
[data-reveal="fade-down"] {
    transform: translateY(-40px);
}

/* Fade In Left */
[data-reveal="fade-left"] {
    transform: translateX(-56px);
}

/* Fade In Right */
[data-reveal="fade-right"] {
    transform: translateX(56px);
}

/* Zoom In */
[data-reveal="zoom-in"] {
    transform: scale(0.88);
}

/* Flip Up (card flip) */
[data-reveal="flip-up"] {
    transform: perspective(700px) rotateX(18deg) translateY(40px);
}

/* Blur-in (premium) */
[data-reveal="blur-in"] {
    transform: translateY(30px);
    filter: blur(10px);
}

/* Staggered child delays */
[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="250"] { transition-delay: 0.25s; }
[data-delay="300"] { transition-delay: 0.3s; }
[data-delay="350"] { transition-delay: 0.35s; }
[data-delay="400"] { transition-delay: 0.4s; }
[data-delay="450"] { transition-delay: 0.45s; }
[data-delay="500"] { transition-delay: 0.5s; }
[data-delay="600"] { transition-delay: 0.6s; }
[data-delay="700"] { transition-delay: 0.7s; }

/* Mobile Smoothness & Fast Scroll Reveal (< 768px) */
@media (max-width: 768px) {
    [data-reveal] {
        transition-duration: 0.32s !important;
        transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    [data-reveal="fade-up"],
    [data-reveal="fade-down"],
    [data-reveal="fade-left"],
    [data-reveal="fade-right"],
    [data-reveal="flip-up"],
    [data-reveal="blur-in"] {
        transform: translateY(16px) !important;
        filter: none !important;
    }
    [data-reveal="zoom-in"] {
        transform: scale(0.96) !important;
    }
    /* Snappy minimal stagger delays on mobile so content is instant */
    [data-delay="100"],
    [data-delay="150"] { transition-delay: 0.02s !important; }
    [data-delay="200"],
    [data-delay="250"] { transition-delay: 0.04s !important; }
    [data-delay="300"],
    [data-delay="350"],
    [data-delay="400"],
    [data-delay="450"],
    [data-delay="500"],
    [data-delay="600"],
    [data-delay="700"] { transition-delay: 0.06s !important; }
}

/* Neon section divider glow line animation */
@keyframes ttpixel-line-draw {
    from { transform: scaleX(0); opacity: 0; }
    to   { transform: scaleX(1); opacity: 1; }
}

.ttpixel-reveal-line {
    animation: ttpixel-line-draw 0.9s cubic-bezier(0.22, 0.8, 0.32, 1) both;
    transform-origin: left center;
}

/* --------------------------------------------------------------------------
   Agency Opening Shutter & Preloader (Cinematic Brand Reveal)
   -------------------------------------------------------------------------- */
#ttpixel-preloader {
    opacity: 1;
    visibility: visible;
    transition: transform 0.9s cubic-bezier(0.85, 0, 0.15, 1),
                opacity 0.6s ease 0.3s,
                visibility 0.9s ease;
    will-change: transform, opacity;
}

#ttpixel-preloader.preloader-exit {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Hero Section Entrance & Cinematic Masked Line Reveal
   -------------------------------------------------------------------------- */
.hero-mask-wrapper {
    overflow: hidden;
    display: block;
    padding-bottom: 4px;
}

.hero-line-slide {
    display: block;
    transform: translateY(115%);
    opacity: 0;
    filter: blur(8px);
    transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.85s ease;
    will-change: transform, opacity, filter;
}

body.hero-animated .hero-line-slide {
    transform: translateY(0) !important;
    opacity: 1 !important;
    filter: blur(0) !important;
}

.hero-line-slide-1 { transition-delay: 0.10s; }
.hero-line-slide-2 { transition-delay: 0.26s; }
.hero-line-slide-3 { transition-delay: 0.42s; }

.hero-stagger {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

body.hero-animated .hero-stagger,
.hero-animated .hero-stagger {
    opacity: 1 !important;
    transform: translateY(0) !important;
    filter: blur(0) !important;
}

.hero-stagger-badge { transition-delay: 0.05s; }
.hero-stagger-1 { transition-delay: 0.10s; }
.hero-stagger-2 { transition-delay: 0.25s; }
.hero-stagger-3, .hero-stagger-sub { transition-delay: 0.58s; }
.hero-stagger-4, .hero-stagger-cta { transition-delay: 0.74s; }
.hero-stagger-5, .hero-stagger-scroll { transition-delay: 0.90s; }

/* Subtle Floating Glow for Hero Badge */
@keyframes hero-badge-glow {
    0%, 100% {
        box-shadow: 0 2px 10px rgba(120, 39, 229, 0.1), inset 0 0 8px rgba(120, 39, 229, 0.04);
        border-color: rgba(120, 39, 229, 0.25);
    }
    50% {
        box-shadow: 0 4px 18px rgba(181, 62, 249, 0.2), inset 0 0 12px rgba(181, 62, 249, 0.08);
        border-color: rgba(181, 62, 249, 0.5);
    }
}

.hero-badge-animated {
    animation: hero-badge-glow 4s ease-in-out infinite;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    [data-reveal],
    .hero-stagger {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
}


/* --------------------------------------------------------------------------
   Reset Parent Theme / Elementor Button Styles
   -------------------------------------------------------------------------- */
button,
[type="button"],
[type="submit"],
[type="reset"] {
    border: 0;
    background: transparent;
    padding: 0;
    outline: none;
    box-shadow: none;
}

button:focus,
[type="button"]:focus,
[type="submit"]:focus {
    outline: none;
    box-shadow: none;
}

/* --------------------------------------------------------------------------
   2. Background Textures & Patterns
   -------------------------------------------------------------------------- */
.bg-grain {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.035'/%3E%3C/svg%3E");
}

.bg-grid-pattern {
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(23, 32, 51, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(23, 32, 51, 0.04) 1px, transparent 1px);
}

.hero-radial-glow {
    background: radial-gradient(circle at 50% 30%, rgba(120, 39, 229, 0.09) 0%, rgba(249, 250, 251, 0) 70%);
}

/* --------------------------------------------------------------------------
   3. Premium Custom Cursor (Desktop Only - Smooth Magnetic Dual-Layer)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
    body {
        cursor: none;
    }

    a,
    button,
    [role="button"],
    [data-cursor],
    .cursor-pointer,
    label {
        cursor: none;
    }

    /* Form controls & Modals MUST always have standard native cursor */
    input,
    textarea {
        cursor: text !important;
    }

    select,
    option {
        cursor: pointer !important;
    }

    #ceo-meeting-modal,
    #ceo-meeting-modal * {
        cursor: auto;
    }

    #ceo-meeting-modal input,
    #ceo-meeting-modal textarea {
        cursor: text !important;
    }

    #ceo-meeting-modal select,
    #ceo-meeting-modal option,
    #ceo-meeting-modal button,
    #ceo-meeting-modal [type="submit"],
    #ceo-meeting-modal [data-close-ceo-modal] {
        cursor: pointer !important;
    }
}

/* Custom Cursor Elements */
#cursor-dot,
#cursor-ring {
    pointer-events: none !important;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    opacity: 0;
    will-change: transform, opacity;
}

#cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #7827E5;
    box-shadow: 0 0 10px rgba(120, 39, 229, 0.7);
    z-index: 999999 !important;
    transition: opacity 0.2s ease, transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.2s ease;
}

#cursor-ring {
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(120, 39, 229, 0.4);
    background-color: rgba(120, 39, 229, 0.03);
    z-index: 999998 !important;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.25s ease,
                border-color 0.25s ease,
                box-shadow 0.25s ease,
                opacity 0.2s ease;
}

/* Hover state over interactive elements (smooth expansion & soft glow, NO text obscuring) */
#cursor-ring.is-hovering {
    width: 50px;
    height: 50px;
    border-color: rgba(120, 39, 229, 0.65);
    background-color: rgba(120, 39, 229, 0.07);
    box-shadow: 0 0 22px rgba(120, 39, 229, 0.25);
}

#cursor-dot.is-hovering {
    opacity: 0.8;
    transform: scale(0.65);
}

/* Tactile Click / Mousedown state */
#cursor-ring.is-active {
    width: 26px;
    height: 26px;
    border-width: 2px;
    border-color: #7827E5;
    background-color: rgba(120, 39, 229, 0.18);
    box-shadow: 0 0 16px rgba(120, 39, 229, 0.35);
}

#cursor-dot.is-active {
    transform: scale(1.3);
    background-color: #5E1EB5;
}

/* Hide custom cursor when hovering inputs/modals so native OS typing cursor is crystal clear */
body.modal-open #cursor-dot,
body.modal-open #cursor-ring,
body.modal-open #custom-cursor,
input:hover ~ #cursor-dot,
input:hover ~ #cursor-ring,
textarea:hover ~ #cursor-dot,
textarea:hover ~ #cursor-ring {
    opacity: 0 !important;
}

/* Accessibility & Touch devices */
@media (hover: none) or (pointer: coarse) {
    #cursor-dot,
    #cursor-ring,
    #custom-cursor {
        display: none !important;
    }
    body, a, button {
        cursor: auto !important;
    }
}

/* --------------------------------------------------------------------------
   4. Animations & Components
   -------------------------------------------------------------------------- */
@keyframes laserScan {
    0% {
        left: -100%;
    }

    100% {
        left: 200%;
    }
}

.laser-line {
    position: relative;
    overflow: hidden;
}

.laser-line::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    background: linear-gradient(90deg, transparent, #7827E5, #B53EF9, transparent);
    animation: laserScan 4s infinite linear;
}

.ttpixel-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #7827E5, #B53EF9);
    box-shadow: 0 0 8px rgba(120, 39, 229, 0.4);
    border-radius: 1px;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid #D8D8DE;
    box-shadow: 0 10px 30px -10px rgba(120, 39, 229, 0.08);
}

.glass-panel:hover {
    border-color: rgba(120, 39, 229, 0.45);
}

/* --------------------------------------------------------------------------
   5. Back to Top Button Styling & Utilities
   -------------------------------------------------------------------------- */
#epcBackToTop,
.epc-back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7827E5, #B53EF9);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 10px 25px rgba(120, 39, 229, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

#epcBackToTop.epc-show,
.epc-back-to-top-btn.epc-show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#epcBackToTop:hover,
.epc-back-to-top-btn:hover {
    background: linear-gradient(135deg, #6B1FD6, #A72EE8);
    transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   6. Bilingual EN/BN Instant Toggle Rules & Switcher Styling
   -------------------------------------------------------------------------- */
html.lang-en .lang-bn {
    display: none !important;
}

html.lang-bn .lang-en {
    display: none !important;
}

/* Language Switcher Button */
.lang-switcher-container {
    display: inline-flex;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #D8D8DE;
    border-radius: 9999px;
    padding: 2px 6px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.lang-btn {
    color: #5E6A82 !important;
    padding: 2px 8px !important;
    border-radius: 9999px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    border: none !important;
    background: transparent !important;
    outline: none !important;
}

.lang-btn:hover {
    color: #172033 !important;
    background: rgba(120, 39, 229, 0.08) !important;
}

.lang-btn.active {
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #7827E5, #B53EF9) !important;
    box-shadow: 0 2px 8px rgba(120, 39, 229, 0.3) !important;
    font-weight: 800 !important;
}

/* --------------------------------------------------------------------------
   7. Plan Page Specific Elements
   -------------------------------------------------------------------------- */
.plan-category-btn {
    border: 0 !important;
    outline: none !important;
    cursor: pointer !important;
    background: transparent !important;
    color: #5E6A82 !important;
    transition: all 0.2s ease !important;
}

.plan-category-btn:hover {
    color: #172033 !important;
    background: rgba(120, 39, 229, 0.06) !important;
}

.plan-category-btn.active {
    background: linear-gradient(135deg, #7827E5, #B53EF9) !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(120, 39, 229, 0.3) !important;
}

.plan-faq-trigger {
    border: 0 !important;
    background: transparent !important;
    outline: none !important;
    cursor: pointer !important;
}
.plan-faq-trigger:hover,
.plan-faq-trigger:focus,
.plan-faq-trigger:active {
    border: 0 !important;
    background: transparent !important;
    outline: none !important;
}

/* Ultra-Premium Pricing Cards Architecture */
.ttp-plan-card {
    position: relative;
    border-radius: 1.5rem;
    background: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    box-shadow: 0 4px 20px -2px rgba(0,0,0,0.04), 0 2px 6px -1px rgba(0,0,0,0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.ttp-plan-card:hover {
    transform: translateY(-8px);
    border-color: rgba(120, 39, 229, 0.45);
    box-shadow: 0 25px 45px -12px rgba(120, 39, 229, 0.16), 0 4px 12px rgba(0,0,0,0.03);
}

/* Most Popular Card - Signature Deep Cybernetic Hero Aesthetic */
.ttp-plan-card-popular {
    position: relative;
    border-radius: 1.5rem;
    background-color: #0A0718;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(120, 39, 229, 0.42) 0%, transparent 68%),
        radial-gradient(circle at 90% 85%, rgba(181, 62, 249, 0.22) 0%, transparent 55%),
        radial-gradient(circle at 10% 60%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        linear-gradient(to right, rgba(120, 39, 229, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(120, 39, 229, 0.08) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    border: 2px solid rgba(168, 85, 247, 0.55);
    box-shadow: 
        0 25px 60px -10px rgba(120, 39, 229, 0.45), 
        0 0 35px rgba(120, 39, 229, 0.25), 
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    color: #F8FAFC;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
    overflow: visible;
}

.ttp-plan-card-popular:hover {
    transform: translateY(-10px) scale(1.025);
    border-color: rgba(216, 180, 254, 0.85);
    box-shadow: 
        0 35px 75px -12px rgba(120, 39, 229, 0.65), 
        0 0 50px rgba(181, 62, 249, 0.4), 
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Ambient Subtle Glow Accent on Card Top Edge */
.ttp-plan-card-popular::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, #B53EF9, #7827E5, #B53EF9, transparent);
    box-shadow: 0 0 16px 2px #B53EF9;
    pointer-events-none;
    z-index: 15;
}

/* Card Headline & Subtitle Styling */
.ttp-plan-card-popular h3,
.ttp-plan-card-popular h3 span {
    color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.ttp-plan-card-popular p,
.ttp-plan-card-popular p span {
    color: #94A3B8 !important; /* Soft eye-friendly slate */
}

/* Category Pill / Tag Badge inside Popular Card */
.ttp-plan-card-popular .bg-purple-soft {
    background: rgba(120, 39, 229, 0.28) !important;
    border-color: rgba(192, 132, 252, 0.35) !important;
    color: #E9D5FF !important;
}
.ttp-plan-card-popular .bg-purple-soft span.bg-purple-main {
    background-color: #C084FC !important;
    box-shadow: 0 0 8px #B53EF9;
}

/* Price Box inside Popular Card */
.ttp-plan-card-popular .ttp-price-box-popular {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(168, 85, 247, 0.28) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Price Number Gradient Glow */
.ttp-plan-card-popular .ttp-price-box-popular span.bg-clip-text {
    background-image: linear-gradient(135deg, #FFFFFF 0%, #E9D5FF 40%, #C084FC 100%) !important;
    filter: drop-shadow(0 0 16px rgba(181, 62, 249, 0.45));
}

/* / project subtitle in Price Box */
.ttp-plan-card-popular .ttp-price-box-popular .text-purple-main {
    color: #D8B4FE !important;
}

/* Badge inside Price Box (Scale Architecture / Best Conversion) */
.ttp-plan-card-popular .ttp-price-box-popular span.bg-white {
    background: rgba(120, 39, 229, 0.35) !important;
    border-color: rgba(192, 132, 252, 0.45) !important;
    color: #F3E8FF !important;
    box-shadow: 0 0 12px rgba(120, 39, 229, 0.3);
}

/* Feature Divider */
.ttp-plan-card-popular .ttp-feature-divider {
    border-top-color: rgba(168, 85, 247, 0.25) !important;
}
.ttp-plan-card-popular .ttp-feature-divider::after {
    background: rgba(168, 85, 247, 0.25) !important;
}
.ttp-plan-card-popular .ttp-feature-divider span {
    color: #C084FC !important;
    text-shadow: 0 0 10px rgba(181, 62, 249, 0.3);
}

/* Feature List Items */
.ttp-plan-card-popular li {
    color: #E2E8F0 !important;
}
.ttp-plan-card-popular li span {
    color: #E2E8F0 !important;
}
.ttp-plan-card-popular li .text-text-main,
.ttp-plan-card-popular li .text-text-sub {
    color: #E2E8F0 !important;
}

/* Highlighted Feature Row inside Popular Card */
.ttp-plan-card-popular li.bg-purple-soft\/60 {
    background: rgba(120, 39, 229, 0.25) !important;
    border-color: rgba(192, 132, 252, 0.35) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.ttp-plan-card-popular li.bg-purple-soft\/60 span {
    color: #FFFFFF !important;
}

/* Feature Checkmark Icons */
.ttp-plan-card-popular li div.bg-purple-soft {
    background: rgba(120, 39, 229, 0.38) !important;
    border-color: rgba(192, 132, 252, 0.5) !important;
    color: #F3E8FF !important;
    box-shadow: 0 0 10px rgba(120, 39, 229, 0.4);
}
.ttp-plan-card-popular li div.bg-gradient-to-r {
    box-shadow: 0 0 12px rgba(181, 62, 249, 0.6) !important;
}

/* Mini Pill Badges on Features (e.g. EN | BN, CAPI) */
.ttp-plan-card-popular li span.bg-purple-soft {
    background: rgba(168, 85, 247, 0.25) !important;
    border-color: rgba(192, 132, 252, 0.4) !important;
    color: #F3E8FF !important;
}

/* Popular CTA Button */
.ttp-plan-card-popular a.ttp-btn-shimmer {
    background: linear-gradient(135deg, #7827E5 0%, #8B35FA 50%, #B53EF9 100%) !important;
    border: 1px solid rgba(216, 180, 254, 0.45) !important;
    box-shadow: 0 10px 28px -4px rgba(120, 39, 229, 0.55), 0 0 20px rgba(181, 62, 249, 0.35) !important;
    color: #FFFFFF !important;
}
.ttp-plan-card-popular a.ttp-btn-shimmer:hover {
    box-shadow: 0 16px 36px -4px rgba(120, 39, 229, 0.75), 0 0 32px rgba(181, 62, 249, 0.55) !important;
    filter: brightness(1.1) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.ttp-plan-card-flagship {
    position: relative;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, #FFFFFF 0%, #FCF9FF 50%, #F6EDFF 100%);
    border: 2px solid #8B35FA;
    box-shadow: 0 22px 55px -10px rgba(139, 53, 250, 0.25), 0 0 0 1px rgba(181, 62, 249, 0.2);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10;
}
.ttp-plan-card-flagship:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 32px 65px -12px rgba(139, 53, 250, 0.35), 0 0 0 1px rgba(181, 62, 249, 0.35);
}

.ttp-btn-shimmer {
    position: relative;
    overflow: hidden;
}
.ttp-btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: none;
}
.ttp-btn-shimmer:hover::after {
    left: 200%;
    transition: all 0.85s cubic-bezier(0.19, 1, 0.22, 1);
}

.ttp-price-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 20px;
}
.ttp-price-box-popular {
    background: rgba(120, 39, 229, 0.05);
    border: 1px solid rgba(120, 39, 229, 0.18);
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 20px;
}
.ttp-feature-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-family: monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94A3B8;
    margin-bottom: 14px;
    padding-top: 14px;
    border-top: 1px dashed #E2E8F0;
}
.ttp-feature-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #E2E8F0;
}

/* --------------------------------------------------------------------------
   8. Bengali (Bangla) Typography & Hero Headline Line-Height Fine-Tuning
   -------------------------------------------------------------------------- */
html.lang-bn,
html.lang-bn body {
    font-family: 'Hind Siliguri', 'Inter', -apple-system, sans-serif !important;
}

html.lang-bn h1,
html.lang-bn h2,
html.lang-bn h3,
html.lang-bn h4,
html.lang-bn h5,
html.lang-bn h6 {
    font-family: 'Hind Siliguri', sans-serif !important;
    letter-spacing: 0 !important;
}

html.lang-bn p,
html.lang-bn li,
html.lang-bn span,
html.lang-bn a,
html.lang-bn button,
html.lang-bn input,
html.lang-bn textarea,
html.lang-bn select {
    font-family: 'Hind Siliguri', sans-serif !important;
}

/* Ensure Bengali text inside gradients or headlines NEVER clips upper matras */
.lang-bn {
    display: inline-block;
    line-height: inherit;
}

/* Hero Section Headline Line-Height & Size specifically for Bengali - Ultra Tight, Punchy & Responsive */
html.lang-bn #hero h1 {
    font-size: clamp(2.4rem, 9.5vw, 3.4rem) !important;
    line-height: 1.14 !important;
}

@media (min-width: 640px) and (max-width: 1023px) {
    html.lang-bn #hero h1 {
        font-size: clamp(3.2rem, 7.5vw, 4.8rem) !important;
        line-height: 1.12 !important;
    }
}

@media (min-width: 1024px) {
    html.lang-bn #hero h1 {
        font-size: clamp(3.2rem, 6.8vw, 6.5rem) !important;
        line-height: 1.05 !important;
    }
}

/* Mobile Specific Font Size Enhancements for Bengali */
@media (max-width: 639px) {
    html.lang-bn h1 {
        font-size: 2.3rem !important;
        line-height: 1.18 !important;
    }

    html.lang-bn h2 {
        font-size: 1.85rem !important;
        line-height: 1.22 !important;
    }

    html.lang-bn h3 {
        font-size: 1.45rem !important;
        line-height: 1.25 !important;
    }

    html.lang-bn p {
        font-size: 1.02rem !important;
        line-height: 1.6 !important;
    }

    html.lang-bn .text-xs,
    html.lang-bn span.text-xs {
        font-size: 0.85rem !important;
    }
}

html.lang-bn #hero h1 .lang-bn {
    line-height: inherit !important;
    padding: 0 !important;
    margin: 0 !important;
}

html.lang-bn #hero h1 span.bg-clip-text {
    line-height: inherit !important;
    margin-top: -0.04em !important;
    margin-bottom: -0.04em !important;
    padding-top: 0.08em !important;
    padding-bottom: 0.04em !important;
}

/* Fix bg-clip-text gradient clipping for Bengali across the site */
.bg-clip-text {
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

html.lang-bn .bg-clip-text,
.bg-clip-text .lang-bn,
.lang-bn .bg-clip-text {
    display: inline-block;
    padding-top: 0.06em !important;
    padding-bottom: 0.04em !important;
    margin: 0 !important;
    line-height: inherit !important;
}

/* --------------------------------------------------------------------------
   Website Demos Image Vertical Hover Scrolling & Category Buttons
   -------------------------------------------------------------------------- */
.demo-scroll-box {
    position: relative !important;
    height: 420px !important;
    overflow: hidden !important;
    background-color: #F3F4F8 !important;
    display: block !important;
}
.demo-scroll-box img {
    width: 100% !important;
    height: auto !important;
    min-height: 420px !important;
    object-fit: cover !important;
    object-position: top !important;
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1), object-position 6s ease-in-out !important;
    transform: translateY(0) !important;
    display: block !important;
}
.demo-card-item:hover .demo-scroll-box img,
.demo-scroll-box:hover img {
    transform: translateY(calc(-100% + 420px)) !important;
    object-position: bottom !important;
}

/* Category Filter Buttons - Mobile & Desktop Refined Pills */
.demo-cat-btn {
    background-color: #FFFFFF !important;
    color: #5E6A82 !important;
    border: 1px solid #D8D8DE !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.demo-cat-btn:hover {
    background-color: #FAF5FF !important;
    color: #7827E5 !important;
    border-color: rgba(120, 39, 229, 0.4) !important;
}
.demo-cat-btn.active,
.demo-cat-btn.active:hover {
    background: linear-gradient(135deg, #7827E5, #B53EF9) !important;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    border-color: transparent !important;
    box-shadow: 0 4px 15px rgba(120, 39, 229, 0.35) !important;
}

/* --------------------------------------------------------------------------
   13. Smooth Touch Horizontal Scrollbar Hide
   -------------------------------------------------------------------------- */
.no-scrollbar::-webkit-scrollbar {
    display: none !important;
}
.no-scrollbar {
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}

/* --------------------------------------------------------------------------
   9. Fix: Hello Elementor Parent Theme max-width Override for Custom Templates
   -------------------------------------------------------------------------- */
body.page-template-template-demos .site-main,
body.page-template-template-demos #primary {
    max-width: none !important;
    width: 100% !important;
}

@media (min-width: 768px) {
    body.page-template-template-demos .site-main,
    body.page-template-template-demos #primary {
        max-width: none !important;
        width: 100% !important;
    }
}

@media (min-width: 1200px) {
    body.page-template-template-demos .site-main,
    body.page-template-template-demos #primary {
        max-width: none !important;
        width: 100% !important;
    }
}

/* --------------------------------------------------------------------------
   10. Demo Category Tabs - Mobile Horizontal Scroll Fix
   -------------------------------------------------------------------------- */
#demo-cat-tabs {
    /* Hide scrollbar on all browsers */
    -ms-overflow-style: none;
    scrollbar-width: none;
    /* Smooth touch scrolling on iOS */
    -webkit-overflow-scrolling: touch;
    /* Prevent vertical scroll bleed */
    overscroll-behavior-x: contain;
}

#demo-cat-tabs::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* --------------------------------------------------------------------------
   11. Search Bar Icon Gap Fix
   -------------------------------------------------------------------------- */
#demo-search-input {
    padding-left: 3.25rem !important; /* 52px — icon (20px) + left offset (20px) + gap (12px) */
}

/* --------------------------------------------------------------------------
   9. Fix: Hello Elementor Parent Theme max-width Override for Custom Templates
   The parent theme (Hello Elementor) restricts .site-main to max-width: 600px
   on tablet and max-width: 1140px on desktop for non-Elementor pages.
   This override removes that restriction for the Demos page template
   so demo cards can use full viewport width.
   -------------------------------------------------------------------------- */
body.page-template-template-demos .site-main,
body.page-template-template-demos #primary {
    max-width: none !important;
    width: 100% !important;
}

@media (min-width: 768px) {
    body.page-template-template-demos .site-main,
    body.page-template-template-demos #primary {
        max-width: none !important;
        width: 100% !important;
    }
}

@media (min-width: 1200px) {
    body.page-template-template-demos .site-main,
    body.page-template-template-demos #primary {
        max-width: none !important;
        width: 100% !important;
    }
}

/* --------------------------------------------------------------------------
   12. Plan Feature Point Highlighting & Glowing Badges
   -------------------------------------------------------------------------- */
.plan-feature-highlight {
    background: rgba(120, 39, 229, 0.05) !important;
    border: 1px solid rgba(120, 39, 229, 0.25) !important;
    border-radius: 0.75rem !important;
    box-shadow: 0 2px 10px rgba(120, 39, 229, 0.06) !important;
    transition: all 0.25s ease !important;
}

.plan-feature-highlight:hover {
    background: rgba(120, 39, 229, 0.1) !important;
    border-color: rgba(120, 39, 229, 0.55) !important;
    box-shadow: 0 4px 15px rgba(120, 39, 229, 0.18) !important;
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   13. VIP Direct Deal with CEO Section Cyber Aesthetics
   -------------------------------------------------------------------------- */
.ceo-vip-bg {
    background: radial-gradient(circle at 50% 0%, rgba(181, 62, 249, 0.12) 0%, rgba(249, 250, 251, 0) 70%),
                radial-gradient(circle at 100% 100%, rgba(120, 39, 229, 0.1) 0%, rgba(249, 250, 251, 0) 60%),
                linear-gradient(180deg, #F9FAFB 0%, #F4EEFB 50%, #F9FAFB 100%);
    position: relative;
}

.ceo-grid-pattern {
    background-image: 
        radial-gradient(circle at center, rgba(120, 39, 229, 0.12) 1px, transparent 1px),
        linear-gradient(to right, rgba(216, 216, 222, 0.4) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(216, 216, 222, 0.4) 1px, transparent 1px);
    background-size: 32px 32px, 64px 64px, 64px 64px;
}

.ceo-glass-card {
    background: #FFFFFF;
    border: 1px solid rgba(120, 39, 229, 0.25);
    box-shadow: 0 20px 50px rgba(120, 39, 229, 0.08), 
                0 0 30px rgba(181, 62, 249, 0.05), 
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
}

.ceo-glass-card:hover {
    border-color: rgba(120, 39, 229, 0.55);
    box-shadow: 0 25px 60px rgba(120, 39, 229, 0.15), 
                0 0 45px rgba(181, 62, 249, 0.1), 
                inset 0 1px 0 rgba(120, 39, 229, 0.2);
}

.ceo-perk-card {
    background: #FFFFFF;
    border: 1px solid #D8D8DE;
    transition: all 0.3s cubic-bezier(0.22, 0.8, 0.32, 1);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.ceo-perk-card:hover {
    background: #FAF7FE;
    border-color: rgba(120, 39, 229, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(120, 39, 229, 0.08);
}

@keyframes ceo-glow-pulse {
    0%, 100% { box-shadow: 0 0 25px rgba(120, 39, 229, 0.35); }
    50% { box-shadow: 0 0 45px rgba(181, 62, 249, 0.5), 0 0 20px rgba(120, 39, 229, 0.6); }
}

.ceo-avatar-glow {
    animation: ceo-glow-pulse 4s ease-in-out infinite;
}

@keyframes ceo-border-slide {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ceo-gradient-border {
    background: linear-gradient(90deg, #7827E5, #B53EF9, #6366F1, #7827E5);
    background-size: 300% 300%;
    animation: ceo-border-slide 6s ease infinite;
}

/* --------------------------------------------------------------------------
   8. Connected Infrastructure Section - Ultra-Premium Cybernetic Console
   -------------------------------------------------------------------------- */
.system-cyber-bg {
    background: 
        radial-gradient(circle at 50% 12%, rgba(120, 39, 229, 0.22) 0%, transparent 60%),
        radial-gradient(circle at 85% 80%, rgba(181, 62, 249, 0.14) 0%, transparent 55%),
        radial-gradient(circle at 15% 70%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        #0A0718;
    position: relative;
}

.system-cyber-grid {
    background-size: 44px 44px;
    background-image:
        linear-gradient(to right, rgba(120, 39, 229, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(120, 39, 229, 0.08) 1px, transparent 1px);
}

@keyframes system-laser-flow {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.system-laser-line {
    background: linear-gradient(90deg, transparent 0%, #7827E5 25%, #B53EF9 50%, #7827E5 75%, transparent 100%);
    background-size: 200% 100%;
    animation: system-laser-flow 7s linear infinite;
}

.system-console-window {
    background: linear-gradient(180deg, rgba(17, 18, 36, 0.95) 0%, rgba(10, 10, 24, 0.98) 100%);
    border: 1px solid rgba(120, 39, 229, 0.35);
    box-shadow: 
        0 25px 70px -15px rgba(120, 39, 229, 0.35),
        0 0 50px -10px rgba(181, 62, 249, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.system-console-window:hover {
    border-color: rgba(181, 62, 249, 0.5);
    box-shadow: 
        0 30px 80px -15px rgba(120, 39, 229, 0.45),
        0 0 60px -5px rgba(181, 62, 249, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.system-console-header {
    background: rgba(13, 14, 28, 0.92);
    border-bottom: 1px solid rgba(120, 39, 229, 0.25);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.system-status-chip {
    background: rgba(14, 15, 30, 0.92);
    border: 1px solid rgba(120, 39, 229, 0.32);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

/* --------------------------------------------------------------------------
   9. Hero Section - Deep Cybernetic Aesthetic & 3D Interactive World Canvas
   -------------------------------------------------------------------------- */
.hero-cyber-bg {
    background: 
        radial-gradient(circle at 50% 28%, rgba(120, 39, 229, 0.28) 0%, transparent 68%),
        radial-gradient(circle at 82% 78%, rgba(181, 62, 249, 0.16) 0%, transparent 55%),
        radial-gradient(circle at 18% 65%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
        #0A0718;
    position: relative;
}

.hero-cyber-grid {
    background-size: 48px 48px;
    background-image:
        linear-gradient(to right, rgba(120, 39, 229, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(120, 39, 229, 0.07) 1px, transparent 1px);
}

/* Ambient Cyber Orbs Gentle Floating & Breathing */
@keyframes hero-float-orb-1 {
    0% { transform: translate3d(-50%, -50%, 0) scale(1); }
    50% { transform: translate3d(-46%, -54%, 0) scale(1.08); }
    100% { transform: translate3d(-53%, -47%, 0) scale(0.95); }
}

@keyframes hero-float-orb-2 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-30px, -20px, 0) scale(1.12); }
    100% { transform: translate3d(20px, 15px, 0) scale(0.92); }
}

@keyframes hero-float-orb-3 {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(25px, -25px, 0) scale(1.15); }
    100% { transform: translate3d(-20px, 20px, 0) scale(0.9); }
}

.hero-orb-float-1 {
    animation: hero-float-orb-1 16s ease-in-out infinite alternate;
    will-change: transform;
}

.hero-orb-float-2 {
    animation: hero-float-orb-2 20s ease-in-out infinite alternate;
    will-change: transform;
}

.hero-orb-float-3 {
    animation: hero-float-orb-3 14s ease-in-out infinite alternate;
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .hero-orb-float-1,
    .hero-orb-float-2,
    .hero-orb-float-3 {
        animation: none !important;
    }
}

/* WordPress Admin Bar Compatibility */
body.admin-bar #navbar {
    top: 32px !important;
}
@media screen and (max-width: 782px) {
    body.admin-bar #navbar {
        top: 46px !important;
    }
}

/* Header Navbar Contrast Adaptation on Dark Hero */
#navbar.navbar-on-dark {
    background: transparent;
    border-color: transparent;
}

#navbar.navbar-on-dark .text-text-main,
#navbar.navbar-on-dark a span.text-text-main {
    color: #FFFFFF !important;
}

#navbar.navbar-on-dark .text-text-sub {
    color: #CBD5E1 !important;
}

#navbar.navbar-on-dark .text-text-sub:hover {
    color: #D8B4FE !important;
}

#navbar.navbar-on-dark .lang-switcher-container {
    background: rgba(14, 15, 30, 0.75) !important;
    border-color: rgba(120, 39, 229, 0.35) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

#navbar.navbar-on-dark .lang-switcher-container span {
    color: rgba(255, 255, 255, 0.25) !important;
}

#navbar.navbar-on-dark .lang-btn {
    color: #CBD5E1 !important;
}

#navbar.navbar-on-dark .lang-btn:hover {
    color: #FFFFFF !important;
    background: rgba(120, 39, 229, 0.25) !important;
}

#navbar.navbar-on-dark .lang-btn.active {
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #7827E5, #B53EF9) !important;
}

#navbar.navbar-on-dark #mobile-menu-btn {
    color: #FFFFFF !important;
}

/* Services Dropdown Text Contrast in Dark Navbar */
#navbar.navbar-on-dark #desktop-services-dropdown-wrap .bg-white\/95 .text-text-main,
#navbar.navbar-on-dark #desktop-services-dropdown-wrap .bg-white\/95 span.text-text-main {
    color: #172033 !important;
}
#navbar.navbar-on-dark #desktop-services-dropdown-wrap .bg-white\/95 .text-text-sub {
    color: #5E6A82 !important;
}
#navbar.navbar-on-dark #desktop-services-dropdown-wrap .bg-white\/95 a:hover .text-text-main {
    color: #7827E5 !important;
}

/* ==========================================================================
   11. TTPixel Blog Architecture & Single Article Typography (.ttp-prose)
   ========================================================================== */
#ttp-reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3.5px;
    background: linear-gradient(90deg, #7827E5, #B53EF9, #EC4899);
    z-index: 999999;
    width: 0%;
    transition: width 0.08s ease-out;
    box-shadow: 0 0 10px rgba(181, 62, 249, 0.6);
}

.ttp-prose {
    color: #374151;
    font-size: 1.0625rem;
    line-height: 1.85;
}

.ttp-prose p {
    margin-bottom: 1.5rem;
    color: #374151;
    line-height: 1.85;
}

.ttp-prose h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #172033;
    line-height: 1.35;
    margin-top: 2.75rem;
    margin-bottom: 1.15rem;
    padding-left: 0.85rem;
    border-left: 3.5px solid #7827E5;
    scroll-margin-top: 100px;
}

@media (min-width: 768px) {
    .ttp-prose h2 {
        font-size: 1.875rem;
    }
}

.ttp-prose h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #172033;
    line-height: 1.4;
    margin-top: 2rem;
    margin-bottom: 0.85rem;
    scroll-margin-top: 100px;
}

.ttp-prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.75rem;
}

.ttp-prose ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.75rem;
}

.ttp-prose li {
    margin-bottom: 0.6rem;
    line-height: 1.75;
}

.ttp-prose blockquote {
    position: relative;
    border-left: 4px solid #7827E5;
    background: linear-gradient(90deg, rgba(120, 39, 229, 0.06) 0%, rgba(181, 62, 249, 0.02) 100%);
    padding: 1.25rem 1.5rem;
    border-radius: 0 1rem 1rem 0;
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #172033;
    margin: 2rem 0;
}

.ttp-prose code {
    font-family: 'JetBrains Mono', monospace;
    background: rgba(120, 39, 229, 0.08);
    color: #7827E5;
    padding: 0.15rem 0.45rem;
    border-radius: 5px;
    font-size: 0.88em;
    font-weight: 600;
}

.ttp-prose pre {
    background: #0E1321;
    color: #E2E8F0;
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    overflow-x: auto;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    line-height: 1.7;
    margin: 1.75rem 0;
    border: 1px solid rgba(120, 39, 229, 0.25);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.ttp-prose pre code {
    background: transparent;
    color: inherit;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
    font-weight: normal;
}

.ttp-prose strong {
    color: #172033;
    font-weight: 700;
}

.ttp-prose a {
    color: #7827E5;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.ttp-prose a:hover {
    color: #B53EF9;
}

.ttp-prose img {
    border-radius: 1.25rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    margin: 2rem auto;
    border: 1px solid #E5E7EB;
}

/* Table of contents active indicator */
.ttp-toc-item.active {
    color: #7827E5 !important;
    font-weight: 700 !important;
    border-left-color: #7827E5 !important;
}

/* Copy Link Toast */
#ttp-copy-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #172033;
    color: #FFFFFF;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(120, 39, 229, 0.4);
    z-index: 999999;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

#ttp-copy-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure Single Post Article container does not break position:sticky */
html:has(body.single),
body.single {
    overflow-x: clip !important;
}

.ttp-single-main,
.ttp-single-main section,
.ttp-single-main #primary,
body.single .site-main,
body.single section,
body.single #ttpixel-spa-container {
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
}

#ttp-single-sidebar {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 6.5rem !important;
    align-self: flex-start !important;
    max-height: calc(100vh - 7.5rem);
    overflow-y: auto;
    z-index: 30;
    scrollbar-width: thin;
}

#ttp-single-sidebar::-webkit-scrollbar {
    width: 3px;
}

#ttp-single-sidebar::-webkit-scrollbar-thumb {
    background: rgba(120, 39, 229, 0.2);
    border-radius: 2px;
}