/* ============ EXECUTORS FILTERS - MINIMALIST MATTE ============ */
.executor-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.executor-filters .filter-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.executor-filters .filter-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.12);
}

.executor-filters .filter-btn.active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
}

/* Platform Sections */
.platform-section {
    margin-bottom: 4rem;
}

.platform-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--light);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    letter-spacing: -1px;
}

.platform-title i {
    color: var(--primary);
    filter: drop-shadow(0 0 15px var(--glow));
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.executors-grid-new {
    display: block;
    margin-top: 2rem;
}

/* ============ EXECUTOR CARD - MATTE BLACK MINIMALIST ============ */
.executor-card-new {
    background: #0c0c0c;
    border-radius: 14px;
    padding: 1.4rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.executor-card-new:hover {
    transform: translateY(-4px);
    background: #111111;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Touch devices - Active state */
.executor-card-new:active {
    transform: translateY(-2px);
    transition: all 0.1s ease;
}

.executor-card-new > * {
    position: relative;
    z-index: 1;
}

/* ============ EXECUTOR CARD ELEMENTS - MINIMALIST ============ */

/* Minimalist Status Dot */
.executor-status-dot {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 20;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.executor-status-dot.status-up {
    background: #00ff88;
}

.executor-status-dot.status-down {
    background: #ff4444;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}

.view-btn {
    padding: 0.3rem 0.7rem;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: lowercase;
}

.view-btn:hover {
    color: rgba(255, 255, 255, 0.6);
}

.executor-card-new:hover .view-btn {
    color: #fff;
}

/* sUNC Circle - SIMPLE MINIMAL */
.executor-sunc-circle {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.executor-sunc-circle svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.sunc-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.06);
    stroke-width: 6;
}

.sunc-progress {
    fill: none;
    stroke: #00ff88;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: calc(283 - (283 * var(--sunc-percent) / 100));
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.sunc-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.sunc-percent {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
}

.sunc-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.2rem;
}

/* Logo Center - With Hover Overlay */
.executor-logo-center {
    width: 90px;
    height: 90px;
    margin: 0 auto 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.executor-main-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    transition: opacity 0.3s ease;
    position: absolute;
}

/* sUNC Overlay - Shows on Hover */
.executor-sunc-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.executor-sunc-overlay svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.sunc-bg-overlay {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 6;
}

.sunc-progress-overlay {
    fill: none;
    stroke: #00ff88;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
}

.sunc-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.sunc-percent-overlay {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.sunc-label-overlay {
    display: block;
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Executor Name - SIMPLE MINIMAL */
.executor-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    text-align: center;
    margin-bottom: 0.75rem;
    letter-spacing: -0.3px;
}

/* Info Row - MINIMAL */
.executor-info-row {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
}

.info-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-item .info-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item .info-value {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

/* Status Badge - MINIMALIST */
.executor-status-badge {
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.executor-status-badge.status-up {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.25);
}

.executor-status-badge.status-down {
    background: rgba(255, 68, 68, 0.1);
    color: #ff4444;
    border: 1px solid rgba(255, 68, 68, 0.25);
}

.executor-status-badge.status-detected {
    background: rgba(255, 204, 0, 0.1);
    color: #ffcc00;
    border: 1px solid rgba(255, 204, 0, 0.25);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-up .status-dot {
    background: var(--success);
    box-shadow: 0 0 10px var(--success);
}

.status-down .status-dot {
    background: var(--danger);
    box-shadow: 0 0 10px var(--danger);
}

.status-detected .status-dot {
    background: #ffcc00;
    box-shadow: 0 0 10px #ffcc00;
}

/* Executor Logo */
.executor-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.executor-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.3));
}

.executor-card-new:hover .executor-logo {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px var(--glow);
}

/* Executor Info */
.executor-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--light);
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.executor-platform {
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* sUNC Circle - ANIMATED ON HOVER */
.executor-sunc {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
}

.sunc-circle-small {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.sunc-bg-small {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.sunc-progress-small {
    fill: none;
    stroke: url(#suncGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.executor-card-new:hover .sunc-progress-small {
    stroke-dashoffset: calc(339.292 - (339.292 * var(--sunc-percent) / 100));
}

.sunc-text-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.sunc-percent-small {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 20px var(--glow);
    letter-spacing: -1px;
}

.sunc-label-small {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Executor Details */
.executor-details {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item {
    text-align: center;
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--light);
}

/* ============ EXECUTOR MODAL - HORIZONTAL COMPACT (NO SCROLL) ============ */
.executor-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 950000 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.executor-modal.active {
    display: flex !important;
    animation: fadeIn 0.3s ease;
}

.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.85) !important;
    backdrop-filter: blur(10px) !important;
    z-index: 1 !important;
    transition: all 0.3s ease;
    will-change: backdrop-filter;
}

.executor-modal.sunc-open .modal-overlay {
    opacity: 0.7;
    backdrop-filter: blur(10px) !important;
}

.modal-content {
    position: relative !important;
    background: linear-gradient(135deg, #0d0d0d 0%, #141414 100%);
    border-radius: 24px;
    max-width: 900px;
    width: calc(100% - 4rem);
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid rgba(0, 0, 0, 0.8);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(255, 255, 255, 0.02),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(20px);
    z-index: 10 !important;
    margin: 0 !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Custom Scrollbar for Modal - COMPLETELY INVISIBLE TRACK */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent; /* Completely invisible */
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1.8rem;
    right: 1.8rem;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    font-weight: 300;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.modal-close:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.08);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem 2rem 1.5rem;
    border-bottom: none;
    background: transparent;
}

.modal-logo {
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    flex-shrink: 0;
    box-shadow: none;
    position: relative;
}

.modal-logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    filter: none;
}

.modal-title-section {
    flex: 1;
}

.modal-title-section h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.4rem;
    letter-spacing: -0.8px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    line-height: 1.2;
}

.modal-title-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Status dot next to title */
.modal-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
    flex-shrink: 0;
    margin-top: 2px;
}

.modal-status-dot.status-up {
    background: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
}

.modal-status-dot.status-down {
    background: #ff4444;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.6);
}

.modal-status-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
    margin-top: 2px;
}

.modal-status-text.status-up {
    color: #00ff88;
}

.modal-status-text.status-down {
    color: #ff4444;
}

.modal-status {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.modal-body {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Modal Body - New Layout */
.modal-body {
    padding: 1.5rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-main-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.modal-left-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.modal-right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* External Executor Logo in Modal */
.external-executor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin: 0 auto;
}

.external-executor-logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: none;
    background: transparent;
    border-radius: 0;
}

/* sUNC Circle */
.sunc-circle {
    position: relative;
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.sunc-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.sunc-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 8;
}

.sunc-progress {
    fill: none;
    stroke: #00ff88;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: none;
    filter: none;
}

.sunc-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.sunc-percent {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-shadow: none;
}

.sunc-label {
    display: block;
    font-size: 0.75rem;
    color: #ddd;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 0.3rem;
    text-shadow: none;
}

.sunc-label .s-purple {
    color: #8b5cf6;
    font-weight: 700;
}

.executor-version {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.unc-stats {
    display: flex;
    gap: 1.5rem;
}

.unc-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.unc-stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.unc-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

/* Status Badges - CLEAN DESIGN */
.status-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: baseline;
}

.status-badge {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    transition: all 0.3s ease;
    position: relative;
    line-height: 1;
}

.status-badge::before {
    content: '•';
    font-size: 1rem;
    animation: statusPulse 2s ease-in-out infinite;
    line-height: 1;
}

.status-badge.status-detected {
    color: #cc9900;
}

.status-badge.status-detected::before {
    color: #cc9900;
    margin-right: 0.7rem;
}

.status-badge.status-paid {
    color: #a855f7;
    gap: 0.6rem;
}

.status-badge.status-paid::before {
    color: #a855f7;
}

.status-badge.status-free {
    color: #888888;
    gap: 0.8rem;
}

.status-badge.status-free::before {
    color: #888888;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.8);
    }
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.8);
    }
}

/* Info Horizontal - jak na obrazku */
.modal-info-horizontal {
    display: flex;
    gap: 1rem;
}

.modal-features-slot {
    width: 100%;
    min-height: 0;
}

.modal-right-section .features-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0;
    margin-top: 0.15rem;
    justify-content: flex-start;
    align-items: stretch;
}

.modal-right-section .feature-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 36px;
    padding: 0.55rem 0.8rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    white-space: nowrap;
}

.modal-right-section .feature-item i {
    font-size: 0.95rem;
    filter: none;
}

.modal-right-section .feature-item span {
    font-size: 0.78rem;
    line-height: 1.1;
}

.modal-right-section .feature-item.active {
    color: #86efac;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

.modal-right-section .feature-item.inactive {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.18);
}

.modal-right-section .feature-item.warning {
    color: #fcd34d;
    background: rgba(245, 158, 11, 0.08);
    border-color: rgba(245, 158, 11, 0.18);
}

.modal-right-section .feature-item.info {
    color: #7dd3fc;
    background: rgba(14, 165, 233, 0.08);
    border-color: rgba(14, 165, 233, 0.18);
}

.modal-info-horizontal .info-card {
    flex: 1;
    padding: 1.2rem 1.5rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
    min-height: 70px;
    backdrop-filter: blur(10px);
    transition: none;
}

.modal-info-horizontal .info-card:hover {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: none;
}

.modal-info-horizontal .info-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: capitalize;
    letter-spacing: 0.3px;
    font-weight: 500;
}

.modal-info-horizontal .info-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    word-break: break-all;
    line-height: 1.2;
    font-family: 'Courier New', monospace;
}

.clickable-version {
    cursor: pointer;
    transition: color 0.2s ease;
    user-select: all;
}

.clickable-version:hover {
    color: #00d9ff !important;
}

.clickable-version:active {
    color: #00ff88 !important;
}

/* Price Section - COMPACT DESIGN */
.price-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
    border: 1px solid rgba(0, 0, 0, 0.6);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 4px 16px rgba(0, 0, 0, 0.3);
    margin-bottom: 0;
}

.price-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
}

.price-content {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.8rem;
}

.price-old {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: line-through;
    font-weight: 500;
}

.price-new {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.price-period {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

/* Price Loading State */
.price-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    padding: 1.5rem;
}

.loading-spinner-small {
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-loading i {
    color: #00d9ff;
    font-size: 1rem;
}

/* Resellers Section - FULL WIDTH */
.resellers-section {
    margin-top: 0;
    width: 100%;
}

.resellers-header {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.resellers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: min-content;
    align-items: start;
    gap: 1rem;
    max-width: 100%;
    width: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reseller-card {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 0; /* Allow cards to shrink */
    height: fit-content;
}

.reseller-products {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.product-tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tier-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.tier-buy-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
}

.tier-buy-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.tier-buy-btn:active {
    transform: translateY(0);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
}

.reseller-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.reseller-card.best-deal {
    border-color: rgba(255, 193, 7, 0.5);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.1);
}

.best-badge {
    position: absolute;
    top: -8px;
    left: 12px;
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    color: #000;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reseller-header {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reseller-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
    min-width: 0; /* Allow text to wrap */
}

.reseller-info img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.reseller-logo-large {
    width: 48px !important;
    height: 48px !important;
    border-radius: 8px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.reseller-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0; /* Allow text to wrap */
}

.reseller-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reseller-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    color: #ffc107;
    font-size: 0.7rem;
}

.rating-text {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
}

.main-offer {
    background: rgba(0, 217, 255, 0.05);
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.additional-offer {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tier-pricing {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.tier-price-old {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
}

.tier-price {
    font-size: 1rem;
    font-weight: 700;
    color: #00ff88;
}

.show-more-section {
    margin: 0.8rem 0;
}

.show-more-btn {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.show-more-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.show-more-btn:active {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(0.98);
}

.show-more-icon {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.7rem;
}

.additional-offers {
    display: none;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 0.8rem;
    overflow: hidden;
}

.additional-offers.visible {
    display: flex;
}

/* Individual product tier - will be animated by JS */
.additional-offers .product-tier {
    opacity: 1;
    transform: translateY(0);
}

.reseller-pricing {
    display: none; /* Hide pricing from reseller header */
}

.reseller-pricing .price-old {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
}

.reseller-pricing .price-current {
    font-size: 1.2rem;
    font-weight: 800;
    color: #00ff88;
}

.reseller-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.reseller-tier {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.tier-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.tier-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.reseller-buy-btn {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.reseller-buy-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.payment-methods {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.payment-icon {
    width: 32px;
    height: 32px;
    background: rgba(60, 60, 60, 0.8);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payment-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
    border-radius: 3px;
}

.payment-icon:hover {
    background: rgba(80, 80, 80, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.payment-icon:hover img {
    filter: brightness(1.1);
}

/* No Resellers Message */
.no-resellers {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.6);
}

.no-resellers i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.4);
}

.no-resellers p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* No Price Data */
.no-price-data {
    padding: 1rem;
}

.sunc-circle {
    position: relative;
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

/* Glow from sUNC circle - REMOVED */
.sunc-circle::before {
    display: none;
}

.modal-sunc-section:hover .sunc-circle::before {
    display: none;
}

.sunc-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.sunc-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 6;
}

.sunc-progress {
    fill: none;
    stroke: #00ff88;
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 0s;
    filter: none;
}

.sunc-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.sunc-percent {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.5px;
    text-shadow: none;
}

.sunc-label {
    display: block;
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.3rem;
}

.unc-info {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.unc-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.unc-label {
    font-size: 0.7rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.unc-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--light);
}

.sunc-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.sunc-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 8;
}

.sunc-progress {
    fill: none;
    stroke: #00ff88;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    filter: none;
}

.sunc-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.sunc-percent {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: none;
    letter-spacing: -1.5px;
}

.sunc-label {
    display: block;
    font-size: 0.7rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-top: 0.2rem;
}

.unc-info {
    flex: 1;
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.unc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: transparent;
    border-radius: 12px;
    border: none;
    flex: 1;
    min-width: 0;
    backdrop-filter: none;
    box-shadow: none;
}

.unc-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.unc-value {
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #00d9ff 0%, #7000ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modal Info Grid - HORIZONTAL in one row - BLACK MATTE */
.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.info-card {
    padding: 1rem;
    background: transparent;
    border-radius: 12px;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    text-align: center;
    backdrop-filter: none;
    box-shadow: none;
}

.info-card:hover {
    background: transparent;
    border: none;
    transform: none;
    box-shadow: none;
}

.info-card i {
    font-size: 1.2rem;
    background: linear-gradient(135deg, #00d9ff 0%, #7000ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.3));
}

.info-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.info-value {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    word-break: break-word;
    line-height: 1.2;
}

/* Modal Actions - MATTE BLACK BUTTONS - CENTERED ABOVE PRICE */
.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0 1rem 0;
    width: 100%;
}

.modal-actions .btn {
    flex: 0 1 auto;
    min-width: 140px;
    padding: 1rem 1.5rem;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
}

.modal-actions .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-actions .btn:hover {
    background: #121212;
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.modal-actions .btn:hover::before {
    opacity: 1;
}

.modal-actions .btn:active {
    transform: translateY(0);
    background: #0d0d0d;
}

.modal-actions .btn i {
    font-size: 1rem;
    opacity: 0.9;
}

/* Special styling for Check sUNC button */
.btn-sunc-check {
    background: #0a0a0a;
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    gap: 0 !important;
}

.btn-sunc-check .s-purple {
    color: #8b5cf6;
    font-weight: 700;
    margin-right: 0;
}

.btn-sunc-check span {
    line-height: 1;
}

.btn-sunc-check:hover {
    background: #121212;
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 
        0 4px 16px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.btn-sunc-check i {
    color: #8b5cf6;
}

/* Modal Footer */
.modal-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0.5rem;
}

.modal-footer p {
    font-size: 0.7rem;
    color: var(--gray);
    margin: 0;
    opacity: 0.7;
}

/* Features Bar - ONLY ICONS */
.features-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem;
    background: transparent;
    border: none;
    justify-content: center;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: none;
    border: none;
    padding: 0;
}

.feature-item.active {
    color: #00ff88;
}

.feature-item.active i {
    color: #00ff88;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(0, 255, 136, 0.6));
}

.feature-item.inactive {
    color: #ff4444;
}

.feature-item.inactive i {
    color: #ff4444;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(255, 68, 68, 0.6));
}

.feature-item.warning {
    color: #ffcc00;
}

.feature-item.warning i {
    color: #ffcc00;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(255, 204, 0, 0.6));
}

.feature-item.info {
    color: #0096ff;
}

.feature-item.info i {
    color: #0096ff;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 8px rgba(0, 150, 255, 0.6));
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray);
}

.loading-spinner i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px var(--glow));
}

/* Copy Notification */
.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #00d9ff 0%, #7000ff 100%);
    color: #000;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 32px rgba(0, 217, 255, 0.4);
    z-index: 10001;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.copy-notification.show {
    transform: translateX(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    /* Executor Grid - Single Column */
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Executor Cards - Better Mobile Layout */
    .executor-card-new {
        padding: 1.2rem;
    }

    .executor-logo-center {
        width: 70px;
        height: 70px;
        margin-bottom: 0.5rem;
    }

    .executor-main-logo {
        width: 55px;
        height: 55px;
    }

    .executor-name {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .executor-info-row {
        gap: 0.4rem;
    }

    .info-item .info-label {
        font-size: 0.6rem;
    }

    .info-item .info-value {
        font-size: 0.75rem;
    }

    /* Modal - Full Screen on Mobile */
    .modal-content {
        margin: 0 !important;
        max-height: 100vh !important;
        height: 100vh !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        padding: 1rem !important;
    }

    .modal-header {
        padding: 1rem 1rem 0.75rem;
        flex-direction: row;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .modal-logo {
        width: 60px;
        height: 60px;
    }

    .modal-logo img {
        width: 50px;
        height: 50px;
    }

    .modal-title-section h2 {
        font-size: 1.3rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .modal-title-section p {
        font-size: 0.8rem;
    }

    .modal-close {
        top: 1rem;
        right: 1rem;
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    /* Modal Body - Stack Vertically */
    .modal-body {
        padding: 1rem;
        gap: 1rem;
    }

    .modal-main-content {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .modal-left-section {
        width: 100%;
        align-items: center;
    }

    .sunc-circle {
        width: 100px;
        height: 100px;
    }

    .sunc-percent {
        font-size: 1.1rem;
    }

    .sunc-label {
        font-size: 0.7rem;
    }

    .executor-version {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .unc-stats {
        gap: 1rem;
    }

    .unc-stat-label {
        font-size: 0.65rem;
    }

    .unc-stat-value {
        font-size: 0.9rem;
    }

    .modal-right-section {
        width: 100%;
    }

    .status-badges {
        justify-content: center;
        gap: 0.75rem;
    }

    .status-badge {
        font-size: 0.7rem;
    }

    .modal-info-horizontal {
        flex-direction: column;
        gap: 0.75rem;
    }

    .modal-info-horizontal .info-card {
        padding: 0.9rem 1rem;
        min-height: auto;
    }

    .modal-info-horizontal .info-label {
        font-size: 0.7rem;
    }

    .modal-info-horizontal .info-value {
        font-size: 0.85rem;
    }

    /* Features - Smaller on Mobile */
    .modal-right-section .features-bar {
        gap: 0.5rem;
        justify-content: center;
    }

    .modal-right-section .feature-item {
        min-height: 32px;
        padding: 0.45rem 0.7rem;
        gap: 0.35rem;
    }

    .modal-right-section .feature-item i {
        font-size: 0.85rem;
    }

    .modal-right-section .feature-item span {
        font-size: 0.7rem;
    }

    /* Modal Actions - Stack Vertically */
    .modal-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin: 1rem 0 0.75rem 0;
    }

    .modal-actions .btn {
        width: 100%;
        min-width: auto;
        padding: 0.85rem 1.25rem;
        font-size: 0.85rem;
    }

    .btn-sunc-check {
        font-size: 0.9rem;
    }

    /* Price Section - Compact */
    .price-section {
        padding: 0.85rem 1rem;
        margin-bottom: 0;
    }

    .price-content {
        gap: 0.6rem;
    }

    .price-old {
        font-size: 0.8rem;
    }

    .price-new {
        font-size: 1.4rem;
    }

    .price-period {
        font-size: 0.7rem;
    }

    /* Resellers - Single Column */
    .resellers-section {
        margin-top: 1rem;
    }

    .resellers-header {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .resellers-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .reseller-card {
        padding: 0.9rem;
    }

    .reseller-info img,
    .reseller-logo-large {
        width: 40px !important;
        height: 40px !important;
    }

    .reseller-name {
        font-size: 0.85rem;
    }

    .rating-stars {
        font-size: 0.65rem;
    }

    .rating-text {
        font-size: 0.65rem;
    }

    .reseller-products {
        gap: 0.7rem;
        margin-bottom: 0.85rem;
    }

    .product-tier {
        padding: 0.7rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .tier-info {
        width: 100%;
    }

    .tier-label {
        font-size: 0.75rem;
    }

    .tier-pricing {
        gap: 0.15rem;
    }

    .tier-price-old {
        font-size: 0.65rem;
    }

    .tier-price {
        font-size: 0.9rem;
    }

    .tier-buy-btn {
        width: 100%;
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }

    .show-more-btn {
        padding: 0.7rem;
        font-size: 0.75rem;
    }

    .payment-methods {
        gap: 0.5rem;
        justify-content: flex-start;
    }

    .payment-icon {
        width: 28px;
        height: 28px;
    }

    .payment-icon img {
        width: 20px;
        height: 20px;
    }

    .best-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.65rem;
        top: -6px;
    }

    /* sUNC Modal - Full Screen on Mobile */
    .sunc-modal {
        padding: 0 !important;
        justify-content: center !important;
    }

    .sunc-overlay {
        max-width: 100% !important;
        width: 100% !important;
        max-height: 100vh !important;
        height: 100vh !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 1rem !important;
    }

    .sunc-overlay-header {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }

    .sunc-overlay-header h3 {
        font-size: 1.2rem;
    }

    #sunc-overlay-iframe {
        height: calc(100vh - 120px) !important;
        min-height: auto !important;
    }

    /* Executor Modal with sUNC - Stack on Mobile */
    .executor-modal.sunc-open {
        justify-content: center !important;
        padding: 0 !important;
    }

    .executor-modal.sunc-open .modal-content {
        transform: none !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Loading Screen */
    .executor-loading-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .executor-loading-icon {
        width: 100px;
        height: 100px;
    }

    .executor-loading-icon img {
        width: 100px;
        height: 100px;
    }

    .executor-loading-title {
        font-size: 1.5rem;
    }

    .executor-loading-status {
        font-size: 0.8rem;
    }
}

/* Extra small devices (phones, less than 480px) */
@media (max-width: 480px) {
    /* Executor Cards - Even Smaller */
    .executor-card-new {
        padding: 1rem;
    }

    .executor-logo-center {
        width: 60px;
        height: 60px;
    }

    .executor-main-logo {
        width: 48px;
        height: 48px;
    }

    .executor-name {
        font-size: 0.95rem;
    }

    .info-item .info-label {
        font-size: 0.55rem;
    }

    .info-item .info-value {
        font-size: 0.7rem;
    }

    /* Modal - Tighter Spacing */
    .modal-content {
        padding: 0.75rem !important;
    }

    .modal-header {
        padding: 0.75rem 0.75rem 0.5rem;
    }

    .modal-logo {
        width: 50px;
        height: 50px;
    }

    .modal-logo img {
        width: 42px;
        height: 42px;
    }

    .modal-title-section h2 {
        font-size: 1.1rem;
    }

    .modal-title-section p {
        font-size: 0.75rem;
    }

    .modal-body {
        padding: 0.75rem;
        gap: 0.85rem;
    }

    .sunc-circle {
        width: 90px;
        height: 90px;
    }

    .sunc-percent {
        font-size: 1rem;
    }

    .sunc-label {
        font-size: 0.65rem;
    }

    .executor-version {
        font-size: 0.85rem;
    }

    .unc-stats {
        gap: 0.85rem;
    }

    .unc-stat-label {
        font-size: 0.6rem;
    }

    .unc-stat-value {
        font-size: 0.85rem;
    }

    .status-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
    }

    .modal-info-horizontal .info-card {
        padding: 0.75rem 0.85rem;
    }

    .modal-info-horizontal .info-label {
        font-size: 0.65rem;
    }

    .modal-info-horizontal .info-value {
        font-size: 0.8rem;
    }

    .modal-right-section .feature-item {
        min-height: 28px;
        padding: 0.4rem 0.6rem;
        gap: 0.3rem;
    }

    .modal-right-section .feature-item i {
        font-size: 0.8rem;
    }

    .modal-right-section .feature-item span {
        font-size: 0.65rem;
    }

    .modal-actions {
        gap: 0.65rem;
        margin: 0.85rem 0 0.65rem 0;
    }

    .modal-actions .btn {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }

    .btn-sunc-check {
        font-size: 0.85rem;
    }

    .price-section {
        padding: 0.75rem 0.85rem;
    }

    .price-old {
        font-size: 0.75rem;
    }

    .price-new {
        font-size: 1.25rem;
    }

    .price-period {
        font-size: 0.65rem;
    }

    /* Resellers - Compact */
    .resellers-header {
        font-size: 0.9rem;
        margin-bottom: 0.65rem;
    }

    .reseller-card {
        padding: 0.8rem;
    }

    .reseller-info img,
    .reseller-logo-large {
        width: 36px !important;
        height: 36px !important;
    }

    .reseller-name {
        font-size: 0.8rem;
    }

    .rating-stars {
        font-size: 0.6rem;
    }

    .rating-text {
        font-size: 0.6rem;
    }

    .product-tier {
        padding: 0.65rem;
    }

    .tier-label {
        font-size: 0.7rem;
    }

    .tier-price-old {
        font-size: 0.6rem;
    }

    .tier-price {
        font-size: 0.85rem;
    }

    .tier-buy-btn {
        padding: 0.55rem 0.85rem;
        font-size: 0.7rem;
    }

    .show-more-btn {
        padding: 0.65rem;
        font-size: 0.7rem;
    }

    .payment-icon {
        width: 26px;
        height: 26px;
    }

    .payment-icon img {
        width: 18px;
        height: 18px;
    }

    .best-badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.55rem;
    }

    /* sUNC Overlay - Tighter */
    .sunc-overlay {
        padding: 0.75rem !important;
    }

    .sunc-overlay-header {
        margin-bottom: 0.85rem;
        padding-bottom: 0.65rem;
    }

    .sunc-overlay-header h3 {
        font-size: 1.1rem;
    }

    .sunc-overlay-close {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    #sunc-overlay-iframe {
        height: calc(100vh - 100px) !important;
    }

    /* Loading Screen - Smaller */
    .executor-loading-icon-wrapper {
        width: 90px;
        height: 90px;
    }

    .executor-loading-icon {
        width: 90px;
        height: 90px;
    }

    .executor-loading-icon img {
        width: 90px;
        height: 90px;
    }

    .executor-loading-title {
        font-size: 1.3rem;
    }

    .executor-loading-status {
        font-size: 0.75rem;
    }

    /* Copy Notification - Smaller */
    .copy-notification {
        top: 10px;
        right: 10px;
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}

/* SVG Gradients */
svg defs {
    position: absolute;
}


/* ============ sUNC MODAL (separate modal next to executor modal) ============ */
.sunc-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 950001 !important;
    display: none !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 1.25rem !important;
    padding-left: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.sunc-modal.active {
    display: flex !important;
    pointer-events: none !important;
}

/* Allow clicks on sUNC overlay only */
.sunc-modal.active .sunc-overlay {
    pointer-events: all !important;
}

.sunc-modal-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: blur(0px) !important;
    z-index: 1 !important;
    pointer-events: none !important;
    opacity: 0;
    animation: fadeInBackdrop 0.3s ease forwards;
}

@keyframes fadeInBackdrop {
    to {
        opacity: 1;
    }
}

.sunc-overlay {
    position: relative !important;
    background: linear-gradient(165deg, rgba(10, 10, 10, 0.85) 0%, rgba(3, 3, 3, 0.9) 55%, rgba(11, 11, 11, 0.85) 100%);
    border-radius: 18px;
    max-width: 620px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid rgba(139, 92, 246, 0.15);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(139, 92, 246, 0.08);
    animation: slideInRight 0.48s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.35rem 1.5rem;
    pointer-events: all !important;
    backdrop-filter: blur(20px) !important;
    display: flex;
    flex-direction: column;
    margin: 0 0.75rem 0 0 !important;
    z-index: 10 !important;
    opacity: 0.95;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

/* Custom Scrollbar for sUNC overlay - COMPLETELY INVISIBLE TRACK */
.sunc-overlay::-webkit-scrollbar {
    width: 6px;
}

.sunc-overlay::-webkit-scrollbar-track {
    background: transparent; /* Completely invisible */
}

.sunc-overlay::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.4);
    border-radius: 3px;
    transition: background 0.3s ease;
}

.sunc-overlay::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.6);
}

/* Closing animation */
.sunc-modal.closing .sunc-overlay {
    animation: slideOutRight 0.5s cubic-bezier(0.4, 0, 1, 1);
    opacity: 0;
    transform: translateX(100px);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateX(100px) scale(0.9);
    }
}

/* Shift executor modal to the left and make it smaller when sUNC is open */
.executor-modal.sunc-open {
    justify-content: flex-start !important;
    padding-left: 1.25rem !important;
    padding-right: 0 !important;
}

.executor-modal.sunc-open .modal-content {
    max-width: 720px !important;
    transform: translateX(28px) scale(0.97) !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: transform !important;
    opacity: 1 !important;
    z-index: 5 !important;
}

/* Smooth return animation when closing sUNC - SLOWER */
.executor-modal.sunc-closing .modal-content {
    transform: translateX(0) scale(1) !important;
    max-width: 900px !important;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), max-width 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Loading spinner for widget */
.sunc-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 10;
    pointer-events: none;
}

.sunc-loading.hidden {
    display: none;
}

.sunc-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(139, 92, 246, 0.2);
    border-top-color: #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.sunc-loading-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Custom Scrollbar for sUNC overlay */
.sunc-overlay::-webkit-scrollbar {
    width: 8px;
}

.sunc-overlay::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.sunc-overlay::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.4);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.sunc-overlay::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.6);
}

.sunc-overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sunc-overlay-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sunc-overlay-header h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    border-radius: 2px;
}

.sunc-overlay-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.sunc-overlay-close:hover {
    background: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
    transform: scale(1.1);
}

.sunc-overlay-close:active {
    transform: scale(0.95);
    background: rgba(139, 92, 246, 0.15);
}

.sunc-overlay-body {
    width: 100%;
}

/* Custom scrollbar for sUNC iframe */
#sunc-overlay-iframe {
    scrollbar-width: thin;
    scrollbar-color: rgba(139, 92, 246, 0.4) rgba(255, 255, 255, 0.05);
}

#sunc-overlay-iframe::-webkit-scrollbar {
    width: 8px;
}

#sunc-overlay-iframe::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

#sunc-overlay-iframe::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.4);
    border-radius: 4px;
    transition: background 0.3s ease;
}

#sunc-overlay-iframe::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.6);
}

/* ============ EXECUTOR LOADING SCREEN - GLOBAL OVERLAY ============ */
.executor-loading-screen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #0a0a0a !important;
    z-index: 999999 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
}

.executor-loading-screen.active {
    display: flex !important;
}

.executor-loading-screen.fade-out {
    display: flex !important;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.executor-loading-screen.hidden {
    display: none !important;
}

/* Block scroll - global */
body.no-scroll {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    top: 0 !important;
    left: 0 !important;
}

body.no-scroll::-webkit-scrollbar {
    display: none !important;
}

.executor-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1000000;
}

.executor-loading-icon-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconBounce 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes iconBounce {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    60% {
        transform: translateY(-12px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.executor-loading-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    z-index: -1;
    background: var(--icon-color, #8b5cf6);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.25; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.1); }
}

.executor-loading-icon {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 30px var(--icon-color, rgba(139, 92, 246, 0.5)));
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.executor-loading-icon img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.executor-loading-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
    margin: 0;
}

.executor-loading-status {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: statusText 2s ease-in-out infinite;
}

@keyframes statusText {
    0%, 20%, 100% { opacity: 0.5; }
    10%, 30% { opacity: 1; }
}

/* Responsive - stack modals on mobile */
@media (max-width: 1500px) {
    .executor-modal.sunc-open {
        padding-left: 1rem;
        padding-right: 0;
    }
    
    .executor-modal.sunc-open .modal-content {
        max-width: 600px;
        transform: translateX(20px) scale(0.93);
    }
    
    .sunc-overlay {
        max-width: 600px;
        margin-right: 0.5rem !important;
    }
}

@media (max-width: 1300px) {
    .executor-modal.sunc-open {
        padding-left: 1rem;
        padding-right: 0;
    }
    
    .executor-modal.sunc-open .modal-content {
        max-width: 550px;
        transform: translateX(14px) scale(0.9);
    }
    
    .sunc-overlay {
        max-width: 550px;
        margin-right: 0.35rem !important;
    }
}

@media (max-width: 1200px) {
    .executor-modal.sunc-open {
        justify-content: center;
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .executor-modal.sunc-open .modal-content {
        transform: scale(1);
        max-width: 900px;
    }
    
    .sunc-modal {
        z-index: 10002;
        justify-content: center;
        padding-left: 2rem;
    }
    
    .sunc-overlay {
        max-width: 90%;
    }
}

/* Tablets - Better Layout */
@media (max-width: 1024px) and (min-width: 769px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .modal-content {
        max-width: 700px;
        width: calc(100% - 2rem);
    }

    .modal-main-content {
        gap: 1.5rem;
    }

    .modal-actions .btn {
        min-width: 120px;
        padding: 0.9rem 1.3rem;
        font-size: 0.85rem;
    }

    .resellers-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Landscape Mode - Phones */
@media (max-height: 600px) and (orientation: landscape) {
    .modal-content {
        max-height: 100vh !important;
        height: 100vh !important;
        overflow-y: auto !important;
        border-radius: 0 !important;
    }

    .modal-header {
        padding: 0.75rem 1rem 0.5rem;
    }

    .modal-body {
        padding: 0.75rem 1rem;
    }

    .modal-main-content {
        flex-direction: row;
        gap: 1.5rem;
    }

    .modal-left-section {
        width: auto;
    }

    .sunc-circle {
        width: 80px;
        height: 80px;
    }

    .modal-actions {
        flex-direction: row;
        gap: 0.75rem;
    }

    .modal-actions .btn {
        width: auto;
        flex: 1;
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }

    .sunc-overlay {
        max-height: 100vh !important;
        height: 100vh !important;
        border-radius: 0 !important;
    }

    #sunc-overlay-iframe {
        height: calc(100vh - 80px) !important;
    }
}

/* Very Small Landscape - Compact Everything */
@media (max-height: 500px) and (orientation: landscape) {
    .modal-header {
        padding: 0.5rem 0.75rem 0.4rem;
    }

    .modal-logo {
        width: 45px;
        height: 45px;
    }

    .modal-logo img {
        width: 38px;
        height: 38px;
    }

    .modal-title-section h2 {
        font-size: 1rem;
    }

    .modal-title-section p {
        font-size: 0.7rem;
    }

    .modal-body {
        padding: 0.5rem 0.75rem;
        gap: 0.65rem;
    }

    .sunc-circle {
        width: 70px;
        height: 70px;
    }

    .sunc-percent {
        font-size: 0.9rem;
    }

    .sunc-label {
        font-size: 0.6rem;
    }

    .modal-actions {
        margin: 0.5rem 0 0.4rem 0;
        gap: 0.5rem;
    }

    .modal-actions .btn {
        padding: 0.6rem 0.85rem;
        font-size: 0.75rem;
    }

    .price-section {
        padding: 0.6rem 0.75rem;
    }

    .price-new {
        font-size: 1.1rem;
    }
}

