/* ============================================================
   REDitors — Promo Hero Redesign
   Dark cosmic purple/navy + two-column Gift Coupon layout
   ============================================================ */

/* ── Override & lock the hero background ── */
.hero-header {
    background: #050505 !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    padding-top: 0 !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Kill old internal hero-background layer */
.hero-header .hero-background,
.hero-header .hero-gradient,
.hero-header .hero-decorations,
.hero-header .hero-star {
    display: none !important;
}

/* ── Two-column grid restored ── */
.promo-hero-grid {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center;
    max-width: 1550px;
    margin: 0 auto;
    padding: 130px clamp(24px, 5vw, 80px) 140px;
    gap: 64px;
    width: 100%;
    box-sizing: border-box;
}

.promo-left {
    flex: 0 0 42%;
    display: flex;
    flex-direction: column;
    gap: 26px;
    text-align: left; /* Restored left alignment */
}

/* Universal Badge Style (for Premiere Pro & TrustScore) */
.promo-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 6px 18px 6px 6px;
    width: fit-content;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.promo-badge-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.promo-badge-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 800;
    position: relative;
    flex-shrink: 0;
}

/* Premiere Pro Variant */
.promo-badge-pill.adobe .promo-badge-icon {
    background: rgba(0, 0, 91, 0.2);
    border: 1px solid rgba(49, 168, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 6px;
    overflow: hidden;
}

.promo-badge-pill.adobe .promo-badge-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* TrustScore Variant */
.promo-badge-pill.trust .promo-badge-icon {
    background: rgba(0, 182, 122, 0.1);
    color: #00b67a;
    border: 1px solid rgba(0, 182, 122, 0.2);
}

.promo-badge-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.promo-badge-label {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
}

.promo-badge-sub {
    font-size: 0.78rem !important;
    color: rgba(255, 255, 255, 0.45) !important;
    line-height: 1.2 !important;
}

/* Trustpilot Redesign */
.trust-pilot-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 24px 10px 12px;
    border-radius: 16px;
    text-decoration: none !important;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    width: fit-content;
}

.trust-pilot-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tp-star-logo {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 182, 122, 0.1);
    border-radius: 12px;
    padding: 8px;
}

.tp-star-logo svg {
    width: 100%;
    height: 100%;
}

.tp-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tp-stars-row {
    display: flex;
    gap: 3px;
}

.tp-star-box {
    width: 18px;
    height: 18px;
    background: #00b67a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    border-radius: 2px;
}

.tp-star-box svg {
    width: 100%;
    height: 100%;
}

.tp-text {
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}

.tp-label {
    font-size: 0.9rem !important;
    color: #ffffff !important;
    font-weight: 500 !important;
}

.tp-label strong {
    font-weight: 800 !important;
}

.tp-sub {
    font-size: 0.78rem !important;
    color: rgba(255, 255, 255, 0.45) !important;
}

@media (max-width: 960px) {
    .trust-pilot-badge {
        margin: 8px auto 0;
    }
}

/* Heading */
.promo-heading {
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
    margin: 0 !important;
}

.promo-heading-line1 {
    display: block;
    font-size: clamp(3.2rem, 5.8vw, 5.2rem) !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    text-shadow: 0 2px 30px rgba(140,60,255,0.18);
}

.promo-heading-line2 {
    display: block;
    font-size: clamp(3.2rem, 5.8vw, 5.2rem) !important;
    font-weight: 900 !important;
    background: linear-gradient(120deg, #38bdf8 0%, #a855f7 40%, #ec4899 75%, #f97316 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    position: relative;
    filter: drop-shadow(0 0 20px rgba(168,85,247,0.35));
}

.promo-heading-line2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 160px;
    height: 4px;
    background: linear-gradient(90deg, #a855f7, #ec4899 60%, transparent);
    border-radius: 2px;
    filter: blur(1px);
}

/* Subtitle */
.promo-subtitle {
    font-size: 1.08rem !important;
    color: rgba(255, 255, 255, 0.62) !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}

.promo-subtitle strong {
    color: #fcd34d !important;
    font-weight: 700 !important;
}

/* Trust pills */
.promo-trust-pills {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.promo-trust-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 100px;
    padding: 7px 14px;
}

.promo-trust-pill-icon {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.promo-trust-pill-icon.purple { background: rgba(139,92,246,0.25); }
.promo-trust-pill-icon.blue   { background: rgba(59,130,246,0.25); }
.promo-trust-pill-icon.green  { background: rgba(16,185,129,0.25); }

.promo-trust-pill-info { display: flex; flex-direction: column; gap: 0; }

.promo-trust-pill-label {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
}

.promo-trust-pill-sub {
    font-size: 0.68rem !important;
    color: rgba(255,255,255,0.42) !important;
    line-height: 1.2 !important;
}

/* Buttons */
.promo-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.promo-btn-download {
    display: inline-flex !important;
    align-items: center !important;
    background: #7c3aed !important;
    color: #fff !important;
    padding: 8px 8px 8px 28px !important;
    border-radius: 100px !important;
    font-weight: 800 !important;
    font-size: 1.15rem !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    gap: 14px !important;
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.3) !important;
}

.promo-btn-download:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.45) !important;
    background: #8b5cf6 !important;
}

.promo-btn-download .download-text {
    letter-spacing: -0.02em !important;
}

.promo-btn-download .try-badge {
    background: rgba(255, 255, 255, 0.22) !important;
    padding: 12px 22px !important;
    border-radius: 100px !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-btn-secondary {
    display: none !important;
}

/* TrustScore Badge — Coupon Design */
/* REMOVED - REPLACED BY UNIVERSAL PILL */

/* Social proof */
.promo-social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.promo-avatar-stack {
    display: flex;
    flex-shrink: 0;
}

.promo-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #0c0a1e;
    margin-right: -9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.promo-avatar:nth-child(2) { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.promo-avatar:nth-child(3) { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.promo-avatar:nth-child(4) { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }

.promo-social-text {
    font-size: 0.83rem !important;
    color: rgba(255,255,255,0.52) !important;
    margin-left: 12px;
}

.promo-social-text strong {
    color: #ffffff !important;
    font-weight: 600 !important;
}

.promo-verified-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #7c3aed;
    border-radius: 50%;
    margin-left: 4px;
    font-size: 0.55rem;
    color: white;
    vertical-align: middle;
}

.promo-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-promo-carousel {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    height: clamp(520px, 68vh, 780px);
    overflow: visible;
    perspective: 2500px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    touch-action: none; /* Critical for fixing swipe issues */
}

.hero-promo-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-promo-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    flex: none;
    /* Optimized transition: faster and removed visibility from transition list */
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
                opacity 0.3s ease, 
                filter 0.3s ease;
    transform-style: preserve-3d;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    background: none; /* No background here */
    will-change: transform, opacity; /* Boost performance */
}

.hero-promo-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 32px; /* Smoother, larger radius */
    /* Premium Multi-layered Shadow and Glow */
    filter: 
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.3)) /* Subtle white edge */
        drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6))  /* Deep soft shadow */
        drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4)); /* Secondary definition shadow */
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Glass Frame Wrapper for each slide */
.hero-promo-slide::after {
    content: '';
    position: absolute;
    inset: -2px; /* Slightly larger than the image */
    border-radius: 34px;
    padding: 2px;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.15), 
        rgba(255, 255, 255, 0.03) 40%,
        rgba(255, 255, 255, 0.05) 60%,
        rgba(255, 255, 255, 0.12)
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    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: 2;
    display: block; /* Restore reflection or frame logic */
}



/* Tool Name Badge Style - Bigger and Centered */
.promo-tool-name {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 12px 28px; /* Bigger padding */
    border-radius: 100px;
    font-size: 1.1rem; /* Bigger font */
    font-weight: 700;
    letter-spacing: 0.03em;
    z-index: 10;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.05);
    pointer-events: none;
    white-space: nowrap;
}

.hero-promo-slide.is-active .promo-tool-name {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0.3s;
}

.hero-promo-dots {
    position: absolute;
    left: 50%;
    bottom: 24px; /* Moved up to sit inside the bottom of the image frame */
    transform: translateX(-50%);
    display: flex;
    flex-direction: row; /* Horizontal dots */
    gap: 16px;
    z-index: 20;
    padding: 12px 24px;
    border-radius: 100px;
    background: rgba(0, 0, 0, 0.3); /* Darker background for better visibility over image */
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
}

.hero-promo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.hero-promo-dot.is-active {
    width: 40px; /* Horizontal expansion */
    height: 12px;
    border-radius: 10px;
    background: rgba(124, 58, 237, 0.2);
}

.hero-promo-dot.is-active::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #7c3aed, #a855f7);
    animation: dot-progress-h 3s linear forwards;
}

@keyframes dot-progress-h {
    from { width: 0%; }
    to { width: 100%; }
}

/* Ambient dynamic glow container */
.promo-ambient-glow {
    position: absolute;
    inset: -100px;
    background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), 
                var(--glow-color, rgba(124, 58, 237, 0.15)) 0%, 
                transparent 70%);
    opacity: 0.6;
    pointer-events: none;
    z-index: -1;
    filter: blur(60px);
    transition: --glow-color 1s ease;
}

@property --glow-color {
    syntax: '<color>';
    initial-value: rgba(124, 58, 237, 0.15);
    inherits: false;
}

.coupon-3d-outer {
    position: relative;
    z-index: 1;
    transform: perspective(1600px) rotateY(-14deg) rotateX(6deg) rotateZ(-1deg);
    transform-style: preserve-3d;
    transition: transform 0.75s cubic-bezier(0.23, 1, 0.32, 1),
                filter 0.75s ease;
    filter: drop-shadow(0 60px 100px rgba(0,0,0,0.85))
            drop-shadow(0 25px 50px rgba(0,0,0,0.6))
            drop-shadow(0 0 120px rgba(255, 185, 0, 0.40))
            drop-shadow(0 0 60px rgba(180, 80, 255, 0.20));
}

.coupon-3d-outer:hover {
    transform: perspective(1600px) rotateY(-4deg) rotateX(2deg) rotateZ(0deg) translateY(-18px);
    filter: drop-shadow(0 80px 120px rgba(0,0,0,0.9))
            drop-shadow(0 0 140px rgba(255, 185, 0, 0.60))
            drop-shadow(0 0 80px rgba(180, 80, 255, 0.30));
}

/* Floor reflection */
.coupon-3d-outer::after {
    content: '';
    position: absolute;
    bottom: -70px;
    left: -5%;
    width: 110%;
    height: 70px;
    background: radial-gradient(ellipse at center, rgba(255,185,0,0.55) 0%, rgba(200,100,255,0.20) 40%, transparent 70%);
    filter: blur(28px);
    transition: opacity 0.75s ease, filter 0.75s ease;
}

.coupon-3d-outer:hover::after {
    filter: blur(20px);
    opacity: 1.2;
}

/* ── The coupon card ── */
.coupon-card-3d {
    display: flex;
    width: 560px;
    height: 280px;
    border-radius: 24px;
    overflow: visible;
    position: relative;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.06),
        inset 0 1px 0 rgba(255,255,255,0.08);
}

/* Left white stub */
.coupon-stub-3d {
    width: 100px;
    background: linear-gradient(180deg, #ffffff 0%, #ede8ff 60%, #e0d8ff 100%);
    border-radius: 24px 0 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: inset -6px 0 18px rgba(100,60,180,0.10);
}

/* Subtle dot pattern on stub */
.coupon-stub-3d::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle, rgba(140,100,220,0.22) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
}

/* Dashed perforation line */
.coupon-perforations {
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 100%;
    background-image: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 6px,
        rgba(26,10,46,0.22) 6px,
        rgba(26,10,46,0.22) 13px
    );
}

/* Notch half-circle cut-outs at top+bottom */
.coupon-notch-top,
.coupon-notch-bottom {
    position: absolute;
    right: -15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #080510;
    z-index: 20;
}

.coupon-notch-top    { top: -15px; }
.coupon-notch-bottom { bottom: -15px; }

.coupon-vertical-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 13px;
    color: #3d1f7a;
    text-transform: uppercase;
    user-select: none;
    opacity: 0.7;
}

/* Right golden body */
.coupon-body-3d {
    flex: 1;
    background: linear-gradient(135deg, #ffe84a 0%, #ffd600 20%, #ffbc00 55%, #ff9f00 80%, #ff8c00 100%);
    border-radius: 0 24px 24px 0;
    padding: 26px 32px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.6),
                inset 0 -2px 0 rgba(0,0,0,0.10),
                inset 2px 0 0 rgba(255,255,255,0.10);
}

/* Shimmer sweep animation */
.coupon-body-3d::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255,255,255,0.0) 35%,
        rgba(255,255,255,0.22) 50%,
        rgba(255,255,255,0.0) 65%,
        transparent 100%
    );
    transform: skewX(-15deg);
    animation: coupon-shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes coupon-shimmer {
    0%   { left: -75%; opacity: 0; }
    10%  { opacity: 1; }
    45%  { left: 130%; opacity: 1; }
    55%  { opacity: 0; }
    100% { left: 130%; opacity: 0; }
}

/* Sunburst radial lines */
.coupon-body-3d::before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 420px;
    height: 420px;
    background: conic-gradient(
        from 0deg,
        transparent 0deg, rgba(255,255,255,0.09) 6deg,
        transparent 12deg, rgba(255,255,255,0.09) 18deg,
        transparent 24deg, rgba(255,255,255,0.09) 30deg,
        transparent 36deg, rgba(255,255,255,0.09) 42deg,
        transparent 48deg, rgba(255,255,255,0.09) 54deg,
        transparent 60deg, rgba(255,255,255,0.09) 66deg,
        transparent 72deg, rgba(255,255,255,0.09) 78deg,
        transparent 84deg, rgba(255,255,255,0.09) 90deg,
        transparent 96deg, rgba(255,255,255,0.09) 102deg,
        transparent 108deg, rgba(255,255,255,0.09) 114deg,
        transparent 120deg, rgba(255,255,255,0.09) 126deg,
        transparent 132deg, rgba(255,255,255,0.09) 138deg,
        transparent 144deg, rgba(255,255,255,0.09) 150deg,
        transparent 360deg
    );
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

/* Top row: gift icon + title */
.coupon-top-row {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.coupon-gift-icon {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.38);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.18),
                inset 0 2px 0 rgba(255,255,255,0.7),
                inset 0 -1px 0 rgba(0,0,0,0.08);
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.6);
}

.coupon-gift-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: #1a0a2e !important;
    font-style: italic !important;
    text-shadow: 0 1px 0 rgba(255,255,255,0.5);
    letter-spacing: -0.01em !important;
}

/* Mid: big discount */
.coupon-amount-row {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    line-height: 1;
    margin: -4px 0;
    position: relative;
    z-index: 2;
}

.coupon-pct-num {
    font-size: 7.2rem !important;
    font-weight: 900 !important;
    color: #160840 !important;
    line-height: 0.85 !important;
    letter-spacing: -0.06em !important;
    text-shadow: 0 4px 0 rgba(0,0,0,0.15),
                 0 2px 0 rgba(255,255,255,0.25) !important;
}

.coupon-pct-sym {
    font-size: 3.0rem !important;
    font-weight: 900 !important;
    color: #160840 !important;
    margin-bottom: 20px !important;
    text-shadow: 0 2px 0 rgba(0,0,0,0.12) !important;
}

.coupon-off-word {
    font-size: 3.0rem !important;
    font-weight: 900 !important;
    color: #160840 !important;
    margin-bottom: 14px !important;
    letter-spacing: -0.03em !important;
    text-shadow: 0 2px 0 rgba(0,0,0,0.12) !important;
}

/* Bottom pills row */
.coupon-pills-row {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
}

.coupon-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.80);
    border-radius: 100px;
    padding: 7px 16px;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #1a0a2e !important;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.10),
                inset 0 1px 0 rgba(255,255,255,0.8);
    transition: background 0.2s, transform 0.2s;
}

.coupon-pill:hover {
    background: rgba(255,255,255,0.72);
    transform: translateY(-2px);
}

.coupon-pill svg { flex-shrink: 0; width: 12px; height: 12px; }

.coupon-pill-sep {
    width: 1px;
    height: 18px;
    background: rgba(26,10,46,0.18);
}

/* SALE! diagonal ribbon */
.coupon-sale-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 130px;
    height: 130px;
    overflow: hidden;
    border-radius: 0 24px 0 0;
    z-index: 20;
    pointer-events: none;
}

.coupon-sale-text {
    position: absolute;
    top: 30px;
    right: -38px;
    width: 180px;
    text-align: center;
    background: linear-gradient(135deg, #ff2d55 0%, #d0003a 100%);
    color: white;
    font-size: 0.82rem;
    font-weight: 900;
    padding: 9px 0;
    transform: rotate(45deg);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 5px 22px rgba(201,0,53,0.75),
                0 2px 0 rgba(0,0,0,0.18);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Sparkle dots on body */
.coupon-sparkle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    pointer-events: none;
    box-shadow: 0 0 8px 3px rgba(255,255,255,0.55);
    animation: sparkle-pulse 2.5s ease-in-out infinite;
}

.coupon-sparkle-1 { width: 9px; height: 9px; bottom: 50px; right: 72px; animation-delay: 0s; }
.coupon-sparkle-2 { width: 6px; height: 6px; bottom: 72px; right: 140px; animation-delay: 0.8s; }
.coupon-sparkle-3 { width: 8px; height: 8px; bottom: 28px; right: 110px; animation-delay: 1.6s; }

@keyframes sparkle-pulse {
    0%, 100% { opacity: 0.9; transform: scale(1); }
    50%       { opacity: 0.3; transform: scale(0.5); }
}

/* ───────────────────────────────────────────────
   BOTTOM STATS BAR — Feature Strip
─────────────────────────────────────────────── */
.promo-stats-bar {
    position: relative;
    z-index: 10;
    background: rgba(255,255,255,0.025);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px clamp(24px, 5vw, 80px);
}

.promo-stats-inner {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    align-items: center;
}

.promo-stat-divider {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.08);
    justify-self: center;
}

.promo-stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 20px;
    border-right: 1px solid rgba(255,255,255,0.07);
}
.promo-stat-item:last-child {
    border-right: none;
}
.promo-stat-item:first-child {
    padding-left: 0;
}

.promo-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.promo-stat-icon.yellow { background: rgba(251,191,36,0.18); border: 1px solid rgba(251,191,36,0.25); }
.promo-stat-icon.blue   { background: rgba(59,130,246,0.18); border: 1px solid rgba(59,130,246,0.25); }
.promo-stat-icon.red    { background: rgba(239,68,68,0.18);  border: 1px solid rgba(239,68,68,0.25); }
.promo-stat-icon.cyan   { background: rgba(6,182,212,0.18);  border: 1px solid rgba(6,182,212,0.25); }

.promo-stat-texts { display: flex; flex-direction: column; gap: 2px; }

.promo-stat-label {
    font-size: 1.0rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    line-height: 1.2 !important;
}

.promo-stat-sub {
    font-size: 0.78rem !important;
    color: rgba(255,255,255,0.42) !important;
    line-height: 1.2 !important;
}

/* Mini Coupon for Stats Bar */
.mini-coupon-wrapper {
    grid-column: span 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.mini-coupon {
    display: flex;
    width: 220px;
    height: 84px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: rotateY(-8deg) rotateX(2deg);
}

.mini-coupon:hover {
    transform: rotateY(-2deg) rotateX(0deg) translateY(-5px);
    box-shadow: 0 20px 45px rgba(255, 184, 0, 0.3);
}

.mini-coupon-stub {
    width: 36px;
    background: #f8f4ff;
    border-right: 2px dashed rgba(26, 10, 46, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.mini-coupon-stub::after {
    content: 'COUPON';
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 3px;
    color: #1a0a2e;
}

.mini-coupon-body {
    flex: 1;
    background: linear-gradient(135deg, #ffd000 0%, #ffb800 100%);
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.mini-coupon-body::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.mini-coupon-title {
    font-size: 11px;
    font-weight: 800;
    color: #1a0a2e;
    font-style: italic;
    margin-bottom: 0px;
    opacity: 0.9;
}

.mini-coupon-amount {
    display: flex;
    align-items: baseline;
    gap: 2px;
    line-height: 1;
}

.mini-coupon-num {
    font-size: 36px;
    font-weight: 900;
    color: #1a0a2e;
    letter-spacing: -1px;
}

.mini-coupon-pct {
    font-size: 18px;
    font-weight: 900;
    color: #1a0a2e;
}

.mini-coupon-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    overflow: hidden;
}

.mini-coupon-ribbon-text {
    position: absolute;
    top: 10px;
    right: -15px;
    width: 65px;
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%);
    color: white;
    font-size: 7px;
    font-weight: 900;
    text-align: center;
    transform: rotate(45deg);
    padding: 3px 0;
    box-shadow: 0 4px 8px rgba(225, 29, 72, 0.4);
    letter-spacing: 0.5px;
}

.mini-coupon-sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    pointer-events: none;
}

.s1 { bottom: 12px; right: 25px; }
.s2 { bottom: 25px; right: 45px; width: 3px; height: 3px; }

/* ── Responsive ── */
@media (max-width: 960px) {
    .promo-hero-grid {
        flex-direction: column;
        padding-top: 108px;
        padding-bottom: 48px;
        gap: 48px;
        align-items: center;
    }

    .promo-left {
        flex: none;
        text-align: center;
        align-items: center;
    }

    .promo-heading-line2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .promo-right { width: 100%; }

    .hero-promo-carousel {
        width: 92% !important; /* Slight breathing room */
        height: auto !important;
        aspect-ratio: 0.85 / 1 !important; /* Taller for better tool visibility */
        perspective: none !important;
        background: none !important;
        box-shadow: none !important;
        margin: 32px auto 0 !important;
        overflow: hidden !important;
        touch-action: pan-y !important;
        border-radius: 24px !important;
    }

    .hero-promo-track {
        transform: none !important;
        perspective: none !important;
        transform-style: flat !important;
    }

    .hero-promo-slide {
        transform: none !important;
        opacity: 0 !important;
        transition: opacity 0.4s ease !important; /* Simple fade instead of 3D movement */
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        visibility: hidden !important;
    }

    .hero-promo-slide.is-active {
        opacity: 1 !important;
        visibility: visible !important;
        position: relative !important; /* Let the active slide define the height */
        transform: none !important;
    }

    .hero-promo-slide img {
        border-radius: 20px !important;
        filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4)) !important;
        transform: none !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 auto !important;
    }

    .hero-promo-slide::after {
        border-radius: 22px !important;
        opacity: 0.5 !important;
    }

    .hero-promo-dot.is-active {
        width: 32px !important;
        background: #7c3aed !important;
    }

    .hero-promo-dot.is-active::after {
        display: none !important; /* Remove the progress bar on mobile */
    }

    .promo-tool-name {
        top: 20px !important;
        padding: 8px 20px !important;
        font-size: 0.9rem !important;
        background: rgba(0, 0, 0, 0.7) !important;
    }

    .hero-promo-dots {
        bottom: 16px !important;
        padding: 8px 16px !important;
        gap: 12px !important;
        background: rgba(0, 0, 0, 0.5) !important;
    }

    .promo-ambient-glow {
        display: none !important; /* Remove heavy glow on mobile for stability */
    }

    .coupon-3d-outer {
        transform: perspective(900px) rotateY(-5deg) rotateX(3deg);
    }

    .coupon-3d-outer:hover {
        transform: perspective(900px) rotateY(-2deg) rotateX(1deg) translateY(-8px);
    }

    .coupon-card-3d {
        width: 420px;
        height: 210px;
    }

    .coupon-pct-num { font-size: 5.2rem !important; }
    .coupon-pct-sym { font-size: 2.1rem !important; margin-bottom: 12px !important; }
    .coupon-off-word { font-size: 2.1rem !important; margin-bottom: 8px !important; }
    .coupon-stub-3d { width: 72px; }
    .coupon-vertical-label { font-size: 0.85rem; letter-spacing: 9px; }
    .coupon-gift-title { font-size: 1.05rem !important; }
    .coupon-gift-icon { width: 38px; height: 38px; font-size: 1.25rem; }
    .coupon-body-3d { padding: 18px 22px 16px; }
    .coupon-sale-ribbon { width: 95px; height: 95px; }
    .coupon-sale-text { top: 22px; right: -30px; width: 135px; font-size: 0.7rem; padding: 7px 0; }

    .promo-stats-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-buttons {
        justify-content: center;
        gap: 16px;
    }

    .promo-btn-download {
        width: 100%;
        justify-content: center;
        max-width: 400px;
        padding: 6px 6px 6px 24px !important;
        font-size: 1.05rem !important;
    }

    .promo-btn-download .try-badge {
        padding: 10px 18px !important;
        font-size: 0.8rem !important;
    }

    .promo-trust-score {
        margin: 8px auto 0;
    }
}

@media (max-width: 520px) {
    .coupon-card-3d {
        width: 320px;
        height: 158px;
    }

    .coupon-pct-num { font-size: 3.8rem !important; }
    .coupon-pct-sym { font-size: 1.6rem !important; }
    .coupon-off-word { font-size: 1.6rem !important; }
    .coupon-stub-3d { width: 56px; }
    .coupon-vertical-label { font-size: 0.72rem; letter-spacing: 6px; }
    .coupon-body-3d { padding: 14px 18px 12px; }
    .coupon-pill { font-size: 0.62rem !important; padding: 4px 10px; }
    .coupon-sale-ribbon { width: 80px; height: 80px; }
    .coupon-sale-text { top: 18px; right: -24px; width: 110px; font-size: 0.6rem; padding: 5px 0; }

    .promo-heading-line1,
    .promo-heading-line2 { font-size: clamp(2.2rem, 11vw, 3rem) !important; }

    .promo-stats-inner { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════
   FLOATING PROMO COUPON  (fp-* classes)
   Scaled-down replica of the hero coupon — fixed bottom-right
   ═══════════════════════════════════════════════════════════ */

/* Removed floating-promo styles to avoid conflicts with floating-promo.css */

.fp-gift-icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.38);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12),
                inset 0 1px 0 rgba(255,255,255,0.6);
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.5);
}

.fp-gift-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #1a0a2e;
    font-style: italic;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(255,255,255,0.4);
    letter-spacing: -0.01em;
}

.fp-amount-row {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    line-height: 1;
    margin: -2px 0;
    position: relative;
    z-index: 1;
}

.fp-pct-num {
    font-size: 4.2rem;
    font-weight: 900;
    color: #160840;
    line-height: 0.85;
    letter-spacing: -0.05em;
    text-shadow: 0 3px 0 rgba(0,0,0,0.12),
                 0 1.5px 0 rgba(255,255,255,0.22);
}

.fp-pct-sym {
    font-size: 1.8rem;
    font-weight: 900;
    color: #160840;
    margin-bottom: 10px;
    text-shadow: 0 1px 0 rgba(0,0,0,0.1);
}

.fp-off-word {
    font-size: 1.8rem;
    font-weight: 900;
    color: #160840;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 0 rgba(0,0,0,0.1);
}

.fp-pills-row {
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
    z-index: 1;
    margin-top: 4px;
}

.fp-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.7);
    border-radius: 100px;
    padding: 4px 10px;
    font-size: 0.6rem;
    font-weight: 700;
    color: #1a0a2e;
    white-space: nowrap;
    backdrop-filter: blur(5px);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06),
                inset 0 1px 0 rgba(255,255,255,0.7);
    transition: background 0.2s, transform 0.2s;
}

.fp-pill:hover {
    background: rgba(255,255,255,0.7);
    transform: translateY(-1px);
}

.fp-pill svg { flex-shrink: 0; width: 10px; height: 10px; }

.fp-pill-sep { display: none; }

/* SALE ribbon */
.fp-sale-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 85px;
    height: 85px;
    overflow: hidden;
    border-radius: 0 16px 0 0;
    z-index: 20;
    pointer-events: none;
}

.fp-sale-text {
    position: absolute;
    top: 20px;
    right: -25px;
    width: 110px;
    text-align: center;
    background: linear-gradient(135deg, #ff2d55 0%, #d0003a 100%);
    color: white;
    font-size: 0.58rem;
    font-weight: 900;
    padding: 6px 0;
    transform: rotate(45deg);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(201,0,53,0.65),
                0 1px 0 rgba(0,0,0,0.12);
    text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}

/* Sparkles */
.fp-sparkle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    pointer-events: none;
    box-shadow: 0 0 7px 2px rgba(255,255,255,0.5);
    animation: sparkle-pulse 2.5s ease-in-out infinite;
}

.s1 { width: 6px;  height: 6px;  bottom: 24px; right: 40px;  animation-delay: 0s; }
.s2 { width: 4px;  height: 4px;  bottom: 35px; right: 80px;  animation-delay: 0.8s; }

/* Close button */
.fp-close {
    position: absolute;
    top: -11px;
    right: -11px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #1a0a2e;
    border: 2px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    color: rgba(255,255,255,0.85);
    padding: 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);
}

.fp-close:hover {
    background: #e11d48;
    transform: scale(1.2) rotate(90deg);
    box-shadow: 0 4px 14px rgba(225,29,72,0.5);
    border-color: rgba(255,255,255,0.4);
}

.fp-close svg {
    width: 11px;
    height: 11px;
}

@media (max-width: 480px) {
    .floating-promo {
        width: 270px;
        height: 130px;
        bottom: 16px;
        right: 16px;
    }
    .fp-pct-num  { font-size: 2.8rem; }
    .fp-pct-sym,
    .fp-off-word { font-size: 1.2rem; }
    .fp-stub     { width: 44px; }
    .fp-vertical-label { font-size: 0.55rem; letter-spacing: 5px; }
}
